public class GrpcDocumentProcessorServiceStub extends DocumentProcessorServiceStub
gRPC 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 GrpcDocumentProcessorServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcDocumentProcessorServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(DocumentProcessorServiceStubSettings settings)
public static final GrpcDocumentProcessorServiceStub create(DocumentProcessorServiceStubSettings settings)
Constructors
GrpcDocumentProcessorServiceStub(DocumentProcessorServiceStubSettings settings, ClientContext clientContext)
protected GrpcDocumentProcessorServiceStub(DocumentProcessorServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcDocumentProcessorServiceStub, 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.
GrpcDocumentProcessorServiceStub(DocumentProcessorServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcDocumentProcessorServiceStub(DocumentProcessorServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcDocumentProcessorServiceStub, 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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
batchProcessDocumentsCallable()
public UnaryCallable<BatchProcessRequest,Operation> batchProcessDocumentsCallable()
Overrides
batchProcessDocumentsOperationCallable()
public OperationCallable<BatchProcessRequest,BatchProcessResponse,BatchProcessMetadata> batchProcessDocumentsOperationCallable()
Overrides
close()
public final void close()
Overrides
createProcessorCallable()
public UnaryCallable<CreateProcessorRequest,Processor> createProcessorCallable()
Overrides
deleteProcessorCallable()
public UnaryCallable<DeleteProcessorRequest,Operation> deleteProcessorCallable()
Overrides
deleteProcessorOperationCallable()
public OperationCallable<DeleteProcessorRequest,Empty,DeleteProcessorMetadata> deleteProcessorOperationCallable()
Overrides
deleteProcessorVersionCallable()
public UnaryCallable<DeleteProcessorVersionRequest,Operation> deleteProcessorVersionCallable()
Overrides
deleteProcessorVersionOperationCallable()
public OperationCallable<DeleteProcessorVersionRequest,Empty,DeleteProcessorVersionMetadata> deleteProcessorVersionOperationCallable()
Overrides
deployProcessorVersionCallable()
public UnaryCallable<DeployProcessorVersionRequest,Operation> deployProcessorVersionCallable()
Overrides
deployProcessorVersionOperationCallable()
public OperationCallable<DeployProcessorVersionRequest,DeployProcessorVersionResponse,DeployProcessorVersionMetadata> deployProcessorVersionOperationCallable()
Overrides
disableProcessorCallable()
public UnaryCallable<DisableProcessorRequest,Operation> disableProcessorCallable()
Overrides
disableProcessorOperationCallable()
public OperationCallable<DisableProcessorRequest,DisableProcessorResponse,DisableProcessorMetadata> disableProcessorOperationCallable()
Overrides
enableProcessorCallable()
public UnaryCallable<EnableProcessorRequest,Operation> enableProcessorCallable()
Overrides
enableProcessorOperationCallable()
public OperationCallable<EnableProcessorRequest,EnableProcessorResponse,EnableProcessorMetadata> enableProcessorOperationCallable()
Overrides
evaluateProcessorVersionCallable()
public UnaryCallable<EvaluateProcessorVersionRequest,Operation> evaluateProcessorVersionCallable()
Overrides
evaluateProcessorVersionOperationCallable()
public OperationCallable<EvaluateProcessorVersionRequest,EvaluateProcessorVersionResponse,EvaluateProcessorVersionMetadata> evaluateProcessorVersionOperationCallable()
Overrides
fetchProcessorTypesCallable()
public UnaryCallable<FetchProcessorTypesRequest,FetchProcessorTypesResponse> fetchProcessorTypesCallable()
Overrides
getEvaluationCallable()
public UnaryCallable<GetEvaluationRequest,Evaluation> getEvaluationCallable()
Overrides
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns |
---|
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> | |
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Overrides
getProcessorCallable()
public UnaryCallable<GetProcessorRequest,Processor> getProcessorCallable()
Overrides
getProcessorTypeCallable()
public UnaryCallable<GetProcessorTypeRequest,ProcessorType> getProcessorTypeCallable()
Overrides
getProcessorVersionCallable()
public UnaryCallable<GetProcessorVersionRequest,ProcessorVersion> getProcessorVersionCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listEvaluationsCallable()
public UnaryCallable<ListEvaluationsRequest,ListEvaluationsResponse> listEvaluationsCallable()
Overrides
listEvaluationsPagedCallable()
public UnaryCallable<ListEvaluationsRequest,DocumentProcessorServiceClient.ListEvaluationsPagedResponse> listEvaluationsPagedCallable()
Overrides
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns |
---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> | |
Overrides
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,DocumentProcessorServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Overrides
listProcessorTypesCallable()
public UnaryCallable<ListProcessorTypesRequest,ListProcessorTypesResponse> listProcessorTypesCallable()
Overrides
listProcessorTypesPagedCallable()
public UnaryCallable<ListProcessorTypesRequest,DocumentProcessorServiceClient.ListProcessorTypesPagedResponse> listProcessorTypesPagedCallable()
Overrides
listProcessorVersionsCallable()
public UnaryCallable<ListProcessorVersionsRequest,ListProcessorVersionsResponse> listProcessorVersionsCallable()
Overrides
listProcessorVersionsPagedCallable()
public UnaryCallable<ListProcessorVersionsRequest,DocumentProcessorServiceClient.ListProcessorVersionsPagedResponse> listProcessorVersionsPagedCallable()
Overrides
listProcessorsCallable()
public UnaryCallable<ListProcessorsRequest,ListProcessorsResponse> listProcessorsCallable()
Overrides
listProcessorsPagedCallable()
public UnaryCallable<ListProcessorsRequest,DocumentProcessorServiceClient.ListProcessorsPagedResponse> listProcessorsPagedCallable()
Overrides
processDocumentCallable()
public UnaryCallable<ProcessRequest,ProcessResponse> processDocumentCallable()
Overrides
reviewDocumentCallable()
public UnaryCallable<ReviewDocumentRequest,Operation> reviewDocumentCallable()
Overrides
reviewDocumentOperationCallable()
public OperationCallable<ReviewDocumentRequest,ReviewDocumentResponse,ReviewDocumentOperationMetadata> reviewDocumentOperationCallable()
Overrides
setDefaultProcessorVersionCallable()
public UnaryCallable<SetDefaultProcessorVersionRequest,Operation> setDefaultProcessorVersionCallable()
Overrides
setDefaultProcessorVersionOperationCallable()
public OperationCallable<SetDefaultProcessorVersionRequest,SetDefaultProcessorVersionResponse,SetDefaultProcessorVersionMetadata> setDefaultProcessorVersionOperationCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
trainProcessorVersionCallable()
public UnaryCallable<TrainProcessorVersionRequest,Operation> trainProcessorVersionCallable()
Overrides
trainProcessorVersionOperationCallable()
public OperationCallable<TrainProcessorVersionRequest,TrainProcessorVersionResponse,TrainProcessorVersionMetadata> trainProcessorVersionOperationCallable()
Overrides
undeployProcessorVersionCallable()
public UnaryCallable<UndeployProcessorVersionRequest,Operation> undeployProcessorVersionCallable()
Overrides
undeployProcessorVersionOperationCallable()
public OperationCallable<UndeployProcessorVersionRequest,UndeployProcessorVersionResponse,UndeployProcessorVersionMetadata> undeployProcessorVersionOperationCallable()
Overrides