Skip to content

Commit 728f841

Browse files
feat: [documentai] A new field schema_override is added to message ProcessOptions (#10386)
* feat: A new field `schema_override` is added to message `ProcessOptions` feat: A new field `labels` is added to messages `ProcessRequest` and `BatchProcessRequest` feat: A new field `display_name` is added to message `DocumentSchema` docs: updated comments PiperOrigin-RevId: 607148983 Source-Link: googleapis/googleapis@9a9bc9b Source-Link: https://github.com/googleapis/googleapis-gen/commit/b8c71bc205c3adea235dc876c215d2ceccbb66a8 Copy-Tag: eyJwIjoiamF2YS1kb2N1bWVudC1haS8uT3dsQm90LnlhbWwiLCJoIjoiYjhjNzFiYzIwNWMzYWRlYTIzNWRjODc2YzIxNWQyY2VjY2JiNjZhOCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent b4ec244 commit 728f841

File tree

375 files changed

+2514
-858
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

375 files changed

+2514
-858
lines changed

java-document-ai/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
195195
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
196196
[stability-image]: https://img.shields.io/badge/stability-stable-green
197197
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-document-ai.svg
198-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-document-ai/2.38.0
198+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-document-ai/2.39.0
199199
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
200200
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
201201
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceClient.java

+14-9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -749,6 +749,7 @@ public final ProcessResponse processDocument(String name) {
749749
* .setSkipHumanReview(true)
750750
* .setFieldMask(FieldMask.newBuilder().build())
751751
* .setProcessOptions(ProcessOptions.newBuilder().build())
752+
* .putAllLabels(new HashMap<String, String>())
752753
* .build();
753754
* ProcessResponse response = documentProcessorServiceClient.processDocument(request);
754755
* }
@@ -781,6 +782,7 @@ public final ProcessResponse processDocument(ProcessRequest request) {
781782
* .setSkipHumanReview(true)
782783
* .setFieldMask(FieldMask.newBuilder().build())
783784
* .setProcessOptions(ProcessOptions.newBuilder().build())
785+
* .putAllLabels(new HashMap<String, String>())
784786
* .build();
785787
* ApiFuture<ProcessResponse> future =
786788
* documentProcessorServiceClient.processDocumentCallable().futureCall(request);
@@ -885,6 +887,7 @@ public final UnaryCallable<ProcessRequest, ProcessResponse> processDocumentCalla
885887
* .setDocumentOutputConfig(DocumentOutputConfig.newBuilder().build())
886888
* .setSkipHumanReview(true)
887889
* .setProcessOptions(ProcessOptions.newBuilder().build())
890+
* .putAllLabels(new HashMap<String, String>())
888891
* .build();
889892
* BatchProcessResponse response =
890893
* documentProcessorServiceClient.batchProcessDocumentsAsync(request).get();
@@ -921,6 +924,7 @@ public final UnaryCallable<ProcessRequest, ProcessResponse> processDocumentCalla
921924
* .setDocumentOutputConfig(DocumentOutputConfig.newBuilder().build())
922925
* .setSkipHumanReview(true)
923926
* .setProcessOptions(ProcessOptions.newBuilder().build())
927+
* .putAllLabels(new HashMap<String, String>())
924928
* .build();
925929
* OperationFuture<BatchProcessResponse, BatchProcessMetadata> future =
926930
* documentProcessorServiceClient
@@ -958,6 +962,7 @@ public final UnaryCallable<ProcessRequest, ProcessResponse> processDocumentCalla
958962
* .setDocumentOutputConfig(DocumentOutputConfig.newBuilder().build())
959963
* .setSkipHumanReview(true)
960964
* .setProcessOptions(ProcessOptions.newBuilder().build())
965+
* .putAllLabels(new HashMap<String, String>())
961966
* .build();
962967
* ApiFuture<Operation> future =
963968
* documentProcessorServiceClient.batchProcessDocumentsCallable().futureCall(request);
@@ -2692,10 +2697,10 @@ public final OperationFuture<Empty, DeleteProcessorVersionMetadata> deleteProces
26922697
* @param parent Required. The parent (project and location) under which to create the processor.
26932698
* Format: `projects/{project}/locations/{location}`
26942699
* @param processor Required. The processor to be created, requires
2695-
* [Processor.type][google.cloud.documentai.v1.Processor.type] and [Processor.display_name]][]
2696-
* to be set. Also, the
2697-
* [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name] field must be
2698-
* set if the processor is under CMEK.
2700+
* [Processor.type][google.cloud.documentai.v1.Processor.type] and
2701+
* [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set.
2702+
* Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name] field
2703+
* must be set if the processor is under CMEK.
26992704
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
27002705
*/
27012706
public final Processor createProcessor(LocationName parent, Processor processor) {
@@ -2731,10 +2736,10 @@ public final Processor createProcessor(LocationName parent, Processor processor)
27312736
* @param parent Required. The parent (project and location) under which to create the processor.
27322737
* Format: `projects/{project}/locations/{location}`
27332738
* @param processor Required. The processor to be created, requires
2734-
* [Processor.type][google.cloud.documentai.v1.Processor.type] and [Processor.display_name]][]
2735-
* to be set. Also, the
2736-
* [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name] field must be
2737-
* set if the processor is under CMEK.
2739+
* [Processor.type][google.cloud.documentai.v1.Processor.type] and
2740+
* [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set.
2741+
* Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name] field
2742+
* must be set if the processor is under CMEK.
27382743
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
27392744
*/
27402745
public final Processor createProcessor(String parent, Processor processor) {

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceSettings.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -371,7 +371,6 @@ public static TransportChannelProvider defaultTransportChannelProvider() {
371371
return DocumentProcessorServiceStubSettings.defaultTransportChannelProvider();
372372
}
373373

374-
@BetaApi("The surface for customizing headers is not stable yet and may change in the future.")
375374
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() {
376375
return DocumentProcessorServiceStubSettings.defaultApiClientHeaderProviderBuilder();
377376
}

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/package-info.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/DocumentProcessorServiceStub.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/DocumentProcessorServiceStubSettings.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -837,7 +837,6 @@ public static TransportChannelProvider defaultTransportChannelProvider() {
837837
return defaultGrpcTransportProviderBuilder().build();
838838
}
839839

840-
@BetaApi("The surface for customizing headers is not stable yet and may change in the future.")
841840
public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder() {
842841
return ApiClientHeaderProvider.newBuilder()
843842
.setGeneratedLibToken(
@@ -846,7 +845,6 @@ public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProvider
846845
GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion());
847846
}
848847

849-
@BetaApi("The surface for customizing headers is not stable yet and may change in the future.")
850848
public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() {
851849
return ApiClientHeaderProvider.newBuilder()
852850
.setGeneratedLibToken(

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/GrpcDocumentProcessorServiceCallableFactory.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/GrpcDocumentProcessorServiceStub.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/HttpJsonDocumentProcessorServiceCallableFactory.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/HttpJsonDocumentProcessorServiceStub.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/DocumentUnderstandingServiceClient.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/DocumentUnderstandingServiceSettings.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -125,7 +125,6 @@ public static TransportChannelProvider defaultTransportChannelProvider() {
125125
return DocumentUnderstandingServiceStubSettings.defaultTransportChannelProvider();
126126
}
127127

128-
@BetaApi("The surface for customizing headers is not stable yet and may change in the future.")
129128
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() {
130129
return DocumentUnderstandingServiceStubSettings.defaultApiClientHeaderProviderBuilder();
131130
}

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/package-info.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/stub/DocumentUnderstandingServiceStub.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/stub/DocumentUnderstandingServiceStubSettings.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -176,7 +176,6 @@ public static TransportChannelProvider defaultTransportChannelProvider() {
176176
return defaultGrpcTransportProviderBuilder().build();
177177
}
178178

179-
@BetaApi("The surface for customizing headers is not stable yet and may change in the future.")
180179
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() {
181180
return ApiClientHeaderProvider.newBuilder()
182181
.setGeneratedLibToken(

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/stub/GrpcDocumentUnderstandingServiceCallableFactory.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/stub/GrpcDocumentUnderstandingServiceStub.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/DocumentUnderstandingServiceClient.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/DocumentUnderstandingServiceSettings.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -148,7 +148,6 @@ public static TransportChannelProvider defaultTransportChannelProvider() {
148148
return DocumentUnderstandingServiceStubSettings.defaultTransportChannelProvider();
149149
}
150150

151-
@BetaApi("The surface for customizing headers is not stable yet and may change in the future.")
152151
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() {
153152
return DocumentUnderstandingServiceStubSettings.defaultApiClientHeaderProviderBuilder();
154153
}

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/package-info.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/stub/DocumentUnderstandingServiceStub.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/stub/DocumentUnderstandingServiceStubSettings.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -265,7 +265,6 @@ public static TransportChannelProvider defaultTransportChannelProvider() {
265265
return defaultGrpcTransportProviderBuilder().build();
266266
}
267267

268-
@BetaApi("The surface for customizing headers is not stable yet and may change in the future.")
269268
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() {
270269
return ApiClientHeaderProvider.newBuilder()
271270
.setGeneratedLibToken(

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/stub/GrpcDocumentUnderstandingServiceCallableFactory.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/stub/GrpcDocumentUnderstandingServiceStub.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProcessorServiceClient.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProcessorServiceSettings.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -389,7 +389,6 @@ public static TransportChannelProvider defaultTransportChannelProvider() {
389389
return DocumentProcessorServiceStubSettings.defaultTransportChannelProvider();
390390
}
391391

392-
@BetaApi("The surface for customizing headers is not stable yet and may change in the future.")
393392
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() {
394393
return DocumentProcessorServiceStubSettings.defaultApiClientHeaderProviderBuilder();
395394
}

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/DocumentServiceClient.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/DocumentServiceSettings.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -193,7 +193,6 @@ public static TransportChannelProvider defaultTransportChannelProvider() {
193193
return DocumentServiceStubSettings.defaultTransportChannelProvider();
194194
}
195195

196-
@BetaApi("The surface for customizing headers is not stable yet and may change in the future.")
197196
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() {
198197
return DocumentServiceStubSettings.defaultApiClientHeaderProviderBuilder();
199198
}

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/package-info.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/DocumentProcessorServiceStub.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/DocumentProcessorServiceStubSettings.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -863,7 +863,6 @@ public static TransportChannelProvider defaultTransportChannelProvider() {
863863
return defaultGrpcTransportProviderBuilder().build();
864864
}
865865

866-
@BetaApi("The surface for customizing headers is not stable yet and may change in the future.")
867866
public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder() {
868867
return ApiClientHeaderProvider.newBuilder()
869868
.setGeneratedLibToken(
@@ -872,7 +871,6 @@ public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProvider
872871
GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion());
873872
}
874873

875-
@BetaApi("The surface for customizing headers is not stable yet and may change in the future.")
876874
public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() {
877875
return ApiClientHeaderProvider.newBuilder()
878876
.setGeneratedLibToken(

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/DocumentServiceStub.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 Google LLC
2+
* Copyright 2024 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)