diff --git a/java-document-ai/README.md b/java-document-ai/README.md
index dcaed7b3f51f..f0878e1259fe 100644
--- a/java-document-ai/README.md
+++ b/java-document-ai/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
The default instance has everything set to sensible defaults: + * + *
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: + * + *
{@code + * // 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 + * DocumentProcessorServiceSettings.Builder documentProcessorServiceSettingsBuilder = + * DocumentProcessorServiceSettings.newBuilder(); + * documentProcessorServiceSettingsBuilder + * .processDocumentSettings() + * .setRetrySettings( + * documentProcessorServiceSettingsBuilder + * .processDocumentSettings() + * .getRetrySettings() + * .toBuilder() + * .setTotalTimeout(Duration.ofSeconds(30)) + * .build()); + * DocumentProcessorServiceSettings documentProcessorServiceSettings = + * documentProcessorServiceSettingsBuilder.build(); + * }+ */ +@Generated("by gapic-generator-java") +public class DocumentProcessorServiceSettings + extends ClientSettings
Note: This method does not support applying settings to streaming methods.
+ */
+ public Builder applyToAllUnaryMethods(
+ ApiFunction This class is for advanced usage and reflects the underlying API directly.
+ */
+@Generated("by gapic-generator-java")
+public class GrpcDocumentProcessorServiceStub extends DocumentProcessorServiceStub {
+ private static final MethodDescriptor This class is for advanced usage and reflects the underlying API directly.
+ */
+@Generated("by gapic-generator-java")
+@BetaApi
+public class HttpJsonDocumentProcessorServiceStub extends DocumentProcessorServiceStub {
+ private static final TypeRegistry typeRegistry =
+ TypeRegistry.newBuilder()
+ .add(UndeployProcessorVersionResponse.getDescriptor())
+ .add(EnableProcessorResponse.getDescriptor())
+ .add(SetDefaultProcessorVersionMetadata.getDescriptor())
+ .add(EvaluateProcessorVersionResponse.getDescriptor())
+ .add(EnableProcessorMetadata.getDescriptor())
+ .add(ReviewDocumentOperationMetadata.getDescriptor())
+ .add(SetDefaultProcessorVersionResponse.getDescriptor())
+ .add(BatchProcessMetadata.getDescriptor())
+ .add(DeleteProcessorMetadata.getDescriptor())
+ .add(DeleteProcessorVersionMetadata.getDescriptor())
+ .add(Empty.getDescriptor())
+ .add(DeployProcessorVersionResponse.getDescriptor())
+ .add(DisableProcessorResponse.getDescriptor())
+ .add(BatchProcessResponse.getDescriptor())
+ .add(TrainProcessorVersionResponse.getDescriptor())
+ .add(ReviewDocumentResponse.getDescriptor())
+ .add(EvaluateProcessorVersionMetadata.getDescriptor())
+ .add(UndeployProcessorVersionMetadata.getDescriptor())
+ .add(DeployProcessorVersionMetadata.getDescriptor())
+ .add(DisableProcessorMetadata.getDescriptor())
+ .add(TrainProcessorVersionMetadata.getDescriptor())
+ .build();
+
+ private static final ApiMethodDescriptor