Class DocumentProcessorServiceStubSettings
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings<DocumentProcessorServiceStubSettings>
-
- com.google.cloud.documentai.v1beta3.stub.DocumentProcessorServiceStubSettings
-
@BetaApi @Generated("by gapic-generator-java") public class DocumentProcessorServiceStubSettings extends com.google.api.gax.rpc.StubSettings<DocumentProcessorServiceStubSettings>
Settings class to configure an instance ofDocumentProcessorServiceStub
.The default instance has everything set to sensible defaults:
- The default service address (documentai.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.
For example, to set the total timeout of processDocument to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only. // It will require modifications to work: // - It may require correct/in-range values for request initialization. // - It may require specifying regional endpoints when creating the service client as shown in // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library DocumentProcessorServiceStubSettings.Builder documentProcessorServiceSettingsBuilder = DocumentProcessorServiceStubSettings.newBuilder(); documentProcessorServiceSettingsBuilder .processDocumentSettings() .setRetrySettings( documentProcessorServiceSettingsBuilder .processDocumentSettings() .getRetrySettings() .toBuilder() .setTotalTimeout(Duration.ofSeconds(30)) .build()); DocumentProcessorServiceStubSettings documentProcessorServiceSettings = documentProcessorServiceSettingsBuilder.build();
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DocumentProcessorServiceStubSettings.Builder
Builder for DocumentProcessorServiceStubSettings.
-
Constructor Summary
Constructors Modifier Constructor Description protected
DocumentProcessorServiceStubSettings(DocumentProcessorServiceStubSettings.Builder settingsBuilder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.OperationCallSettings<BatchProcessRequest,BatchProcessResponse,BatchProcessMetadata>
batchProcessDocumentsOperationSettings()
Returns the object with the settings used for calls to batchProcessDocuments.com.google.api.gax.rpc.UnaryCallSettings<BatchProcessRequest,com.google.longrunning.Operation>
batchProcessDocumentsSettings()
Returns the object with the settings used for calls to batchProcessDocuments.com.google.api.gax.rpc.UnaryCallSettings<CreateProcessorRequest,Processor>
createProcessorSettings()
Returns the object with the settings used for calls to createProcessor.DocumentProcessorServiceStub
createStub()
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder
defaultApiClientHeaderProviderBuilder()
static com.google.api.gax.core.GoogleCredentialsProvider.Builder
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.static com.google.api.gax.core.InstantiatingExecutorProvider.Builder
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder
defaultGrpcApiClientHeaderProviderBuilder()
static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder
defaultGrpcTransportProviderBuilder()
Returns a builder for the default gRPC ChannelProvider for this service.static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder
defaultHttpJsonApiClientHeaderProviderBuilder()
static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder
defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default REST ChannelProvider for this service.static com.google.api.gax.rpc.TransportChannelProvider
defaultTransportChannelProvider()
com.google.api.gax.rpc.OperationCallSettings<DeleteProcessorRequest,com.google.protobuf.Empty,DeleteProcessorMetadata>
deleteProcessorOperationSettings()
Returns the object with the settings used for calls to deleteProcessor.com.google.api.gax.rpc.UnaryCallSettings<DeleteProcessorRequest,com.google.longrunning.Operation>
deleteProcessorSettings()
Returns the object with the settings used for calls to deleteProcessor.com.google.api.gax.rpc.OperationCallSettings<DeleteProcessorVersionRequest,com.google.protobuf.Empty,DeleteProcessorVersionMetadata>
deleteProcessorVersionOperationSettings()
Returns the object with the settings used for calls to deleteProcessorVersion.com.google.api.gax.rpc.UnaryCallSettings<DeleteProcessorVersionRequest,com.google.longrunning.Operation>
deleteProcessorVersionSettings()
Returns the object with the settings used for calls to deleteProcessorVersion.com.google.api.gax.rpc.OperationCallSettings<DeployProcessorVersionRequest,DeployProcessorVersionResponse,DeployProcessorVersionMetadata>
deployProcessorVersionOperationSettings()
Returns the object with the settings used for calls to deployProcessorVersion.com.google.api.gax.rpc.UnaryCallSettings<DeployProcessorVersionRequest,com.google.longrunning.Operation>
deployProcessorVersionSettings()
Returns the object with the settings used for calls to deployProcessorVersion.com.google.api.gax.rpc.OperationCallSettings<DisableProcessorRequest,DisableProcessorResponse,DisableProcessorMetadata>
disableProcessorOperationSettings()
Returns the object with the settings used for calls to disableProcessor.com.google.api.gax.rpc.UnaryCallSettings<DisableProcessorRequest,com.google.longrunning.Operation>
disableProcessorSettings()
Returns the object with the settings used for calls to disableProcessor.com.google.api.gax.rpc.OperationCallSettings<EnableProcessorRequest,EnableProcessorResponse,EnableProcessorMetadata>
enableProcessorOperationSettings()
Returns the object with the settings used for calls to enableProcessor.com.google.api.gax.rpc.UnaryCallSettings<EnableProcessorRequest,com.google.longrunning.Operation>
enableProcessorSettings()
Returns the object with the settings used for calls to enableProcessor.com.google.api.gax.rpc.OperationCallSettings<EvaluateProcessorVersionRequest,EvaluateProcessorVersionResponse,EvaluateProcessorVersionMetadata>
evaluateProcessorVersionOperationSettings()
Returns the object with the settings used for calls to evaluateProcessorVersion.com.google.api.gax.rpc.UnaryCallSettings<EvaluateProcessorVersionRequest,com.google.longrunning.Operation>
evaluateProcessorVersionSettings()
Returns the object with the settings used for calls to evaluateProcessorVersion.com.google.api.gax.rpc.UnaryCallSettings<FetchProcessorTypesRequest,FetchProcessorTypesResponse>
fetchProcessorTypesSettings()
Returns the object with the settings used for calls to fetchProcessorTypes.static String
getDefaultEndpoint()
Returns the default service endpoint.static String
getDefaultMtlsEndpoint()
Returns the default mTLS service endpoint.static List<String>
getDefaultServiceScopes()
Returns the default service scopes.com.google.api.gax.rpc.UnaryCallSettings<GetEvaluationRequest,Evaluation>
getEvaluationSettings()
Returns the object with the settings used for calls to getEvaluation.com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationSettings()
Returns the object with the settings used for calls to getLocation.com.google.api.gax.rpc.UnaryCallSettings<GetProcessorRequest,Processor>
getProcessorSettings()
Returns the object with the settings used for calls to getProcessor.com.google.api.gax.rpc.UnaryCallSettings<GetProcessorTypeRequest,ProcessorType>
getProcessorTypeSettings()
Returns the object with the settings used for calls to getProcessorType.com.google.api.gax.rpc.UnaryCallSettings<GetProcessorVersionRequest,ProcessorVersion>
getProcessorVersionSettings()
Returns the object with the settings used for calls to getProcessorVersion.com.google.api.gax.rpc.OperationCallSettings<ImportProcessorVersionRequest,ImportProcessorVersionResponse,ImportProcessorVersionMetadata>
importProcessorVersionOperationSettings()
Returns the object with the settings used for calls to importProcessorVersion.com.google.api.gax.rpc.UnaryCallSettings<ImportProcessorVersionRequest,com.google.longrunning.Operation>
importProcessorVersionSettings()
Returns the object with the settings used for calls to importProcessorVersion.com.google.api.gax.rpc.PagedCallSettings<ListEvaluationsRequest,ListEvaluationsResponse,DocumentProcessorServiceClient.ListEvaluationsPagedResponse>
listEvaluationsSettings()
Returns the object with the settings used for calls to listEvaluations.com.google.api.gax.rpc.PagedCallSettings<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,DocumentProcessorServiceClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the object with the settings used for calls to listLocations.com.google.api.gax.rpc.PagedCallSettings<ListProcessorsRequest,ListProcessorsResponse,DocumentProcessorServiceClient.ListProcessorsPagedResponse>
listProcessorsSettings()
Returns the object with the settings used for calls to listProcessors.com.google.api.gax.rpc.PagedCallSettings<ListProcessorTypesRequest,ListProcessorTypesResponse,DocumentProcessorServiceClient.ListProcessorTypesPagedResponse>
listProcessorTypesSettings()
Returns the object with the settings used for calls to listProcessorTypes.com.google.api.gax.rpc.PagedCallSettings<ListProcessorVersionsRequest,ListProcessorVersionsResponse,DocumentProcessorServiceClient.ListProcessorVersionsPagedResponse>
listProcessorVersionsSettings()
Returns the object with the settings used for calls to listProcessorVersions.static DocumentProcessorServiceStubSettings.Builder
newBuilder()
Returns a new gRPC builder for this class.static DocumentProcessorServiceStubSettings.Builder
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.static DocumentProcessorServiceStubSettings.Builder
newHttpJsonBuilder()
Returns a new REST builder for this class.com.google.api.gax.rpc.UnaryCallSettings<ProcessRequest,ProcessResponse>
processDocumentSettings()
Returns the object with the settings used for calls to processDocument.com.google.api.gax.rpc.OperationCallSettings<ReviewDocumentRequest,ReviewDocumentResponse,ReviewDocumentOperationMetadata>
reviewDocumentOperationSettings()
Returns the object with the settings used for calls to reviewDocument.com.google.api.gax.rpc.UnaryCallSettings<ReviewDocumentRequest,com.google.longrunning.Operation>
reviewDocumentSettings()
Returns the object with the settings used for calls to reviewDocument.com.google.api.gax.rpc.OperationCallSettings<SetDefaultProcessorVersionRequest,SetDefaultProcessorVersionResponse,SetDefaultProcessorVersionMetadata>
setDefaultProcessorVersionOperationSettings()
Returns the object with the settings used for calls to setDefaultProcessorVersion.com.google.api.gax.rpc.UnaryCallSettings<SetDefaultProcessorVersionRequest,com.google.longrunning.Operation>
setDefaultProcessorVersionSettings()
Returns the object with the settings used for calls to setDefaultProcessorVersion.DocumentProcessorServiceStubSettings.Builder
toBuilder()
Returns a builder containing all the values of this settings class.com.google.api.gax.rpc.OperationCallSettings<TrainProcessorVersionRequest,TrainProcessorVersionResponse,TrainProcessorVersionMetadata>
trainProcessorVersionOperationSettings()
Returns the object with the settings used for calls to trainProcessorVersion.com.google.api.gax.rpc.UnaryCallSettings<TrainProcessorVersionRequest,com.google.longrunning.Operation>
trainProcessorVersionSettings()
Returns the object with the settings used for calls to trainProcessorVersion.com.google.api.gax.rpc.OperationCallSettings<UndeployProcessorVersionRequest,UndeployProcessorVersionResponse,UndeployProcessorVersionMetadata>
undeployProcessorVersionOperationSettings()
Returns the object with the settings used for calls to undeployProcessorVersion.com.google.api.gax.rpc.UnaryCallSettings<UndeployProcessorVersionRequest,com.google.longrunning.Operation>
undeployProcessorVersionSettings()
Returns the object with the settings used for calls to undeployProcessorVersion.-
Methods inherited from class com.google.api.gax.rpc.StubSettings
getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
DocumentProcessorServiceStubSettings
protected DocumentProcessorServiceStubSettings(DocumentProcessorServiceStubSettings.Builder settingsBuilder) throws IOException
- Throws:
IOException
-
-
Method Detail
-
processDocumentSettings
public com.google.api.gax.rpc.UnaryCallSettings<ProcessRequest,ProcessResponse> processDocumentSettings()
Returns the object with the settings used for calls to processDocument.
-
batchProcessDocumentsSettings
public com.google.api.gax.rpc.UnaryCallSettings<BatchProcessRequest,com.google.longrunning.Operation> batchProcessDocumentsSettings()
Returns the object with the settings used for calls to batchProcessDocuments.
-
batchProcessDocumentsOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<BatchProcessRequest,BatchProcessResponse,BatchProcessMetadata> batchProcessDocumentsOperationSettings()
Returns the object with the settings used for calls to batchProcessDocuments.
-
fetchProcessorTypesSettings
public com.google.api.gax.rpc.UnaryCallSettings<FetchProcessorTypesRequest,FetchProcessorTypesResponse> fetchProcessorTypesSettings()
Returns the object with the settings used for calls to fetchProcessorTypes.
-
listProcessorTypesSettings
public com.google.api.gax.rpc.PagedCallSettings<ListProcessorTypesRequest,ListProcessorTypesResponse,DocumentProcessorServiceClient.ListProcessorTypesPagedResponse> listProcessorTypesSettings()
Returns the object with the settings used for calls to listProcessorTypes.
-
getProcessorTypeSettings
public com.google.api.gax.rpc.UnaryCallSettings<GetProcessorTypeRequest,ProcessorType> getProcessorTypeSettings()
Returns the object with the settings used for calls to getProcessorType.
-
listProcessorsSettings
public com.google.api.gax.rpc.PagedCallSettings<ListProcessorsRequest,ListProcessorsResponse,DocumentProcessorServiceClient.ListProcessorsPagedResponse> listProcessorsSettings()
Returns the object with the settings used for calls to listProcessors.
-
getProcessorSettings
public com.google.api.gax.rpc.UnaryCallSettings<GetProcessorRequest,Processor> getProcessorSettings()
Returns the object with the settings used for calls to getProcessor.
-
trainProcessorVersionSettings
public com.google.api.gax.rpc.UnaryCallSettings<TrainProcessorVersionRequest,com.google.longrunning.Operation> trainProcessorVersionSettings()
Returns the object with the settings used for calls to trainProcessorVersion.
-
trainProcessorVersionOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<TrainProcessorVersionRequest,TrainProcessorVersionResponse,TrainProcessorVersionMetadata> trainProcessorVersionOperationSettings()
Returns the object with the settings used for calls to trainProcessorVersion.
-
getProcessorVersionSettings
public com.google.api.gax.rpc.UnaryCallSettings<GetProcessorVersionRequest,ProcessorVersion> getProcessorVersionSettings()
Returns the object with the settings used for calls to getProcessorVersion.
-
listProcessorVersionsSettings
public com.google.api.gax.rpc.PagedCallSettings<ListProcessorVersionsRequest,ListProcessorVersionsResponse,DocumentProcessorServiceClient.ListProcessorVersionsPagedResponse> listProcessorVersionsSettings()
Returns the object with the settings used for calls to listProcessorVersions.
-
deleteProcessorVersionSettings
public com.google.api.gax.rpc.UnaryCallSettings<DeleteProcessorVersionRequest,com.google.longrunning.Operation> deleteProcessorVersionSettings()
Returns the object with the settings used for calls to deleteProcessorVersion.
-
deleteProcessorVersionOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<DeleteProcessorVersionRequest,com.google.protobuf.Empty,DeleteProcessorVersionMetadata> deleteProcessorVersionOperationSettings()
Returns the object with the settings used for calls to deleteProcessorVersion.
-
deployProcessorVersionSettings
public com.google.api.gax.rpc.UnaryCallSettings<DeployProcessorVersionRequest,com.google.longrunning.Operation> deployProcessorVersionSettings()
Returns the object with the settings used for calls to deployProcessorVersion.
-
deployProcessorVersionOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<DeployProcessorVersionRequest,DeployProcessorVersionResponse,DeployProcessorVersionMetadata> deployProcessorVersionOperationSettings()
Returns the object with the settings used for calls to deployProcessorVersion.
-
undeployProcessorVersionSettings
public com.google.api.gax.rpc.UnaryCallSettings<UndeployProcessorVersionRequest,com.google.longrunning.Operation> undeployProcessorVersionSettings()
Returns the object with the settings used for calls to undeployProcessorVersion.
-
undeployProcessorVersionOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<UndeployProcessorVersionRequest,UndeployProcessorVersionResponse,UndeployProcessorVersionMetadata> undeployProcessorVersionOperationSettings()
Returns the object with the settings used for calls to undeployProcessorVersion.
-
createProcessorSettings
public com.google.api.gax.rpc.UnaryCallSettings<CreateProcessorRequest,Processor> createProcessorSettings()
Returns the object with the settings used for calls to createProcessor.
-
deleteProcessorSettings
public com.google.api.gax.rpc.UnaryCallSettings<DeleteProcessorRequest,com.google.longrunning.Operation> deleteProcessorSettings()
Returns the object with the settings used for calls to deleteProcessor.
-
deleteProcessorOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<DeleteProcessorRequest,com.google.protobuf.Empty,DeleteProcessorMetadata> deleteProcessorOperationSettings()
Returns the object with the settings used for calls to deleteProcessor.
-
enableProcessorSettings
public com.google.api.gax.rpc.UnaryCallSettings<EnableProcessorRequest,com.google.longrunning.Operation> enableProcessorSettings()
Returns the object with the settings used for calls to enableProcessor.
-
enableProcessorOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<EnableProcessorRequest,EnableProcessorResponse,EnableProcessorMetadata> enableProcessorOperationSettings()
Returns the object with the settings used for calls to enableProcessor.
-
disableProcessorSettings
public com.google.api.gax.rpc.UnaryCallSettings<DisableProcessorRequest,com.google.longrunning.Operation> disableProcessorSettings()
Returns the object with the settings used for calls to disableProcessor.
-
disableProcessorOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<DisableProcessorRequest,DisableProcessorResponse,DisableProcessorMetadata> disableProcessorOperationSettings()
Returns the object with the settings used for calls to disableProcessor.
-
setDefaultProcessorVersionSettings
public com.google.api.gax.rpc.UnaryCallSettings<SetDefaultProcessorVersionRequest,com.google.longrunning.Operation> setDefaultProcessorVersionSettings()
Returns the object with the settings used for calls to setDefaultProcessorVersion.
-
setDefaultProcessorVersionOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<SetDefaultProcessorVersionRequest,SetDefaultProcessorVersionResponse,SetDefaultProcessorVersionMetadata> setDefaultProcessorVersionOperationSettings()
Returns the object with the settings used for calls to setDefaultProcessorVersion.
-
reviewDocumentSettings
public com.google.api.gax.rpc.UnaryCallSettings<ReviewDocumentRequest,com.google.longrunning.Operation> reviewDocumentSettings()
Returns the object with the settings used for calls to reviewDocument.
-
reviewDocumentOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<ReviewDocumentRequest,ReviewDocumentResponse,ReviewDocumentOperationMetadata> reviewDocumentOperationSettings()
Returns the object with the settings used for calls to reviewDocument.
-
evaluateProcessorVersionSettings
public com.google.api.gax.rpc.UnaryCallSettings<EvaluateProcessorVersionRequest,com.google.longrunning.Operation> evaluateProcessorVersionSettings()
Returns the object with the settings used for calls to evaluateProcessorVersion.
-
evaluateProcessorVersionOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<EvaluateProcessorVersionRequest,EvaluateProcessorVersionResponse,EvaluateProcessorVersionMetadata> evaluateProcessorVersionOperationSettings()
Returns the object with the settings used for calls to evaluateProcessorVersion.
-
getEvaluationSettings
public com.google.api.gax.rpc.UnaryCallSettings<GetEvaluationRequest,Evaluation> getEvaluationSettings()
Returns the object with the settings used for calls to getEvaluation.
-
listEvaluationsSettings
public com.google.api.gax.rpc.PagedCallSettings<ListEvaluationsRequest,ListEvaluationsResponse,DocumentProcessorServiceClient.ListEvaluationsPagedResponse> listEvaluationsSettings()
Returns the object with the settings used for calls to listEvaluations.
-
importProcessorVersionSettings
public com.google.api.gax.rpc.UnaryCallSettings<ImportProcessorVersionRequest,com.google.longrunning.Operation> importProcessorVersionSettings()
Returns the object with the settings used for calls to importProcessorVersion.
-
importProcessorVersionOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<ImportProcessorVersionRequest,ImportProcessorVersionResponse,ImportProcessorVersionMetadata> importProcessorVersionOperationSettings()
Returns the object with the settings used for calls to importProcessorVersion.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,DocumentProcessorServiceClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the object with the settings used for calls to listLocations.
-
getLocationSettings
public com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
Returns the object with the settings used for calls to getLocation.
-
createStub
public DocumentProcessorServiceStub createStub() throws IOException
- Throws:
IOException
-
defaultExecutorProviderBuilder
public static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
-
getDefaultEndpoint
public static String getDefaultEndpoint()
Returns the default service endpoint.
-
getDefaultMtlsEndpoint
public static String getDefaultMtlsEndpoint()
Returns the default mTLS service endpoint.
-
getDefaultServiceScopes
public static List<String> getDefaultServiceScopes()
Returns the default service scopes.
-
defaultCredentialsProviderBuilder
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
-
defaultGrpcTransportProviderBuilder
public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
Returns a builder for the default gRPC ChannelProvider for this service.
-
defaultHttpJsonTransportProviderBuilder
@BetaApi public static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default REST ChannelProvider for this service.
-
defaultTransportChannelProvider
public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
-
defaultGrpcApiClientHeaderProviderBuilder
@BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder()
-
defaultHttpJsonApiClientHeaderProviderBuilder
@BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder()
-
defaultApiClientHeaderProviderBuilder
public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
-
newBuilder
public static DocumentProcessorServiceStubSettings.Builder newBuilder()
Returns a new gRPC builder for this class.
-
newHttpJsonBuilder
public static DocumentProcessorServiceStubSettings.Builder newHttpJsonBuilder()
Returns a new REST builder for this class.
-
newBuilder
public static DocumentProcessorServiceStubSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
-
toBuilder
public DocumentProcessorServiceStubSettings.Builder toBuilder()
Returns a builder containing all the values of this settings class.- Specified by:
toBuilder
in classcom.google.api.gax.rpc.StubSettings<DocumentProcessorServiceStubSettings>
-
-