diff --git a/generation_config.yaml b/generation_config.yaml index 1d470cec927c..f1f7b565a22f 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,6 +1,6 @@ gapic_generator_version: 2.40.0 protoc_version: '25.3' -googleapis_commitish: e5b8ffad92c2cda2de65ee6e466cd53f3334837e +googleapis_commitish: 25a1a57957d9e4bf431897d280b2569b26dc9165 libraries_bom_version: 26.38.0 owlbot_cli_image: sha256:623647ee79ac605858d09e60c1382a716c125fb776f69301b72de1cd35d49409 synthtool_commitish: 63cc541da2c45fcfca2136c43e638da1fbae174d diff --git a/java-batch/README.md b/java-batch/README.md index 5c86b090e7f6..55dfc7023397 100644 --- a/java-batch/README.md +++ b/java-batch/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-batch.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-batch/0.42.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-batch/0.43.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/BatchServiceClient.java b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/BatchServiceClient.java index a46fb072eb8a..2853a9bc9084 100644 --- a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/BatchServiceClient.java +++ b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/BatchServiceClient.java @@ -133,6 +133,24 @@ * * * + *

UpdateJob + *

Update a Job. + * + *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ * + *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ * + *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ * + * + * + * *

ListJobs *

List all Jobs for a project within a region. * @@ -807,6 +825,96 @@ public final UnaryCallable deleteJobCallable() { return stub.deleteJobCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Update a Job. + * + *

Sample code: + * + *

{@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
+   * try (BatchServiceClient batchServiceClient = BatchServiceClient.create()) {
+   *   Job job = Job.newBuilder().build();
+   *   FieldMask updateMask = FieldMask.newBuilder().build();
+   *   Job response = batchServiceClient.updateJob(job, updateMask);
+   * }
+   * }
+ * + * @param job Required. The Job to update. Only fields specified in `update_mask` are updated. + * @param updateMask Required. Mask of fields to update. + *

UpdateJob request now only supports update on `task_count` field in a job's first task + * group. Other fields will be ignored. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Job updateJob(Job job, FieldMask updateMask) { + UpdateJobRequest request = + UpdateJobRequest.newBuilder().setJob(job).setUpdateMask(updateMask).build(); + return updateJob(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Update a Job. + * + *

Sample code: + * + *

{@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
+   * try (BatchServiceClient batchServiceClient = BatchServiceClient.create()) {
+   *   UpdateJobRequest request =
+   *       UpdateJobRequest.newBuilder()
+   *           .setJob(Job.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   Job response = batchServiceClient.updateJob(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Job updateJob(UpdateJobRequest request) { + return updateJobCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Update a Job. + * + *

Sample code: + * + *

{@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
+   * try (BatchServiceClient batchServiceClient = BatchServiceClient.create()) {
+   *   UpdateJobRequest request =
+   *       UpdateJobRequest.newBuilder()
+   *           .setJob(Job.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   ApiFuture future = batchServiceClient.updateJobCallable().futureCall(request);
+   *   // Do something.
+   *   Job response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable updateJobCallable() { + return stub.updateJobCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * List all Jobs for a project within a region. diff --git a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/BatchServiceSettings.java b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/BatchServiceSettings.java index 3c0f4fe89364..c40288e3c916 100644 --- a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/BatchServiceSettings.java +++ b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/BatchServiceSettings.java @@ -106,6 +106,11 @@ public UnaryCallSettings deleteJobSettings() { return ((BatchServiceStubSettings) getStubSettings()).deleteJobOperationSettings(); } + /** Returns the object with the settings used for calls to updateJob. */ + public UnaryCallSettings updateJobSettings() { + return ((BatchServiceStubSettings) getStubSettings()).updateJobSettings(); + } + /** Returns the object with the settings used for calls to listJobs. */ public PagedCallSettings listJobsSettings() { @@ -307,6 +312,11 @@ public UnaryCallSettings.Builder deleteJobSettings( return getStubSettingsBuilder().deleteJobOperationSettings(); } + /** Returns the builder for the settings used for calls to updateJob. */ + public UnaryCallSettings.Builder updateJobSettings() { + return getStubSettingsBuilder().updateJobSettings(); + } + /** Returns the builder for the settings used for calls to listJobs. */ public PagedCallSettings.Builder listJobsSettings() { diff --git a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/gapic_metadata.json b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/gapic_metadata.json index cf6632748ef4..c372ea25bb83 100644 --- a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/gapic_metadata.json +++ b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/gapic_metadata.json @@ -46,6 +46,9 @@ "ListTasks": { "methods": ["listTasks", "listTasks", "listTasks", "listTasksPagedCallable", "listTasksCallable"] }, + "UpdateJob": { + "methods": ["updateJob", "updateJob", "updateJobCallable"] + }, "UpdateResourceAllowance": { "methods": ["updateResourceAllowance", "updateResourceAllowance", "updateResourceAllowanceCallable"] } diff --git a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/stub/BatchServiceStub.java b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/stub/BatchServiceStub.java index 76bde9a810c2..a2e5b50b2d61 100644 --- a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/stub/BatchServiceStub.java +++ b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/stub/BatchServiceStub.java @@ -42,6 +42,7 @@ import com.google.cloud.batch.v1alpha.OperationMetadata; import com.google.cloud.batch.v1alpha.ResourceAllowance; import com.google.cloud.batch.v1alpha.Task; +import com.google.cloud.batch.v1alpha.UpdateJobRequest; import com.google.cloud.batch.v1alpha.UpdateResourceAllowanceRequest; import com.google.cloud.location.GetLocationRequest; import com.google.cloud.location.ListLocationsRequest; @@ -87,6 +88,10 @@ public UnaryCallable deleteJobCallable() { throw new UnsupportedOperationException("Not implemented: deleteJobCallable()"); } + public UnaryCallable updateJobCallable() { + throw new UnsupportedOperationException("Not implemented: updateJobCallable()"); + } + public UnaryCallable listJobsPagedCallable() { throw new UnsupportedOperationException("Not implemented: listJobsPagedCallable()"); } diff --git a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/stub/BatchServiceStubSettings.java b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/stub/BatchServiceStubSettings.java index 87976d221e27..f84ed7ca04ae 100644 --- a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/stub/BatchServiceStubSettings.java +++ b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/stub/BatchServiceStubSettings.java @@ -67,6 +67,7 @@ import com.google.cloud.batch.v1alpha.OperationMetadata; import com.google.cloud.batch.v1alpha.ResourceAllowance; import com.google.cloud.batch.v1alpha.Task; +import com.google.cloud.batch.v1alpha.UpdateJobRequest; import com.google.cloud.batch.v1alpha.UpdateResourceAllowanceRequest; import com.google.cloud.location.GetLocationRequest; import com.google.cloud.location.ListLocationsRequest; @@ -132,6 +133,7 @@ public class BatchServiceStubSettings extends StubSettings deleteJobSettings; private final OperationCallSettings deleteJobOperationSettings; + private final UnaryCallSettings updateJobSettings; private final PagedCallSettings listJobsSettings; private final UnaryCallSettings getTaskSettings; @@ -406,6 +408,11 @@ public UnaryCallSettings deleteJobSettings() { return deleteJobOperationSettings; } + /** Returns the object with the settings used for calls to updateJob. */ + public UnaryCallSettings updateJobSettings() { + return updateJobSettings; + } + /** Returns the object with the settings used for calls to listJobs. */ public PagedCallSettings listJobsSettings() { @@ -587,6 +594,7 @@ protected BatchServiceStubSettings(Builder settingsBuilder) throws IOException { getJobSettings = settingsBuilder.getJobSettings().build(); deleteJobSettings = settingsBuilder.deleteJobSettings().build(); deleteJobOperationSettings = settingsBuilder.deleteJobOperationSettings().build(); + updateJobSettings = settingsBuilder.updateJobSettings().build(); listJobsSettings = settingsBuilder.listJobsSettings().build(); getTaskSettings = settingsBuilder.getTaskSettings().build(); listTasksSettings = settingsBuilder.listTasksSettings().build(); @@ -609,6 +617,7 @@ public static class Builder extends StubSettings.Builder deleteJobSettings; private final OperationCallSettings.Builder deleteJobOperationSettings; + private final UnaryCallSettings.Builder updateJobSettings; private final PagedCallSettings.Builder< ListJobsRequest, ListJobsResponse, ListJobsPagedResponse> listJobsSettings; @@ -691,6 +700,7 @@ protected Builder(ClientContext clientContext) { getJobSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); deleteJobSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); deleteJobOperationSettings = OperationCallSettings.newBuilder(); + updateJobSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); listJobsSettings = PagedCallSettings.newBuilder(LIST_JOBS_PAGE_STR_FACT); getTaskSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); listTasksSettings = PagedCallSettings.newBuilder(LIST_TASKS_PAGE_STR_FACT); @@ -709,6 +719,7 @@ protected Builder(ClientContext clientContext) { createJobSettings, getJobSettings, deleteJobSettings, + updateJobSettings, listJobsSettings, getTaskSettings, listTasksSettings, @@ -729,6 +740,7 @@ protected Builder(BatchServiceStubSettings settings) { getJobSettings = settings.getJobSettings.toBuilder(); deleteJobSettings = settings.deleteJobSettings.toBuilder(); deleteJobOperationSettings = settings.deleteJobOperationSettings.toBuilder(); + updateJobSettings = settings.updateJobSettings.toBuilder(); listJobsSettings = settings.listJobsSettings.toBuilder(); getTaskSettings = settings.getTaskSettings.toBuilder(); listTasksSettings = settings.listTasksSettings.toBuilder(); @@ -747,6 +759,7 @@ protected Builder(BatchServiceStubSettings settings) { createJobSettings, getJobSettings, deleteJobSettings, + updateJobSettings, listJobsSettings, getTaskSettings, listTasksSettings, @@ -799,6 +812,11 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + builder + .updateJobSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + builder .listJobsSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) @@ -935,6 +953,11 @@ public UnaryCallSettings.Builder deleteJobSettings( return deleteJobOperationSettings; } + /** Returns the builder for the settings used for calls to updateJob. */ + public UnaryCallSettings.Builder updateJobSettings() { + return updateJobSettings; + } + /** Returns the builder for the settings used for calls to listJobs. */ public PagedCallSettings.Builder listJobsSettings() { diff --git a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/stub/GrpcBatchServiceStub.java b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/stub/GrpcBatchServiceStub.java index 1d5976009874..c3f9a425c231 100644 --- a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/stub/GrpcBatchServiceStub.java +++ b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/stub/GrpcBatchServiceStub.java @@ -47,6 +47,7 @@ import com.google.cloud.batch.v1alpha.OperationMetadata; import com.google.cloud.batch.v1alpha.ResourceAllowance; import com.google.cloud.batch.v1alpha.Task; +import com.google.cloud.batch.v1alpha.UpdateJobRequest; import com.google.cloud.batch.v1alpha.UpdateResourceAllowanceRequest; import com.google.cloud.location.GetLocationRequest; import com.google.cloud.location.ListLocationsRequest; @@ -94,6 +95,14 @@ public class GrpcBatchServiceStub extends BatchServiceStub { .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); + private static final MethodDescriptor updateJobMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.batch.v1alpha.BatchService/UpdateJob") + .setRequestMarshaller(ProtoUtils.marshaller(UpdateJobRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Job.getDefaultInstance())) + .build(); + private static final MethodDescriptor listJobsMethodDescriptor = MethodDescriptor.newBuilder() @@ -197,6 +206,7 @@ public class GrpcBatchServiceStub extends BatchServiceStub { private final UnaryCallable deleteJobCallable; private final OperationCallable deleteJobOperationCallable; + private final UnaryCallable updateJobCallable; private final UnaryCallable listJobsCallable; private final UnaryCallable listJobsPagedCallable; private final UnaryCallable getTaskCallable; @@ -293,6 +303,16 @@ protected GrpcBatchServiceStub( return builder.build(); }) .build(); + GrpcCallSettings updateJobTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(updateJobMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("job.name", String.valueOf(request.getJob().getName())); + return builder.build(); + }) + .build(); GrpcCallSettings listJobsTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(listJobsMethodDescriptor) @@ -417,6 +437,9 @@ protected GrpcBatchServiceStub( settings.deleteJobOperationSettings(), clientContext, operationsStub); + this.updateJobCallable = + callableFactory.createUnaryCallable( + updateJobTransportSettings, settings.updateJobSettings(), clientContext); this.listJobsCallable = callableFactory.createUnaryCallable( listJobsTransportSettings, settings.listJobsSettings(), clientContext); @@ -507,6 +530,11 @@ public UnaryCallable deleteJobCallable() { return deleteJobOperationCallable; } + @Override + public UnaryCallable updateJobCallable() { + return updateJobCallable; + } + @Override public UnaryCallable listJobsCallable() { return listJobsCallable; diff --git a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/stub/HttpJsonBatchServiceStub.java b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/stub/HttpJsonBatchServiceStub.java index 7e1a9cf7238b..9e50f75255e2 100644 --- a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/stub/HttpJsonBatchServiceStub.java +++ b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/stub/HttpJsonBatchServiceStub.java @@ -55,6 +55,7 @@ import com.google.cloud.batch.v1alpha.OperationMetadata; import com.google.cloud.batch.v1alpha.ResourceAllowance; import com.google.cloud.batch.v1alpha.Task; +import com.google.cloud.batch.v1alpha.UpdateJobRequest; import com.google.cloud.batch.v1alpha.UpdateResourceAllowanceRequest; import com.google.cloud.location.GetLocationRequest; import com.google.cloud.location.ListLocationsRequest; @@ -194,6 +195,42 @@ public class HttpJsonBatchServiceStub extends BatchServiceStub { HttpJsonOperationSnapshot.create(response)) .build(); + private static final ApiMethodDescriptor updateJobMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.batch.v1alpha.BatchService/UpdateJob") + .setHttpMethod("PATCH") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1alpha/{job.name=projects/*/locations/*/jobs/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "job.name", request.getJob().getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "requestId", request.getRequestId()); + serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor( + request -> ProtoRestSerializer.create().toBody("job", request.getJob(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Job.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + private static final ApiMethodDescriptor listJobsMethodDescriptor = ApiMethodDescriptor.newBuilder() @@ -571,6 +608,7 @@ public class HttpJsonBatchServiceStub extends BatchServiceStub { private final UnaryCallable deleteJobCallable; private final OperationCallable deleteJobOperationCallable; + private final UnaryCallable updateJobCallable; private final UnaryCallable listJobsCallable; private final UnaryCallable listJobsPagedCallable; private final UnaryCallable getTaskCallable; @@ -698,6 +736,17 @@ protected HttpJsonBatchServiceStub( return builder.build(); }) .build(); + HttpJsonCallSettings updateJobTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(updateJobMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("job.name", String.valueOf(request.getJob().getName())); + return builder.build(); + }) + .build(); HttpJsonCallSettings listJobsTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(listJobsMethodDescriptor) @@ -833,6 +882,9 @@ protected HttpJsonBatchServiceStub( settings.deleteJobOperationSettings(), clientContext, httpJsonOperationsStub); + this.updateJobCallable = + callableFactory.createUnaryCallable( + updateJobTransportSettings, settings.updateJobSettings(), clientContext); this.listJobsCallable = callableFactory.createUnaryCallable( listJobsTransportSettings, settings.listJobsSettings(), clientContext); @@ -904,6 +956,7 @@ public static List getMethodDescriptors() { methodDescriptors.add(createJobMethodDescriptor); methodDescriptors.add(getJobMethodDescriptor); methodDescriptors.add(deleteJobMethodDescriptor); + methodDescriptors.add(updateJobMethodDescriptor); methodDescriptors.add(listJobsMethodDescriptor); methodDescriptors.add(getTaskMethodDescriptor); methodDescriptors.add(listTasksMethodDescriptor); @@ -942,6 +995,11 @@ public UnaryCallable deleteJobCallable() { return deleteJobOperationCallable; } + @Override + public UnaryCallable updateJobCallable() { + return updateJobCallable; + } + @Override public UnaryCallable listJobsCallable() { return listJobsCallable; diff --git a/java-batch/google-cloud-batch/src/main/resources/META-INF/native-image/com.google.cloud.batch.v1alpha/reflect-config.json b/java-batch/google-cloud-batch/src/main/resources/META-INF/native-image/com.google.cloud.batch.v1alpha/reflect-config.json index 1049569a5806..14f05b30ee9e 100644 --- a/java-batch/google-cloud-batch/src/main/resources/META-INF/native-image/com.google.cloud.batch.v1alpha/reflect-config.json +++ b/java-batch/google-cloud-batch/src/main/resources/META-INF/native-image/com.google.cloud.batch.v1alpha/reflect-config.json @@ -1511,6 +1511,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.batch.v1alpha.UpdateJobRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.batch.v1alpha.UpdateJobRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.batch.v1alpha.UpdateResourceAllowanceRequest", "queryAllDeclaredConstructors": true, diff --git a/java-batch/google-cloud-batch/src/test/java/com/google/cloud/batch/v1alpha/BatchServiceClientHttpJsonTest.java b/java-batch/google-cloud-batch/src/test/java/com/google/cloud/batch/v1alpha/BatchServiceClientHttpJsonTest.java index 665988797913..26f6a2305aca 100644 --- a/java-batch/google-cloud-batch/src/test/java/com/google/cloud/batch/v1alpha/BatchServiceClientHttpJsonTest.java +++ b/java-batch/google-cloud-batch/src/test/java/com/google/cloud/batch/v1alpha/BatchServiceClientHttpJsonTest.java @@ -367,6 +367,94 @@ public void deleteJobExceptionTest() throws Exception { } } + @Test + public void updateJobTest() throws Exception { + Job expectedResponse = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setUid("uid115792") + .setPriority(-1165461084) + .addAllTaskGroups(new ArrayList()) + .addAllDependencies(new ArrayList()) + .setAllocationPolicy(AllocationPolicy.newBuilder().build()) + .putAllLabels(new HashMap()) + .setStatus(JobStatus.newBuilder().build()) + .setNotification(JobNotification.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setLogsPolicy(LogsPolicy.newBuilder().build()) + .addAllNotifications(new ArrayList()) + .build(); + mockService.addResponse(expectedResponse); + + Job job = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setUid("uid115792") + .setPriority(-1165461084) + .addAllTaskGroups(new ArrayList()) + .addAllDependencies(new ArrayList()) + .setAllocationPolicy(AllocationPolicy.newBuilder().build()) + .putAllLabels(new HashMap()) + .setStatus(JobStatus.newBuilder().build()) + .setNotification(JobNotification.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setLogsPolicy(LogsPolicy.newBuilder().build()) + .addAllNotifications(new ArrayList()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Job actualResponse = client.updateJob(job, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateJobExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + Job job = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setUid("uid115792") + .setPriority(-1165461084) + .addAllTaskGroups(new ArrayList()) + .addAllDependencies(new ArrayList()) + .setAllocationPolicy(AllocationPolicy.newBuilder().build()) + .putAllLabels(new HashMap()) + .setStatus(JobStatus.newBuilder().build()) + .setNotification(JobNotification.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setLogsPolicy(LogsPolicy.newBuilder().build()) + .addAllNotifications(new ArrayList()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateJob(job, updateMask); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void listJobsTest() throws Exception { Job responsesElement = Job.newBuilder().build(); diff --git a/java-batch/google-cloud-batch/src/test/java/com/google/cloud/batch/v1alpha/BatchServiceClientTest.java b/java-batch/google-cloud-batch/src/test/java/com/google/cloud/batch/v1alpha/BatchServiceClientTest.java index 813d9463460d..330a3dad77de 100644 --- a/java-batch/google-cloud-batch/src/test/java/com/google/cloud/batch/v1alpha/BatchServiceClientTest.java +++ b/java-batch/google-cloud-batch/src/test/java/com/google/cloud/batch/v1alpha/BatchServiceClientTest.java @@ -351,6 +351,59 @@ public void deleteJobExceptionTest() throws Exception { } } + @Test + public void updateJobTest() throws Exception { + Job expectedResponse = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setUid("uid115792") + .setPriority(-1165461084) + .addAllTaskGroups(new ArrayList()) + .addAllDependencies(new ArrayList()) + .setAllocationPolicy(AllocationPolicy.newBuilder().build()) + .putAllLabels(new HashMap()) + .setStatus(JobStatus.newBuilder().build()) + .setNotification(JobNotification.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setLogsPolicy(LogsPolicy.newBuilder().build()) + .addAllNotifications(new ArrayList()) + .build(); + mockBatchService.addResponse(expectedResponse); + + Job job = Job.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Job actualResponse = client.updateJob(job, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBatchService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdateJobRequest actualRequest = ((UpdateJobRequest) actualRequests.get(0)); + + Assert.assertEquals(job, actualRequest.getJob()); + Assert.assertEquals(updateMask, actualRequest.getUpdateMask()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updateJobExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBatchService.addException(exception); + + try { + Job job = Job.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateJob(job, updateMask); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void listJobsTest() throws Exception { Job responsesElement = Job.newBuilder().build(); diff --git a/java-batch/google-cloud-batch/src/test/java/com/google/cloud/batch/v1alpha/MockBatchServiceImpl.java b/java-batch/google-cloud-batch/src/test/java/com/google/cloud/batch/v1alpha/MockBatchServiceImpl.java index d293fe98a74f..226ae8794667 100644 --- a/java-batch/google-cloud-batch/src/test/java/com/google/cloud/batch/v1alpha/MockBatchServiceImpl.java +++ b/java-batch/google-cloud-batch/src/test/java/com/google/cloud/batch/v1alpha/MockBatchServiceImpl.java @@ -119,6 +119,26 @@ public void deleteJob(DeleteJobRequest request, StreamObserver respon } } + @Override + public void updateJob(UpdateJobRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Job) { + requests.add(request); + responseObserver.onNext(((Job) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method UpdateJob, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Job.class.getName(), + Exception.class.getName()))); + } + } + @Override public void listJobs(ListJobsRequest request, StreamObserver responseObserver) { Object response = responses.poll(); diff --git a/java-batch/grpc-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/BatchServiceGrpc.java b/java-batch/grpc-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/BatchServiceGrpc.java index 9e26ad54dd1a..8898ce589991 100644 --- a/java-batch/grpc-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/BatchServiceGrpc.java +++ b/java-batch/grpc-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/BatchServiceGrpc.java @@ -160,6 +160,47 @@ private BatchServiceGrpc() {} return getDeleteJobMethod; } + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.batch.v1alpha.UpdateJobRequest, com.google.cloud.batch.v1alpha.Job> + getUpdateJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateJob", + requestType = com.google.cloud.batch.v1alpha.UpdateJobRequest.class, + responseType = com.google.cloud.batch.v1alpha.Job.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.batch.v1alpha.UpdateJobRequest, com.google.cloud.batch.v1alpha.Job> + getUpdateJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.batch.v1alpha.UpdateJobRequest, com.google.cloud.batch.v1alpha.Job> + getUpdateJobMethod; + if ((getUpdateJobMethod = BatchServiceGrpc.getUpdateJobMethod) == null) { + synchronized (BatchServiceGrpc.class) { + if ((getUpdateJobMethod = BatchServiceGrpc.getUpdateJobMethod) == null) { + BatchServiceGrpc.getUpdateJobMethod = + getUpdateJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.batch.v1alpha.UpdateJobRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.batch.v1alpha.Job.getDefaultInstance())) + .setSchemaDescriptor(new BatchServiceMethodDescriptorSupplier("UpdateJob")) + .build(); + } + } + } + return getUpdateJobMethod; + } + private static volatile io.grpc.MethodDescriptor< com.google.cloud.batch.v1alpha.ListJobsRequest, com.google.cloud.batch.v1alpha.ListJobsResponse> @@ -629,6 +670,19 @@ default void deleteJob( io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteJobMethod(), responseObserver); } + /** + * + * + *
+     * Update a Job.
+     * 
+ */ + default void updateJob( + com.google.cloud.batch.v1alpha.UpdateJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateJobMethod(), responseObserver); + } + /** * * @@ -825,6 +879,20 @@ public void deleteJob( getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request, responseObserver); } + /** + * + * + *
+     * Update a Job.
+     * 
+ */ + public void updateJob( + com.google.cloud.batch.v1alpha.UpdateJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request, responseObserver); + } + /** * * @@ -1014,6 +1082,19 @@ public com.google.longrunning.Operation deleteJob( getChannel(), getDeleteJobMethod(), getCallOptions(), request); } + /** + * + * + *
+     * Update a Job.
+     * 
+ */ + public com.google.cloud.batch.v1alpha.Job updateJob( + com.google.cloud.batch.v1alpha.UpdateJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateJobMethod(), getCallOptions(), request); + } + /** * * @@ -1179,6 +1260,19 @@ protected BatchServiceFutureStub build( getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request); } + /** + * + * + *
+     * Update a Job.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateJob(com.google.cloud.batch.v1alpha.UpdateJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request); + } + /** * * @@ -1297,14 +1391,15 @@ protected BatchServiceFutureStub build( private static final int METHODID_CREATE_JOB = 0; private static final int METHODID_GET_JOB = 1; private static final int METHODID_DELETE_JOB = 2; - private static final int METHODID_LIST_JOBS = 3; - private static final int METHODID_GET_TASK = 4; - private static final int METHODID_LIST_TASKS = 5; - private static final int METHODID_CREATE_RESOURCE_ALLOWANCE = 6; - private static final int METHODID_GET_RESOURCE_ALLOWANCE = 7; - private static final int METHODID_DELETE_RESOURCE_ALLOWANCE = 8; - private static final int METHODID_LIST_RESOURCE_ALLOWANCES = 9; - private static final int METHODID_UPDATE_RESOURCE_ALLOWANCE = 10; + private static final int METHODID_UPDATE_JOB = 3; + private static final int METHODID_LIST_JOBS = 4; + private static final int METHODID_GET_TASK = 5; + private static final int METHODID_LIST_TASKS = 6; + private static final int METHODID_CREATE_RESOURCE_ALLOWANCE = 7; + private static final int METHODID_GET_RESOURCE_ALLOWANCE = 8; + private static final int METHODID_DELETE_RESOURCE_ALLOWANCE = 9; + private static final int METHODID_LIST_RESOURCE_ALLOWANCES = 10; + private static final int METHODID_UPDATE_RESOURCE_ALLOWANCE = 11; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -1338,6 +1433,11 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv (com.google.cloud.batch.v1alpha.DeleteJobRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_UPDATE_JOB: + serviceImpl.updateJob( + (com.google.cloud.batch.v1alpha.UpdateJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; case METHODID_LIST_JOBS: serviceImpl.listJobs( (com.google.cloud.batch.v1alpha.ListJobsRequest) request, @@ -1421,6 +1521,12 @@ public static final io.grpc.ServerServiceDefinition bindService(AsyncService ser new MethodHandlers< com.google.cloud.batch.v1alpha.DeleteJobRequest, com.google.longrunning.Operation>(service, METHODID_DELETE_JOB))) + .addMethod( + getUpdateJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.batch.v1alpha.UpdateJobRequest, + com.google.cloud.batch.v1alpha.Job>(service, METHODID_UPDATE_JOB))) .addMethod( getListJobsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( @@ -1528,6 +1634,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getCreateJobMethod()) .addMethod(getGetJobMethod()) .addMethod(getDeleteJobMethod()) + .addMethod(getUpdateJobMethod()) .addMethod(getListJobsMethod()) .addMethod(getGetTaskMethod()) .addMethod(getListTasksMethod()) diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/batch.proto b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/batch.proto index 443f14ac59e3..8ab948547848 100644 --- a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/batch.proto +++ b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/batch.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/job.proto b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/job.proto index 391fd75fafa7..67b486d3e58e 100644 --- a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/job.proto +++ b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/job.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/task.proto b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/task.proto index 132817685e45..dabd66b0d9be 100644 --- a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/task.proto +++ b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/task.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/volume.proto b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/volume.proto index 8447d992c483..2c7aef1b64c4 100644 --- a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/volume.proto +++ b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/volume.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/AllocationPolicy.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/AllocationPolicy.java index 011f4541b749..658e73ea945e 100644 --- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/AllocationPolicy.java +++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/AllocationPolicy.java @@ -290,11 +290,11 @@ public interface LocationPolicyOrBuilder * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; @@ -315,11 +315,11 @@ public interface LocationPolicyOrBuilder * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; @@ -340,11 +340,11 @@ public interface LocationPolicyOrBuilder * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; @@ -366,11 +366,11 @@ public interface LocationPolicyOrBuilder * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; @@ -494,11 +494,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; @@ -521,11 +521,11 @@ public com.google.protobuf.ProtocolStringList getAllowedLocationsList() { * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; @@ -548,11 +548,11 @@ public int getAllowedLocationsCount() { * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; @@ -576,11 +576,11 @@ public java.lang.String getAllowedLocations(int index) { * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; @@ -1081,11 +1081,11 @@ private void ensureAllowedLocationsIsMutable() { * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; @@ -1109,11 +1109,11 @@ public com.google.protobuf.ProtocolStringList getAllowedLocationsList() { * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; @@ -1136,11 +1136,11 @@ public int getAllowedLocationsCount() { * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; @@ -1164,11 +1164,11 @@ public java.lang.String getAllowedLocations(int index) { * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; @@ -1192,11 +1192,11 @@ public com.google.protobuf.ByteString getAllowedLocationsBytes(int index) { * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; @@ -1228,11 +1228,11 @@ public Builder setAllowedLocations(int index, java.lang.String value) { * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; @@ -1263,11 +1263,11 @@ public Builder addAllowedLocations(java.lang.String value) { * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; @@ -1295,11 +1295,11 @@ public Builder addAllAllowedLocations(java.lang.Iterable value * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; @@ -1326,11 +1326,11 @@ public Builder clearAllowedLocations() { * ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs * in zones us-central1-a and us-central1-c. * - * All locations end up in different regions would cause errors. + * Mixing locations from different regions would cause errors. * For example, * ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - * "zones/us-west1-a"] contains 2 regions "us-central1" and - * "us-west1". An error is expected in this case. + * "zones/us-west1-a"] contains locations from two distinct regions: + * us-central1 and us-west1. This combination will trigger an error. * * * repeated string allowed_locations = 1; diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/BatchProto.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/BatchProto.java index e27e90e16e5e..64ce0cd0071d 100644 --- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/BatchProto.java +++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/BatchProto.java @@ -40,6 +40,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_batch_v1alpha_DeleteJobRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_batch_v1alpha_DeleteJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_batch_v1alpha_UpdateJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_batch_v1alpha_UpdateJobRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_batch_v1alpha_ListJobsRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -116,118 +120,126 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\n\rGetJobRequest\022.\n\004name\030\001 \001(\tB \340A\002\372A\032\n\030b" + "atch.googleapis.com/Job\"N\n\020DeleteJobRequ" + "est\022\014\n\004name\030\001 \001(\t\022\023\n\006reason\030\002 \001(\tB\003\340A\001\022\027" - + "\n\nrequest_id\030\004 \001(\tB\003\340A\001\"o\n\017ListJobsReque" - + "st\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter\030\004 \001(\t\022\025\n\010or" - + "der_by\030\005 \001(\tB\003\340A\001\022\021\n\tpage_size\030\002 \001(\005\022\022\n\n" - + "page_token\030\003 \001(\t\"o\n\020ListJobsResponse\022-\n\004" - + "jobs\030\001 \003(\0132\037.google.cloud.batch.v1alpha." - + "Job\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreacha" - + "ble\030\003 \003(\t\"\223\001\n\020ListTasksRequest\0226\n\006parent" - + "\030\001 \001(\tB&\340A\002\372A \n\036batch.googleapis.com/Tas" - + "kGroup\022\016\n\006filter\030\002 \001(\t\022\020\n\010order_by\030\005 \001(\t" - + "\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"" - + "r\n\021ListTasksResponse\022/\n\005tasks\030\001 \003(\0132 .go" - + "ogle.cloud.batch.v1alpha.Task\022\027\n\017next_pa" - + "ge_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"A\n\016G" - + "etTaskRequest\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031bat" - + "ch.googleapis.com/Task\"\360\001\n\036CreateResourc" - + "eAllowanceRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A" - + "(\022&batch.googleapis.com/ResourceAllowanc" - + "e\022\035\n\025resource_allowance_id\030\002 \001(\t\022N\n\022reso" - + "urce_allowance\030\003 \001(\0132-.google.cloud.batc" - + "h.v1alpha.ResourceAllowanceB\003\340A\002\022\037\n\nrequ" - + "est_id\030\004 \001(\tB\013\340A\001\342\214\317\327\010\002\010\001\"[\n\033GetResource" - + "AllowanceRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&" - + "batch.googleapis.com/ResourceAllowance\"\224" - + "\001\n\036DeleteResourceAllowanceRequest\022<\n\004nam" - + "e\030\001 \001(\tB.\340A\002\372A(\n&batch.googleapis.com/Re" - + "sourceAllowance\022\023\n\006reason\030\002 \001(\tB\003\340A\001\022\037\n\n" - + "request_id\030\004 \001(\tB\013\340A\001\342\214\317\327\010\002\010\001\"\220\001\n\035ListRe" - + "sourceAllowancesRequest\022>\n\006parent\030\001 \001(\tB" - + ".\340A\002\372A(\022&batch.googleapis.com/ResourceAl" - + "lowance\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_" - + "token\030\003 \001(\tB\003\340A\001\"\232\001\n\036ListResourceAllowan" - + "cesResponse\022J\n\023resource_allowances\030\001 \003(\013" - + "2-.google.cloud.batch.v1alpha.ResourceAl" - + "lowance\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unre" - + "achable\030\003 \003(\t\"\307\001\n\036UpdateResourceAllowanc" - + "eRequest\022N\n\022resource_allowance\030\001 \001(\0132-.g" - + "oogle.cloud.batch.v1alpha.ResourceAllowa" - + "nceB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.p" - + "rotobuf.FieldMaskB\003\340A\002\022\037\n\nrequest_id\030\003 \001" - + "(\tB\013\340A\001\342\214\317\327\010\002\010\001\"\200\002\n\021OperationMetadata\0224\n" - + "\013create_time\030\001 \001(\0132\032.google.protobuf.Tim" - + "estampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.p" - + "rotobuf.TimestampB\003\340A\003\022\023\n\006target\030\003 \001(\tB\003" - + "\340A\003\022\021\n\004verb\030\004 \001(\tB\003\340A\003\022\033\n\016status_message" - + "\030\005 \001(\tB\003\340A\003\022#\n\026requested_cancellation\030\006 " - + "\001(\010B\003\340A\003\022\030\n\013api_version\030\007 \001(\tB\003\340A\0032\362\022\n\014B" - + "atchService\022\252\001\n\tCreateJob\022,.google.cloud" - + ".batch.v1alpha.CreateJobRequest\032\037.google" - + ".cloud.batch.v1alpha.Job\"N\332A\021parent,job," - + "job_id\202\323\344\223\0024\"-/v1alpha/{parent=projects/" - + "*/locations/*}/jobs:\003job\022\222\001\n\006GetJob\022).go" - + "ogle.cloud.batch.v1alpha.GetJobRequest\032\037" - + ".google.cloud.batch.v1alpha.Job\"<\332A\004name" - + "\202\323\344\223\002/\022-/v1alpha/{name=projects/*/locati" - + "ons/*/jobs/*}\022\337\001\n\tDeleteJob\022,.google.clo" - + "ud.batch.v1alpha.DeleteJobRequest\032\035.goog" - + "le.longrunning.Operation\"\204\001\312AE\n\025google.p" - + "rotobuf.Empty\022,google.cloud.batch.v1alph" - + "a.OperationMetadata\332A\004name\202\323\344\223\002/*-/v1alp" - + "ha/{name=projects/*/locations/*/jobs/*}\022" - + "\245\001\n\010ListJobs\022+.google.cloud.batch.v1alph" - + "a.ListJobsRequest\032,.google.cloud.batch.v" - + "1alpha.ListJobsResponse\">\332A\006parent\202\323\344\223\002/" - + "\022-/v1alpha/{parent=projects/*/locations/" - + "*}/jobs\022\252\001\n\007GetTask\022*.google.cloud.batch" - + ".v1alpha.GetTaskRequest\032 .google.cloud.b" - + "atch.v1alpha.Task\"Q\332A\004name\202\323\344\223\002D\022B/v1alp" - + "ha/{name=projects/*/locations/*/jobs/*/t" - + "askGroups/*/tasks/*}\022\275\001\n\tListTasks\022,.goo" - + "gle.cloud.batch.v1alpha.ListTasksRequest" - + "\032-.google.cloud.batch.v1alpha.ListTasksR" - + "esponse\"S\332A\006parent\202\323\344\223\002D\022B/v1alpha/{pare" - + "nt=projects/*/locations/*/jobs/*/taskGro" - + "ups/*}/tasks\022\220\002\n\027CreateResourceAllowance" - + "\022:.google.cloud.batch.v1alpha.CreateReso" - + "urceAllowanceRequest\032-.google.cloud.batc" - + "h.v1alpha.ResourceAllowance\"\211\001\332A/parent," - + "resource_allowance,resource_allowance_id" - + "\202\323\344\223\002Q\";/v1alpha/{parent=projects/*/loca" - + "tions/*}/resourceAllowances:\022resource_al" - + "lowance\022\312\001\n\024GetResourceAllowance\0227.googl" - + "e.cloud.batch.v1alpha.GetResourceAllowan" - + "ceRequest\032-.google.cloud.batch.v1alpha.R" - + "esourceAllowance\"J\332A\004name\202\323\344\223\002=\022;/v1alph" - + "a/{name=projects/*/locations/*/resourceA" - + "llowances/*}\022\211\002\n\027DeleteResourceAllowance" - + "\022:.google.cloud.batch.v1alpha.DeleteReso" - + "urceAllowanceRequest\032\035.google.longrunnin" - + "g.Operation\"\222\001\312AE\n\025google.protobuf.Empty" - + "\022,google.cloud.batch.v1alpha.OperationMe" - + "tadata\332A\004name\202\323\344\223\002=*;/v1alpha/{name=proj" - + "ects/*/locations/*/resourceAllowances/*}" - + "\022\335\001\n\026ListResourceAllowances\0229.google.clo" - + "ud.batch.v1alpha.ListResourceAllowancesR" - + "equest\032:.google.cloud.batch.v1alpha.List" - + "ResourceAllowancesResponse\"L\332A\006parent\202\323\344" - + "\223\002=\022;/v1alpha/{parent=projects/*/locatio" - + "ns/*}/resourceAllowances\022\222\002\n\027UpdateResou" - + "rceAllowance\022:.google.cloud.batch.v1alph" - + "a.UpdateResourceAllowanceRequest\032-.googl" - + "e.cloud.batch.v1alpha.ResourceAllowance\"" - + "\213\001\332A\036resource_allowance,update_mask\202\323\344\223\002" - + "d2N/v1alpha/{resource_allowance.name=pro" - + "jects/*/locations/*/resourceAllowances/*" - + "}:\022resource_allowance\032H\312A\024batch.googleap" - + "is.com\322A.https://www.googleapis.com/auth" - + "/cloud-platformB\304\001\n\036com.google.cloud.bat" - + "ch.v1alphaB\nBatchProtoP\001Z4cloud.google.c" - + "om/go/batch/apiv1alpha/batchpb;batchpb\242\002" - + "\003GCB\252\002\032Google.Cloud.Batch.V1Alpha\312\002\032Goog" - + "le\\Cloud\\Batch\\V1alpha\352\002\035Google::Cloud::" - + "Batch::V1alphab\006proto3" + + "\n\nrequest_id\030\004 \001(\tB\003\340A\001\"\234\001\n\020UpdateJobReq" + + "uest\0221\n\003job\030\001 \001(\0132\037.google.cloud.batch.v" + + "1alpha.JobB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.g" + + "oogle.protobuf.FieldMaskB\003\340A\002\022\037\n\nrequest" + + "_id\030\003 \001(\tB\013\340A\001\342\214\317\327\010\002\010\001\"o\n\017ListJobsReques" + + "t\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter\030\004 \001(\t\022\025\n\010ord" + + "er_by\030\005 \001(\tB\003\340A\001\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" + + "age_token\030\003 \001(\t\"o\n\020ListJobsResponse\022-\n\004j" + + "obs\030\001 \003(\0132\037.google.cloud.batch.v1alpha.J" + + "ob\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachab" + + "le\030\003 \003(\t\"\223\001\n\020ListTasksRequest\0226\n\006parent\030" + + "\001 \001(\tB&\340A\002\372A \n\036batch.googleapis.com/Task" + + "Group\022\016\n\006filter\030\002 \001(\t\022\020\n\010order_by\030\005 \001(\t\022" + + "\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"r" + + "\n\021ListTasksResponse\022/\n\005tasks\030\001 \003(\0132 .goo" + + "gle.cloud.batch.v1alpha.Task\022\027\n\017next_pag" + + "e_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"A\n\016Ge" + + "tTaskRequest\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031batc" + + "h.googleapis.com/Task\"\360\001\n\036CreateResource" + + "AllowanceRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(" + + "\022&batch.googleapis.com/ResourceAllowance" + + "\022\035\n\025resource_allowance_id\030\002 \001(\t\022N\n\022resou" + + "rce_allowance\030\003 \001(\0132-.google.cloud.batch" + + ".v1alpha.ResourceAllowanceB\003\340A\002\022\037\n\nreque" + + "st_id\030\004 \001(\tB\013\340A\001\342\214\317\327\010\002\010\001\"[\n\033GetResourceA" + + "llowanceRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&b" + + "atch.googleapis.com/ResourceAllowance\"\224\001" + + "\n\036DeleteResourceAllowanceRequest\022<\n\004name" + + "\030\001 \001(\tB.\340A\002\372A(\n&batch.googleapis.com/Res" + + "ourceAllowance\022\023\n\006reason\030\002 \001(\tB\003\340A\001\022\037\n\nr" + + "equest_id\030\004 \001(\tB\013\340A\001\342\214\317\327\010\002\010\001\"\220\001\n\035ListRes" + + "ourceAllowancesRequest\022>\n\006parent\030\001 \001(\tB." + + "\340A\002\372A(\022&batch.googleapis.com/ResourceAll" + + "owance\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_t" + + "oken\030\003 \001(\tB\003\340A\001\"\232\001\n\036ListResourceAllowanc" + + "esResponse\022J\n\023resource_allowances\030\001 \003(\0132" + + "-.google.cloud.batch.v1alpha.ResourceAll" + + "owance\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unrea" + + "chable\030\003 \003(\t\"\307\001\n\036UpdateResourceAllowance" + + "Request\022N\n\022resource_allowance\030\001 \001(\0132-.go" + + "ogle.cloud.batch.v1alpha.ResourceAllowan" + + "ceB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.pr" + + "otobuf.FieldMaskB\003\340A\002\022\037\n\nrequest_id\030\003 \001(" + + "\tB\013\340A\001\342\214\317\327\010\002\010\001\"\200\002\n\021OperationMetadata\0224\n\013" + + "create_time\030\001 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.pr" + + "otobuf.TimestampB\003\340A\003\022\023\n\006target\030\003 \001(\tB\003\340" + + "A\003\022\021\n\004verb\030\004 \001(\tB\003\340A\003\022\033\n\016status_message\030" + + "\005 \001(\tB\003\340A\003\022#\n\026requested_cancellation\030\006 \001" + + "(\010B\003\340A\003\022\030\n\013api_version\030\007 \001(\tB\003\340A\0032\241\024\n\014Ba" + + "tchService\022\252\001\n\tCreateJob\022,.google.cloud." + + "batch.v1alpha.CreateJobRequest\032\037.google." + + "cloud.batch.v1alpha.Job\"N\332A\021parent,job,j" + + "ob_id\202\323\344\223\0024\"-/v1alpha/{parent=projects/*" + + "/locations/*}/jobs:\003job\022\222\001\n\006GetJob\022).goo" + + "gle.cloud.batch.v1alpha.GetJobRequest\032\037." + + "google.cloud.batch.v1alpha.Job\"<\332A\004name\202" + + "\323\344\223\002/\022-/v1alpha/{name=projects/*/locatio" + + "ns/*/jobs/*}\022\337\001\n\tDeleteJob\022,.google.clou" + + "d.batch.v1alpha.DeleteJobRequest\032\035.googl" + + "e.longrunning.Operation\"\204\001\312AE\n\025google.pr" + + "otobuf.Empty\022,google.cloud.batch.v1alpha" + + ".OperationMetadata\332A\004name\202\323\344\223\002/*-/v1alph" + + "a/{name=projects/*/locations/*/jobs/*}\022\254" + + "\001\n\tUpdateJob\022,.google.cloud.batch.v1alph" + + "a.UpdateJobRequest\032\037.google.cloud.batch." + + "v1alpha.Job\"P\332A\017job,update_mask\202\323\344\223\002821/" + + "v1alpha/{job.name=projects/*/locations/*" + + "/jobs/*}:\003job\022\245\001\n\010ListJobs\022+.google.clou" + + "d.batch.v1alpha.ListJobsRequest\032,.google" + + ".cloud.batch.v1alpha.ListJobsResponse\">\332" + + "A\006parent\202\323\344\223\002/\022-/v1alpha/{parent=project" + + "s/*/locations/*}/jobs\022\252\001\n\007GetTask\022*.goog" + + "le.cloud.batch.v1alpha.GetTaskRequest\032 ." + + "google.cloud.batch.v1alpha.Task\"Q\332A\004name" + + "\202\323\344\223\002D\022B/v1alpha/{name=projects/*/locati" + + "ons/*/jobs/*/taskGroups/*/tasks/*}\022\275\001\n\tL" + + "istTasks\022,.google.cloud.batch.v1alpha.Li" + + "stTasksRequest\032-.google.cloud.batch.v1al" + + "pha.ListTasksResponse\"S\332A\006parent\202\323\344\223\002D\022B" + + "/v1alpha/{parent=projects/*/locations/*/" + + "jobs/*/taskGroups/*}/tasks\022\220\002\n\027CreateRes" + + "ourceAllowance\022:.google.cloud.batch.v1al" + + "pha.CreateResourceAllowanceRequest\032-.goo" + + "gle.cloud.batch.v1alpha.ResourceAllowanc" + + "e\"\211\001\332A/parent,resource_allowance,resourc" + + "e_allowance_id\202\323\344\223\002Q\";/v1alpha/{parent=p" + + "rojects/*/locations/*}/resourceAllowance" + + "s:\022resource_allowance\022\312\001\n\024GetResourceAll" + + "owance\0227.google.cloud.batch.v1alpha.GetR" + + "esourceAllowanceRequest\032-.google.cloud.b" + + "atch.v1alpha.ResourceAllowance\"J\332A\004name\202" + + "\323\344\223\002=\022;/v1alpha/{name=projects/*/locatio" + + "ns/*/resourceAllowances/*}\022\211\002\n\027DeleteRes" + + "ourceAllowance\022:.google.cloud.batch.v1al" + + "pha.DeleteResourceAllowanceRequest\032\035.goo" + + "gle.longrunning.Operation\"\222\001\312AE\n\025google." + + "protobuf.Empty\022,google.cloud.batch.v1alp" + + "ha.OperationMetadata\332A\004name\202\323\344\223\002=*;/v1al" + + "pha/{name=projects/*/locations/*/resourc" + + "eAllowances/*}\022\335\001\n\026ListResourceAllowance" + + "s\0229.google.cloud.batch.v1alpha.ListResou" + + "rceAllowancesRequest\032:.google.cloud.batc" + + "h.v1alpha.ListResourceAllowancesResponse" + + "\"L\332A\006parent\202\323\344\223\002=\022;/v1alpha/{parent=proj" + + "ects/*/locations/*}/resourceAllowances\022\222" + + "\002\n\027UpdateResourceAllowance\022:.google.clou" + + "d.batch.v1alpha.UpdateResourceAllowanceR" + + "equest\032-.google.cloud.batch.v1alpha.Reso" + + "urceAllowance\"\213\001\332A\036resource_allowance,up" + + "date_mask\202\323\344\223\002d2N/v1alpha/{resource_allo" + + "wance.name=projects/*/locations/*/resour" + + "ceAllowances/*}:\022resource_allowance\032H\312A\024" + + "batch.googleapis.com\322A.https://www.googl" + + "eapis.com/auth/cloud-platformB\304\001\n\036com.go" + + "ogle.cloud.batch.v1alphaB\nBatchProtoP\001Z4" + + "cloud.google.com/go/batch/apiv1alpha/bat" + + "chpb;batchpb\242\002\003GCB\252\002\032Google.Cloud.Batch." + + "V1Alpha\312\002\032Google\\Cloud\\Batch\\V1alpha\352\002\035G" + + "oogle::Cloud::Batch::V1alphab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -270,8 +282,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Name", "Reason", "RequestId", }); - internal_static_google_cloud_batch_v1alpha_ListJobsRequest_descriptor = + internal_static_google_cloud_batch_v1alpha_UpdateJobRequest_descriptor = getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_batch_v1alpha_UpdateJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_batch_v1alpha_UpdateJobRequest_descriptor, + new java.lang.String[] { + "Job", "UpdateMask", "RequestId", + }); + internal_static_google_cloud_batch_v1alpha_ListJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(4); internal_static_google_cloud_batch_v1alpha_ListJobsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_batch_v1alpha_ListJobsRequest_descriptor, @@ -279,7 +299,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "Filter", "OrderBy", "PageSize", "PageToken", }); internal_static_google_cloud_batch_v1alpha_ListJobsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); + getDescriptor().getMessageTypes().get(5); internal_static_google_cloud_batch_v1alpha_ListJobsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_batch_v1alpha_ListJobsResponse_descriptor, @@ -287,7 +307,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Jobs", "NextPageToken", "Unreachable", }); internal_static_google_cloud_batch_v1alpha_ListTasksRequest_descriptor = - getDescriptor().getMessageTypes().get(5); + getDescriptor().getMessageTypes().get(6); internal_static_google_cloud_batch_v1alpha_ListTasksRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_batch_v1alpha_ListTasksRequest_descriptor, @@ -295,7 +315,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "Filter", "OrderBy", "PageSize", "PageToken", }); internal_static_google_cloud_batch_v1alpha_ListTasksResponse_descriptor = - getDescriptor().getMessageTypes().get(6); + getDescriptor().getMessageTypes().get(7); internal_static_google_cloud_batch_v1alpha_ListTasksResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_batch_v1alpha_ListTasksResponse_descriptor, @@ -303,7 +323,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Tasks", "NextPageToken", "Unreachable", }); internal_static_google_cloud_batch_v1alpha_GetTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(7); + getDescriptor().getMessageTypes().get(8); internal_static_google_cloud_batch_v1alpha_GetTaskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_batch_v1alpha_GetTaskRequest_descriptor, @@ -311,7 +331,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_batch_v1alpha_CreateResourceAllowanceRequest_descriptor = - getDescriptor().getMessageTypes().get(8); + getDescriptor().getMessageTypes().get(9); internal_static_google_cloud_batch_v1alpha_CreateResourceAllowanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_batch_v1alpha_CreateResourceAllowanceRequest_descriptor, @@ -319,7 +339,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "ResourceAllowanceId", "ResourceAllowance", "RequestId", }); internal_static_google_cloud_batch_v1alpha_GetResourceAllowanceRequest_descriptor = - getDescriptor().getMessageTypes().get(9); + getDescriptor().getMessageTypes().get(10); internal_static_google_cloud_batch_v1alpha_GetResourceAllowanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_batch_v1alpha_GetResourceAllowanceRequest_descriptor, @@ -327,7 +347,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_batch_v1alpha_DeleteResourceAllowanceRequest_descriptor = - getDescriptor().getMessageTypes().get(10); + getDescriptor().getMessageTypes().get(11); internal_static_google_cloud_batch_v1alpha_DeleteResourceAllowanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_batch_v1alpha_DeleteResourceAllowanceRequest_descriptor, @@ -335,7 +355,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "Reason", "RequestId", }); internal_static_google_cloud_batch_v1alpha_ListResourceAllowancesRequest_descriptor = - getDescriptor().getMessageTypes().get(11); + getDescriptor().getMessageTypes().get(12); internal_static_google_cloud_batch_v1alpha_ListResourceAllowancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_batch_v1alpha_ListResourceAllowancesRequest_descriptor, @@ -343,7 +363,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageSize", "PageToken", }); internal_static_google_cloud_batch_v1alpha_ListResourceAllowancesResponse_descriptor = - getDescriptor().getMessageTypes().get(12); + getDescriptor().getMessageTypes().get(13); internal_static_google_cloud_batch_v1alpha_ListResourceAllowancesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_batch_v1alpha_ListResourceAllowancesResponse_descriptor, @@ -351,7 +371,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ResourceAllowances", "NextPageToken", "Unreachable", }); internal_static_google_cloud_batch_v1alpha_UpdateResourceAllowanceRequest_descriptor = - getDescriptor().getMessageTypes().get(13); + getDescriptor().getMessageTypes().get(14); internal_static_google_cloud_batch_v1alpha_UpdateResourceAllowanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_batch_v1alpha_UpdateResourceAllowanceRequest_descriptor, @@ -359,7 +379,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ResourceAllowance", "UpdateMask", "RequestId", }); internal_static_google_cloud_batch_v1alpha_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(14); + getDescriptor().getMessageTypes().get(15); internal_static_google_cloud_batch_v1alpha_OperationMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_batch_v1alpha_OperationMetadata_descriptor, diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/UpdateJobRequest.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/UpdateJobRequest.java new file mode 100644 index 000000000000..1e13908566bf --- /dev/null +++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/UpdateJobRequest.java @@ -0,0 +1,1327 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/batch/v1alpha/batch.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.batch.v1alpha; + +/** + * + * + *
+ * UpdateJob Request.
+ * 
+ * + * Protobuf type {@code google.cloud.batch.v1alpha.UpdateJobRequest} + */ +public final class UpdateJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.batch.v1alpha.UpdateJobRequest) + UpdateJobRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use UpdateJobRequest.newBuilder() to construct. + private UpdateJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private UpdateJobRequest() { + requestId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UpdateJobRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.batch.v1alpha.BatchProto + .internal_static_google_cloud_batch_v1alpha_UpdateJobRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.batch.v1alpha.BatchProto + .internal_static_google_cloud_batch_v1alpha_UpdateJobRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.batch.v1alpha.UpdateJobRequest.class, + com.google.cloud.batch.v1alpha.UpdateJobRequest.Builder.class); + } + + private int bitField0_; + public static final int JOB_FIELD_NUMBER = 1; + private com.google.cloud.batch.v1alpha.Job job_; + /** + * + * + *
+   * Required. The Job to update.
+   * Only fields specified in `update_mask` are updated.
+   * 
+ * + * .google.cloud.batch.v1alpha.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the job field is set. + */ + @java.lang.Override + public boolean hasJob() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * Required. The Job to update.
+   * Only fields specified in `update_mask` are updated.
+   * 
+ * + * .google.cloud.batch.v1alpha.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The job. + */ + @java.lang.Override + public com.google.cloud.batch.v1alpha.Job getJob() { + return job_ == null ? com.google.cloud.batch.v1alpha.Job.getDefaultInstance() : job_; + } + /** + * + * + *
+   * Required. The Job to update.
+   * Only fields specified in `update_mask` are updated.
+   * 
+ * + * .google.cloud.batch.v1alpha.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + @java.lang.Override + public com.google.cloud.batch.v1alpha.JobOrBuilder getJobOrBuilder() { + return job_ == null ? com.google.cloud.batch.v1alpha.Job.getDefaultInstance() : job_; + } + + public static final int UPDATE_MASK_FIELD_NUMBER = 2; + private com.google.protobuf.FieldMask updateMask_; + /** + * + * + *
+   * Required. Mask of fields to update.
+   *
+   * UpdateJob request now only supports update on `task_count` field in a job's
+   * first task group. Other fields will be ignored.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the updateMask field is set. + */ + @java.lang.Override + public boolean hasUpdateMask() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * Required. Mask of fields to update.
+   *
+   * UpdateJob request now only supports update on `task_count` field in a job's
+   * first task group. Other fields will be ignored.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The updateMask. + */ + @java.lang.Override + public com.google.protobuf.FieldMask getUpdateMask() { + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + } + /** + * + * + *
+   * Required. Mask of fields to update.
+   *
+   * UpdateJob request now only supports update on `task_count` field in a job's
+   * first task group. Other fields will be ignored.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + } + + public static final int REQUEST_ID_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object requestId_ = ""; + /** + * + * + *
+   * Optional. An optional request ID to identify requests. Specify a unique
+   * request ID so that if you must retry your request, the server will know to
+   * ignore the request if it has already been completed. The server will
+   * guarantee that for at least 60 minutes after the first request.
+   *
+   * For example, consider a situation where you make an initial request and
+   * the request times out. If you make the request again with the same request
+   * ID, the server can check if original operation with the same request ID
+   * was received, and if so, will ignore the second request. This prevents
+   * clients from accidentally creating duplicate commitments.
+   *
+   * The request ID must be a valid UUID with the exception that zero UUID is
+   * not supported (00000000-0000-0000-0000-000000000000).
+   * 
+ * + * + * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The requestId. + */ + @java.lang.Override + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestId_ = s; + return s; + } + } + /** + * + * + *
+   * Optional. An optional request ID to identify requests. Specify a unique
+   * request ID so that if you must retry your request, the server will know to
+   * ignore the request if it has already been completed. The server will
+   * guarantee that for at least 60 minutes after the first request.
+   *
+   * For example, consider a situation where you make an initial request and
+   * the request times out. If you make the request again with the same request
+   * ID, the server can check if original operation with the same request ID
+   * was received, and if so, will ignore the second request. This prevents
+   * clients from accidentally creating duplicate commitments.
+   *
+   * The request ID must be a valid UUID with the exception that zero UUID is
+   * not supported (00000000-0000-0000-0000-000000000000).
+   * 
+ * + * + * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The bytes for requestId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getJob()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(2, getUpdateMask()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, requestId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.batch.v1alpha.UpdateJobRequest)) { + return super.equals(obj); + } + com.google.cloud.batch.v1alpha.UpdateJobRequest other = + (com.google.cloud.batch.v1alpha.UpdateJobRequest) obj; + + if (hasJob() != other.hasJob()) return false; + if (hasJob()) { + if (!getJob().equals(other.getJob())) return false; + } + if (hasUpdateMask() != other.hasUpdateMask()) return false; + if (hasUpdateMask()) { + if (!getUpdateMask().equals(other.getUpdateMask())) return false; + } + if (!getRequestId().equals(other.getRequestId())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasJob()) { + hash = (37 * hash) + JOB_FIELD_NUMBER; + hash = (53 * hash) + getJob().hashCode(); + } + if (hasUpdateMask()) { + hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER; + hash = (53 * hash) + getUpdateMask().hashCode(); + } + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.batch.v1alpha.UpdateJobRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.batch.v1alpha.UpdateJobRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.batch.v1alpha.UpdateJobRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.batch.v1alpha.UpdateJobRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.batch.v1alpha.UpdateJobRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.batch.v1alpha.UpdateJobRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.batch.v1alpha.UpdateJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.batch.v1alpha.UpdateJobRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.batch.v1alpha.UpdateJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.batch.v1alpha.UpdateJobRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.batch.v1alpha.UpdateJobRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.batch.v1alpha.UpdateJobRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.batch.v1alpha.UpdateJobRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * UpdateJob Request.
+   * 
+ * + * Protobuf type {@code google.cloud.batch.v1alpha.UpdateJobRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.batch.v1alpha.UpdateJobRequest) + com.google.cloud.batch.v1alpha.UpdateJobRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.batch.v1alpha.BatchProto + .internal_static_google_cloud_batch_v1alpha_UpdateJobRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.batch.v1alpha.BatchProto + .internal_static_google_cloud_batch_v1alpha_UpdateJobRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.batch.v1alpha.UpdateJobRequest.class, + com.google.cloud.batch.v1alpha.UpdateJobRequest.Builder.class); + } + + // Construct using com.google.cloud.batch.v1alpha.UpdateJobRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getJobFieldBuilder(); + getUpdateMaskFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + job_ = null; + if (jobBuilder_ != null) { + jobBuilder_.dispose(); + jobBuilder_ = null; + } + updateMask_ = null; + if (updateMaskBuilder_ != null) { + updateMaskBuilder_.dispose(); + updateMaskBuilder_ = null; + } + requestId_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.batch.v1alpha.BatchProto + .internal_static_google_cloud_batch_v1alpha_UpdateJobRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.batch.v1alpha.UpdateJobRequest getDefaultInstanceForType() { + return com.google.cloud.batch.v1alpha.UpdateJobRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.batch.v1alpha.UpdateJobRequest build() { + com.google.cloud.batch.v1alpha.UpdateJobRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.batch.v1alpha.UpdateJobRequest buildPartial() { + com.google.cloud.batch.v1alpha.UpdateJobRequest result = + new com.google.cloud.batch.v1alpha.UpdateJobRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.batch.v1alpha.UpdateJobRequest result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.job_ = jobBuilder_ == null ? job_ : jobBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.requestId_ = requestId_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.batch.v1alpha.UpdateJobRequest) { + return mergeFrom((com.google.cloud.batch.v1alpha.UpdateJobRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.batch.v1alpha.UpdateJobRequest other) { + if (other == com.google.cloud.batch.v1alpha.UpdateJobRequest.getDefaultInstance()) + return this; + if (other.hasJob()) { + mergeJob(other.getJob()); + } + if (other.hasUpdateMask()) { + mergeUpdateMask(other.getUpdateMask()); + } + if (!other.getRequestId().isEmpty()) { + requestId_ = other.requestId_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.cloud.batch.v1alpha.Job job_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.batch.v1alpha.Job, + com.google.cloud.batch.v1alpha.Job.Builder, + com.google.cloud.batch.v1alpha.JobOrBuilder> + jobBuilder_; + /** + * + * + *
+     * Required. The Job to update.
+     * Only fields specified in `update_mask` are updated.
+     * 
+ * + * .google.cloud.batch.v1alpha.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the job field is set. + */ + public boolean hasJob() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Required. The Job to update.
+     * Only fields specified in `update_mask` are updated.
+     * 
+ * + * .google.cloud.batch.v1alpha.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The job. + */ + public com.google.cloud.batch.v1alpha.Job getJob() { + if (jobBuilder_ == null) { + return job_ == null ? com.google.cloud.batch.v1alpha.Job.getDefaultInstance() : job_; + } else { + return jobBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Required. The Job to update.
+     * Only fields specified in `update_mask` are updated.
+     * 
+ * + * .google.cloud.batch.v1alpha.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setJob(com.google.cloud.batch.v1alpha.Job value) { + if (jobBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + job_ = value; + } else { + jobBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The Job to update.
+     * Only fields specified in `update_mask` are updated.
+     * 
+ * + * .google.cloud.batch.v1alpha.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setJob(com.google.cloud.batch.v1alpha.Job.Builder builderForValue) { + if (jobBuilder_ == null) { + job_ = builderForValue.build(); + } else { + jobBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The Job to update.
+     * Only fields specified in `update_mask` are updated.
+     * 
+ * + * .google.cloud.batch.v1alpha.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeJob(com.google.cloud.batch.v1alpha.Job value) { + if (jobBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && job_ != null + && job_ != com.google.cloud.batch.v1alpha.Job.getDefaultInstance()) { + getJobBuilder().mergeFrom(value); + } else { + job_ = value; + } + } else { + jobBuilder_.mergeFrom(value); + } + if (job_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Required. The Job to update.
+     * Only fields specified in `update_mask` are updated.
+     * 
+ * + * .google.cloud.batch.v1alpha.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearJob() { + bitField0_ = (bitField0_ & ~0x00000001); + job_ = null; + if (jobBuilder_ != null) { + jobBuilder_.dispose(); + jobBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The Job to update.
+     * Only fields specified in `update_mask` are updated.
+     * 
+ * + * .google.cloud.batch.v1alpha.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.batch.v1alpha.Job.Builder getJobBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getJobFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Required. The Job to update.
+     * Only fields specified in `update_mask` are updated.
+     * 
+ * + * .google.cloud.batch.v1alpha.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.batch.v1alpha.JobOrBuilder getJobOrBuilder() { + if (jobBuilder_ != null) { + return jobBuilder_.getMessageOrBuilder(); + } else { + return job_ == null ? com.google.cloud.batch.v1alpha.Job.getDefaultInstance() : job_; + } + } + /** + * + * + *
+     * Required. The Job to update.
+     * Only fields specified in `update_mask` are updated.
+     * 
+ * + * .google.cloud.batch.v1alpha.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.batch.v1alpha.Job, + com.google.cloud.batch.v1alpha.Job.Builder, + com.google.cloud.batch.v1alpha.JobOrBuilder> + getJobFieldBuilder() { + if (jobBuilder_ == null) { + jobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.batch.v1alpha.Job, + com.google.cloud.batch.v1alpha.Job.Builder, + com.google.cloud.batch.v1alpha.JobOrBuilder>( + getJob(), getParentForChildren(), isClean()); + job_ = null; + } + return jobBuilder_; + } + + private com.google.protobuf.FieldMask updateMask_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; + /** + * + * + *
+     * Required. Mask of fields to update.
+     *
+     * UpdateJob request now only supports update on `task_count` field in a job's
+     * first task group. Other fields will be ignored.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the updateMask field is set. + */ + public boolean hasUpdateMask() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * Required. Mask of fields to update.
+     *
+     * UpdateJob request now only supports update on `task_count` field in a job's
+     * first task group. Other fields will be ignored.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The updateMask. + */ + public com.google.protobuf.FieldMask getUpdateMask() { + if (updateMaskBuilder_ == null) { + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; + } else { + return updateMaskBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Required. Mask of fields to update.
+     *
+     * UpdateJob request now only supports update on `task_count` field in a job's
+     * first task group. Other fields will be ignored.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setUpdateMask(com.google.protobuf.FieldMask value) { + if (updateMaskBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + updateMask_ = value; + } else { + updateMaskBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. Mask of fields to update.
+     *
+     * UpdateJob request now only supports update on `task_count` field in a job's
+     * first task group. Other fields will be ignored.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + if (updateMaskBuilder_ == null) { + updateMask_ = builderForValue.build(); + } else { + updateMaskBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. Mask of fields to update.
+     *
+     * UpdateJob request now only supports update on `task_count` field in a job's
+     * first task group. Other fields will be ignored.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { + if (updateMaskBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + getUpdateMaskBuilder().mergeFrom(value); + } else { + updateMask_ = value; + } + } else { + updateMaskBuilder_.mergeFrom(value); + } + if (updateMask_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Required. Mask of fields to update.
+     *
+     * UpdateJob request now only supports update on `task_count` field in a job's
+     * first task group. Other fields will be ignored.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearUpdateMask() { + bitField0_ = (bitField0_ & ~0x00000002); + updateMask_ = null; + if (updateMaskBuilder_ != null) { + updateMaskBuilder_.dispose(); + updateMaskBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Required. Mask of fields to update.
+     *
+     * UpdateJob request now only supports update on `task_count` field in a job's
+     * first task group. Other fields will be ignored.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getUpdateMaskFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Required. Mask of fields to update.
+     *
+     * UpdateJob request now only supports update on `task_count` field in a job's
+     * first task group. Other fields will be ignored.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { + if (updateMaskBuilder_ != null) { + return updateMaskBuilder_.getMessageOrBuilder(); + } else { + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; + } + } + /** + * + * + *
+     * Required. Mask of fields to update.
+     *
+     * UpdateJob request now only supports update on `task_count` field in a job's
+     * first task group. Other fields will be ignored.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + getUpdateMaskFieldBuilder() { + if (updateMaskBuilder_ == null) { + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); + updateMask_ = null; + } + return updateMaskBuilder_; + } + + private java.lang.Object requestId_ = ""; + /** + * + * + *
+     * Optional. An optional request ID to identify requests. Specify a unique
+     * request ID so that if you must retry your request, the server will know to
+     * ignore the request if it has already been completed. The server will
+     * guarantee that for at least 60 minutes after the first request.
+     *
+     * For example, consider a situation where you make an initial request and
+     * the request times out. If you make the request again with the same request
+     * ID, the server can check if original operation with the same request ID
+     * was received, and if so, will ignore the second request. This prevents
+     * clients from accidentally creating duplicate commitments.
+     *
+     * The request ID must be a valid UUID with the exception that zero UUID is
+     * not supported (00000000-0000-0000-0000-000000000000).
+     * 
+ * + * + * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The requestId. + */ + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. An optional request ID to identify requests. Specify a unique
+     * request ID so that if you must retry your request, the server will know to
+     * ignore the request if it has already been completed. The server will
+     * guarantee that for at least 60 minutes after the first request.
+     *
+     * For example, consider a situation where you make an initial request and
+     * the request times out. If you make the request again with the same request
+     * ID, the server can check if original operation with the same request ID
+     * was received, and if so, will ignore the second request. This prevents
+     * clients from accidentally creating duplicate commitments.
+     *
+     * The request ID must be a valid UUID with the exception that zero UUID is
+     * not supported (00000000-0000-0000-0000-000000000000).
+     * 
+ * + * + * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The bytes for requestId. + */ + public com.google.protobuf.ByteString getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. An optional request ID to identify requests. Specify a unique
+     * request ID so that if you must retry your request, the server will know to
+     * ignore the request if it has already been completed. The server will
+     * guarantee that for at least 60 minutes after the first request.
+     *
+     * For example, consider a situation where you make an initial request and
+     * the request times out. If you make the request again with the same request
+     * ID, the server can check if original operation with the same request ID
+     * was received, and if so, will ignore the second request. This prevents
+     * clients from accidentally creating duplicate commitments.
+     *
+     * The request ID must be a valid UUID with the exception that zero UUID is
+     * not supported (00000000-0000-0000-0000-000000000000).
+     * 
+ * + * + * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @param value The requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + requestId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. An optional request ID to identify requests. Specify a unique
+     * request ID so that if you must retry your request, the server will know to
+     * ignore the request if it has already been completed. The server will
+     * guarantee that for at least 60 minutes after the first request.
+     *
+     * For example, consider a situation where you make an initial request and
+     * the request times out. If you make the request again with the same request
+     * ID, the server can check if original operation with the same request ID
+     * was received, and if so, will ignore the second request. This prevents
+     * clients from accidentally creating duplicate commitments.
+     *
+     * The request ID must be a valid UUID with the exception that zero UUID is
+     * not supported (00000000-0000-0000-0000-000000000000).
+     * 
+ * + * + * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearRequestId() { + requestId_ = getDefaultInstance().getRequestId(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. An optional request ID to identify requests. Specify a unique
+     * request ID so that if you must retry your request, the server will know to
+     * ignore the request if it has already been completed. The server will
+     * guarantee that for at least 60 minutes after the first request.
+     *
+     * For example, consider a situation where you make an initial request and
+     * the request times out. If you make the request again with the same request
+     * ID, the server can check if original operation with the same request ID
+     * was received, and if so, will ignore the second request. This prevents
+     * clients from accidentally creating duplicate commitments.
+     *
+     * The request ID must be a valid UUID with the exception that zero UUID is
+     * not supported (00000000-0000-0000-0000-000000000000).
+     * 
+ * + * + * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @param value The bytes for requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.batch.v1alpha.UpdateJobRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.batch.v1alpha.UpdateJobRequest) + private static final com.google.cloud.batch.v1alpha.UpdateJobRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.batch.v1alpha.UpdateJobRequest(); + } + + public static com.google.cloud.batch.v1alpha.UpdateJobRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.batch.v1alpha.UpdateJobRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/UpdateJobRequestOrBuilder.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/UpdateJobRequestOrBuilder.java new file mode 100644 index 000000000000..009a4601d5ce --- /dev/null +++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/UpdateJobRequestOrBuilder.java @@ -0,0 +1,164 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/batch/v1alpha/batch.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.batch.v1alpha; + +public interface UpdateJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.batch.v1alpha.UpdateJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The Job to update.
+   * Only fields specified in `update_mask` are updated.
+   * 
+ * + * .google.cloud.batch.v1alpha.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the job field is set. + */ + boolean hasJob(); + /** + * + * + *
+   * Required. The Job to update.
+   * Only fields specified in `update_mask` are updated.
+   * 
+ * + * .google.cloud.batch.v1alpha.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The job. + */ + com.google.cloud.batch.v1alpha.Job getJob(); + /** + * + * + *
+   * Required. The Job to update.
+   * Only fields specified in `update_mask` are updated.
+   * 
+ * + * .google.cloud.batch.v1alpha.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.batch.v1alpha.JobOrBuilder getJobOrBuilder(); + + /** + * + * + *
+   * Required. Mask of fields to update.
+   *
+   * UpdateJob request now only supports update on `task_count` field in a job's
+   * first task group. Other fields will be ignored.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the updateMask field is set. + */ + boolean hasUpdateMask(); + /** + * + * + *
+   * Required. Mask of fields to update.
+   *
+   * UpdateJob request now only supports update on `task_count` field in a job's
+   * first task group. Other fields will be ignored.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The updateMask. + */ + com.google.protobuf.FieldMask getUpdateMask(); + /** + * + * + *
+   * Required. Mask of fields to update.
+   *
+   * UpdateJob request now only supports update on `task_count` field in a job's
+   * first task group. Other fields will be ignored.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); + + /** + * + * + *
+   * Optional. An optional request ID to identify requests. Specify a unique
+   * request ID so that if you must retry your request, the server will know to
+   * ignore the request if it has already been completed. The server will
+   * guarantee that for at least 60 minutes after the first request.
+   *
+   * For example, consider a situation where you make an initial request and
+   * the request times out. If you make the request again with the same request
+   * ID, the server can check if original operation with the same request ID
+   * was received, and if so, will ignore the second request. This prevents
+   * clients from accidentally creating duplicate commitments.
+   *
+   * The request ID must be a valid UUID with the exception that zero UUID is
+   * not supported (00000000-0000-0000-0000-000000000000).
+   * 
+ * + * + * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The requestId. + */ + java.lang.String getRequestId(); + /** + * + * + *
+   * Optional. An optional request ID to identify requests. Specify a unique
+   * request ID so that if you must retry your request, the server will know to
+   * ignore the request if it has already been completed. The server will
+   * guarantee that for at least 60 minutes after the first request.
+   *
+   * For example, consider a situation where you make an initial request and
+   * the request times out. If you make the request again with the same request
+   * ID, the server can check if original operation with the same request ID
+   * was received, and if so, will ignore the second request. This prevents
+   * clients from accidentally creating duplicate commitments.
+   *
+   * The request ID must be a valid UUID with the exception that zero UUID is
+   * not supported (00000000-0000-0000-0000-000000000000).
+   * 
+ * + * + * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The bytes for requestId. + */ + com.google.protobuf.ByteString getRequestIdBytes(); +} diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/batch.proto b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/batch.proto index 76c68190a632..efff4db439d1 100644 --- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/batch.proto +++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/batch.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -75,6 +75,15 @@ service BatchService { }; } + // Update a Job. + rpc UpdateJob(UpdateJobRequest) returns (Job) { + option (google.api.http) = { + patch: "/v1alpha/{job.name=projects/*/locations/*/jobs/*}" + body: "job" + }; + option (google.api.method_signature) = "job,update_mask"; + } + // List all Jobs for a project within a region. rpc ListJobs(ListJobsRequest) returns (ListJobsResponse) { option (google.api.http) = { @@ -224,6 +233,38 @@ message DeleteJobRequest { string request_id = 4 [(google.api.field_behavior) = OPTIONAL]; } +// UpdateJob Request. +message UpdateJobRequest { + // Required. The Job to update. + // Only fields specified in `update_mask` are updated. + Job job = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. Mask of fields to update. + // + // UpdateJob request now only supports update on `task_count` field in a job's + // first task group. Other fields will be ignored. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; + + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes after the first request. + // + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 3 [ + (google.api.field_info).format = UUID4, + (google.api.field_behavior) = OPTIONAL + ]; +} + // ListJob Request. message ListJobsRequest { // Parent path. diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/job.proto b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/job.proto index 735d188fd35d..35b88cb123c0 100644 --- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/job.proto +++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/job.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -317,11 +317,11 @@ message AllocationPolicy { // ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs // in zones us-central1-a and us-central1-c. // - // All locations end up in different regions would cause errors. + // Mixing locations from different regions would cause errors. // For example, // ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - // "zones/us-west1-a"] contains 2 regions "us-central1" and - // "us-west1". An error is expected in this case. + // "zones/us-west1-a"] contains locations from two distinct regions: + // us-central1 and us-west1. This combination will trigger an error. repeated string allowed_locations = 1; // A list of denied location names. diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/notification.proto b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/notification.proto index 6432d6aade0f..6eedfc615c52 100644 --- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/notification.proto +++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/notification.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/resource_allowance.proto b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/resource_allowance.proto index 7cb0d0f9d1a5..988271f58024 100644 --- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/resource_allowance.proto +++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/resource_allowance.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/task.proto b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/task.proto index 72cdb6e16bd8..fb059487aa11 100644 --- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/task.proto +++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/task.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/volume.proto b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/volume.proto index 5b3d72a7e80d..e6632d3add48 100644 --- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/volume.proto +++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/volume.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-batch/samples/snippets/generated/com/google/cloud/batch/v1alpha/batchservice/updatejob/AsyncUpdateJob.java b/java-batch/samples/snippets/generated/com/google/cloud/batch/v1alpha/batchservice/updatejob/AsyncUpdateJob.java new file mode 100644 index 000000000000..41ee538bdd20 --- /dev/null +++ b/java-batch/samples/snippets/generated/com/google/cloud/batch/v1alpha/batchservice/updatejob/AsyncUpdateJob.java @@ -0,0 +1,51 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.batch.v1alpha.samples; + +// [START batch_v1alpha_generated_BatchService_UpdateJob_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.batch.v1alpha.BatchServiceClient; +import com.google.cloud.batch.v1alpha.Job; +import com.google.cloud.batch.v1alpha.UpdateJobRequest; +import com.google.protobuf.FieldMask; + +public class AsyncUpdateJob { + + public static void main(String[] args) throws Exception { + asyncUpdateJob(); + } + + public static void asyncUpdateJob() throws Exception { + // 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 + try (BatchServiceClient batchServiceClient = BatchServiceClient.create()) { + UpdateJobRequest request = + UpdateJobRequest.newBuilder() + .setJob(Job.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .setRequestId("requestId693933066") + .build(); + ApiFuture future = batchServiceClient.updateJobCallable().futureCall(request); + // Do something. + Job response = future.get(); + } + } +} +// [END batch_v1alpha_generated_BatchService_UpdateJob_async] diff --git a/java-batch/samples/snippets/generated/com/google/cloud/batch/v1alpha/batchservice/updatejob/SyncUpdateJob.java b/java-batch/samples/snippets/generated/com/google/cloud/batch/v1alpha/batchservice/updatejob/SyncUpdateJob.java new file mode 100644 index 000000000000..541b430eb39b --- /dev/null +++ b/java-batch/samples/snippets/generated/com/google/cloud/batch/v1alpha/batchservice/updatejob/SyncUpdateJob.java @@ -0,0 +1,48 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.batch.v1alpha.samples; + +// [START batch_v1alpha_generated_BatchService_UpdateJob_sync] +import com.google.cloud.batch.v1alpha.BatchServiceClient; +import com.google.cloud.batch.v1alpha.Job; +import com.google.cloud.batch.v1alpha.UpdateJobRequest; +import com.google.protobuf.FieldMask; + +public class SyncUpdateJob { + + public static void main(String[] args) throws Exception { + syncUpdateJob(); + } + + public static void syncUpdateJob() throws Exception { + // 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 + try (BatchServiceClient batchServiceClient = BatchServiceClient.create()) { + UpdateJobRequest request = + UpdateJobRequest.newBuilder() + .setJob(Job.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .setRequestId("requestId693933066") + .build(); + Job response = batchServiceClient.updateJob(request); + } + } +} +// [END batch_v1alpha_generated_BatchService_UpdateJob_sync] diff --git a/java-batch/samples/snippets/generated/com/google/cloud/batch/v1alpha/batchservice/updatejob/SyncUpdateJobJobFieldmask.java b/java-batch/samples/snippets/generated/com/google/cloud/batch/v1alpha/batchservice/updatejob/SyncUpdateJobJobFieldmask.java new file mode 100644 index 000000000000..24daade1973c --- /dev/null +++ b/java-batch/samples/snippets/generated/com/google/cloud/batch/v1alpha/batchservice/updatejob/SyncUpdateJobJobFieldmask.java @@ -0,0 +1,43 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.batch.v1alpha.samples; + +// [START batch_v1alpha_generated_BatchService_UpdateJob_JobFieldmask_sync] +import com.google.cloud.batch.v1alpha.BatchServiceClient; +import com.google.cloud.batch.v1alpha.Job; +import com.google.protobuf.FieldMask; + +public class SyncUpdateJobJobFieldmask { + + public static void main(String[] args) throws Exception { + syncUpdateJobJobFieldmask(); + } + + public static void syncUpdateJobJobFieldmask() throws Exception { + // 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 + try (BatchServiceClient batchServiceClient = BatchServiceClient.create()) { + Job job = Job.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + Job response = batchServiceClient.updateJob(job, updateMask); + } + } +} +// [END batch_v1alpha_generated_BatchService_UpdateJob_JobFieldmask_sync] diff --git a/java-document-ai/README.md b/java-document-ai/README.md index 6286009f44f4..ea0a3790cc7f 100644 --- a/java-document-ai/README.md +++ b/java-document-ai/README.md @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-document-ai.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-document-ai/2.46.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-document-ai/2.47.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-document-ai/grpc-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceGrpc.java b/java-document-ai/grpc-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceGrpc.java index e0e8e29c79c5..d33ac121bab0 100644 --- a/java-document-ai/grpc-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceGrpc.java +++ b/java-document-ai/grpc-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceGrpc.java @@ -1206,7 +1206,8 @@ default void batchProcessDocuments( * * *
-     * Fetches processor types. Note that we don't use [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes]
+     * Fetches processor types. Note that we don't use
+     * [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes]
      * here, because it isn't paginated.
      * 
*/ @@ -1370,8 +1371,9 @@ default void undeployProcessorVersion( * * *
-     * Creates a processor from the [ProcessorType][google.cloud.documentai.v1.ProcessorType] provided.
-     * The processor will be at `ENABLED` state by default after its creation.
+     * Creates a processor from the
+     * [ProcessorType][google.cloud.documentai.v1.ProcessorType] provided. The
+     * processor will be at `ENABLED` state by default after its creation.
      * 
*/ default void createProcessor( @@ -1428,8 +1430,10 @@ default void disableProcessor( * * *
-     * Set the default (active) version of a [Processor][google.cloud.documentai.v1.Processor] that will be used in
-     * [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument] and
+     * Set the default (active) version of a
+     * [Processor][google.cloud.documentai.v1.Processor] that will be used in
+     * [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument]
+     * and
      * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments].
      * 
*/ @@ -1579,7 +1583,8 @@ public void batchProcessDocuments( * * *
-     * Fetches processor types. Note that we don't use [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes]
+     * Fetches processor types. Note that we don't use
+     * [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes]
      * here, because it isn't paginated.
      * 
*/ @@ -1765,8 +1770,9 @@ public void undeployProcessorVersion( * * *
-     * Creates a processor from the [ProcessorType][google.cloud.documentai.v1.ProcessorType] provided.
-     * The processor will be at `ENABLED` state by default after its creation.
+     * Creates a processor from the
+     * [ProcessorType][google.cloud.documentai.v1.ProcessorType] provided. The
+     * processor will be at `ENABLED` state by default after its creation.
      * 
*/ public void createProcessor( @@ -1831,8 +1837,10 @@ public void disableProcessor( * * *
-     * Set the default (active) version of a [Processor][google.cloud.documentai.v1.Processor] that will be used in
-     * [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument] and
+     * Set the default (active) version of a
+     * [Processor][google.cloud.documentai.v1.Processor] that will be used in
+     * [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument]
+     * and
      * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments].
      * 
*/ @@ -1967,7 +1975,8 @@ public com.google.longrunning.Operation batchProcessDocuments( * * *
-     * Fetches processor types. Note that we don't use [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes]
+     * Fetches processor types. Note that we don't use
+     * [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes]
      * here, because it isn't paginated.
      * 
*/ @@ -2114,8 +2123,9 @@ public com.google.longrunning.Operation undeployProcessorVersion( * * *
-     * Creates a processor from the [ProcessorType][google.cloud.documentai.v1.ProcessorType] provided.
-     * The processor will be at `ENABLED` state by default after its creation.
+     * Creates a processor from the
+     * [ProcessorType][google.cloud.documentai.v1.ProcessorType] provided. The
+     * processor will be at `ENABLED` state by default after its creation.
      * 
*/ public com.google.cloud.documentai.v1.Processor createProcessor( @@ -2168,8 +2178,10 @@ public com.google.longrunning.Operation disableProcessor( * * *
-     * Set the default (active) version of a [Processor][google.cloud.documentai.v1.Processor] that will be used in
-     * [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument] and
+     * Set the default (active) version of a
+     * [Processor][google.cloud.documentai.v1.Processor] that will be used in
+     * [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument]
+     * and
      * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments].
      * 
*/ @@ -2290,7 +2302,8 @@ protected DocumentProcessorServiceFutureStub build( * * *
-     * Fetches processor types. Note that we don't use [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes]
+     * Fetches processor types. Note that we don't use
+     * [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes]
      * here, because it isn't paginated.
      * 
*/ @@ -2447,8 +2460,9 @@ protected DocumentProcessorServiceFutureStub build( * * *
-     * Creates a processor from the [ProcessorType][google.cloud.documentai.v1.ProcessorType] provided.
-     * The processor will be at `ENABLED` state by default after its creation.
+     * Creates a processor from the
+     * [ProcessorType][google.cloud.documentai.v1.ProcessorType] provided. The
+     * processor will be at `ENABLED` state by default after its creation.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -2502,8 +2516,10 @@ protected DocumentProcessorServiceFutureStub build( * * *
-     * Set the default (active) version of a [Processor][google.cloud.documentai.v1.Processor] that will be used in
-     * [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument] and
+     * Set the default (active) version of a
+     * [Processor][google.cloud.documentai.v1.Processor] that will be used in
+     * [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument]
+     * and
      * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments].
      * 
*/ diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessMetadata.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessMetadata.java index 3261d063a214..e00f0072f4ab 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessMetadata.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessMetadata.java @@ -322,8 +322,9 @@ public interface IndividualProcessStatusOrBuilder * * *
-     * The source of the document, same as the [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] field in the
-     * request when the batch process started.
+     * The source of the document, same as the
+     * [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source]
+     * field in the request when the batch process started.
      * 
* * string input_gcs_source = 1; @@ -335,8 +336,9 @@ public interface IndividualProcessStatusOrBuilder * * *
-     * The source of the document, same as the [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] field in the
-     * request when the batch process started.
+     * The source of the document, same as the
+     * [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source]
+     * field in the request when the batch process started.
      * 
* * string input_gcs_source = 1; @@ -385,8 +387,8 @@ public interface IndividualProcessStatusOrBuilder * *
      * The Cloud Storage output destination (in the request as
-     * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) of the processed
-     * document if it was successful, otherwise empty.
+     * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri])
+     * of the processed document if it was successful, otherwise empty.
      * 
* * string output_gcs_destination = 3; @@ -399,8 +401,8 @@ public interface IndividualProcessStatusOrBuilder * *
      * The Cloud Storage output destination (in the request as
-     * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) of the processed
-     * document if it was successful, otherwise empty.
+     * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri])
+     * of the processed document if it was successful, otherwise empty.
      * 
* * string output_gcs_destination = 3; @@ -499,8 +501,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-     * The source of the document, same as the [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] field in the
-     * request when the batch process started.
+     * The source of the document, same as the
+     * [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source]
+     * field in the request when the batch process started.
      * 
* * string input_gcs_source = 1; @@ -523,8 +526,9 @@ public java.lang.String getInputGcsSource() { * * *
-     * The source of the document, same as the [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] field in the
-     * request when the batch process started.
+     * The source of the document, same as the
+     * [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source]
+     * field in the request when the batch process started.
      * 
* * string input_gcs_source = 1; @@ -599,8 +603,8 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * *
      * The Cloud Storage output destination (in the request as
-     * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) of the processed
-     * document if it was successful, otherwise empty.
+     * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri])
+     * of the processed document if it was successful, otherwise empty.
      * 
* * string output_gcs_destination = 3; @@ -624,8 +628,8 @@ public java.lang.String getOutputGcsDestination() { * *
      * The Cloud Storage output destination (in the request as
-     * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) of the processed
-     * document if it was successful, otherwise empty.
+     * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri])
+     * of the processed document if it was successful, otherwise empty.
      * 
* * string output_gcs_destination = 3; @@ -1171,8 +1175,9 @@ public Builder mergeFrom( * * *
-       * The source of the document, same as the [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] field in the
-       * request when the batch process started.
+       * The source of the document, same as the
+       * [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source]
+       * field in the request when the batch process started.
        * 
* * string input_gcs_source = 1; @@ -1194,8 +1199,9 @@ public java.lang.String getInputGcsSource() { * * *
-       * The source of the document, same as the [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] field in the
-       * request when the batch process started.
+       * The source of the document, same as the
+       * [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source]
+       * field in the request when the batch process started.
        * 
* * string input_gcs_source = 1; @@ -1217,8 +1223,9 @@ public com.google.protobuf.ByteString getInputGcsSourceBytes() { * * *
-       * The source of the document, same as the [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] field in the
-       * request when the batch process started.
+       * The source of the document, same as the
+       * [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source]
+       * field in the request when the batch process started.
        * 
* * string input_gcs_source = 1; @@ -1239,8 +1246,9 @@ public Builder setInputGcsSource(java.lang.String value) { * * *
-       * The source of the document, same as the [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] field in the
-       * request when the batch process started.
+       * The source of the document, same as the
+       * [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source]
+       * field in the request when the batch process started.
        * 
* * string input_gcs_source = 1; @@ -1257,8 +1265,9 @@ public Builder clearInputGcsSource() { * * *
-       * The source of the document, same as the [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] field in the
-       * request when the batch process started.
+       * The source of the document, same as the
+       * [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source]
+       * field in the request when the batch process started.
        * 
* * string input_gcs_source = 1; @@ -1459,8 +1468,8 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * *
        * The Cloud Storage output destination (in the request as
-       * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) of the processed
-       * document if it was successful, otherwise empty.
+       * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri])
+       * of the processed document if it was successful, otherwise empty.
        * 
* * string output_gcs_destination = 3; @@ -1483,8 +1492,8 @@ public java.lang.String getOutputGcsDestination() { * *
        * The Cloud Storage output destination (in the request as
-       * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) of the processed
-       * document if it was successful, otherwise empty.
+       * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri])
+       * of the processed document if it was successful, otherwise empty.
        * 
* * string output_gcs_destination = 3; @@ -1507,8 +1516,8 @@ public com.google.protobuf.ByteString getOutputGcsDestinationBytes() { * *
        * The Cloud Storage output destination (in the request as
-       * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) of the processed
-       * document if it was successful, otherwise empty.
+       * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri])
+       * of the processed document if it was successful, otherwise empty.
        * 
* * string output_gcs_destination = 3; @@ -1530,8 +1539,8 @@ public Builder setOutputGcsDestination(java.lang.String value) { * *
        * The Cloud Storage output destination (in the request as
-       * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) of the processed
-       * document if it was successful, otherwise empty.
+       * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri])
+       * of the processed document if it was successful, otherwise empty.
        * 
* * string output_gcs_destination = 3; @@ -1549,8 +1558,8 @@ public Builder clearOutputGcsDestination() { * *
        * The Cloud Storage output destination (in the request as
-       * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) of the processed
-       * document if it was successful, otherwise empty.
+       * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri])
+       * of the processed document if it was successful, otherwise empty.
        * 
* * string output_gcs_destination = 3; diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessRequest.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessRequest.java index 780685e214c3..32bd0e60f702 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessRequest.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessRequest.java @@ -85,7 +85,8 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl * * *
-   * Required. The resource name of [Processor][google.cloud.documentai.v1.Processor] or
+   * Required. The resource name of
+   * [Processor][google.cloud.documentai.v1.Processor] or
    * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
    * Format: `projects/{project}/locations/{location}/processors/{processor}`,
    * or
@@ -114,7 +115,8 @@ public java.lang.String getName() {
    *
    *
    * 
-   * Required. The resource name of [Processor][google.cloud.documentai.v1.Processor] or
+   * Required. The resource name of
+   * [Processor][google.cloud.documentai.v1.Processor] or
    * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
    * Format: `projects/{project}/locations/{location}/processors/{processor}`,
    * or
@@ -989,7 +991,8 @@ public Builder mergeFrom(
      *
      *
      * 
-     * Required. The resource name of [Processor][google.cloud.documentai.v1.Processor] or
+     * Required. The resource name of
+     * [Processor][google.cloud.documentai.v1.Processor] or
      * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
      * Format: `projects/{project}/locations/{location}/processors/{processor}`,
      * or
@@ -1017,7 +1020,8 @@ public java.lang.String getName() {
      *
      *
      * 
-     * Required. The resource name of [Processor][google.cloud.documentai.v1.Processor] or
+     * Required. The resource name of
+     * [Processor][google.cloud.documentai.v1.Processor] or
      * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
      * Format: `projects/{project}/locations/{location}/processors/{processor}`,
      * or
@@ -1045,7 +1049,8 @@ public com.google.protobuf.ByteString getNameBytes() {
      *
      *
      * 
-     * Required. The resource name of [Processor][google.cloud.documentai.v1.Processor] or
+     * Required. The resource name of
+     * [Processor][google.cloud.documentai.v1.Processor] or
      * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
      * Format: `projects/{project}/locations/{location}/processors/{processor}`,
      * or
@@ -1072,7 +1077,8 @@ public Builder setName(java.lang.String value) {
      *
      *
      * 
-     * Required. The resource name of [Processor][google.cloud.documentai.v1.Processor] or
+     * Required. The resource name of
+     * [Processor][google.cloud.documentai.v1.Processor] or
      * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
      * Format: `projects/{project}/locations/{location}/processors/{processor}`,
      * or
@@ -1095,7 +1101,8 @@ public Builder clearName() {
      *
      *
      * 
-     * Required. The resource name of [Processor][google.cloud.documentai.v1.Processor] or
+     * Required. The resource name of
+     * [Processor][google.cloud.documentai.v1.Processor] or
      * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
      * Format: `projects/{project}/locations/{location}/processors/{processor}`,
      * or
diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessRequestOrBuilder.java
index 1186d49cd7bc..ada9595c0674 100644
--- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessRequestOrBuilder.java
+++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessRequestOrBuilder.java
@@ -28,7 +28,8 @@ public interface BatchProcessRequestOrBuilder
    *
    *
    * 
-   * Required. The resource name of [Processor][google.cloud.documentai.v1.Processor] or
+   * Required. The resource name of
+   * [Processor][google.cloud.documentai.v1.Processor] or
    * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
    * Format: `projects/{project}/locations/{location}/processors/{processor}`,
    * or
@@ -46,7 +47,8 @@ public interface BatchProcessRequestOrBuilder
    *
    *
    * 
-   * Required. The resource name of [Processor][google.cloud.documentai.v1.Processor] or
+   * Required. The resource name of
+   * [Processor][google.cloud.documentai.v1.Processor] or
    * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
    * Format: `projects/{project}/locations/{location}/processors/{processor}`,
    * or
diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CreateProcessorRequest.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CreateProcessorRequest.java
index 4fc17c01a39d..784a91fb4cc4 100644
--- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CreateProcessorRequest.java
+++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CreateProcessorRequest.java
@@ -24,9 +24,10 @@
  *
  * 
  * Request message for the
- * [CreateProcessor][google.cloud.documentai.v1.DocumentProcessorService.CreateProcessor] method. Notice
- * this request is sent to a regionalized backend service. If the
- * [ProcessorType][google.cloud.documentai.v1.ProcessorType] isn't available in that region, the creation fails.
+ * [CreateProcessor][google.cloud.documentai.v1.DocumentProcessorService.CreateProcessor]
+ * method. Notice this request is sent to a regionalized backend service. If the
+ * [ProcessorType][google.cloud.documentai.v1.ProcessorType] isn't available in
+ * that region, the creation fails.
  * 
* * Protobuf type {@code google.cloud.documentai.v1.CreateProcessorRequest} @@ -75,8 +76,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The parent (project and location) under which to create the processor.
-   * Format: `projects/{project}/locations/{location}`
+   * Required. The parent (project and location) under which to create the
+   * processor. Format: `projects/{project}/locations/{location}`
    * 
* * @@ -101,8 +102,8 @@ public java.lang.String getParent() { * * *
-   * Required. The parent (project and location) under which to create the processor.
-   * Format: `projects/{project}/locations/{location}`
+   * Required. The parent (project and location) under which to create the
+   * processor. Format: `projects/{project}/locations/{location}`
    * 
* * @@ -130,8 +131,11 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * Required. The processor to be created, requires [Processor.type][google.cloud.documentai.v1.Processor.type] and
-   * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set. Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
+   * Required. The processor to be created, requires
+   * [Processor.type][google.cloud.documentai.v1.Processor.type] and
+   * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name]
+   * to be set. Also, the
+   * [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
    * field must be set if the processor is under CMEK.
    * 
* @@ -149,8 +153,11 @@ public boolean hasProcessor() { * * *
-   * Required. The processor to be created, requires [Processor.type][google.cloud.documentai.v1.Processor.type] and
-   * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set. Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
+   * Required. The processor to be created, requires
+   * [Processor.type][google.cloud.documentai.v1.Processor.type] and
+   * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name]
+   * to be set. Also, the
+   * [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
    * field must be set if the processor is under CMEK.
    * 
* @@ -170,8 +177,11 @@ public com.google.cloud.documentai.v1.Processor getProcessor() { * * *
-   * Required. The processor to be created, requires [Processor.type][google.cloud.documentai.v1.Processor.type] and
-   * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set. Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
+   * Required. The processor to be created, requires
+   * [Processor.type][google.cloud.documentai.v1.Processor.type] and
+   * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name]
+   * to be set. Also, the
+   * [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
    * field must be set if the processor is under CMEK.
    * 
* @@ -365,9 +375,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Request message for the
-   * [CreateProcessor][google.cloud.documentai.v1.DocumentProcessorService.CreateProcessor] method. Notice
-   * this request is sent to a regionalized backend service. If the
-   * [ProcessorType][google.cloud.documentai.v1.ProcessorType] isn't available in that region, the creation fails.
+   * [CreateProcessor][google.cloud.documentai.v1.DocumentProcessorService.CreateProcessor]
+   * method. Notice this request is sent to a regionalized backend service. If the
+   * [ProcessorType][google.cloud.documentai.v1.ProcessorType] isn't available in
+   * that region, the creation fails.
    * 
* * Protobuf type {@code google.cloud.documentai.v1.CreateProcessorRequest} @@ -580,8 +591,8 @@ public Builder mergeFrom( * * *
-     * Required. The parent (project and location) under which to create the processor.
-     * Format: `projects/{project}/locations/{location}`
+     * Required. The parent (project and location) under which to create the
+     * processor. Format: `projects/{project}/locations/{location}`
      * 
* * @@ -605,8 +616,8 @@ public java.lang.String getParent() { * * *
-     * Required. The parent (project and location) under which to create the processor.
-     * Format: `projects/{project}/locations/{location}`
+     * Required. The parent (project and location) under which to create the
+     * processor. Format: `projects/{project}/locations/{location}`
      * 
* * @@ -630,8 +641,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required. The parent (project and location) under which to create the processor.
-     * Format: `projects/{project}/locations/{location}`
+     * Required. The parent (project and location) under which to create the
+     * processor. Format: `projects/{project}/locations/{location}`
      * 
* * @@ -654,8 +665,8 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required. The parent (project and location) under which to create the processor.
-     * Format: `projects/{project}/locations/{location}`
+     * Required. The parent (project and location) under which to create the
+     * processor. Format: `projects/{project}/locations/{location}`
      * 
* * @@ -674,8 +685,8 @@ public Builder clearParent() { * * *
-     * Required. The parent (project and location) under which to create the processor.
-     * Format: `projects/{project}/locations/{location}`
+     * Required. The parent (project and location) under which to create the
+     * processor. Format: `projects/{project}/locations/{location}`
      * 
* * @@ -706,8 +717,11 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. The processor to be created, requires [Processor.type][google.cloud.documentai.v1.Processor.type] and
-     * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set. Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
+     * Required. The processor to be created, requires
+     * [Processor.type][google.cloud.documentai.v1.Processor.type] and
+     * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name]
+     * to be set. Also, the
+     * [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
      * field must be set if the processor is under CMEK.
      * 
* @@ -724,8 +738,11 @@ public boolean hasProcessor() { * * *
-     * Required. The processor to be created, requires [Processor.type][google.cloud.documentai.v1.Processor.type] and
-     * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set. Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
+     * Required. The processor to be created, requires
+     * [Processor.type][google.cloud.documentai.v1.Processor.type] and
+     * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name]
+     * to be set. Also, the
+     * [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
      * field must be set if the processor is under CMEK.
      * 
* @@ -748,8 +765,11 @@ public com.google.cloud.documentai.v1.Processor getProcessor() { * * *
-     * Required. The processor to be created, requires [Processor.type][google.cloud.documentai.v1.Processor.type] and
-     * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set. Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
+     * Required. The processor to be created, requires
+     * [Processor.type][google.cloud.documentai.v1.Processor.type] and
+     * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name]
+     * to be set. Also, the
+     * [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
      * field must be set if the processor is under CMEK.
      * 
* @@ -774,8 +794,11 @@ public Builder setProcessor(com.google.cloud.documentai.v1.Processor value) { * * *
-     * Required. The processor to be created, requires [Processor.type][google.cloud.documentai.v1.Processor.type] and
-     * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set. Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
+     * Required. The processor to be created, requires
+     * [Processor.type][google.cloud.documentai.v1.Processor.type] and
+     * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name]
+     * to be set. Also, the
+     * [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
      * field must be set if the processor is under CMEK.
      * 
* @@ -797,8 +820,11 @@ public Builder setProcessor(com.google.cloud.documentai.v1.Processor.Builder bui * * *
-     * Required. The processor to be created, requires [Processor.type][google.cloud.documentai.v1.Processor.type] and
-     * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set. Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
+     * Required. The processor to be created, requires
+     * [Processor.type][google.cloud.documentai.v1.Processor.type] and
+     * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name]
+     * to be set. Also, the
+     * [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
      * field must be set if the processor is under CMEK.
      * 
* @@ -828,8 +854,11 @@ public Builder mergeProcessor(com.google.cloud.documentai.v1.Processor value) { * * *
-     * Required. The processor to be created, requires [Processor.type][google.cloud.documentai.v1.Processor.type] and
-     * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set. Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
+     * Required. The processor to be created, requires
+     * [Processor.type][google.cloud.documentai.v1.Processor.type] and
+     * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name]
+     * to be set. Also, the
+     * [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
      * field must be set if the processor is under CMEK.
      * 
* @@ -851,8 +880,11 @@ public Builder clearProcessor() { * * *
-     * Required. The processor to be created, requires [Processor.type][google.cloud.documentai.v1.Processor.type] and
-     * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set. Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
+     * Required. The processor to be created, requires
+     * [Processor.type][google.cloud.documentai.v1.Processor.type] and
+     * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name]
+     * to be set. Also, the
+     * [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
      * field must be set if the processor is under CMEK.
      * 
* @@ -869,8 +901,11 @@ public com.google.cloud.documentai.v1.Processor.Builder getProcessorBuilder() { * * *
-     * Required. The processor to be created, requires [Processor.type][google.cloud.documentai.v1.Processor.type] and
-     * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set. Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
+     * Required. The processor to be created, requires
+     * [Processor.type][google.cloud.documentai.v1.Processor.type] and
+     * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name]
+     * to be set. Also, the
+     * [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
      * field must be set if the processor is under CMEK.
      * 
* @@ -891,8 +926,11 @@ public com.google.cloud.documentai.v1.ProcessorOrBuilder getProcessorOrBuilder() * * *
-     * Required. The processor to be created, requires [Processor.type][google.cloud.documentai.v1.Processor.type] and
-     * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set. Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
+     * Required. The processor to be created, requires
+     * [Processor.type][google.cloud.documentai.v1.Processor.type] and
+     * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name]
+     * to be set. Also, the
+     * [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
      * field must be set if the processor is under CMEK.
      * 
* diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CreateProcessorRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CreateProcessorRequestOrBuilder.java index ac8350de123f..977977eb218f 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CreateProcessorRequestOrBuilder.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CreateProcessorRequestOrBuilder.java @@ -28,8 +28,8 @@ public interface CreateProcessorRequestOrBuilder * * *
-   * Required. The parent (project and location) under which to create the processor.
-   * Format: `projects/{project}/locations/{location}`
+   * Required. The parent (project and location) under which to create the
+   * processor. Format: `projects/{project}/locations/{location}`
    * 
* * @@ -43,8 +43,8 @@ public interface CreateProcessorRequestOrBuilder * * *
-   * Required. The parent (project and location) under which to create the processor.
-   * Format: `projects/{project}/locations/{location}`
+   * Required. The parent (project and location) under which to create the
+   * processor. Format: `projects/{project}/locations/{location}`
    * 
* * @@ -59,8 +59,11 @@ public interface CreateProcessorRequestOrBuilder * * *
-   * Required. The processor to be created, requires [Processor.type][google.cloud.documentai.v1.Processor.type] and
-   * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set. Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
+   * Required. The processor to be created, requires
+   * [Processor.type][google.cloud.documentai.v1.Processor.type] and
+   * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name]
+   * to be set. Also, the
+   * [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
    * field must be set if the processor is under CMEK.
    * 
* @@ -75,8 +78,11 @@ public interface CreateProcessorRequestOrBuilder * * *
-   * Required. The processor to be created, requires [Processor.type][google.cloud.documentai.v1.Processor.type] and
-   * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set. Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
+   * Required. The processor to be created, requires
+   * [Processor.type][google.cloud.documentai.v1.Processor.type] and
+   * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name]
+   * to be set. Also, the
+   * [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
    * field must be set if the processor is under CMEK.
    * 
* @@ -91,8 +97,11 @@ public interface CreateProcessorRequestOrBuilder * * *
-   * Required. The processor to be created, requires [Processor.type][google.cloud.documentai.v1.Processor.type] and
-   * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set. Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
+   * Required. The processor to be created, requires
+   * [Processor.type][google.cloud.documentai.v1.Processor.type] and
+   * [Processor.display_name][google.cloud.documentai.v1.Processor.display_name]
+   * to be set. Also, the
+   * [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name]
    * field must be set if the processor is under CMEK.
    * 
* diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorMetadata.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorMetadata.java index 456c8c4388b7..8a94af0b0fa5 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorMetadata.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorMetadata.java @@ -24,7 +24,8 @@ * *
  * The long-running operation metadata for the
- * [DeleteProcessor][google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessor] method.
+ * [DeleteProcessor][google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessor]
+ * method.
  * 
* * Protobuf type {@code google.cloud.documentai.v1.DeleteProcessorMetadata} @@ -284,7 +285,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * The long-running operation metadata for the
-   * [DeleteProcessor][google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessor] method.
+   * [DeleteProcessor][google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessor]
+   * method.
    * 
* * Protobuf type {@code google.cloud.documentai.v1.DeleteProcessorMetadata} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorRequest.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorRequest.java index c4b638f8da90..b56732313e9b 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorRequest.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorRequest.java @@ -24,7 +24,8 @@ * *
  * Request message for the
- * [DeleteProcessor][google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessor] method.
+ * [DeleteProcessor][google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessor]
+ * method.
  * 
* * Protobuf type {@code google.cloud.documentai.v1.DeleteProcessorRequest} @@ -284,7 +285,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Request message for the
-   * [DeleteProcessor][google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessor] method.
+   * [DeleteProcessor][google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessor]
+   * method.
    * 
* * Protobuf type {@code google.cloud.documentai.v1.DeleteProcessorRequest} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorMetadata.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorMetadata.java index 600982be250a..1550b2513a23 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorMetadata.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorMetadata.java @@ -24,7 +24,8 @@ * *
  * The long-running operation metadata for the
- * [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor] method.
+ * [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor]
+ * method.
  * 
* * Protobuf type {@code google.cloud.documentai.v1.DisableProcessorMetadata} @@ -284,7 +285,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * The long-running operation metadata for the
-   * [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor] method.
+   * [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor]
+   * method.
    * 
* * Protobuf type {@code google.cloud.documentai.v1.DisableProcessorMetadata} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorRequest.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorRequest.java index 3b35f8b5b3af..c07c151910fd 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorRequest.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorRequest.java @@ -24,7 +24,8 @@ * *
  * Request message for the
- * [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor] method.
+ * [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor]
+ * method.
  * 
* * Protobuf type {@code google.cloud.documentai.v1.DisableProcessorRequest} @@ -284,7 +285,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Request message for the
-   * [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor] method.
+   * [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor]
+   * method.
    * 
* * Protobuf type {@code google.cloud.documentai.v1.DisableProcessorRequest} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorResponse.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorResponse.java index 5c9d1bdc43b2..77af263d754a 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorResponse.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorResponse.java @@ -24,8 +24,8 @@ * *
  * Response message for the
- * [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor] method.
- * Intentionally empty proto for adding fields in future.
+ * [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor]
+ * method. Intentionally empty proto for adding fields in future.
  * 
* * Protobuf type {@code google.cloud.documentai.v1.DisableProcessorResponse} @@ -219,8 +219,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Response message for the
-   * [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor] method.
-   * Intentionally empty proto for adding fields in future.
+   * [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor]
+   * method. Intentionally empty proto for adding fields in future.
    * 
* * Protobuf type {@code google.cloud.documentai.v1.DisableProcessorResponse} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/Document.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/Document.java index 16ad1acea165..4f874af35d95 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/Document.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/Document.java @@ -108,7 +108,8 @@ public interface ShardInfoOrBuilder * * *
-     * The index of the first character in [Document.text][google.cloud.documentai.v1.Document.text] in the overall
+     * The index of the first character in
+     * [Document.text][google.cloud.documentai.v1.Document.text] in the overall
      * document global text.
      * 
* @@ -204,7 +205,8 @@ public long getShardCount() { * * *
-     * The index of the first character in [Document.text][google.cloud.documentai.v1.Document.text] in the overall
+     * The index of the first character in
+     * [Document.text][google.cloud.documentai.v1.Document.text] in the overall
      * document global text.
      * 
* @@ -718,7 +720,8 @@ public Builder clearShardCount() { * * *
-       * The index of the first character in [Document.text][google.cloud.documentai.v1.Document.text] in the overall
+       * The index of the first character in
+       * [Document.text][google.cloud.documentai.v1.Document.text] in the overall
        * document global text.
        * 
* @@ -734,7 +737,8 @@ public long getTextOffset() { * * *
-       * The index of the first character in [Document.text][google.cloud.documentai.v1.Document.text] in the overall
+       * The index of the first character in
+       * [Document.text][google.cloud.documentai.v1.Document.text] in the overall
        * document global text.
        * 
* @@ -754,7 +758,8 @@ public Builder setTextOffset(long value) { * * *
-       * The index of the first character in [Document.text][google.cloud.documentai.v1.Document.text] in the overall
+       * The index of the first character in
+       * [Document.text][google.cloud.documentai.v1.Document.text] in the overall
        * document global text.
        * 
* @@ -842,7 +847,8 @@ public interface StyleOrBuilder * * *
-     * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+     * Text anchor indexing into the
+     * [Document.text][google.cloud.documentai.v1.Document.text].
      * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; @@ -854,7 +860,8 @@ public interface StyleOrBuilder * * *
-     * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+     * Text anchor indexing into the
+     * [Document.text][google.cloud.documentai.v1.Document.text].
      * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; @@ -866,7 +873,8 @@ public interface StyleOrBuilder * * *
-     * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+     * Text anchor indexing into the
+     * [Document.text][google.cloud.documentai.v1.Document.text].
      * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; @@ -1903,7 +1911,8 @@ public com.google.cloud.documentai.v1.Document.Style.FontSize getDefaultInstance * * *
-     * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+     * Text anchor indexing into the
+     * [Document.text][google.cloud.documentai.v1.Document.text].
      * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; @@ -1918,7 +1927,8 @@ public boolean hasTextAnchor() { * * *
-     * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+     * Text anchor indexing into the
+     * [Document.text][google.cloud.documentai.v1.Document.text].
      * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; @@ -1935,7 +1945,8 @@ public com.google.cloud.documentai.v1.Document.TextAnchor getTextAnchor() { * * *
-     * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+     * Text anchor indexing into the
+     * [Document.text][google.cloud.documentai.v1.Document.text].
      * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; @@ -2883,7 +2894,8 @@ public Builder mergeFrom( * * *
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; @@ -2897,7 +2909,8 @@ public boolean hasTextAnchor() { * * *
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; @@ -2917,7 +2930,8 @@ public com.google.cloud.documentai.v1.Document.TextAnchor getTextAnchor() { * * *
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; @@ -2939,7 +2953,8 @@ public Builder setTextAnchor(com.google.cloud.documentai.v1.Document.TextAnchor * * *
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; @@ -2959,7 +2974,8 @@ public Builder setTextAnchor( * * *
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; @@ -2987,7 +3003,8 @@ public Builder mergeTextAnchor(com.google.cloud.documentai.v1.Document.TextAncho * * *
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; @@ -3006,7 +3023,8 @@ public Builder clearTextAnchor() { * * *
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; @@ -3020,7 +3038,8 @@ public com.google.cloud.documentai.v1.Document.TextAnchor.Builder getTextAnchorB * * *
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; @@ -3038,7 +3057,8 @@ public com.google.cloud.documentai.v1.Document.TextAnchorOrBuilder getTextAnchor * * *
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; @@ -4132,9 +4152,11 @@ public interface PageOrBuilder * * *
-     * 1-based index for current [Page][google.cloud.documentai.v1.Document.Page] in a parent [Document][google.cloud.documentai.v1.Document].
-     * Useful when a page is taken out of a [Document][google.cloud.documentai.v1.Document] for individual
-     * processing.
+     * 1-based index for current
+     * [Page][google.cloud.documentai.v1.Document.Page] in a parent
+     * [Document][google.cloud.documentai.v1.Document]. Useful when a page is
+     * taken out of a [Document][google.cloud.documentai.v1.Document] for
+     * individual processing.
      * 
* * int32 page_number = 1; @@ -4939,7 +4961,7 @@ com.google.cloud.documentai.v1.Document.Page.FormFieldOrBuilder getFormFieldsOrB *
* * @deprecated google.cloud.documentai.v1.Document.Page.provenance is deprecated. See - * google/cloud/documentai/v1/document.proto;l=522 + * google/cloud/documentai/v1/document.proto;l=548 * @return Whether the provenance field is set. */ @java.lang.Deprecated @@ -4955,7 +4977,7 @@ com.google.cloud.documentai.v1.Document.Page.FormFieldOrBuilder getFormFieldsOrB *
* * @deprecated google.cloud.documentai.v1.Document.Page.provenance is deprecated. See - * google/cloud/documentai/v1/document.proto;l=522 + * google/cloud/documentai/v1/document.proto;l=548 * @return The provenance. */ @java.lang.Deprecated @@ -7752,7 +7774,8 @@ public interface LayoutOrBuilder * * *
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; @@ -7764,7 +7787,8 @@ public interface LayoutOrBuilder * * *
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; @@ -7776,7 +7800,8 @@ public interface LayoutOrBuilder * * *
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; @@ -7787,9 +7812,11 @@ public interface LayoutOrBuilder * * *
-       * Confidence of the current [Layout][google.cloud.documentai.v1.Document.Page.Layout] within context of the object this
-       * layout is for. e.g. confidence can be for a single token, a table,
-       * a visual element, etc. depending on context. Range `[0, 1]`.
+       * Confidence of the current
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] within
+       * context of the object this layout is for. e.g. confidence can be for a
+       * single token, a table, a visual element, etc. depending on context.
+       * Range `[0, 1]`.
        * 
* * float confidence = 2; @@ -7802,7 +7829,8 @@ public interface LayoutOrBuilder * * *
-       * The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+       * The bounding polygon for the
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
        * 
* * .google.cloud.documentai.v1.BoundingPoly bounding_poly = 3; @@ -7814,7 +7842,8 @@ public interface LayoutOrBuilder * * *
-       * The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+       * The bounding polygon for the
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
        * 
* * .google.cloud.documentai.v1.BoundingPoly bounding_poly = 3; @@ -7826,7 +7855,8 @@ public interface LayoutOrBuilder * * *
-       * The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+       * The bounding polygon for the
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
        * 
* * .google.cloud.documentai.v1.BoundingPoly bounding_poly = 3; @@ -7837,7 +7867,8 @@ public interface LayoutOrBuilder * * *
-       * Detected orientation for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+       * Detected orientation for the
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout.Orientation orientation = 4; @@ -7849,7 +7880,8 @@ public interface LayoutOrBuilder * * *
-       * Detected orientation for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+       * Detected orientation for the
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout.Orientation orientation = 4; @@ -8121,7 +8153,8 @@ private Orientation(int value) { * * *
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; @@ -8136,7 +8169,8 @@ public boolean hasTextAnchor() { * * *
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; @@ -8153,7 +8187,8 @@ public com.google.cloud.documentai.v1.Document.TextAnchor getTextAnchor() { * * *
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; @@ -8171,9 +8206,11 @@ public com.google.cloud.documentai.v1.Document.TextAnchorOrBuilder getTextAnchor * * *
-       * Confidence of the current [Layout][google.cloud.documentai.v1.Document.Page.Layout] within context of the object this
-       * layout is for. e.g. confidence can be for a single token, a table,
-       * a visual element, etc. depending on context. Range `[0, 1]`.
+       * Confidence of the current
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] within
+       * context of the object this layout is for. e.g. confidence can be for a
+       * single token, a table, a visual element, etc. depending on context.
+       * Range `[0, 1]`.
        * 
* * float confidence = 2; @@ -8191,7 +8228,8 @@ public float getConfidence() { * * *
-       * The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+       * The bounding polygon for the
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
        * 
* * .google.cloud.documentai.v1.BoundingPoly bounding_poly = 3; @@ -8206,7 +8244,8 @@ public boolean hasBoundingPoly() { * * *
-       * The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+       * The bounding polygon for the
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
        * 
* * .google.cloud.documentai.v1.BoundingPoly bounding_poly = 3; @@ -8223,7 +8262,8 @@ public com.google.cloud.documentai.v1.BoundingPoly getBoundingPoly() { * * *
-       * The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+       * The bounding polygon for the
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
        * 
* * .google.cloud.documentai.v1.BoundingPoly bounding_poly = 3; @@ -8241,7 +8281,8 @@ public com.google.cloud.documentai.v1.BoundingPolyOrBuilder getBoundingPolyOrBui * * *
-       * Detected orientation for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+       * Detected orientation for the
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout.Orientation orientation = 4; @@ -8256,7 +8297,8 @@ public int getOrientationValue() { * * *
-       * Detected orientation for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+       * Detected orientation for the
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout.Orientation orientation = 4; @@ -8735,7 +8777,8 @@ public Builder mergeFrom( * * *
-         * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+         * Text anchor indexing into the
+         * [Document.text][google.cloud.documentai.v1.Document.text].
          * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; @@ -8749,7 +8792,8 @@ public boolean hasTextAnchor() { * * *
-         * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+         * Text anchor indexing into the
+         * [Document.text][google.cloud.documentai.v1.Document.text].
          * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; @@ -8769,7 +8813,8 @@ public com.google.cloud.documentai.v1.Document.TextAnchor getTextAnchor() { * * *
-         * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+         * Text anchor indexing into the
+         * [Document.text][google.cloud.documentai.v1.Document.text].
          * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; @@ -8791,7 +8836,8 @@ public Builder setTextAnchor(com.google.cloud.documentai.v1.Document.TextAnchor * * *
-         * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+         * Text anchor indexing into the
+         * [Document.text][google.cloud.documentai.v1.Document.text].
          * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; @@ -8811,7 +8857,8 @@ public Builder setTextAnchor( * * *
-         * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+         * Text anchor indexing into the
+         * [Document.text][google.cloud.documentai.v1.Document.text].
          * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; @@ -8839,7 +8886,8 @@ public Builder mergeTextAnchor(com.google.cloud.documentai.v1.Document.TextAncho * * *
-         * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+         * Text anchor indexing into the
+         * [Document.text][google.cloud.documentai.v1.Document.text].
          * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; @@ -8858,7 +8906,8 @@ public Builder clearTextAnchor() { * * *
-         * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+         * Text anchor indexing into the
+         * [Document.text][google.cloud.documentai.v1.Document.text].
          * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; @@ -8872,7 +8921,8 @@ public com.google.cloud.documentai.v1.Document.TextAnchor.Builder getTextAnchorB * * *
-         * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+         * Text anchor indexing into the
+         * [Document.text][google.cloud.documentai.v1.Document.text].
          * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; @@ -8891,7 +8941,8 @@ public com.google.cloud.documentai.v1.Document.TextAnchor.Builder getTextAnchorB * * *
-         * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+         * Text anchor indexing into the
+         * [Document.text][google.cloud.documentai.v1.Document.text].
          * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; @@ -8918,9 +8969,11 @@ public com.google.cloud.documentai.v1.Document.TextAnchor.Builder getTextAnchorB * * *
-         * Confidence of the current [Layout][google.cloud.documentai.v1.Document.Page.Layout] within context of the object this
-         * layout is for. e.g. confidence can be for a single token, a table,
-         * a visual element, etc. depending on context. Range `[0, 1]`.
+         * Confidence of the current
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] within
+         * context of the object this layout is for. e.g. confidence can be for a
+         * single token, a table, a visual element, etc. depending on context.
+         * Range `[0, 1]`.
          * 
* * float confidence = 2; @@ -8935,9 +8988,11 @@ public float getConfidence() { * * *
-         * Confidence of the current [Layout][google.cloud.documentai.v1.Document.Page.Layout] within context of the object this
-         * layout is for. e.g. confidence can be for a single token, a table,
-         * a visual element, etc. depending on context. Range `[0, 1]`.
+         * Confidence of the current
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] within
+         * context of the object this layout is for. e.g. confidence can be for a
+         * single token, a table, a visual element, etc. depending on context.
+         * Range `[0, 1]`.
          * 
* * float confidence = 2; @@ -8956,9 +9011,11 @@ public Builder setConfidence(float value) { * * *
-         * Confidence of the current [Layout][google.cloud.documentai.v1.Document.Page.Layout] within context of the object this
-         * layout is for. e.g. confidence can be for a single token, a table,
-         * a visual element, etc. depending on context. Range `[0, 1]`.
+         * Confidence of the current
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] within
+         * context of the object this layout is for. e.g. confidence can be for a
+         * single token, a table, a visual element, etc. depending on context.
+         * Range `[0, 1]`.
          * 
* * float confidence = 2; @@ -8982,7 +9039,8 @@ public Builder clearConfidence() { * * *
-         * The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+         * The bounding polygon for the
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
          * 
* * .google.cloud.documentai.v1.BoundingPoly bounding_poly = 3; @@ -8996,7 +9054,8 @@ public boolean hasBoundingPoly() { * * *
-         * The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+         * The bounding polygon for the
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
          * 
* * .google.cloud.documentai.v1.BoundingPoly bounding_poly = 3; @@ -9016,7 +9075,8 @@ public com.google.cloud.documentai.v1.BoundingPoly getBoundingPoly() { * * *
-         * The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+         * The bounding polygon for the
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
          * 
* * .google.cloud.documentai.v1.BoundingPoly bounding_poly = 3; @@ -9038,7 +9098,8 @@ public Builder setBoundingPoly(com.google.cloud.documentai.v1.BoundingPoly value * * *
-         * The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+         * The bounding polygon for the
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
          * 
* * .google.cloud.documentai.v1.BoundingPoly bounding_poly = 3; @@ -9058,7 +9119,8 @@ public Builder setBoundingPoly( * * *
-         * The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+         * The bounding polygon for the
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
          * 
* * .google.cloud.documentai.v1.BoundingPoly bounding_poly = 3; @@ -9086,7 +9148,8 @@ public Builder mergeBoundingPoly(com.google.cloud.documentai.v1.BoundingPoly val * * *
-         * The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+         * The bounding polygon for the
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
          * 
* * .google.cloud.documentai.v1.BoundingPoly bounding_poly = 3; @@ -9105,7 +9168,8 @@ public Builder clearBoundingPoly() { * * *
-         * The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+         * The bounding polygon for the
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
          * 
* * .google.cloud.documentai.v1.BoundingPoly bounding_poly = 3; @@ -9119,7 +9183,8 @@ public com.google.cloud.documentai.v1.BoundingPoly.Builder getBoundingPolyBuilde * * *
-         * The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+         * The bounding polygon for the
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
          * 
* * .google.cloud.documentai.v1.BoundingPoly bounding_poly = 3; @@ -9137,7 +9202,8 @@ public com.google.cloud.documentai.v1.BoundingPolyOrBuilder getBoundingPolyOrBui * * *
-         * The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+         * The bounding polygon for the
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
          * 
* * .google.cloud.documentai.v1.BoundingPoly bounding_poly = 3; @@ -9164,7 +9230,8 @@ public com.google.cloud.documentai.v1.BoundingPolyOrBuilder getBoundingPolyOrBui * * *
-         * Detected orientation for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+         * Detected orientation for the
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout.Orientation orientation = 4; @@ -9180,7 +9247,8 @@ public int getOrientationValue() { * * *
-         * Detected orientation for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+         * Detected orientation for the
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout.Orientation orientation = 4; @@ -9199,7 +9267,8 @@ public Builder setOrientationValue(int value) { * * *
-         * Detected orientation for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+         * Detected orientation for the
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout.Orientation orientation = 4; @@ -9220,7 +9289,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout.Orientation getOrient * * *
-         * Detected orientation for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+         * Detected orientation for the
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout.Orientation orientation = 4; @@ -9243,7 +9313,8 @@ public Builder setOrientation( * * *
-         * Detected orientation for the [Layout][google.cloud.documentai.v1.Document.Page.Layout].
+         * Detected orientation for the
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout.Orientation orientation = 4; @@ -9331,7 +9402,8 @@ public interface BlockOrBuilder * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Block][google.cloud.documentai.v1.Document.Page.Block].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Block][google.cloud.documentai.v1.Document.Page.Block].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -9343,7 +9415,8 @@ public interface BlockOrBuilder * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Block][google.cloud.documentai.v1.Document.Page.Block].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Block][google.cloud.documentai.v1.Document.Page.Block].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -9355,7 +9428,8 @@ public interface BlockOrBuilder * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Block][google.cloud.documentai.v1.Document.Page.Block].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Block][google.cloud.documentai.v1.Document.Page.Block].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -9438,7 +9512,7 @@ public interface BlockOrBuilder *
* * @deprecated google.cloud.documentai.v1.Document.Page.Block.provenance is deprecated. See - * google/cloud/documentai/v1/document.proto;l=199 + * google/cloud/documentai/v1/document.proto;l=207 * @return Whether the provenance field is set. */ @java.lang.Deprecated @@ -9454,7 +9528,7 @@ public interface BlockOrBuilder *
* * @deprecated google.cloud.documentai.v1.Document.Page.Block.provenance is deprecated. See - * google/cloud/documentai/v1/document.proto;l=199 + * google/cloud/documentai/v1/document.proto;l=207 * @return The provenance. */ @java.lang.Deprecated @@ -9524,7 +9598,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Block][google.cloud.documentai.v1.Document.Page.Block].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Block][google.cloud.documentai.v1.Document.Page.Block].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -9539,7 +9614,8 @@ public boolean hasLayout() { * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Block][google.cloud.documentai.v1.Document.Page.Block].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Block][google.cloud.documentai.v1.Document.Page.Block].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -9556,7 +9632,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout getLayout() { * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Block][google.cloud.documentai.v1.Document.Page.Block].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Block][google.cloud.documentai.v1.Document.Page.Block].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -9667,7 +9744,7 @@ public com.google.cloud.documentai.v1.Document.Page.DetectedLanguage getDetected *
* * @deprecated google.cloud.documentai.v1.Document.Page.Block.provenance is deprecated. See - * google/cloud/documentai/v1/document.proto;l=199 + * google/cloud/documentai/v1/document.proto;l=207 * @return Whether the provenance field is set. */ @java.lang.Override @@ -9686,7 +9763,7 @@ public boolean hasProvenance() { *
* * @deprecated google.cloud.documentai.v1.Document.Page.Block.provenance is deprecated. See - * google/cloud/documentai/v1/document.proto;l=199 + * google/cloud/documentai/v1/document.proto;l=207 * @return The provenance. */ @java.lang.Override @@ -10201,7 +10278,8 @@ public Builder mergeFrom( * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Block][google.cloud.documentai.v1.Document.Page.Block].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Block][google.cloud.documentai.v1.Document.Page.Block].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -10215,7 +10293,8 @@ public boolean hasLayout() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Block][google.cloud.documentai.v1.Document.Page.Block].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Block][google.cloud.documentai.v1.Document.Page.Block].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -10235,7 +10314,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout getLayout() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Block][google.cloud.documentai.v1.Document.Page.Block].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Block][google.cloud.documentai.v1.Document.Page.Block].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -10257,7 +10337,8 @@ public Builder setLayout(com.google.cloud.documentai.v1.Document.Page.Layout val * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Block][google.cloud.documentai.v1.Document.Page.Block].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Block][google.cloud.documentai.v1.Document.Page.Block].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -10277,7 +10358,8 @@ public Builder setLayout( * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Block][google.cloud.documentai.v1.Document.Page.Block].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Block][google.cloud.documentai.v1.Document.Page.Block].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -10305,7 +10387,8 @@ public Builder mergeLayout(com.google.cloud.documentai.v1.Document.Page.Layout v * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Block][google.cloud.documentai.v1.Document.Page.Block].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Block][google.cloud.documentai.v1.Document.Page.Block].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -10324,7 +10407,8 @@ public Builder clearLayout() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Block][google.cloud.documentai.v1.Document.Page.Block].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Block][google.cloud.documentai.v1.Document.Page.Block].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -10338,7 +10422,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout.Builder getLayoutBuil * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Block][google.cloud.documentai.v1.Document.Page.Block].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Block][google.cloud.documentai.v1.Document.Page.Block].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -10356,7 +10441,8 @@ public com.google.cloud.documentai.v1.Document.Page.LayoutOrBuilder getLayoutOrB * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Block][google.cloud.documentai.v1.Document.Page.Block].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Block][google.cloud.documentai.v1.Document.Page.Block].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -10806,7 +10892,7 @@ public Builder removeDetectedLanguages(int index) { *
* * @deprecated google.cloud.documentai.v1.Document.Page.Block.provenance is deprecated. See - * google/cloud/documentai/v1/document.proto;l=199 + * google/cloud/documentai/v1/document.proto;l=207 * @return Whether the provenance field is set. */ @java.lang.Deprecated @@ -10824,7 +10910,7 @@ public boolean hasProvenance() { *
* * @deprecated google.cloud.documentai.v1.Document.Page.Block.provenance is deprecated. See - * google/cloud/documentai/v1/document.proto;l=199 + * google/cloud/documentai/v1/document.proto;l=207 * @return The provenance. */ @java.lang.Deprecated @@ -11071,7 +11157,8 @@ public interface ParagraphOrBuilder * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -11083,7 +11170,8 @@ public interface ParagraphOrBuilder * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -11095,7 +11183,8 @@ public interface ParagraphOrBuilder * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -11178,7 +11267,7 @@ public interface ParagraphOrBuilder *
* * @deprecated google.cloud.documentai.v1.Document.Page.Paragraph.provenance is deprecated. - * See google/cloud/documentai/v1/document.proto;l=211 + * See google/cloud/documentai/v1/document.proto;l=220 * @return Whether the provenance field is set. */ @java.lang.Deprecated @@ -11194,7 +11283,7 @@ public interface ParagraphOrBuilder *
* * @deprecated google.cloud.documentai.v1.Document.Page.Paragraph.provenance is deprecated. - * See google/cloud/documentai/v1/document.proto;l=211 + * See google/cloud/documentai/v1/document.proto;l=220 * @return The provenance. */ @java.lang.Deprecated @@ -11263,7 +11352,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -11278,7 +11368,8 @@ public boolean hasLayout() { * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -11295,7 +11386,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout getLayout() { * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -11406,7 +11498,7 @@ public com.google.cloud.documentai.v1.Document.Page.DetectedLanguage getDetected *
* * @deprecated google.cloud.documentai.v1.Document.Page.Paragraph.provenance is deprecated. - * See google/cloud/documentai/v1/document.proto;l=211 + * See google/cloud/documentai/v1/document.proto;l=220 * @return Whether the provenance field is set. */ @java.lang.Override @@ -11425,7 +11517,7 @@ public boolean hasProvenance() { *
* * @deprecated google.cloud.documentai.v1.Document.Page.Paragraph.provenance is deprecated. - * See google/cloud/documentai/v1/document.proto;l=211 + * See google/cloud/documentai/v1/document.proto;l=220 * @return The provenance. */ @java.lang.Override @@ -11939,7 +12031,8 @@ public Builder mergeFrom( * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -11953,7 +12046,8 @@ public boolean hasLayout() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -11973,7 +12067,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout getLayout() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -11995,7 +12090,8 @@ public Builder setLayout(com.google.cloud.documentai.v1.Document.Page.Layout val * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -12015,7 +12111,8 @@ public Builder setLayout( * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -12043,7 +12140,8 @@ public Builder mergeLayout(com.google.cloud.documentai.v1.Document.Page.Layout v * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -12062,7 +12160,8 @@ public Builder clearLayout() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -12076,7 +12175,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout.Builder getLayoutBuil * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -12094,7 +12194,8 @@ public com.google.cloud.documentai.v1.Document.Page.LayoutOrBuilder getLayoutOrB * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -12544,7 +12645,7 @@ public Builder removeDetectedLanguages(int index) { *
* * @deprecated google.cloud.documentai.v1.Document.Page.Paragraph.provenance is deprecated. - * See google/cloud/documentai/v1/document.proto;l=211 + * See google/cloud/documentai/v1/document.proto;l=220 * @return Whether the provenance field is set. */ @java.lang.Deprecated @@ -12562,7 +12663,7 @@ public boolean hasProvenance() { *
* * @deprecated google.cloud.documentai.v1.Document.Page.Paragraph.provenance is deprecated. - * See google/cloud/documentai/v1/document.proto;l=211 + * See google/cloud/documentai/v1/document.proto;l=220 * @return The provenance. */ @java.lang.Deprecated @@ -12809,7 +12910,8 @@ public interface LineOrBuilder * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Line][google.cloud.documentai.v1.Document.Page.Line].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Line][google.cloud.documentai.v1.Document.Page.Line].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -12821,7 +12923,8 @@ public interface LineOrBuilder * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Line][google.cloud.documentai.v1.Document.Page.Line].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Line][google.cloud.documentai.v1.Document.Page.Line].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -12833,7 +12936,8 @@ public interface LineOrBuilder * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Line][google.cloud.documentai.v1.Document.Page.Line].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Line][google.cloud.documentai.v1.Document.Page.Line].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -12916,7 +13020,7 @@ public interface LineOrBuilder * * * @deprecated google.cloud.documentai.v1.Document.Page.Line.provenance is deprecated. See - * google/cloud/documentai/v1/document.proto;l=224 + * google/cloud/documentai/v1/document.proto;l=234 * @return Whether the provenance field is set. */ @java.lang.Deprecated @@ -12932,7 +13036,7 @@ public interface LineOrBuilder * * * @deprecated google.cloud.documentai.v1.Document.Page.Line.provenance is deprecated. See - * google/cloud/documentai/v1/document.proto;l=224 + * google/cloud/documentai/v1/document.proto;l=234 * @return The provenance. */ @java.lang.Deprecated @@ -13002,7 +13106,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Line][google.cloud.documentai.v1.Document.Page.Line].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Line][google.cloud.documentai.v1.Document.Page.Line].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -13017,7 +13122,8 @@ public boolean hasLayout() { * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Line][google.cloud.documentai.v1.Document.Page.Line].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Line][google.cloud.documentai.v1.Document.Page.Line].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -13034,7 +13140,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout getLayout() { * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Line][google.cloud.documentai.v1.Document.Page.Line].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Line][google.cloud.documentai.v1.Document.Page.Line].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -13145,7 +13252,7 @@ public com.google.cloud.documentai.v1.Document.Page.DetectedLanguage getDetected * * * @deprecated google.cloud.documentai.v1.Document.Page.Line.provenance is deprecated. See - * google/cloud/documentai/v1/document.proto;l=224 + * google/cloud/documentai/v1/document.proto;l=234 * @return Whether the provenance field is set. */ @java.lang.Override @@ -13164,7 +13271,7 @@ public boolean hasProvenance() { * * * @deprecated google.cloud.documentai.v1.Document.Page.Line.provenance is deprecated. See - * google/cloud/documentai/v1/document.proto;l=224 + * google/cloud/documentai/v1/document.proto;l=234 * @return The provenance. */ @java.lang.Override @@ -13679,7 +13786,8 @@ public Builder mergeFrom( * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Line][google.cloud.documentai.v1.Document.Page.Line].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Line][google.cloud.documentai.v1.Document.Page.Line].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -13693,7 +13801,8 @@ public boolean hasLayout() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Line][google.cloud.documentai.v1.Document.Page.Line].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Line][google.cloud.documentai.v1.Document.Page.Line].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -13713,7 +13822,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout getLayout() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Line][google.cloud.documentai.v1.Document.Page.Line].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Line][google.cloud.documentai.v1.Document.Page.Line].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -13735,7 +13845,8 @@ public Builder setLayout(com.google.cloud.documentai.v1.Document.Page.Layout val * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Line][google.cloud.documentai.v1.Document.Page.Line].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Line][google.cloud.documentai.v1.Document.Page.Line].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -13755,7 +13866,8 @@ public Builder setLayout( * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Line][google.cloud.documentai.v1.Document.Page.Line].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Line][google.cloud.documentai.v1.Document.Page.Line].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -13783,7 +13895,8 @@ public Builder mergeLayout(com.google.cloud.documentai.v1.Document.Page.Layout v * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Line][google.cloud.documentai.v1.Document.Page.Line].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Line][google.cloud.documentai.v1.Document.Page.Line].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -13802,7 +13915,8 @@ public Builder clearLayout() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Line][google.cloud.documentai.v1.Document.Page.Line].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Line][google.cloud.documentai.v1.Document.Page.Line].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -13816,7 +13930,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout.Builder getLayoutBuil * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Line][google.cloud.documentai.v1.Document.Page.Line].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Line][google.cloud.documentai.v1.Document.Page.Line].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -13834,7 +13949,8 @@ public com.google.cloud.documentai.v1.Document.Page.LayoutOrBuilder getLayoutOrB * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Line][google.cloud.documentai.v1.Document.Page.Line].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Line][google.cloud.documentai.v1.Document.Page.Line].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -14284,7 +14400,7 @@ public Builder removeDetectedLanguages(int index) { * * * @deprecated google.cloud.documentai.v1.Document.Page.Line.provenance is deprecated. See - * google/cloud/documentai/v1/document.proto;l=224 + * google/cloud/documentai/v1/document.proto;l=234 * @return Whether the provenance field is set. */ @java.lang.Deprecated @@ -14302,7 +14418,7 @@ public boolean hasProvenance() { * * * @deprecated google.cloud.documentai.v1.Document.Page.Line.provenance is deprecated. See - * google/cloud/documentai/v1/document.proto;l=224 + * google/cloud/documentai/v1/document.proto;l=234 * @return The provenance. */ @java.lang.Deprecated @@ -14549,7 +14665,8 @@ public interface TokenOrBuilder * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Token][google.cloud.documentai.v1.Document.Page.Token].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Token][google.cloud.documentai.v1.Document.Page.Token].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -14561,7 +14678,8 @@ public interface TokenOrBuilder * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Token][google.cloud.documentai.v1.Document.Page.Token].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Token][google.cloud.documentai.v1.Document.Page.Token].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -14573,7 +14691,8 @@ public interface TokenOrBuilder * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Token][google.cloud.documentai.v1.Document.Page.Token].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Token][google.cloud.documentai.v1.Document.Page.Token].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -14584,7 +14703,8 @@ public interface TokenOrBuilder * * *
-       * Detected break at the end of a [Token][google.cloud.documentai.v1.Document.Page.Token].
+       * Detected break at the end of a
+       * [Token][google.cloud.documentai.v1.Document.Page.Token].
        * 
* * .google.cloud.documentai.v1.Document.Page.Token.DetectedBreak detected_break = 2; @@ -14597,7 +14717,8 @@ public interface TokenOrBuilder * * *
-       * Detected break at the end of a [Token][google.cloud.documentai.v1.Document.Page.Token].
+       * Detected break at the end of a
+       * [Token][google.cloud.documentai.v1.Document.Page.Token].
        * 
* * .google.cloud.documentai.v1.Document.Page.Token.DetectedBreak detected_break = 2; @@ -14610,7 +14731,8 @@ public interface TokenOrBuilder * * *
-       * Detected break at the end of a [Token][google.cloud.documentai.v1.Document.Page.Token].
+       * Detected break at the end of a
+       * [Token][google.cloud.documentai.v1.Document.Page.Token].
        * 
* * .google.cloud.documentai.v1.Document.Page.Token.DetectedBreak detected_break = 2; @@ -14695,7 +14817,7 @@ public interface TokenOrBuilder * * * @deprecated google.cloud.documentai.v1.Document.Page.Token.provenance is deprecated. See - * google/cloud/documentai/v1/document.proto;l=311 + * google/cloud/documentai/v1/document.proto;l=326 * @return Whether the provenance field is set. */ @java.lang.Deprecated @@ -14711,7 +14833,7 @@ public interface TokenOrBuilder *
* * @deprecated google.cloud.documentai.v1.Document.Page.Token.provenance is deprecated. See - * google/cloud/documentai/v1/document.proto;l=311 + * google/cloud/documentai/v1/document.proto;l=326 * @return The provenance. */ @java.lang.Deprecated @@ -14842,7 +14964,8 @@ public interface DetectedBreakOrBuilder * * *
-       * Detected break at the end of a [Token][google.cloud.documentai.v1.Document.Page.Token].
+       * Detected break at the end of a
+       * [Token][google.cloud.documentai.v1.Document.Page.Token].
        * 
* * Protobuf type {@code google.cloud.documentai.v1.Document.Page.Token.DetectedBreak} @@ -15277,7 +15400,8 @@ protected Builder newBuilderForType( * * *
-         * Detected break at the end of a [Token][google.cloud.documentai.v1.Document.Page.Token].
+         * Detected break at the end of a
+         * [Token][google.cloud.documentai.v1.Document.Page.Token].
          * 
* * Protobuf type {@code google.cloud.documentai.v1.Document.Page.Token.DetectedBreak} @@ -15653,8 +15777,9 @@ public interface StyleInfoOrBuilder * * *
-         * Font size in pixels, equal to _unrounded [font_size][google.cloud.documentai.v1.Document.Page.Token.StyleInfo.font_size]_ *
-         * _resolution_ ÷ `72.0`.
+         * Font size in pixels, equal to _unrounded
+         * [font_size][google.cloud.documentai.v1.Document.Page.Token.StyleInfo.font_size]_
+         * * _resolution_ ÷ `72.0`.
          * 
* * double pixel_font_size = 2; @@ -15705,8 +15830,9 @@ public interface StyleInfoOrBuilder * * *
-         * Whether the text is bold (equivalent to [font_weight][google.cloud.documentai.v1.Document.Page.Token.StyleInfo.font_weight] is at least
-         * `700`).
+         * Whether the text is bold (equivalent to
+         * [font_weight][google.cloud.documentai.v1.Document.Page.Token.StyleInfo.font_weight]
+         * is at least `700`).
          * 
* * bool bold = 5; @@ -15959,8 +16085,9 @@ public int getFontSize() { * * *
-         * Font size in pixels, equal to _unrounded [font_size][google.cloud.documentai.v1.Document.Page.Token.StyleInfo.font_size]_ *
-         * _resolution_ ÷ `72.0`.
+         * Font size in pixels, equal to _unrounded
+         * [font_size][google.cloud.documentai.v1.Document.Page.Token.StyleInfo.font_size]_
+         * * _resolution_ ÷ `72.0`.
          * 
* * double pixel_font_size = 2; @@ -16047,8 +16174,9 @@ public com.google.protobuf.ByteString getFontTypeBytes() { * * *
-         * Whether the text is bold (equivalent to [font_weight][google.cloud.documentai.v1.Document.Page.Token.StyleInfo.font_weight] is at least
-         * `700`).
+         * Whether the text is bold (equivalent to
+         * [font_weight][google.cloud.documentai.v1.Document.Page.Token.StyleInfo.font_weight]
+         * is at least `700`).
          * 
* * bool bold = 5; @@ -17071,8 +17199,9 @@ public Builder clearFontSize() { * * *
-           * Font size in pixels, equal to _unrounded [font_size][google.cloud.documentai.v1.Document.Page.Token.StyleInfo.font_size]_ *
-           * _resolution_ ÷ `72.0`.
+           * Font size in pixels, equal to _unrounded
+           * [font_size][google.cloud.documentai.v1.Document.Page.Token.StyleInfo.font_size]_
+           * * _resolution_ ÷ `72.0`.
            * 
* * double pixel_font_size = 2; @@ -17087,8 +17216,9 @@ public double getPixelFontSize() { * * *
-           * Font size in pixels, equal to _unrounded [font_size][google.cloud.documentai.v1.Document.Page.Token.StyleInfo.font_size]_ *
-           * _resolution_ ÷ `72.0`.
+           * Font size in pixels, equal to _unrounded
+           * [font_size][google.cloud.documentai.v1.Document.Page.Token.StyleInfo.font_size]_
+           * * _resolution_ ÷ `72.0`.
            * 
* * double pixel_font_size = 2; @@ -17107,8 +17237,9 @@ public Builder setPixelFontSize(double value) { * * *
-           * Font size in pixels, equal to _unrounded [font_size][google.cloud.documentai.v1.Document.Page.Token.StyleInfo.font_size]_ *
-           * _resolution_ ÷ `72.0`.
+           * Font size in pixels, equal to _unrounded
+           * [font_size][google.cloud.documentai.v1.Document.Page.Token.StyleInfo.font_size]_
+           * * _resolution_ ÷ `72.0`.
            * 
* * double pixel_font_size = 2; @@ -17286,8 +17417,9 @@ public Builder setFontTypeBytes(com.google.protobuf.ByteString value) { * * *
-           * Whether the text is bold (equivalent to [font_weight][google.cloud.documentai.v1.Document.Page.Token.StyleInfo.font_weight] is at least
-           * `700`).
+           * Whether the text is bold (equivalent to
+           * [font_weight][google.cloud.documentai.v1.Document.Page.Token.StyleInfo.font_weight]
+           * is at least `700`).
            * 
* * bool bold = 5; @@ -17302,8 +17434,9 @@ public boolean getBold() { * * *
-           * Whether the text is bold (equivalent to [font_weight][google.cloud.documentai.v1.Document.Page.Token.StyleInfo.font_weight] is at least
-           * `700`).
+           * Whether the text is bold (equivalent to
+           * [font_weight][google.cloud.documentai.v1.Document.Page.Token.StyleInfo.font_weight]
+           * is at least `700`).
            * 
* * bool bold = 5; @@ -17322,8 +17455,9 @@ public Builder setBold(boolean value) { * * *
-           * Whether the text is bold (equivalent to [font_weight][google.cloud.documentai.v1.Document.Page.Token.StyleInfo.font_weight] is at least
-           * `700`).
+           * Whether the text is bold (equivalent to
+           * [font_weight][google.cloud.documentai.v1.Document.Page.Token.StyleInfo.font_weight]
+           * is at least `700`).
            * 
* * bool bold = 5; @@ -18204,7 +18338,8 @@ public com.google.protobuf.Parser getParserForType() { * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Token][google.cloud.documentai.v1.Document.Page.Token].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Token][google.cloud.documentai.v1.Document.Page.Token].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -18219,7 +18354,8 @@ public boolean hasLayout() { * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Token][google.cloud.documentai.v1.Document.Page.Token].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Token][google.cloud.documentai.v1.Document.Page.Token].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -18236,7 +18372,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout getLayout() { * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Token][google.cloud.documentai.v1.Document.Page.Token].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Token][google.cloud.documentai.v1.Document.Page.Token].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -18254,7 +18391,8 @@ public com.google.cloud.documentai.v1.Document.Page.LayoutOrBuilder getLayoutOrB * * *
-       * Detected break at the end of a [Token][google.cloud.documentai.v1.Document.Page.Token].
+       * Detected break at the end of a
+       * [Token][google.cloud.documentai.v1.Document.Page.Token].
        * 
* * .google.cloud.documentai.v1.Document.Page.Token.DetectedBreak detected_break = 2; @@ -18270,7 +18408,8 @@ public boolean hasDetectedBreak() { * * *
-       * Detected break at the end of a [Token][google.cloud.documentai.v1.Document.Page.Token].
+       * Detected break at the end of a
+       * [Token][google.cloud.documentai.v1.Document.Page.Token].
        * 
* * .google.cloud.documentai.v1.Document.Page.Token.DetectedBreak detected_break = 2; @@ -18288,7 +18427,8 @@ public com.google.cloud.documentai.v1.Document.Page.Token.DetectedBreak getDetec * * *
-       * Detected break at the end of a [Token][google.cloud.documentai.v1.Document.Page.Token].
+       * Detected break at the end of a
+       * [Token][google.cloud.documentai.v1.Document.Page.Token].
        * 
* * .google.cloud.documentai.v1.Document.Page.Token.DetectedBreak detected_break = 2; @@ -18401,7 +18541,7 @@ public com.google.cloud.documentai.v1.Document.Page.DetectedLanguage getDetected * * * @deprecated google.cloud.documentai.v1.Document.Page.Token.provenance is deprecated. See - * google/cloud/documentai/v1/document.proto;l=311 + * google/cloud/documentai/v1/document.proto;l=326 * @return Whether the provenance field is set. */ @java.lang.Override @@ -18420,7 +18560,7 @@ public boolean hasProvenance() { *
* * @deprecated google.cloud.documentai.v1.Document.Page.Token.provenance is deprecated. See - * google/cloud/documentai/v1/document.proto;l=311 + * google/cloud/documentai/v1/document.proto;l=326 * @return The provenance. */ @java.lang.Override @@ -19053,7 +19193,8 @@ public Builder mergeFrom( * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Token][google.cloud.documentai.v1.Document.Page.Token].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Token][google.cloud.documentai.v1.Document.Page.Token].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -19067,7 +19208,8 @@ public boolean hasLayout() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Token][google.cloud.documentai.v1.Document.Page.Token].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Token][google.cloud.documentai.v1.Document.Page.Token].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -19087,7 +19229,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout getLayout() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Token][google.cloud.documentai.v1.Document.Page.Token].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Token][google.cloud.documentai.v1.Document.Page.Token].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -19109,7 +19252,8 @@ public Builder setLayout(com.google.cloud.documentai.v1.Document.Page.Layout val * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Token][google.cloud.documentai.v1.Document.Page.Token].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Token][google.cloud.documentai.v1.Document.Page.Token].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -19129,7 +19273,8 @@ public Builder setLayout( * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Token][google.cloud.documentai.v1.Document.Page.Token].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Token][google.cloud.documentai.v1.Document.Page.Token].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -19157,7 +19302,8 @@ public Builder mergeLayout(com.google.cloud.documentai.v1.Document.Page.Layout v * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Token][google.cloud.documentai.v1.Document.Page.Token].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Token][google.cloud.documentai.v1.Document.Page.Token].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -19176,7 +19322,8 @@ public Builder clearLayout() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Token][google.cloud.documentai.v1.Document.Page.Token].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Token][google.cloud.documentai.v1.Document.Page.Token].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -19190,7 +19337,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout.Builder getLayoutBuil * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Token][google.cloud.documentai.v1.Document.Page.Token].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Token][google.cloud.documentai.v1.Document.Page.Token].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -19208,7 +19356,8 @@ public com.google.cloud.documentai.v1.Document.Page.LayoutOrBuilder getLayoutOrB * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Token][google.cloud.documentai.v1.Document.Page.Token].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Token][google.cloud.documentai.v1.Document.Page.Token].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -19240,7 +19389,8 @@ public com.google.cloud.documentai.v1.Document.Page.LayoutOrBuilder getLayoutOrB * * *
-         * Detected break at the end of a [Token][google.cloud.documentai.v1.Document.Page.Token].
+         * Detected break at the end of a
+         * [Token][google.cloud.documentai.v1.Document.Page.Token].
          * 
* * .google.cloud.documentai.v1.Document.Page.Token.DetectedBreak detected_break = 2; @@ -19255,7 +19405,8 @@ public boolean hasDetectedBreak() { * * *
-         * Detected break at the end of a [Token][google.cloud.documentai.v1.Document.Page.Token].
+         * Detected break at the end of a
+         * [Token][google.cloud.documentai.v1.Document.Page.Token].
          * 
* * .google.cloud.documentai.v1.Document.Page.Token.DetectedBreak detected_break = 2; @@ -19277,7 +19428,8 @@ public com.google.cloud.documentai.v1.Document.Page.Token.DetectedBreak getDetec * * *
-         * Detected break at the end of a [Token][google.cloud.documentai.v1.Document.Page.Token].
+         * Detected break at the end of a
+         * [Token][google.cloud.documentai.v1.Document.Page.Token].
          * 
* * .google.cloud.documentai.v1.Document.Page.Token.DetectedBreak detected_break = 2; @@ -19301,7 +19453,8 @@ public Builder setDetectedBreak( * * *
-         * Detected break at the end of a [Token][google.cloud.documentai.v1.Document.Page.Token].
+         * Detected break at the end of a
+         * [Token][google.cloud.documentai.v1.Document.Page.Token].
          * 
* * .google.cloud.documentai.v1.Document.Page.Token.DetectedBreak detected_break = 2; @@ -19323,7 +19476,8 @@ public Builder setDetectedBreak( * * *
-         * Detected break at the end of a [Token][google.cloud.documentai.v1.Document.Page.Token].
+         * Detected break at the end of a
+         * [Token][google.cloud.documentai.v1.Document.Page.Token].
          * 
* * .google.cloud.documentai.v1.Document.Page.Token.DetectedBreak detected_break = 2; @@ -19354,7 +19508,8 @@ public Builder mergeDetectedBreak( * * *
-         * Detected break at the end of a [Token][google.cloud.documentai.v1.Document.Page.Token].
+         * Detected break at the end of a
+         * [Token][google.cloud.documentai.v1.Document.Page.Token].
          * 
* * .google.cloud.documentai.v1.Document.Page.Token.DetectedBreak detected_break = 2; @@ -19374,7 +19529,8 @@ public Builder clearDetectedBreak() { * * *
-         * Detected break at the end of a [Token][google.cloud.documentai.v1.Document.Page.Token].
+         * Detected break at the end of a
+         * [Token][google.cloud.documentai.v1.Document.Page.Token].
          * 
* * .google.cloud.documentai.v1.Document.Page.Token.DetectedBreak detected_break = 2; @@ -19390,7 +19546,8 @@ public Builder clearDetectedBreak() { * * *
-         * Detected break at the end of a [Token][google.cloud.documentai.v1.Document.Page.Token].
+         * Detected break at the end of a
+         * [Token][google.cloud.documentai.v1.Document.Page.Token].
          * 
* * .google.cloud.documentai.v1.Document.Page.Token.DetectedBreak detected_break = 2; @@ -19411,7 +19568,8 @@ public Builder clearDetectedBreak() { * * *
-         * Detected break at the end of a [Token][google.cloud.documentai.v1.Document.Page.Token].
+         * Detected break at the end of a
+         * [Token][google.cloud.documentai.v1.Document.Page.Token].
          * 
* * .google.cloud.documentai.v1.Document.Page.Token.DetectedBreak detected_break = 2; @@ -19862,7 +20020,7 @@ public Builder removeDetectedLanguages(int index) { * * * @deprecated google.cloud.documentai.v1.Document.Page.Token.provenance is deprecated. See - * google/cloud/documentai/v1/document.proto;l=311 + * google/cloud/documentai/v1/document.proto;l=326 * @return Whether the provenance field is set. */ @java.lang.Deprecated @@ -19880,7 +20038,7 @@ public boolean hasProvenance() { *
* * @deprecated google.cloud.documentai.v1.Document.Page.Token.provenance is deprecated. See - * google/cloud/documentai/v1/document.proto;l=311 + * google/cloud/documentai/v1/document.proto;l=326 * @return The provenance. */ @java.lang.Deprecated @@ -20319,7 +20477,8 @@ public interface SymbolOrBuilder * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -20331,7 +20490,8 @@ public interface SymbolOrBuilder * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -20343,7 +20503,8 @@ public interface SymbolOrBuilder * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -20466,7 +20627,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -20481,7 +20643,8 @@ public boolean hasLayout() { * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -20498,7 +20661,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout getLayout() { * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -21048,7 +21212,8 @@ public Builder mergeFrom( * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -21062,7 +21227,8 @@ public boolean hasLayout() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -21082,7 +21248,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout getLayout() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -21104,7 +21271,8 @@ public Builder setLayout(com.google.cloud.documentai.v1.Document.Page.Layout val * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -21124,7 +21292,8 @@ public Builder setLayout( * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -21152,7 +21321,8 @@ public Builder mergeLayout(com.google.cloud.documentai.v1.Document.Page.Layout v * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -21171,7 +21341,8 @@ public Builder clearLayout() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -21185,7 +21356,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout.Builder getLayoutBuil * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -21203,7 +21375,8 @@ public com.google.cloud.documentai.v1.Document.Page.LayoutOrBuilder getLayoutOrB * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Symbol][google.cloud.documentai.v1.Document.Page.Symbol].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -21709,7 +21882,8 @@ public interface VisualElementOrBuilder * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -21721,7 +21895,8 @@ public interface VisualElementOrBuilder * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -21733,7 +21908,8 @@ public interface VisualElementOrBuilder * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -21744,7 +21920,8 @@ public interface VisualElementOrBuilder * * *
-       * Type of the [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
+       * Type of the
+       * [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
        * 
* * string type = 2; @@ -21756,7 +21933,8 @@ public interface VisualElementOrBuilder * * *
-       * Type of the [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
+       * Type of the
+       * [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
        * 
* * string type = 2; @@ -21883,7 +22061,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -21898,7 +22077,8 @@ public boolean hasLayout() { * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -21915,7 +22095,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout getLayout() { * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -21935,7 +22116,8 @@ public com.google.cloud.documentai.v1.Document.Page.LayoutOrBuilder getLayoutOrB * * *
-       * Type of the [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
+       * Type of the
+       * [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
        * 
* * string type = 2; @@ -21958,7 +22140,8 @@ public java.lang.String getType() { * * *
-       * Type of the [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
+       * Type of the
+       * [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
        * 
* * string type = 2; @@ -22544,7 +22727,8 @@ public Builder mergeFrom( * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -22558,7 +22742,8 @@ public boolean hasLayout() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -22578,7 +22763,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout getLayout() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -22600,7 +22786,8 @@ public Builder setLayout(com.google.cloud.documentai.v1.Document.Page.Layout val * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -22620,7 +22807,8 @@ public Builder setLayout( * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -22648,7 +22836,8 @@ public Builder mergeLayout(com.google.cloud.documentai.v1.Document.Page.Layout v * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -22667,7 +22856,8 @@ public Builder clearLayout() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -22681,7 +22871,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout.Builder getLayoutBuil * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -22699,7 +22890,8 @@ public com.google.cloud.documentai.v1.Document.Page.LayoutOrBuilder getLayoutOrB * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -22726,7 +22918,8 @@ public com.google.cloud.documentai.v1.Document.Page.LayoutOrBuilder getLayoutOrB * * *
-         * Type of the [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
+         * Type of the
+         * [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
          * 
* * string type = 2; @@ -22748,7 +22941,8 @@ public java.lang.String getType() { * * *
-         * Type of the [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
+         * Type of the
+         * [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
          * 
* * string type = 2; @@ -22770,7 +22964,8 @@ public com.google.protobuf.ByteString getTypeBytes() { * * *
-         * Type of the [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
+         * Type of the
+         * [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
          * 
* * string type = 2; @@ -22791,7 +22986,8 @@ public Builder setType(java.lang.String value) { * * *
-         * Type of the [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
+         * Type of the
+         * [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
          * 
* * string type = 2; @@ -22808,7 +23004,8 @@ public Builder clearType() { * * *
-         * Type of the [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
+         * Type of the
+         * [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement].
          * 
* * string type = 2; @@ -23314,7 +23511,8 @@ public interface TableOrBuilder * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Table][google.cloud.documentai.v1.Document.Page.Table].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Table][google.cloud.documentai.v1.Document.Page.Table].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -23326,7 +23524,8 @@ public interface TableOrBuilder * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Table][google.cloud.documentai.v1.Document.Page.Table].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Table][google.cloud.documentai.v1.Document.Page.Table].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -23338,7 +23537,8 @@ public interface TableOrBuilder * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Table][google.cloud.documentai.v1.Document.Page.Table].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Table][google.cloud.documentai.v1.Document.Page.Table].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -23538,7 +23738,7 @@ com.google.cloud.documentai.v1.Document.Page.Table.TableRowOrBuilder getBodyRows *
* * @deprecated google.cloud.documentai.v1.Document.Page.Table.provenance is deprecated. See - * google/cloud/documentai/v1/document.proto;l=375 + * google/cloud/documentai/v1/document.proto;l=395 * @return Whether the provenance field is set. */ @java.lang.Deprecated @@ -23554,7 +23754,7 @@ com.google.cloud.documentai.v1.Document.Page.Table.TableRowOrBuilder getBodyRows *
* * @deprecated google.cloud.documentai.v1.Document.Page.Table.provenance is deprecated. See - * google/cloud/documentai/v1/document.proto;l=375 + * google/cloud/documentai/v1/document.proto;l=395 * @return The provenance. */ @java.lang.Deprecated @@ -24678,7 +24878,8 @@ public interface TableCellOrBuilder * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -24690,7 +24891,8 @@ public interface TableCellOrBuilder * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -24702,7 +24904,8 @@ public interface TableCellOrBuilder * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -24852,7 +25055,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -24867,7 +25071,8 @@ public boolean hasLayout() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -24884,7 +25089,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout getLayout() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -25526,7 +25732,8 @@ public Builder mergeFrom( * * *
-           * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell].
+           * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+           * [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell].
            * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -25540,7 +25747,8 @@ public boolean hasLayout() { * * *
-           * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell].
+           * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+           * [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell].
            * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -25560,7 +25768,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout getLayout() { * * *
-           * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell].
+           * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+           * [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell].
            * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -25582,7 +25791,8 @@ public Builder setLayout(com.google.cloud.documentai.v1.Document.Page.Layout val * * *
-           * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell].
+           * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+           * [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell].
            * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -25602,7 +25812,8 @@ public Builder setLayout( * * *
-           * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell].
+           * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+           * [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell].
            * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -25630,7 +25841,8 @@ public Builder mergeLayout(com.google.cloud.documentai.v1.Document.Page.Layout v * * *
-           * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell].
+           * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+           * [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell].
            * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -25649,7 +25861,8 @@ public Builder clearLayout() { * * *
-           * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell].
+           * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+           * [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell].
            * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -25663,7 +25876,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout.Builder getLayoutBuil * * *
-           * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell].
+           * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+           * [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell].
            * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -25681,7 +25895,8 @@ public com.google.cloud.documentai.v1.Document.Page.LayoutOrBuilder getLayoutOrB * * *
-           * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell].
+           * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+           * [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell].
            * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -26298,7 +26513,8 @@ public com.google.protobuf.Parser getParserForType() { * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Table][google.cloud.documentai.v1.Document.Page.Table].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Table][google.cloud.documentai.v1.Document.Page.Table].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -26313,7 +26529,8 @@ public boolean hasLayout() { * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Table][google.cloud.documentai.v1.Document.Page.Table].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Table][google.cloud.documentai.v1.Document.Page.Table].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -26330,7 +26547,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout getLayout() { * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Table][google.cloud.documentai.v1.Document.Page.Table].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [Table][google.cloud.documentai.v1.Document.Page.Table].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -26600,7 +26818,7 @@ public com.google.cloud.documentai.v1.Document.Page.DetectedLanguage getDetected * * * @deprecated google.cloud.documentai.v1.Document.Page.Table.provenance is deprecated. See - * google/cloud/documentai/v1/document.proto;l=375 + * google/cloud/documentai/v1/document.proto;l=395 * @return Whether the provenance field is set. */ @java.lang.Override @@ -26619,7 +26837,7 @@ public boolean hasProvenance() { * * * @deprecated google.cloud.documentai.v1.Document.Page.Table.provenance is deprecated. See - * google/cloud/documentai/v1/document.proto;l=375 + * google/cloud/documentai/v1/document.proto;l=395 * @return The provenance. */ @java.lang.Override @@ -27271,7 +27489,8 @@ public Builder mergeFrom( * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Table][google.cloud.documentai.v1.Document.Page.Table].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Table][google.cloud.documentai.v1.Document.Page.Table].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -27285,7 +27504,8 @@ public boolean hasLayout() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Table][google.cloud.documentai.v1.Document.Page.Table].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Table][google.cloud.documentai.v1.Document.Page.Table].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -27305,7 +27525,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout getLayout() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Table][google.cloud.documentai.v1.Document.Page.Table].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Table][google.cloud.documentai.v1.Document.Page.Table].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -27327,7 +27548,8 @@ public Builder setLayout(com.google.cloud.documentai.v1.Document.Page.Layout val * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Table][google.cloud.documentai.v1.Document.Page.Table].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Table][google.cloud.documentai.v1.Document.Page.Table].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -27347,7 +27569,8 @@ public Builder setLayout( * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Table][google.cloud.documentai.v1.Document.Page.Table].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Table][google.cloud.documentai.v1.Document.Page.Table].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -27375,7 +27598,8 @@ public Builder mergeLayout(com.google.cloud.documentai.v1.Document.Page.Layout v * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Table][google.cloud.documentai.v1.Document.Page.Table].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Table][google.cloud.documentai.v1.Document.Page.Table].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -27394,7 +27618,8 @@ public Builder clearLayout() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Table][google.cloud.documentai.v1.Document.Page.Table].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Table][google.cloud.documentai.v1.Document.Page.Table].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -27408,7 +27633,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout.Builder getLayoutBuil * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Table][google.cloud.documentai.v1.Document.Page.Table].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Table][google.cloud.documentai.v1.Document.Page.Table].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -27426,7 +27652,8 @@ public com.google.cloud.documentai.v1.Document.Page.LayoutOrBuilder getLayoutOrB * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Table][google.cloud.documentai.v1.Document.Page.Table].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [Table][google.cloud.documentai.v1.Document.Page.Table].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -28652,7 +28879,7 @@ public Builder removeDetectedLanguages(int index) { * * * @deprecated google.cloud.documentai.v1.Document.Page.Table.provenance is deprecated. See - * google/cloud/documentai/v1/document.proto;l=375 + * google/cloud/documentai/v1/document.proto;l=395 * @return Whether the provenance field is set. */ @java.lang.Deprecated @@ -28670,7 +28897,7 @@ public boolean hasProvenance() { * * * @deprecated google.cloud.documentai.v1.Document.Page.Table.provenance is deprecated. See - * google/cloud/documentai/v1/document.proto;l=375 + * google/cloud/documentai/v1/document.proto;l=395 * @return The provenance. */ @java.lang.Deprecated @@ -28917,8 +29144,9 @@ public interface FormFieldOrBuilder * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name. e.g. `Address`, `Email`,
-       * `Grand total`, `Phone number`, etc.
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the
+       * [FormField][google.cloud.documentai.v1.Document.Page.FormField] name.
+       * e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc.
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout field_name = 1; @@ -28930,8 +29158,9 @@ public interface FormFieldOrBuilder * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name. e.g. `Address`, `Email`,
-       * `Grand total`, `Phone number`, etc.
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the
+       * [FormField][google.cloud.documentai.v1.Document.Page.FormField] name.
+       * e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc.
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout field_name = 1; @@ -28943,8 +29172,9 @@ public interface FormFieldOrBuilder * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name. e.g. `Address`, `Email`,
-       * `Grand total`, `Phone number`, etc.
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the
+       * [FormField][google.cloud.documentai.v1.Document.Page.FormField] name.
+       * e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc.
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout field_name = 1; @@ -28955,7 +29185,8 @@ public interface FormFieldOrBuilder * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the
+       * [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout field_value = 2; @@ -28967,7 +29198,8 @@ public interface FormFieldOrBuilder * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the
+       * [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout field_value = 2; @@ -28979,7 +29211,8 @@ public interface FormFieldOrBuilder * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the
+       * [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout field_value = 2; @@ -29301,8 +29534,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name. e.g. `Address`, `Email`,
-       * `Grand total`, `Phone number`, etc.
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the
+       * [FormField][google.cloud.documentai.v1.Document.Page.FormField] name.
+       * e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc.
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout field_name = 1; @@ -29317,8 +29551,9 @@ public boolean hasFieldName() { * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name. e.g. `Address`, `Email`,
-       * `Grand total`, `Phone number`, etc.
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the
+       * [FormField][google.cloud.documentai.v1.Document.Page.FormField] name.
+       * e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc.
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout field_name = 1; @@ -29335,8 +29570,9 @@ public com.google.cloud.documentai.v1.Document.Page.Layout getFieldName() { * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name. e.g. `Address`, `Email`,
-       * `Grand total`, `Phone number`, etc.
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the
+       * [FormField][google.cloud.documentai.v1.Document.Page.FormField] name.
+       * e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc.
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout field_name = 1; @@ -29354,7 +29590,8 @@ public com.google.cloud.documentai.v1.Document.Page.LayoutOrBuilder getFieldName * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the
+       * [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout field_value = 2; @@ -29369,7 +29606,8 @@ public boolean hasFieldValue() { * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the
+       * [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout field_value = 2; @@ -29386,7 +29624,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout getFieldValue() { * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the
+       * [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout field_value = 2; @@ -30458,8 +30697,9 @@ public Builder mergeFrom( * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name. e.g. `Address`, `Email`,
-         * `Grand total`, `Phone number`, etc.
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the
+         * [FormField][google.cloud.documentai.v1.Document.Page.FormField] name.
+         * e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc.
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout field_name = 1; @@ -30473,8 +30713,9 @@ public boolean hasFieldName() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name. e.g. `Address`, `Email`,
-         * `Grand total`, `Phone number`, etc.
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the
+         * [FormField][google.cloud.documentai.v1.Document.Page.FormField] name.
+         * e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc.
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout field_name = 1; @@ -30494,8 +30735,9 @@ public com.google.cloud.documentai.v1.Document.Page.Layout getFieldName() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name. e.g. `Address`, `Email`,
-         * `Grand total`, `Phone number`, etc.
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the
+         * [FormField][google.cloud.documentai.v1.Document.Page.FormField] name.
+         * e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc.
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout field_name = 1; @@ -30517,8 +30759,9 @@ public Builder setFieldName(com.google.cloud.documentai.v1.Document.Page.Layout * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name. e.g. `Address`, `Email`,
-         * `Grand total`, `Phone number`, etc.
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the
+         * [FormField][google.cloud.documentai.v1.Document.Page.FormField] name.
+         * e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc.
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout field_name = 1; @@ -30538,8 +30781,9 @@ public Builder setFieldName( * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name. e.g. `Address`, `Email`,
-         * `Grand total`, `Phone number`, etc.
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the
+         * [FormField][google.cloud.documentai.v1.Document.Page.FormField] name.
+         * e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc.
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout field_name = 1; @@ -30567,8 +30811,9 @@ public Builder mergeFieldName(com.google.cloud.documentai.v1.Document.Page.Layou * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name. e.g. `Address`, `Email`,
-         * `Grand total`, `Phone number`, etc.
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the
+         * [FormField][google.cloud.documentai.v1.Document.Page.FormField] name.
+         * e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc.
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout field_name = 1; @@ -30587,8 +30832,9 @@ public Builder clearFieldName() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name. e.g. `Address`, `Email`,
-         * `Grand total`, `Phone number`, etc.
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the
+         * [FormField][google.cloud.documentai.v1.Document.Page.FormField] name.
+         * e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc.
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout field_name = 1; @@ -30602,8 +30848,9 @@ public com.google.cloud.documentai.v1.Document.Page.Layout.Builder getFieldNameB * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name. e.g. `Address`, `Email`,
-         * `Grand total`, `Phone number`, etc.
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the
+         * [FormField][google.cloud.documentai.v1.Document.Page.FormField] name.
+         * e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc.
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout field_name = 1; @@ -30622,8 +30869,9 @@ public com.google.cloud.documentai.v1.Document.Page.Layout.Builder getFieldNameB * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name. e.g. `Address`, `Email`,
-         * `Grand total`, `Phone number`, etc.
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the
+         * [FormField][google.cloud.documentai.v1.Document.Page.FormField] name.
+         * e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc.
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout field_name = 1; @@ -30655,7 +30903,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout.Builder getFieldNameB * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the
+         * [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout field_value = 2; @@ -30669,7 +30918,8 @@ public boolean hasFieldValue() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the
+         * [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout field_value = 2; @@ -30689,7 +30939,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout getFieldValue() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the
+         * [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout field_value = 2; @@ -30711,7 +30962,8 @@ public Builder setFieldValue(com.google.cloud.documentai.v1.Document.Page.Layout * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the
+         * [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout field_value = 2; @@ -30731,7 +30983,8 @@ public Builder setFieldValue( * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the
+         * [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout field_value = 2; @@ -30759,7 +31012,8 @@ public Builder mergeFieldValue(com.google.cloud.documentai.v1.Document.Page.Layo * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the
+         * [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout field_value = 2; @@ -30778,7 +31032,8 @@ public Builder clearFieldValue() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the
+         * [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout field_value = 2; @@ -30792,7 +31047,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout.Builder getFieldValue * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the
+         * [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout field_value = 2; @@ -30811,7 +31067,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout.Builder getFieldValue * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the
+         * [FormField][google.cloud.documentai.v1.Document.Page.FormField] value.
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout field_value = 2; @@ -32279,7 +32536,8 @@ public interface DetectedBarcodeOrBuilder * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -32291,7 +32549,8 @@ public interface DetectedBarcodeOrBuilder * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -32303,7 +32562,8 @@ public interface DetectedBarcodeOrBuilder * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -32314,7 +32574,8 @@ public interface DetectedBarcodeOrBuilder * * *
-       * Detailed barcode information of the [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
+       * Detailed barcode information of the
+       * [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
        * 
* * .google.cloud.documentai.v1.Barcode barcode = 2; @@ -32326,7 +32587,8 @@ public interface DetectedBarcodeOrBuilder * * *
-       * Detailed barcode information of the [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
+       * Detailed barcode information of the
+       * [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
        * 
* * .google.cloud.documentai.v1.Barcode barcode = 2; @@ -32338,7 +32600,8 @@ public interface DetectedBarcodeOrBuilder * * *
-       * Detailed barcode information of the [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
+       * Detailed barcode information of the
+       * [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
        * 
* * .google.cloud.documentai.v1.Barcode barcode = 2; @@ -32394,7 +32657,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -32409,7 +32673,8 @@ public boolean hasLayout() { * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -32426,7 +32691,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout getLayout() { * * *
-       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
+       * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+       * [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
        * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -32444,7 +32710,8 @@ public com.google.cloud.documentai.v1.Document.Page.LayoutOrBuilder getLayoutOrB * * *
-       * Detailed barcode information of the [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
+       * Detailed barcode information of the
+       * [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
        * 
* * .google.cloud.documentai.v1.Barcode barcode = 2; @@ -32459,7 +32726,8 @@ public boolean hasBarcode() { * * *
-       * Detailed barcode information of the [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
+       * Detailed barcode information of the
+       * [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
        * 
* * .google.cloud.documentai.v1.Barcode barcode = 2; @@ -32476,7 +32744,8 @@ public com.google.cloud.documentai.v1.Barcode getBarcode() { * * *
-       * Detailed barcode information of the [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
+       * Detailed barcode information of the
+       * [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
        * 
* * .google.cloud.documentai.v1.Barcode barcode = 2; @@ -32901,7 +33170,8 @@ public Builder mergeFrom( * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -32915,7 +33185,8 @@ public boolean hasLayout() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -32935,7 +33206,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout getLayout() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -32957,7 +33229,8 @@ public Builder setLayout(com.google.cloud.documentai.v1.Document.Page.Layout val * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -32977,7 +33250,8 @@ public Builder setLayout( * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -33005,7 +33279,8 @@ public Builder mergeLayout(com.google.cloud.documentai.v1.Document.Page.Layout v * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -33024,7 +33299,8 @@ public Builder clearLayout() { * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -33038,7 +33314,8 @@ public com.google.cloud.documentai.v1.Document.Page.Layout.Builder getLayoutBuil * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -33056,7 +33333,8 @@ public com.google.cloud.documentai.v1.Document.Page.LayoutOrBuilder getLayoutOrB * * *
-         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
+         * [Layout][google.cloud.documentai.v1.Document.Page.Layout] for
+         * [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
          * 
* * .google.cloud.documentai.v1.Document.Page.Layout layout = 1; @@ -33088,7 +33366,8 @@ public com.google.cloud.documentai.v1.Document.Page.LayoutOrBuilder getLayoutOrB * * *
-         * Detailed barcode information of the [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
+         * Detailed barcode information of the
+         * [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
          * 
* * .google.cloud.documentai.v1.Barcode barcode = 2; @@ -33102,7 +33381,8 @@ public boolean hasBarcode() { * * *
-         * Detailed barcode information of the [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
+         * Detailed barcode information of the
+         * [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
          * 
* * .google.cloud.documentai.v1.Barcode barcode = 2; @@ -33122,7 +33402,8 @@ public com.google.cloud.documentai.v1.Barcode getBarcode() { * * *
-         * Detailed barcode information of the [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
+         * Detailed barcode information of the
+         * [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
          * 
* * .google.cloud.documentai.v1.Barcode barcode = 2; @@ -33144,7 +33425,8 @@ public Builder setBarcode(com.google.cloud.documentai.v1.Barcode value) { * * *
-         * Detailed barcode information of the [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
+         * Detailed barcode information of the
+         * [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
          * 
* * .google.cloud.documentai.v1.Barcode barcode = 2; @@ -33163,7 +33445,8 @@ public Builder setBarcode(com.google.cloud.documentai.v1.Barcode.Builder builder * * *
-         * Detailed barcode information of the [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
+         * Detailed barcode information of the
+         * [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
          * 
* * .google.cloud.documentai.v1.Barcode barcode = 2; @@ -33190,7 +33473,8 @@ public Builder mergeBarcode(com.google.cloud.documentai.v1.Barcode value) { * * *
-         * Detailed barcode information of the [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
+         * Detailed barcode information of the
+         * [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
          * 
* * .google.cloud.documentai.v1.Barcode barcode = 2; @@ -33209,7 +33493,8 @@ public Builder clearBarcode() { * * *
-         * Detailed barcode information of the [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
+         * Detailed barcode information of the
+         * [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
          * 
* * .google.cloud.documentai.v1.Barcode barcode = 2; @@ -33223,7 +33508,8 @@ public com.google.cloud.documentai.v1.Barcode.Builder getBarcodeBuilder() { * * *
-         * Detailed barcode information of the [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
+         * Detailed barcode information of the
+         * [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
          * 
* * .google.cloud.documentai.v1.Barcode barcode = 2; @@ -33241,7 +33527,8 @@ public com.google.cloud.documentai.v1.BarcodeOrBuilder getBarcodeOrBuilder() { * * *
-         * Detailed barcode information of the [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
+         * Detailed barcode information of the
+         * [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode].
          * 
* * .google.cloud.documentai.v1.Barcode barcode = 2; @@ -36214,9 +36501,11 @@ public com.google.protobuf.Parser getParserForType() { * * *
-     * 1-based index for current [Page][google.cloud.documentai.v1.Document.Page] in a parent [Document][google.cloud.documentai.v1.Document].
-     * Useful when a page is taken out of a [Document][google.cloud.documentai.v1.Document] for individual
-     * processing.
+     * 1-based index for current
+     * [Page][google.cloud.documentai.v1.Document.Page] in a parent
+     * [Document][google.cloud.documentai.v1.Document]. Useful when a page is
+     * taken out of a [Document][google.cloud.documentai.v1.Document] for
+     * individual processing.
      * 
* * int32 page_number = 1; @@ -37310,7 +37599,7 @@ public com.google.cloud.documentai.v1.Document.Page.ImageQualityScores getImageQ * * * @deprecated google.cloud.documentai.v1.Document.Page.provenance is deprecated. See - * google/cloud/documentai/v1/document.proto;l=522 + * google/cloud/documentai/v1/document.proto;l=548 * @return Whether the provenance field is set. */ @java.lang.Override @@ -37329,7 +37618,7 @@ public boolean hasProvenance() { * * * @deprecated google.cloud.documentai.v1.Document.Page.provenance is deprecated. See - * google/cloud/documentai/v1/document.proto;l=522 + * google/cloud/documentai/v1/document.proto;l=548 * @return The provenance. */ @java.lang.Override @@ -38651,9 +38940,11 @@ public Builder mergeFrom( * * *
-       * 1-based index for current [Page][google.cloud.documentai.v1.Document.Page] in a parent [Document][google.cloud.documentai.v1.Document].
-       * Useful when a page is taken out of a [Document][google.cloud.documentai.v1.Document] for individual
-       * processing.
+       * 1-based index for current
+       * [Page][google.cloud.documentai.v1.Document.Page] in a parent
+       * [Document][google.cloud.documentai.v1.Document]. Useful when a page is
+       * taken out of a [Document][google.cloud.documentai.v1.Document] for
+       * individual processing.
        * 
* * int32 page_number = 1; @@ -38668,9 +38959,11 @@ public int getPageNumber() { * * *
-       * 1-based index for current [Page][google.cloud.documentai.v1.Document.Page] in a parent [Document][google.cloud.documentai.v1.Document].
-       * Useful when a page is taken out of a [Document][google.cloud.documentai.v1.Document] for individual
-       * processing.
+       * 1-based index for current
+       * [Page][google.cloud.documentai.v1.Document.Page] in a parent
+       * [Document][google.cloud.documentai.v1.Document]. Useful when a page is
+       * taken out of a [Document][google.cloud.documentai.v1.Document] for
+       * individual processing.
        * 
* * int32 page_number = 1; @@ -38689,9 +38982,11 @@ public Builder setPageNumber(int value) { * * *
-       * 1-based index for current [Page][google.cloud.documentai.v1.Document.Page] in a parent [Document][google.cloud.documentai.v1.Document].
-       * Useful when a page is taken out of a [Document][google.cloud.documentai.v1.Document] for individual
-       * processing.
+       * 1-based index for current
+       * [Page][google.cloud.documentai.v1.Document.Page] in a parent
+       * [Document][google.cloud.documentai.v1.Document]. Useful when a page is
+       * taken out of a [Document][google.cloud.documentai.v1.Document] for
+       * individual processing.
        * 
* * int32 page_number = 1; @@ -43697,7 +43992,7 @@ public Builder clearImageQualityScores() { * * * @deprecated google.cloud.documentai.v1.Document.Page.provenance is deprecated. See - * google/cloud/documentai/v1/document.proto;l=522 + * google/cloud/documentai/v1/document.proto;l=548 * @return Whether the provenance field is set. */ @java.lang.Deprecated @@ -43715,7 +44010,7 @@ public boolean hasProvenance() { * * * @deprecated google.cloud.documentai.v1.Document.Page.provenance is deprecated. See - * google/cloud/documentai/v1/document.proto;l=522 + * google/cloud/documentai/v1/document.proto;l=548 * @return The provenance. */ @java.lang.Deprecated @@ -43962,7 +44257,8 @@ public interface EntityOrBuilder * *
      * Optional. Provenance of the entity.
-     * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+     * Text anchor indexing into the
+     * [Document.text][google.cloud.documentai.v1.Document.text].
      * 
* * @@ -43977,7 +44273,8 @@ public interface EntityOrBuilder * *
      * Optional. Provenance of the entity.
-     * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+     * Text anchor indexing into the
+     * [Document.text][google.cloud.documentai.v1.Document.text].
      * 
* * @@ -43992,7 +44289,8 @@ public interface EntityOrBuilder * *
      * Optional. Provenance of the entity.
-     * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+     * Text anchor indexing into the
+     * [Document.text][google.cloud.documentai.v1.Document.text].
      * 
* * @@ -44093,8 +44391,8 @@ public interface EntityOrBuilder * * *
-     * Optional. Represents the provenance of this entity wrt. the location on the
-     * page where it was found.
+     * Optional. Represents the provenance of this entity wrt. the location on
+     * the page where it was found.
      * 
* * @@ -44108,8 +44406,8 @@ public interface EntityOrBuilder * * *
-     * Optional. Represents the provenance of this entity wrt. the location on the
-     * page where it was found.
+     * Optional. Represents the provenance of this entity wrt. the location on
+     * the page where it was found.
      * 
* * @@ -44123,8 +44421,8 @@ public interface EntityOrBuilder * * *
-     * Optional. Represents the provenance of this entity wrt. the location on the
-     * page where it was found.
+     * Optional. Represents the provenance of this entity wrt. the location on
+     * the page where it was found.
      * 
* * @@ -44164,8 +44462,8 @@ public interface EntityOrBuilder * * *
-     * Optional. Normalized entity value. Absent if the extracted value could not be
-     * converted or the type (e.g. address) is not supported for certain
+     * Optional. Normalized entity value. Absent if the extracted value could
+     * not be converted or the type (e.g. address) is not supported for certain
      * parsers. This field is also only populated for certain supported document
      * types.
      * 
@@ -44181,8 +44479,8 @@ public interface EntityOrBuilder * * *
-     * Optional. Normalized entity value. Absent if the extracted value could not be
-     * converted or the type (e.g. address) is not supported for certain
+     * Optional. Normalized entity value. Absent if the extracted value could
+     * not be converted or the type (e.g. address) is not supported for certain
      * parsers. This field is also only populated for certain supported document
      * types.
      * 
@@ -44198,8 +44496,8 @@ public interface EntityOrBuilder * * *
-     * Optional. Normalized entity value. Absent if the extracted value could not be
-     * converted or the type (e.g. address) is not supported for certain
+     * Optional. Normalized entity value. Absent if the extracted value could
+     * not be converted or the type (e.g. address) is not supported for certain
      * parsers. This field is also only populated for certain supported document
      * types.
      * 
@@ -44215,8 +44513,8 @@ public interface EntityOrBuilder * * *
-     * Optional. Entities can be nested to form a hierarchical data structure representing
-     * the content in the document.
+     * Optional. Entities can be nested to form a hierarchical data structure
+     * representing the content in the document.
      * 
* * @@ -44228,8 +44526,8 @@ public interface EntityOrBuilder * * *
-     * Optional. Entities can be nested to form a hierarchical data structure representing
-     * the content in the document.
+     * Optional. Entities can be nested to form a hierarchical data structure
+     * representing the content in the document.
      * 
* * @@ -44241,8 +44539,8 @@ public interface EntityOrBuilder * * *
-     * Optional. Entities can be nested to form a hierarchical data structure representing
-     * the content in the document.
+     * Optional. Entities can be nested to form a hierarchical data structure
+     * representing the content in the document.
      * 
* * @@ -44254,8 +44552,8 @@ public interface EntityOrBuilder * * *
-     * Optional. Entities can be nested to form a hierarchical data structure representing
-     * the content in the document.
+     * Optional. Entities can be nested to form a hierarchical data structure
+     * representing the content in the document.
      * 
* * @@ -44268,8 +44566,8 @@ public interface EntityOrBuilder * * *
-     * Optional. Entities can be nested to form a hierarchical data structure representing
-     * the content in the document.
+     * Optional. Entities can be nested to form a hierarchical data structure
+     * representing the content in the document.
      * 
* * @@ -44323,7 +44621,8 @@ public interface EntityOrBuilder * * *
-     * Optional. Whether the entity will be redacted for de-identification purposes.
+     * Optional. Whether the entity will be redacted for de-identification
+     * purposes.
      * 
* * bool redacted = 12 [(.google.api.field_behavior) = OPTIONAL]; @@ -47069,7 +47368,8 @@ public com.google.protobuf.Parser getParserForType() { * *
      * Optional. Provenance of the entity.
-     * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+     * Text anchor indexing into the
+     * [Document.text][google.cloud.documentai.v1.Document.text].
      * 
* * @@ -47087,7 +47387,8 @@ public boolean hasTextAnchor() { * *
      * Optional. Provenance of the entity.
-     * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+     * Text anchor indexing into the
+     * [Document.text][google.cloud.documentai.v1.Document.text].
      * 
* * @@ -47107,7 +47408,8 @@ public com.google.cloud.documentai.v1.Document.TextAnchor getTextAnchor() { * *
      * Optional. Provenance of the entity.
-     * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+     * Text anchor indexing into the
+     * [Document.text][google.cloud.documentai.v1.Document.text].
      * 
* * @@ -47298,8 +47600,8 @@ public float getConfidence() { * * *
-     * Optional. Represents the provenance of this entity wrt. the location on the
-     * page where it was found.
+     * Optional. Represents the provenance of this entity wrt. the location on
+     * the page where it was found.
      * 
* * @@ -47316,8 +47618,8 @@ public boolean hasPageAnchor() { * * *
-     * Optional. Represents the provenance of this entity wrt. the location on the
-     * page where it was found.
+     * Optional. Represents the provenance of this entity wrt. the location on
+     * the page where it was found.
      * 
* * @@ -47336,8 +47638,8 @@ public com.google.cloud.documentai.v1.Document.PageAnchor getPageAnchor() { * * *
-     * Optional. Represents the provenance of this entity wrt. the location on the
-     * page where it was found.
+     * Optional. Represents the provenance of this entity wrt. the location on
+     * the page where it was found.
      * 
* * @@ -47410,8 +47712,8 @@ public com.google.protobuf.ByteString getIdBytes() { * * *
-     * Optional. Normalized entity value. Absent if the extracted value could not be
-     * converted or the type (e.g. address) is not supported for certain
+     * Optional. Normalized entity value. Absent if the extracted value could
+     * not be converted or the type (e.g. address) is not supported for certain
      * parsers. This field is also only populated for certain supported document
      * types.
      * 
@@ -47430,8 +47732,8 @@ public boolean hasNormalizedValue() { * * *
-     * Optional. Normalized entity value. Absent if the extracted value could not be
-     * converted or the type (e.g. address) is not supported for certain
+     * Optional. Normalized entity value. Absent if the extracted value could
+     * not be converted or the type (e.g. address) is not supported for certain
      * parsers. This field is also only populated for certain supported document
      * types.
      * 
@@ -47452,8 +47754,8 @@ public com.google.cloud.documentai.v1.Document.Entity.NormalizedValue getNormali * * *
-     * Optional. Normalized entity value. Absent if the extracted value could not be
-     * converted or the type (e.g. address) is not supported for certain
+     * Optional. Normalized entity value. Absent if the extracted value could
+     * not be converted or the type (e.g. address) is not supported for certain
      * parsers. This field is also only populated for certain supported document
      * types.
      * 
@@ -47478,8 +47780,8 @@ public com.google.cloud.documentai.v1.Document.Entity.NormalizedValue getNormali * * *
-     * Optional. Entities can be nested to form a hierarchical data structure representing
-     * the content in the document.
+     * Optional. Entities can be nested to form a hierarchical data structure
+     * representing the content in the document.
      * 
* * @@ -47494,8 +47796,8 @@ public java.util.List getPropert * * *
-     * Optional. Entities can be nested to form a hierarchical data structure representing
-     * the content in the document.
+     * Optional. Entities can be nested to form a hierarchical data structure
+     * representing the content in the document.
      * 
* * @@ -47511,8 +47813,8 @@ public java.util.List getPropert * * *
-     * Optional. Entities can be nested to form a hierarchical data structure representing
-     * the content in the document.
+     * Optional. Entities can be nested to form a hierarchical data structure
+     * representing the content in the document.
      * 
* * @@ -47527,8 +47829,8 @@ public int getPropertiesCount() { * * *
-     * Optional. Entities can be nested to form a hierarchical data structure representing
-     * the content in the document.
+     * Optional. Entities can be nested to form a hierarchical data structure
+     * representing the content in the document.
      * 
* * @@ -47543,8 +47845,8 @@ public com.google.cloud.documentai.v1.Document.Entity getProperties(int index) { * * *
-     * Optional. Entities can be nested to form a hierarchical data structure representing
-     * the content in the document.
+     * Optional. Entities can be nested to form a hierarchical data structure
+     * representing the content in the document.
      * 
* * @@ -47619,7 +47921,8 @@ public com.google.cloud.documentai.v1.Document.ProvenanceOrBuilder getProvenance * * *
-     * Optional. Whether the entity will be redacted for de-identification purposes.
+     * Optional. Whether the entity will be redacted for de-identification
+     * purposes.
      * 
* * bool redacted = 12 [(.google.api.field_behavior) = OPTIONAL]; @@ -48328,7 +48631,8 @@ public Builder mergeFrom( * *
        * Optional. Provenance of the entity.
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * @@ -48345,7 +48649,8 @@ public boolean hasTextAnchor() { * *
        * Optional. Provenance of the entity.
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * @@ -48368,7 +48673,8 @@ public com.google.cloud.documentai.v1.Document.TextAnchor getTextAnchor() { * *
        * Optional. Provenance of the entity.
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * @@ -48393,7 +48699,8 @@ public Builder setTextAnchor(com.google.cloud.documentai.v1.Document.TextAnchor * *
        * Optional. Provenance of the entity.
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * @@ -48416,7 +48723,8 @@ public Builder setTextAnchor( * *
        * Optional. Provenance of the entity.
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * @@ -48447,7 +48755,8 @@ public Builder mergeTextAnchor(com.google.cloud.documentai.v1.Document.TextAncho * *
        * Optional. Provenance of the entity.
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * @@ -48469,7 +48778,8 @@ public Builder clearTextAnchor() { * *
        * Optional. Provenance of the entity.
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * @@ -48486,7 +48796,8 @@ public com.google.cloud.documentai.v1.Document.TextAnchor.Builder getTextAnchorB * *
        * Optional. Provenance of the entity.
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * @@ -48507,7 +48818,8 @@ public com.google.cloud.documentai.v1.Document.TextAnchorOrBuilder getTextAnchor * *
        * Optional. Provenance of the entity.
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * @@ -48912,8 +49224,8 @@ public Builder clearConfidence() { * * *
-       * Optional. Represents the provenance of this entity wrt. the location on the
-       * page where it was found.
+       * Optional. Represents the provenance of this entity wrt. the location on
+       * the page where it was found.
        * 
* * @@ -48929,8 +49241,8 @@ public boolean hasPageAnchor() { * * *
-       * Optional. Represents the provenance of this entity wrt. the location on the
-       * page where it was found.
+       * Optional. Represents the provenance of this entity wrt. the location on
+       * the page where it was found.
        * 
* * @@ -48952,8 +49264,8 @@ public com.google.cloud.documentai.v1.Document.PageAnchor getPageAnchor() { * * *
-       * Optional. Represents the provenance of this entity wrt. the location on the
-       * page where it was found.
+       * Optional. Represents the provenance of this entity wrt. the location on
+       * the page where it was found.
        * 
* * @@ -48977,8 +49289,8 @@ public Builder setPageAnchor(com.google.cloud.documentai.v1.Document.PageAnchor * * *
-       * Optional. Represents the provenance of this entity wrt. the location on the
-       * page where it was found.
+       * Optional. Represents the provenance of this entity wrt. the location on
+       * the page where it was found.
        * 
* * @@ -49000,8 +49312,8 @@ public Builder setPageAnchor( * * *
-       * Optional. Represents the provenance of this entity wrt. the location on the
-       * page where it was found.
+       * Optional. Represents the provenance of this entity wrt. the location on
+       * the page where it was found.
        * 
* * @@ -49031,8 +49343,8 @@ public Builder mergePageAnchor(com.google.cloud.documentai.v1.Document.PageAncho * * *
-       * Optional. Represents the provenance of this entity wrt. the location on the
-       * page where it was found.
+       * Optional. Represents the provenance of this entity wrt. the location on
+       * the page where it was found.
        * 
* * @@ -49053,8 +49365,8 @@ public Builder clearPageAnchor() { * * *
-       * Optional. Represents the provenance of this entity wrt. the location on the
-       * page where it was found.
+       * Optional. Represents the provenance of this entity wrt. the location on
+       * the page where it was found.
        * 
* * @@ -49070,8 +49382,8 @@ public com.google.cloud.documentai.v1.Document.PageAnchor.Builder getPageAnchorB * * *
-       * Optional. Represents the provenance of this entity wrt. the location on the
-       * page where it was found.
+       * Optional. Represents the provenance of this entity wrt. the location on
+       * the page where it was found.
        * 
* * @@ -49091,8 +49403,8 @@ public com.google.cloud.documentai.v1.Document.PageAnchorOrBuilder getPageAnchor * * *
-       * Optional. Represents the provenance of this entity wrt. the location on the
-       * page where it was found.
+       * Optional. Represents the provenance of this entity wrt. the location on
+       * the page where it was found.
        * 
* * @@ -49237,8 +49549,8 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { * * *
-       * Optional. Normalized entity value. Absent if the extracted value could not be
-       * converted or the type (e.g. address) is not supported for certain
+       * Optional. Normalized entity value. Absent if the extracted value could
+       * not be converted or the type (e.g. address) is not supported for certain
        * parsers. This field is also only populated for certain supported document
        * types.
        * 
@@ -49256,8 +49568,8 @@ public boolean hasNormalizedValue() { * * *
-       * Optional. Normalized entity value. Absent if the extracted value could not be
-       * converted or the type (e.g. address) is not supported for certain
+       * Optional. Normalized entity value. Absent if the extracted value could
+       * not be converted or the type (e.g. address) is not supported for certain
        * parsers. This field is also only populated for certain supported document
        * types.
        * 
@@ -49281,8 +49593,8 @@ public com.google.cloud.documentai.v1.Document.Entity.NormalizedValue getNormali * * *
-       * Optional. Normalized entity value. Absent if the extracted value could not be
-       * converted or the type (e.g. address) is not supported for certain
+       * Optional. Normalized entity value. Absent if the extracted value could
+       * not be converted or the type (e.g. address) is not supported for certain
        * parsers. This field is also only populated for certain supported document
        * types.
        * 
@@ -49309,8 +49621,8 @@ public Builder setNormalizedValue( * * *
-       * Optional. Normalized entity value. Absent if the extracted value could not be
-       * converted or the type (e.g. address) is not supported for certain
+       * Optional. Normalized entity value. Absent if the extracted value could
+       * not be converted or the type (e.g. address) is not supported for certain
        * parsers. This field is also only populated for certain supported document
        * types.
        * 
@@ -49334,8 +49646,8 @@ public Builder setNormalizedValue( * * *
-       * Optional. Normalized entity value. Absent if the extracted value could not be
-       * converted or the type (e.g. address) is not supported for certain
+       * Optional. Normalized entity value. Absent if the extracted value could
+       * not be converted or the type (e.g. address) is not supported for certain
        * parsers. This field is also only populated for certain supported document
        * types.
        * 
@@ -49369,8 +49681,8 @@ public Builder mergeNormalizedValue( * * *
-       * Optional. Normalized entity value. Absent if the extracted value could not be
-       * converted or the type (e.g. address) is not supported for certain
+       * Optional. Normalized entity value. Absent if the extracted value could
+       * not be converted or the type (e.g. address) is not supported for certain
        * parsers. This field is also only populated for certain supported document
        * types.
        * 
@@ -49393,8 +49705,8 @@ public Builder clearNormalizedValue() { * * *
-       * Optional. Normalized entity value. Absent if the extracted value could not be
-       * converted or the type (e.g. address) is not supported for certain
+       * Optional. Normalized entity value. Absent if the extracted value could
+       * not be converted or the type (e.g. address) is not supported for certain
        * parsers. This field is also only populated for certain supported document
        * types.
        * 
@@ -49413,8 +49725,8 @@ public Builder clearNormalizedValue() { * * *
-       * Optional. Normalized entity value. Absent if the extracted value could not be
-       * converted or the type (e.g. address) is not supported for certain
+       * Optional. Normalized entity value. Absent if the extracted value could
+       * not be converted or the type (e.g. address) is not supported for certain
        * parsers. This field is also only populated for certain supported document
        * types.
        * 
@@ -49437,8 +49749,8 @@ public Builder clearNormalizedValue() { * * *
-       * Optional. Normalized entity value. Absent if the extracted value could not be
-       * converted or the type (e.g. address) is not supported for certain
+       * Optional. Normalized entity value. Absent if the extracted value could
+       * not be converted or the type (e.g. address) is not supported for certain
        * parsers. This field is also only populated for certain supported document
        * types.
        * 
@@ -49485,8 +49797,8 @@ private void ensurePropertiesIsMutable() { * * *
-       * Optional. Entities can be nested to form a hierarchical data structure representing
-       * the content in the document.
+       * Optional. Entities can be nested to form a hierarchical data structure
+       * representing the content in the document.
        * 
* * @@ -49504,8 +49816,8 @@ public java.util.List getPropert * * *
-       * Optional. Entities can be nested to form a hierarchical data structure representing
-       * the content in the document.
+       * Optional. Entities can be nested to form a hierarchical data structure
+       * representing the content in the document.
        * 
* * @@ -49523,8 +49835,8 @@ public int getPropertiesCount() { * * *
-       * Optional. Entities can be nested to form a hierarchical data structure representing
-       * the content in the document.
+       * Optional. Entities can be nested to form a hierarchical data structure
+       * representing the content in the document.
        * 
* * @@ -49542,8 +49854,8 @@ public com.google.cloud.documentai.v1.Document.Entity getProperties(int index) { * * *
-       * Optional. Entities can be nested to form a hierarchical data structure representing
-       * the content in the document.
+       * Optional. Entities can be nested to form a hierarchical data structure
+       * representing the content in the document.
        * 
* * @@ -49568,8 +49880,8 @@ public Builder setProperties( * * *
-       * Optional. Entities can be nested to form a hierarchical data structure representing
-       * the content in the document.
+       * Optional. Entities can be nested to form a hierarchical data structure
+       * representing the content in the document.
        * 
* * @@ -49591,8 +49903,8 @@ public Builder setProperties( * * *
-       * Optional. Entities can be nested to form a hierarchical data structure representing
-       * the content in the document.
+       * Optional. Entities can be nested to form a hierarchical data structure
+       * representing the content in the document.
        * 
* * @@ -49616,8 +49928,8 @@ public Builder addProperties(com.google.cloud.documentai.v1.Document.Entity valu * * *
-       * Optional. Entities can be nested to form a hierarchical data structure representing
-       * the content in the document.
+       * Optional. Entities can be nested to form a hierarchical data structure
+       * representing the content in the document.
        * 
* * @@ -49642,8 +49954,8 @@ public Builder addProperties( * * *
-       * Optional. Entities can be nested to form a hierarchical data structure representing
-       * the content in the document.
+       * Optional. Entities can be nested to form a hierarchical data structure
+       * representing the content in the document.
        * 
* * @@ -49665,8 +49977,8 @@ public Builder addProperties( * * *
-       * Optional. Entities can be nested to form a hierarchical data structure representing
-       * the content in the document.
+       * Optional. Entities can be nested to form a hierarchical data structure
+       * representing the content in the document.
        * 
* * @@ -49688,8 +50000,8 @@ public Builder addProperties( * * *
-       * Optional. Entities can be nested to form a hierarchical data structure representing
-       * the content in the document.
+       * Optional. Entities can be nested to form a hierarchical data structure
+       * representing the content in the document.
        * 
* * @@ -49711,8 +50023,8 @@ public Builder addAllProperties( * * *
-       * Optional. Entities can be nested to form a hierarchical data structure representing
-       * the content in the document.
+       * Optional. Entities can be nested to form a hierarchical data structure
+       * representing the content in the document.
        * 
* * @@ -49733,8 +50045,8 @@ public Builder clearProperties() { * * *
-       * Optional. Entities can be nested to form a hierarchical data structure representing
-       * the content in the document.
+       * Optional. Entities can be nested to form a hierarchical data structure
+       * representing the content in the document.
        * 
* * @@ -49755,8 +50067,8 @@ public Builder removeProperties(int index) { * * *
-       * Optional. Entities can be nested to form a hierarchical data structure representing
-       * the content in the document.
+       * Optional. Entities can be nested to form a hierarchical data structure
+       * representing the content in the document.
        * 
* * @@ -49771,8 +50083,8 @@ public com.google.cloud.documentai.v1.Document.Entity.Builder getPropertiesBuild * * *
-       * Optional. Entities can be nested to form a hierarchical data structure representing
-       * the content in the document.
+       * Optional. Entities can be nested to form a hierarchical data structure
+       * representing the content in the document.
        * 
* * @@ -49791,8 +50103,8 @@ public com.google.cloud.documentai.v1.Document.EntityOrBuilder getPropertiesOrBu * * *
-       * Optional. Entities can be nested to form a hierarchical data structure representing
-       * the content in the document.
+       * Optional. Entities can be nested to form a hierarchical data structure
+       * representing the content in the document.
        * 
* * @@ -49811,8 +50123,8 @@ public com.google.cloud.documentai.v1.Document.EntityOrBuilder getPropertiesOrBu * * *
-       * Optional. Entities can be nested to form a hierarchical data structure representing
-       * the content in the document.
+       * Optional. Entities can be nested to form a hierarchical data structure
+       * representing the content in the document.
        * 
* * @@ -49827,8 +50139,8 @@ public com.google.cloud.documentai.v1.Document.Entity.Builder addPropertiesBuild * * *
-       * Optional. Entities can be nested to form a hierarchical data structure representing
-       * the content in the document.
+       * Optional. Entities can be nested to form a hierarchical data structure
+       * representing the content in the document.
        * 
* * @@ -49844,8 +50156,8 @@ public com.google.cloud.documentai.v1.Document.Entity.Builder addPropertiesBuild * * *
-       * Optional. Entities can be nested to form a hierarchical data structure representing
-       * the content in the document.
+       * Optional. Entities can be nested to form a hierarchical data structure
+       * representing the content in the document.
        * 
* * @@ -50084,7 +50396,8 @@ public com.google.cloud.documentai.v1.Document.ProvenanceOrBuilder getProvenance * * *
-       * Optional. Whether the entity will be redacted for de-identification purposes.
+       * Optional. Whether the entity will be redacted for de-identification
+       * purposes.
        * 
* * bool redacted = 12 [(.google.api.field_behavior) = OPTIONAL]; @@ -50099,7 +50412,8 @@ public boolean getRedacted() { * * *
-       * Optional. Whether the entity will be redacted for de-identification purposes.
+       * Optional. Whether the entity will be redacted for de-identification
+       * purposes.
        * 
* * bool redacted = 12 [(.google.api.field_behavior) = OPTIONAL]; @@ -50118,7 +50432,8 @@ public Builder setRedacted(boolean value) { * * *
-       * Optional. Whether the entity will be redacted for de-identification purposes.
+       * Optional. Whether the entity will be redacted for de-identification
+       * purposes.
        * 
* * bool redacted = 12 [(.google.api.field_behavior) = OPTIONAL]; @@ -50280,7 +50595,8 @@ public interface EntityRelationOrBuilder * * *
-   * Relationship between [Entities][google.cloud.documentai.v1.Document.Entity].
+   * Relationship between
+   * [Entities][google.cloud.documentai.v1.Document.Entity].
    * 
* * Protobuf type {@code google.cloud.documentai.v1.Document.EntityRelation} @@ -50658,7 +50974,8 @@ protected Builder newBuilderForType( * * *
-     * Relationship between [Entities][google.cloud.documentai.v1.Document.Entity].
+     * Relationship between
+     * [Entities][google.cloud.documentai.v1.Document.Entity].
      * 
* * Protobuf type {@code google.cloud.documentai.v1.Document.EntityRelation} @@ -51261,7 +51578,8 @@ public interface TextAnchorOrBuilder * * *
-     * The text segments from the [Document.text][google.cloud.documentai.v1.Document.text].
+     * The text segments from the
+     * [Document.text][google.cloud.documentai.v1.Document.text].
      * 
* * repeated .google.cloud.documentai.v1.Document.TextAnchor.TextSegment text_segments = 1; @@ -51273,7 +51591,8 @@ public interface TextAnchorOrBuilder * * *
-     * The text segments from the [Document.text][google.cloud.documentai.v1.Document.text].
+     * The text segments from the
+     * [Document.text][google.cloud.documentai.v1.Document.text].
      * 
* * repeated .google.cloud.documentai.v1.Document.TextAnchor.TextSegment text_segments = 1; @@ -51284,7 +51603,8 @@ public interface TextAnchorOrBuilder * * *
-     * The text segments from the [Document.text][google.cloud.documentai.v1.Document.text].
+     * The text segments from the
+     * [Document.text][google.cloud.documentai.v1.Document.text].
      * 
* * repeated .google.cloud.documentai.v1.Document.TextAnchor.TextSegment text_segments = 1; @@ -51295,7 +51615,8 @@ public interface TextAnchorOrBuilder * * *
-     * The text segments from the [Document.text][google.cloud.documentai.v1.Document.text].
+     * The text segments from the
+     * [Document.text][google.cloud.documentai.v1.Document.text].
      * 
* * repeated .google.cloud.documentai.v1.Document.TextAnchor.TextSegment text_segments = 1; @@ -51308,7 +51629,8 @@ public interface TextAnchorOrBuilder * * *
-     * The text segments from the [Document.text][google.cloud.documentai.v1.Document.text].
+     * The text segments from the
+     * [Document.text][google.cloud.documentai.v1.Document.text].
      * 
* * repeated .google.cloud.documentai.v1.Document.TextAnchor.TextSegment text_segments = 1; @@ -51350,7 +51672,8 @@ public interface TextAnchorOrBuilder * * *
-   * Text reference indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+   * Text reference indexing into the
+   * [Document.text][google.cloud.documentai.v1.Document.text].
    * 
* * Protobuf type {@code google.cloud.documentai.v1.Document.TextAnchor} @@ -51400,7 +51723,9 @@ public interface TextSegmentOrBuilder * * *
-       * [TextSegment][google.cloud.documentai.v1.Document.TextAnchor.TextSegment] start UTF-8 char index in the [Document.text][google.cloud.documentai.v1.Document.text].
+       * [TextSegment][google.cloud.documentai.v1.Document.TextAnchor.TextSegment]
+       * start UTF-8 char index in the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * int64 start_index = 1; @@ -51413,7 +51738,8 @@ public interface TextSegmentOrBuilder * * *
-       * [TextSegment][google.cloud.documentai.v1.Document.TextAnchor.TextSegment] half open end UTF-8 char index in the
+       * [TextSegment][google.cloud.documentai.v1.Document.TextAnchor.TextSegment]
+       * half open end UTF-8 char index in the
        * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* @@ -51427,9 +51753,11 @@ public interface TextSegmentOrBuilder * * *
-     * A text segment in the [Document.text][google.cloud.documentai.v1.Document.text]. The indices may be out of bounds
-     * which indicate that the text extends into another document shard for
-     * large sharded documents. See [ShardInfo.text_offset][google.cloud.documentai.v1.Document.ShardInfo.text_offset]
+     * A text segment in the
+     * [Document.text][google.cloud.documentai.v1.Document.text]. The indices
+     * may be out of bounds which indicate that the text extends into another
+     * document shard for large sharded documents. See
+     * [ShardInfo.text_offset][google.cloud.documentai.v1.Document.ShardInfo.text_offset]
      * 
* * Protobuf type {@code google.cloud.documentai.v1.Document.TextAnchor.TextSegment} @@ -51473,7 +51801,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-       * [TextSegment][google.cloud.documentai.v1.Document.TextAnchor.TextSegment] start UTF-8 char index in the [Document.text][google.cloud.documentai.v1.Document.text].
+       * [TextSegment][google.cloud.documentai.v1.Document.TextAnchor.TextSegment]
+       * start UTF-8 char index in the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * int64 start_index = 1; @@ -51491,7 +51821,8 @@ public long getStartIndex() { * * *
-       * [TextSegment][google.cloud.documentai.v1.Document.TextAnchor.TextSegment] half open end UTF-8 char index in the
+       * [TextSegment][google.cloud.documentai.v1.Document.TextAnchor.TextSegment]
+       * half open end UTF-8 char index in the
        * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* @@ -51680,9 +52011,11 @@ protected Builder newBuilderForType( * * *
-       * A text segment in the [Document.text][google.cloud.documentai.v1.Document.text]. The indices may be out of bounds
-       * which indicate that the text extends into another document shard for
-       * large sharded documents. See [ShardInfo.text_offset][google.cloud.documentai.v1.Document.ShardInfo.text_offset]
+       * A text segment in the
+       * [Document.text][google.cloud.documentai.v1.Document.text]. The indices
+       * may be out of bounds which indicate that the text extends into another
+       * document shard for large sharded documents. See
+       * [ShardInfo.text_offset][google.cloud.documentai.v1.Document.ShardInfo.text_offset]
        * 
* * Protobuf type {@code google.cloud.documentai.v1.Document.TextAnchor.TextSegment} @@ -51887,7 +52220,9 @@ public Builder mergeFrom( * * *
-         * [TextSegment][google.cloud.documentai.v1.Document.TextAnchor.TextSegment] start UTF-8 char index in the [Document.text][google.cloud.documentai.v1.Document.text].
+         * [TextSegment][google.cloud.documentai.v1.Document.TextAnchor.TextSegment]
+         * start UTF-8 char index in the
+         * [Document.text][google.cloud.documentai.v1.Document.text].
          * 
* * int64 start_index = 1; @@ -51902,7 +52237,9 @@ public long getStartIndex() { * * *
-         * [TextSegment][google.cloud.documentai.v1.Document.TextAnchor.TextSegment] start UTF-8 char index in the [Document.text][google.cloud.documentai.v1.Document.text].
+         * [TextSegment][google.cloud.documentai.v1.Document.TextAnchor.TextSegment]
+         * start UTF-8 char index in the
+         * [Document.text][google.cloud.documentai.v1.Document.text].
          * 
* * int64 start_index = 1; @@ -51921,7 +52258,9 @@ public Builder setStartIndex(long value) { * * *
-         * [TextSegment][google.cloud.documentai.v1.Document.TextAnchor.TextSegment] start UTF-8 char index in the [Document.text][google.cloud.documentai.v1.Document.text].
+         * [TextSegment][google.cloud.documentai.v1.Document.TextAnchor.TextSegment]
+         * start UTF-8 char index in the
+         * [Document.text][google.cloud.documentai.v1.Document.text].
          * 
* * int64 start_index = 1; @@ -51940,7 +52279,8 @@ public Builder clearStartIndex() { * * *
-         * [TextSegment][google.cloud.documentai.v1.Document.TextAnchor.TextSegment] half open end UTF-8 char index in the
+         * [TextSegment][google.cloud.documentai.v1.Document.TextAnchor.TextSegment]
+         * half open end UTF-8 char index in the
          * [Document.text][google.cloud.documentai.v1.Document.text].
          * 
* @@ -51956,7 +52296,8 @@ public long getEndIndex() { * * *
-         * [TextSegment][google.cloud.documentai.v1.Document.TextAnchor.TextSegment] half open end UTF-8 char index in the
+         * [TextSegment][google.cloud.documentai.v1.Document.TextAnchor.TextSegment]
+         * half open end UTF-8 char index in the
          * [Document.text][google.cloud.documentai.v1.Document.text].
          * 
* @@ -51976,7 +52317,8 @@ public Builder setEndIndex(long value) { * * *
-         * [TextSegment][google.cloud.documentai.v1.Document.TextAnchor.TextSegment] half open end UTF-8 char index in the
+         * [TextSegment][google.cloud.documentai.v1.Document.TextAnchor.TextSegment]
+         * half open end UTF-8 char index in the
          * [Document.text][google.cloud.documentai.v1.Document.text].
          * 
* @@ -52067,7 +52409,8 @@ public com.google.protobuf.Parser getParserForType() { * * *
-     * The text segments from the [Document.text][google.cloud.documentai.v1.Document.text].
+     * The text segments from the
+     * [Document.text][google.cloud.documentai.v1.Document.text].
      * 
* * repeated .google.cloud.documentai.v1.Document.TextAnchor.TextSegment text_segments = 1; @@ -52082,7 +52425,8 @@ public com.google.protobuf.Parser getParserForType() { * * *
-     * The text segments from the [Document.text][google.cloud.documentai.v1.Document.text].
+     * The text segments from the
+     * [Document.text][google.cloud.documentai.v1.Document.text].
      * 
* * repeated .google.cloud.documentai.v1.Document.TextAnchor.TextSegment text_segments = 1; @@ -52098,7 +52442,8 @@ public com.google.protobuf.Parser getParserForType() { * * *
-     * The text segments from the [Document.text][google.cloud.documentai.v1.Document.text].
+     * The text segments from the
+     * [Document.text][google.cloud.documentai.v1.Document.text].
      * 
* * repeated .google.cloud.documentai.v1.Document.TextAnchor.TextSegment text_segments = 1; @@ -52112,7 +52457,8 @@ public int getTextSegmentsCount() { * * *
-     * The text segments from the [Document.text][google.cloud.documentai.v1.Document.text].
+     * The text segments from the
+     * [Document.text][google.cloud.documentai.v1.Document.text].
      * 
* * repeated .google.cloud.documentai.v1.Document.TextAnchor.TextSegment text_segments = 1; @@ -52127,7 +52473,8 @@ public com.google.cloud.documentai.v1.Document.TextAnchor.TextSegment getTextSeg * * *
-     * The text segments from the [Document.text][google.cloud.documentai.v1.Document.text].
+     * The text segments from the
+     * [Document.text][google.cloud.documentai.v1.Document.text].
      * 
* * repeated .google.cloud.documentai.v1.Document.TextAnchor.TextSegment text_segments = 1; @@ -52369,7 +52716,8 @@ protected Builder newBuilderForType( * * *
-     * Text reference indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
+     * Text reference indexing into the
+     * [Document.text][google.cloud.documentai.v1.Document.text].
      * 
* * Protobuf type {@code google.cloud.documentai.v1.Document.TextAnchor} @@ -52635,7 +52983,8 @@ private void ensureTextSegmentsIsMutable() { * * *
-       * The text segments from the [Document.text][google.cloud.documentai.v1.Document.text].
+       * The text segments from the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * @@ -52654,7 +53003,8 @@ private void ensureTextSegmentsIsMutable() { * * *
-       * The text segments from the [Document.text][google.cloud.documentai.v1.Document.text].
+       * The text segments from the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * @@ -52672,7 +53022,8 @@ public int getTextSegmentsCount() { * * *
-       * The text segments from the [Document.text][google.cloud.documentai.v1.Document.text].
+       * The text segments from the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * @@ -52691,7 +53042,8 @@ public com.google.cloud.documentai.v1.Document.TextAnchor.TextSegment getTextSeg * * *
-       * The text segments from the [Document.text][google.cloud.documentai.v1.Document.text].
+       * The text segments from the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * @@ -52716,7 +53068,8 @@ public Builder setTextSegments( * * *
-       * The text segments from the [Document.text][google.cloud.documentai.v1.Document.text].
+       * The text segments from the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * @@ -52739,7 +53092,8 @@ public Builder setTextSegments( * * *
-       * The text segments from the [Document.text][google.cloud.documentai.v1.Document.text].
+       * The text segments from the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * @@ -52764,7 +53118,8 @@ public Builder addTextSegments( * * *
-       * The text segments from the [Document.text][google.cloud.documentai.v1.Document.text].
+       * The text segments from the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * @@ -52789,7 +53144,8 @@ public Builder addTextSegments( * * *
-       * The text segments from the [Document.text][google.cloud.documentai.v1.Document.text].
+       * The text segments from the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * @@ -52811,7 +53167,8 @@ public Builder addTextSegments( * * *
-       * The text segments from the [Document.text][google.cloud.documentai.v1.Document.text].
+       * The text segments from the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * @@ -52834,7 +53191,8 @@ public Builder addTextSegments( * * *
-       * The text segments from the [Document.text][google.cloud.documentai.v1.Document.text].
+       * The text segments from the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * @@ -52858,7 +53216,8 @@ public Builder addAllTextSegments( * * *
-       * The text segments from the [Document.text][google.cloud.documentai.v1.Document.text].
+       * The text segments from the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * @@ -52879,7 +53238,8 @@ public Builder clearTextSegments() { * * *
-       * The text segments from the [Document.text][google.cloud.documentai.v1.Document.text].
+       * The text segments from the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * @@ -52900,7 +53260,8 @@ public Builder removeTextSegments(int index) { * * *
-       * The text segments from the [Document.text][google.cloud.documentai.v1.Document.text].
+       * The text segments from the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * @@ -52915,7 +53276,8 @@ public Builder removeTextSegments(int index) { * * *
-       * The text segments from the [Document.text][google.cloud.documentai.v1.Document.text].
+       * The text segments from the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * @@ -52934,7 +53296,8 @@ public Builder removeTextSegments(int index) { * * *
-       * The text segments from the [Document.text][google.cloud.documentai.v1.Document.text].
+       * The text segments from the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * @@ -52954,7 +53317,8 @@ public Builder removeTextSegments(int index) { * * *
-       * The text segments from the [Document.text][google.cloud.documentai.v1.Document.text].
+       * The text segments from the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * @@ -52972,7 +53336,8 @@ public Builder removeTextSegments(int index) { * * *
-       * The text segments from the [Document.text][google.cloud.documentai.v1.Document.text].
+       * The text segments from the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * @@ -52991,7 +53356,8 @@ public Builder removeTextSegments(int index) { * * *
-       * The text segments from the [Document.text][google.cloud.documentai.v1.Document.text].
+       * The text segments from the
+       * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * @@ -53265,9 +53631,10 @@ com.google.cloud.documentai.v1.Document.PageAnchor.PageRefOrBuilder getPageRefsO * * *
-   * Referencing the visual context of the entity in the [Document.pages][google.cloud.documentai.v1.Document.pages].
-   * Page anchors can be cross-page, consist of multiple bounding polygons and
-   * optionally reference specific layout element types.
+   * Referencing the visual context of the entity in the
+   * [Document.pages][google.cloud.documentai.v1.Document.pages]. Page anchors
+   * can be cross-page, consist of multiple bounding polygons and optionally
+   * reference specific layout element types.
    * 
* * Protobuf type {@code google.cloud.documentai.v1.Document.PageAnchor} @@ -53316,7 +53683,9 @@ public interface PageRefOrBuilder * * *
-       * Required. Index into the [Document.pages][google.cloud.documentai.v1.Document.pages] element, for example using
+       * Required. Index into the
+       * [Document.pages][google.cloud.documentai.v1.Document.pages] element,
+       * for example using
        * `[Document.pages][page_refs.page]` to locate the related page element.
        * This field is skipped when its value is the default `0`. See
        * https://developers.google.com/protocol-buffers/docs/proto3#json.
@@ -53332,7 +53701,8 @@ public interface PageRefOrBuilder
        *
        *
        * 
-       * Optional. The type of the layout element that is being referenced if any.
+       * Optional. The type of the layout element that is being referenced if
+       * any.
        * 
* * @@ -53346,7 +53716,8 @@ public interface PageRefOrBuilder * * *
-       * Optional. The type of the layout element that is being referenced if any.
+       * Optional. The type of the layout element that is being referenced if
+       * any.
        * 
* * @@ -53361,14 +53732,16 @@ public interface PageRefOrBuilder * * *
-       * Optional. Deprecated.  Use [PageRef.bounding_poly][google.cloud.documentai.v1.Document.PageAnchor.PageRef.bounding_poly] instead.
+       * Optional. Deprecated.  Use
+       * [PageRef.bounding_poly][google.cloud.documentai.v1.Document.PageAnchor.PageRef.bounding_poly]
+       * instead.
        * 
* * string layout_id = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * * @deprecated google.cloud.documentai.v1.Document.PageAnchor.PageRef.layout_id is deprecated. - * See google/cloud/documentai/v1/document.proto;l=696 + * See google/cloud/documentai/v1/document.proto;l=752 * @return The layoutId. */ @java.lang.Deprecated @@ -53377,14 +53750,16 @@ public interface PageRefOrBuilder * * *
-       * Optional. Deprecated.  Use [PageRef.bounding_poly][google.cloud.documentai.v1.Document.PageAnchor.PageRef.bounding_poly] instead.
+       * Optional. Deprecated.  Use
+       * [PageRef.bounding_poly][google.cloud.documentai.v1.Document.PageAnchor.PageRef.bounding_poly]
+       * instead.
        * 
* * string layout_id = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * * @deprecated google.cloud.documentai.v1.Document.PageAnchor.PageRef.layout_id is deprecated. - * See google/cloud/documentai/v1/document.proto;l=696 + * See google/cloud/documentai/v1/document.proto;l=752 * @return The bytes for layoutId. */ @java.lang.Deprecated @@ -53394,9 +53769,9 @@ public interface PageRefOrBuilder * * *
-       * Optional. Identifies the bounding polygon of a layout element on the page.
-       * If `layout_type` is set, the bounding polygon must be exactly the same
-       * to the layout element it's referring to.
+       * Optional. Identifies the bounding polygon of a layout element on the
+       * page. If `layout_type` is set, the bounding polygon must be exactly the
+       * same to the layout element it's referring to.
        * 
* * @@ -53410,9 +53785,9 @@ public interface PageRefOrBuilder * * *
-       * Optional. Identifies the bounding polygon of a layout element on the page.
-       * If `layout_type` is set, the bounding polygon must be exactly the same
-       * to the layout element it's referring to.
+       * Optional. Identifies the bounding polygon of a layout element on the
+       * page. If `layout_type` is set, the bounding polygon must be exactly the
+       * same to the layout element it's referring to.
        * 
* * @@ -53426,9 +53801,9 @@ public interface PageRefOrBuilder * * *
-       * Optional. Identifies the bounding polygon of a layout element on the page.
-       * If `layout_type` is set, the bounding polygon must be exactly the same
-       * to the layout element it's referring to.
+       * Optional. Identifies the bounding polygon of a layout element on the
+       * page. If `layout_type` is set, the bounding polygon must be exactly the
+       * same to the layout element it's referring to.
        * 
* * @@ -53441,7 +53816,8 @@ public interface PageRefOrBuilder * * *
-       * Optional. Confidence of detected page element, if applicable. Range `[0, 1]`.
+       * Optional. Confidence of detected page element, if applicable. Range
+       * `[0, 1]`.
        * 
* * float confidence = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -53519,7 +53895,9 @@ public enum LayoutType implements com.google.protobuf.ProtocolMessageEnum { * * *
-         * References a [Page.blocks][google.cloud.documentai.v1.Document.Page.blocks] element.
+         * References a
+         * [Page.blocks][google.cloud.documentai.v1.Document.Page.blocks]
+         * element.
          * 
* * BLOCK = 1; @@ -53529,7 +53907,9 @@ public enum LayoutType implements com.google.protobuf.ProtocolMessageEnum { * * *
-         * References a [Page.paragraphs][google.cloud.documentai.v1.Document.Page.paragraphs] element.
+         * References a
+         * [Page.paragraphs][google.cloud.documentai.v1.Document.Page.paragraphs]
+         * element.
          * 
* * PARAGRAPH = 2; @@ -53539,7 +53919,8 @@ public enum LayoutType implements com.google.protobuf.ProtocolMessageEnum { * * *
-         * References a [Page.lines][google.cloud.documentai.v1.Document.Page.lines] element.
+         * References a
+         * [Page.lines][google.cloud.documentai.v1.Document.Page.lines] element.
          * 
* * LINE = 3; @@ -53549,7 +53930,9 @@ public enum LayoutType implements com.google.protobuf.ProtocolMessageEnum { * * *
-         * References a [Page.tokens][google.cloud.documentai.v1.Document.Page.tokens] element.
+         * References a
+         * [Page.tokens][google.cloud.documentai.v1.Document.Page.tokens]
+         * element.
          * 
* * TOKEN = 4; @@ -53559,7 +53942,9 @@ public enum LayoutType implements com.google.protobuf.ProtocolMessageEnum { * * *
-         * References a [Page.visual_elements][google.cloud.documentai.v1.Document.Page.visual_elements] element.
+         * References a
+         * [Page.visual_elements][google.cloud.documentai.v1.Document.Page.visual_elements]
+         * element.
          * 
* * VISUAL_ELEMENT = 5; @@ -53569,7 +53954,9 @@ public enum LayoutType implements com.google.protobuf.ProtocolMessageEnum { * * *
-         * Refrrences a [Page.tables][google.cloud.documentai.v1.Document.Page.tables] element.
+         * Refrrences a
+         * [Page.tables][google.cloud.documentai.v1.Document.Page.tables]
+         * element.
          * 
* * TABLE = 6; @@ -53579,7 +53966,9 @@ public enum LayoutType implements com.google.protobuf.ProtocolMessageEnum { * * *
-         * References a [Page.form_fields][google.cloud.documentai.v1.Document.Page.form_fields] element.
+         * References a
+         * [Page.form_fields][google.cloud.documentai.v1.Document.Page.form_fields]
+         * element.
          * 
* * FORM_FIELD = 7; @@ -53602,7 +53991,9 @@ public enum LayoutType implements com.google.protobuf.ProtocolMessageEnum { * * *
-         * References a [Page.blocks][google.cloud.documentai.v1.Document.Page.blocks] element.
+         * References a
+         * [Page.blocks][google.cloud.documentai.v1.Document.Page.blocks]
+         * element.
          * 
* * BLOCK = 1; @@ -53612,7 +54003,9 @@ public enum LayoutType implements com.google.protobuf.ProtocolMessageEnum { * * *
-         * References a [Page.paragraphs][google.cloud.documentai.v1.Document.Page.paragraphs] element.
+         * References a
+         * [Page.paragraphs][google.cloud.documentai.v1.Document.Page.paragraphs]
+         * element.
          * 
* * PARAGRAPH = 2; @@ -53622,7 +54015,8 @@ public enum LayoutType implements com.google.protobuf.ProtocolMessageEnum { * * *
-         * References a [Page.lines][google.cloud.documentai.v1.Document.Page.lines] element.
+         * References a
+         * [Page.lines][google.cloud.documentai.v1.Document.Page.lines] element.
          * 
* * LINE = 3; @@ -53632,7 +54026,9 @@ public enum LayoutType implements com.google.protobuf.ProtocolMessageEnum { * * *
-         * References a [Page.tokens][google.cloud.documentai.v1.Document.Page.tokens] element.
+         * References a
+         * [Page.tokens][google.cloud.documentai.v1.Document.Page.tokens]
+         * element.
          * 
* * TOKEN = 4; @@ -53642,7 +54038,9 @@ public enum LayoutType implements com.google.protobuf.ProtocolMessageEnum { * * *
-         * References a [Page.visual_elements][google.cloud.documentai.v1.Document.Page.visual_elements] element.
+         * References a
+         * [Page.visual_elements][google.cloud.documentai.v1.Document.Page.visual_elements]
+         * element.
          * 
* * VISUAL_ELEMENT = 5; @@ -53652,7 +54050,9 @@ public enum LayoutType implements com.google.protobuf.ProtocolMessageEnum { * * *
-         * Refrrences a [Page.tables][google.cloud.documentai.v1.Document.Page.tables] element.
+         * Refrrences a
+         * [Page.tables][google.cloud.documentai.v1.Document.Page.tables]
+         * element.
          * 
* * TABLE = 6; @@ -53662,7 +54062,9 @@ public enum LayoutType implements com.google.protobuf.ProtocolMessageEnum { * * *
-         * References a [Page.form_fields][google.cloud.documentai.v1.Document.Page.form_fields] element.
+         * References a
+         * [Page.form_fields][google.cloud.documentai.v1.Document.Page.form_fields]
+         * element.
          * 
* * FORM_FIELD = 7; @@ -53772,7 +54174,9 @@ private LayoutType(int value) { * * *
-       * Required. Index into the [Document.pages][google.cloud.documentai.v1.Document.pages] element, for example using
+       * Required. Index into the
+       * [Document.pages][google.cloud.documentai.v1.Document.pages] element,
+       * for example using
        * `[Document.pages][page_refs.page]` to locate the related page element.
        * This field is skipped when its value is the default `0`. See
        * https://developers.google.com/protocol-buffers/docs/proto3#json.
@@ -53793,7 +54197,8 @@ public long getPage() {
        *
        *
        * 
-       * Optional. The type of the layout element that is being referenced if any.
+       * Optional. The type of the layout element that is being referenced if
+       * any.
        * 
* * @@ -53810,7 +54215,8 @@ public int getLayoutTypeValue() { * * *
-       * Optional. The type of the layout element that is being referenced if any.
+       * Optional. The type of the layout element that is being referenced if
+       * any.
        * 
* * @@ -53837,14 +54243,16 @@ public com.google.cloud.documentai.v1.Document.PageAnchor.PageRef.LayoutType get * * *
-       * Optional. Deprecated.  Use [PageRef.bounding_poly][google.cloud.documentai.v1.Document.PageAnchor.PageRef.bounding_poly] instead.
+       * Optional. Deprecated.  Use
+       * [PageRef.bounding_poly][google.cloud.documentai.v1.Document.PageAnchor.PageRef.bounding_poly]
+       * instead.
        * 
* * string layout_id = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * * @deprecated google.cloud.documentai.v1.Document.PageAnchor.PageRef.layout_id is deprecated. - * See google/cloud/documentai/v1/document.proto;l=696 + * See google/cloud/documentai/v1/document.proto;l=752 * @return The layoutId. */ @java.lang.Override @@ -53864,14 +54272,16 @@ public java.lang.String getLayoutId() { * * *
-       * Optional. Deprecated.  Use [PageRef.bounding_poly][google.cloud.documentai.v1.Document.PageAnchor.PageRef.bounding_poly] instead.
+       * Optional. Deprecated.  Use
+       * [PageRef.bounding_poly][google.cloud.documentai.v1.Document.PageAnchor.PageRef.bounding_poly]
+       * instead.
        * 
* * string layout_id = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * * @deprecated google.cloud.documentai.v1.Document.PageAnchor.PageRef.layout_id is deprecated. - * See google/cloud/documentai/v1/document.proto;l=696 + * See google/cloud/documentai/v1/document.proto;l=752 * @return The bytes for layoutId. */ @java.lang.Override @@ -53894,9 +54304,9 @@ public com.google.protobuf.ByteString getLayoutIdBytes() { * * *
-       * Optional. Identifies the bounding polygon of a layout element on the page.
-       * If `layout_type` is set, the bounding polygon must be exactly the same
-       * to the layout element it's referring to.
+       * Optional. Identifies the bounding polygon of a layout element on the
+       * page. If `layout_type` is set, the bounding polygon must be exactly the
+       * same to the layout element it's referring to.
        * 
* * @@ -53913,9 +54323,9 @@ public boolean hasBoundingPoly() { * * *
-       * Optional. Identifies the bounding polygon of a layout element on the page.
-       * If `layout_type` is set, the bounding polygon must be exactly the same
-       * to the layout element it's referring to.
+       * Optional. Identifies the bounding polygon of a layout element on the
+       * page. If `layout_type` is set, the bounding polygon must be exactly the
+       * same to the layout element it's referring to.
        * 
* * @@ -53934,9 +54344,9 @@ public com.google.cloud.documentai.v1.BoundingPoly getBoundingPoly() { * * *
-       * Optional. Identifies the bounding polygon of a layout element on the page.
-       * If `layout_type` is set, the bounding polygon must be exactly the same
-       * to the layout element it's referring to.
+       * Optional. Identifies the bounding polygon of a layout element on the
+       * page. If `layout_type` is set, the bounding polygon must be exactly the
+       * same to the layout element it's referring to.
        * 
* * @@ -53956,7 +54366,8 @@ public com.google.cloud.documentai.v1.BoundingPolyOrBuilder getBoundingPolyOrBui * * *
-       * Optional. Confidence of detected page element, if applicable. Range `[0, 1]`.
+       * Optional. Confidence of detected page element, if applicable. Range
+       * `[0, 1]`.
        * 
* * float confidence = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -54441,7 +54852,9 @@ public Builder mergeFrom( * * *
-         * Required. Index into the [Document.pages][google.cloud.documentai.v1.Document.pages] element, for example using
+         * Required. Index into the
+         * [Document.pages][google.cloud.documentai.v1.Document.pages] element,
+         * for example using
          * `[Document.pages][page_refs.page]` to locate the related page element.
          * This field is skipped when its value is the default `0`. See
          * https://developers.google.com/protocol-buffers/docs/proto3#json.
@@ -54459,7 +54872,9 @@ public long getPage() {
          *
          *
          * 
-         * Required. Index into the [Document.pages][google.cloud.documentai.v1.Document.pages] element, for example using
+         * Required. Index into the
+         * [Document.pages][google.cloud.documentai.v1.Document.pages] element,
+         * for example using
          * `[Document.pages][page_refs.page]` to locate the related page element.
          * This field is skipped when its value is the default `0`. See
          * https://developers.google.com/protocol-buffers/docs/proto3#json.
@@ -54481,7 +54896,9 @@ public Builder setPage(long value) {
          *
          *
          * 
-         * Required. Index into the [Document.pages][google.cloud.documentai.v1.Document.pages] element, for example using
+         * Required. Index into the
+         * [Document.pages][google.cloud.documentai.v1.Document.pages] element,
+         * for example using
          * `[Document.pages][page_refs.page]` to locate the related page element.
          * This field is skipped when its value is the default `0`. See
          * https://developers.google.com/protocol-buffers/docs/proto3#json.
@@ -54503,7 +54920,8 @@ public Builder clearPage() {
          *
          *
          * 
-         * Optional. The type of the layout element that is being referenced if any.
+         * Optional. The type of the layout element that is being referenced if
+         * any.
          * 
* * @@ -54520,7 +54938,8 @@ public int getLayoutTypeValue() { * * *
-         * Optional. The type of the layout element that is being referenced if any.
+         * Optional. The type of the layout element that is being referenced if
+         * any.
          * 
* * @@ -54540,7 +54959,8 @@ public Builder setLayoutTypeValue(int value) { * * *
-         * Optional. The type of the layout element that is being referenced if any.
+         * Optional. The type of the layout element that is being referenced if
+         * any.
          * 
* * @@ -54563,7 +54983,8 @@ public Builder setLayoutTypeValue(int value) { * * *
-         * Optional. The type of the layout element that is being referenced if any.
+         * Optional. The type of the layout element that is being referenced if
+         * any.
          * 
* * @@ -54587,7 +55008,8 @@ public Builder setLayoutType( * * *
-         * Optional. The type of the layout element that is being referenced if any.
+         * Optional. The type of the layout element that is being referenced if
+         * any.
          * 
* * @@ -54608,14 +55030,16 @@ public Builder clearLayoutType() { * * *
-         * Optional. Deprecated.  Use [PageRef.bounding_poly][google.cloud.documentai.v1.Document.PageAnchor.PageRef.bounding_poly] instead.
+         * Optional. Deprecated.  Use
+         * [PageRef.bounding_poly][google.cloud.documentai.v1.Document.PageAnchor.PageRef.bounding_poly]
+         * instead.
          * 
* * string layout_id = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * * @deprecated google.cloud.documentai.v1.Document.PageAnchor.PageRef.layout_id is - * deprecated. See google/cloud/documentai/v1/document.proto;l=696 + * deprecated. See google/cloud/documentai/v1/document.proto;l=752 * @return The layoutId. */ @java.lang.Deprecated @@ -54634,14 +55058,16 @@ public java.lang.String getLayoutId() { * * *
-         * Optional. Deprecated.  Use [PageRef.bounding_poly][google.cloud.documentai.v1.Document.PageAnchor.PageRef.bounding_poly] instead.
+         * Optional. Deprecated.  Use
+         * [PageRef.bounding_poly][google.cloud.documentai.v1.Document.PageAnchor.PageRef.bounding_poly]
+         * instead.
          * 
* * string layout_id = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * * @deprecated google.cloud.documentai.v1.Document.PageAnchor.PageRef.layout_id is - * deprecated. See google/cloud/documentai/v1/document.proto;l=696 + * deprecated. See google/cloud/documentai/v1/document.proto;l=752 * @return The bytes for layoutId. */ @java.lang.Deprecated @@ -54660,14 +55086,16 @@ public com.google.protobuf.ByteString getLayoutIdBytes() { * * *
-         * Optional. Deprecated.  Use [PageRef.bounding_poly][google.cloud.documentai.v1.Document.PageAnchor.PageRef.bounding_poly] instead.
+         * Optional. Deprecated.  Use
+         * [PageRef.bounding_poly][google.cloud.documentai.v1.Document.PageAnchor.PageRef.bounding_poly]
+         * instead.
          * 
* * string layout_id = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * * @deprecated google.cloud.documentai.v1.Document.PageAnchor.PageRef.layout_id is - * deprecated. See google/cloud/documentai/v1/document.proto;l=696 + * deprecated. See google/cloud/documentai/v1/document.proto;l=752 * @param value The layoutId to set. * @return This builder for chaining. */ @@ -54685,14 +55113,16 @@ public Builder setLayoutId(java.lang.String value) { * * *
-         * Optional. Deprecated.  Use [PageRef.bounding_poly][google.cloud.documentai.v1.Document.PageAnchor.PageRef.bounding_poly] instead.
+         * Optional. Deprecated.  Use
+         * [PageRef.bounding_poly][google.cloud.documentai.v1.Document.PageAnchor.PageRef.bounding_poly]
+         * instead.
          * 
* * string layout_id = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * * @deprecated google.cloud.documentai.v1.Document.PageAnchor.PageRef.layout_id is - * deprecated. See google/cloud/documentai/v1/document.proto;l=696 + * deprecated. See google/cloud/documentai/v1/document.proto;l=752 * @return This builder for chaining. */ @java.lang.Deprecated @@ -54706,14 +55136,16 @@ public Builder clearLayoutId() { * * *
-         * Optional. Deprecated.  Use [PageRef.bounding_poly][google.cloud.documentai.v1.Document.PageAnchor.PageRef.bounding_poly] instead.
+         * Optional. Deprecated.  Use
+         * [PageRef.bounding_poly][google.cloud.documentai.v1.Document.PageAnchor.PageRef.bounding_poly]
+         * instead.
          * 
* * string layout_id = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * * @deprecated google.cloud.documentai.v1.Document.PageAnchor.PageRef.layout_id is - * deprecated. See google/cloud/documentai/v1/document.proto;l=696 + * deprecated. See google/cloud/documentai/v1/document.proto;l=752 * @param value The bytes for layoutId to set. * @return This builder for chaining. */ @@ -54739,9 +55171,9 @@ public Builder setLayoutIdBytes(com.google.protobuf.ByteString value) { * * *
-         * Optional. Identifies the bounding polygon of a layout element on the page.
-         * If `layout_type` is set, the bounding polygon must be exactly the same
-         * to the layout element it's referring to.
+         * Optional. Identifies the bounding polygon of a layout element on the
+         * page. If `layout_type` is set, the bounding polygon must be exactly the
+         * same to the layout element it's referring to.
          * 
* * @@ -54757,9 +55189,9 @@ public boolean hasBoundingPoly() { * * *
-         * Optional. Identifies the bounding polygon of a layout element on the page.
-         * If `layout_type` is set, the bounding polygon must be exactly the same
-         * to the layout element it's referring to.
+         * Optional. Identifies the bounding polygon of a layout element on the
+         * page. If `layout_type` is set, the bounding polygon must be exactly the
+         * same to the layout element it's referring to.
          * 
* * @@ -54781,9 +55213,9 @@ public com.google.cloud.documentai.v1.BoundingPoly getBoundingPoly() { * * *
-         * Optional. Identifies the bounding polygon of a layout element on the page.
-         * If `layout_type` is set, the bounding polygon must be exactly the same
-         * to the layout element it's referring to.
+         * Optional. Identifies the bounding polygon of a layout element on the
+         * page. If `layout_type` is set, the bounding polygon must be exactly the
+         * same to the layout element it's referring to.
          * 
* * @@ -54807,9 +55239,9 @@ public Builder setBoundingPoly(com.google.cloud.documentai.v1.BoundingPoly value * * *
-         * Optional. Identifies the bounding polygon of a layout element on the page.
-         * If `layout_type` is set, the bounding polygon must be exactly the same
-         * to the layout element it's referring to.
+         * Optional. Identifies the bounding polygon of a layout element on the
+         * page. If `layout_type` is set, the bounding polygon must be exactly the
+         * same to the layout element it's referring to.
          * 
* * @@ -54831,9 +55263,9 @@ public Builder setBoundingPoly( * * *
-         * Optional. Identifies the bounding polygon of a layout element on the page.
-         * If `layout_type` is set, the bounding polygon must be exactly the same
-         * to the layout element it's referring to.
+         * Optional. Identifies the bounding polygon of a layout element on the
+         * page. If `layout_type` is set, the bounding polygon must be exactly the
+         * same to the layout element it's referring to.
          * 
* * @@ -54863,9 +55295,9 @@ public Builder mergeBoundingPoly(com.google.cloud.documentai.v1.BoundingPoly val * * *
-         * Optional. Identifies the bounding polygon of a layout element on the page.
-         * If `layout_type` is set, the bounding polygon must be exactly the same
-         * to the layout element it's referring to.
+         * Optional. Identifies the bounding polygon of a layout element on the
+         * page. If `layout_type` is set, the bounding polygon must be exactly the
+         * same to the layout element it's referring to.
          * 
* * @@ -54886,9 +55318,9 @@ public Builder clearBoundingPoly() { * * *
-         * Optional. Identifies the bounding polygon of a layout element on the page.
-         * If `layout_type` is set, the bounding polygon must be exactly the same
-         * to the layout element it's referring to.
+         * Optional. Identifies the bounding polygon of a layout element on the
+         * page. If `layout_type` is set, the bounding polygon must be exactly the
+         * same to the layout element it's referring to.
          * 
* * @@ -54904,9 +55336,9 @@ public com.google.cloud.documentai.v1.BoundingPoly.Builder getBoundingPolyBuilde * * *
-         * Optional. Identifies the bounding polygon of a layout element on the page.
-         * If `layout_type` is set, the bounding polygon must be exactly the same
-         * to the layout element it's referring to.
+         * Optional. Identifies the bounding polygon of a layout element on the
+         * page. If `layout_type` is set, the bounding polygon must be exactly the
+         * same to the layout element it's referring to.
          * 
* * @@ -54926,9 +55358,9 @@ public com.google.cloud.documentai.v1.BoundingPolyOrBuilder getBoundingPolyOrBui * * *
-         * Optional. Identifies the bounding polygon of a layout element on the page.
-         * If `layout_type` is set, the bounding polygon must be exactly the same
-         * to the layout element it's referring to.
+         * Optional. Identifies the bounding polygon of a layout element on the
+         * page. If `layout_type` is set, the bounding polygon must be exactly the
+         * same to the layout element it's referring to.
          * 
* * @@ -54957,7 +55389,8 @@ public com.google.cloud.documentai.v1.BoundingPolyOrBuilder getBoundingPolyOrBui * * *
-         * Optional. Confidence of detected page element, if applicable. Range `[0, 1]`.
+         * Optional. Confidence of detected page element, if applicable. Range
+         * `[0, 1]`.
          * 
* * float confidence = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -54972,7 +55405,8 @@ public float getConfidence() { * * *
-         * Optional. Confidence of detected page element, if applicable. Range `[0, 1]`.
+         * Optional. Confidence of detected page element, if applicable. Range
+         * `[0, 1]`.
          * 
* * float confidence = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -54991,7 +55425,8 @@ public Builder setConfidence(float value) { * * *
-         * Optional. Confidence of detected page element, if applicable. Range `[0, 1]`.
+         * Optional. Confidence of detected page element, if applicable. Range
+         * `[0, 1]`.
          * 
* * float confidence = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -55312,9 +55747,10 @@ protected Builder newBuilderForType( * * *
-     * Referencing the visual context of the entity in the [Document.pages][google.cloud.documentai.v1.Document.pages].
-     * Page anchors can be cross-page, consist of multiple bounding polygons and
-     * optionally reference specific layout element types.
+     * Referencing the visual context of the entity in the
+     * [Document.pages][google.cloud.documentai.v1.Document.pages]. Page anchors
+     * can be cross-page, consist of multiple bounding polygons and optionally
+     * reference specific layout element types.
      * 
* * Protobuf type {@code google.cloud.documentai.v1.Document.PageAnchor} @@ -56006,7 +56442,7 @@ public interface ProvenanceOrBuilder * int32 revision = 1 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.Document.Provenance.revision is deprecated. See - * google/cloud/documentai/v1/document.proto;l=765 + * google/cloud/documentai/v1/document.proto;l=820 * @return The revision. */ @java.lang.Deprecated @@ -56023,7 +56459,7 @@ public interface ProvenanceOrBuilder * int32 id = 2 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.Document.Provenance.id is deprecated. See - * google/cloud/documentai/v1/document.proto;l=769 + * google/cloud/documentai/v1/document.proto;l=824 * @return The id. */ @java.lang.Deprecated @@ -56481,7 +56917,7 @@ public interface ParentOrBuilder * int32 id = 2 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.Document.Provenance.Parent.id is deprecated. See - * google/cloud/documentai/v1/document.proto;l=728 + * google/cloud/documentai/v1/document.proto;l=783 * @return The id. */ @java.lang.Deprecated @@ -56579,7 +57015,7 @@ public int getIndex() { * int32 id = 2 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.Document.Provenance.Parent.id is deprecated. See - * google/cloud/documentai/v1/document.proto;l=728 + * google/cloud/documentai/v1/document.proto;l=783 * @return The id. */ @java.lang.Override @@ -57101,7 +57537,7 @@ public Builder clearIndex() { * int32 id = 2 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.Document.Provenance.Parent.id is deprecated. See - * google/cloud/documentai/v1/document.proto;l=728 + * google/cloud/documentai/v1/document.proto;l=783 * @return The id. */ @java.lang.Override @@ -57119,7 +57555,7 @@ public int getId() { * int32 id = 2 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.Document.Provenance.Parent.id is deprecated. See - * google/cloud/documentai/v1/document.proto;l=728 + * google/cloud/documentai/v1/document.proto;l=783 * @param value The id to set. * @return This builder for chaining. */ @@ -57141,7 +57577,7 @@ public Builder setId(int value) { * int32 id = 2 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.Document.Provenance.Parent.id is deprecated. See - * google/cloud/documentai/v1/document.proto;l=728 + * google/cloud/documentai/v1/document.proto;l=783 * @return This builder for chaining. */ @java.lang.Deprecated @@ -57229,7 +57665,7 @@ public com.google.cloud.documentai.v1.Document.Provenance.Parent getDefaultInsta * int32 revision = 1 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.Document.Provenance.revision is deprecated. See - * google/cloud/documentai/v1/document.proto;l=765 + * google/cloud/documentai/v1/document.proto;l=820 * @return The revision. */ @java.lang.Override @@ -57251,7 +57687,7 @@ public int getRevision() { * int32 id = 2 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.Document.Provenance.id is deprecated. See - * google/cloud/documentai/v1/document.proto;l=769 + * google/cloud/documentai/v1/document.proto;l=824 * @return The id. */ @java.lang.Override @@ -57850,7 +58286,7 @@ public Builder mergeFrom( * int32 revision = 1 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.Document.Provenance.revision is deprecated. See - * google/cloud/documentai/v1/document.proto;l=765 + * google/cloud/documentai/v1/document.proto;l=820 * @return The revision. */ @java.lang.Override @@ -57868,7 +58304,7 @@ public int getRevision() { * int32 revision = 1 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.Document.Provenance.revision is deprecated. See - * google/cloud/documentai/v1/document.proto;l=765 + * google/cloud/documentai/v1/document.proto;l=820 * @param value The revision to set. * @return This builder for chaining. */ @@ -57890,7 +58326,7 @@ public Builder setRevision(int value) { * int32 revision = 1 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.Document.Provenance.revision is deprecated. See - * google/cloud/documentai/v1/document.proto;l=765 + * google/cloud/documentai/v1/document.proto;l=820 * @return This builder for chaining. */ @java.lang.Deprecated @@ -57913,7 +58349,7 @@ public Builder clearRevision() { * int32 id = 2 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.Document.Provenance.id is deprecated. See - * google/cloud/documentai/v1/document.proto;l=769 + * google/cloud/documentai/v1/document.proto;l=824 * @return The id. */ @java.lang.Override @@ -57932,7 +58368,7 @@ public int getId() { * int32 id = 2 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.Document.Provenance.id is deprecated. See - * google/cloud/documentai/v1/document.proto;l=769 + * google/cloud/documentai/v1/document.proto;l=824 * @param value The id to set. * @return This builder for chaining. */ @@ -57955,7 +58391,7 @@ public Builder setId(int value) { * int32 id = 2 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.Document.Provenance.id is deprecated. See - * google/cloud/documentai/v1/document.proto;l=769 + * google/cloud/documentai/v1/document.proto;l=824 * @return This builder for chaining. */ @java.lang.Deprecated @@ -58612,7 +59048,7 @@ public interface RevisionOrBuilder * repeated int32 parent = 2 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.Document.Revision.parent is deprecated. See - * google/cloud/documentai/v1/document.proto;l=808 + * google/cloud/documentai/v1/document.proto;l=863 * @return A list containing the parent. */ @java.lang.Deprecated @@ -58629,7 +59065,7 @@ public interface RevisionOrBuilder * repeated int32 parent = 2 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.Document.Revision.parent is deprecated. See - * google/cloud/documentai/v1/document.proto;l=808 + * google/cloud/documentai/v1/document.proto;l=863 * @return The count of parent. */ @java.lang.Deprecated @@ -58646,7 +59082,7 @@ public interface RevisionOrBuilder * repeated int32 parent = 2 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.Document.Revision.parent is deprecated. See - * google/cloud/documentai/v1/document.proto;l=808 + * google/cloud/documentai/v1/document.proto;l=863 * @param index The index of the element to return. * @return The parent at the given index. */ @@ -59963,7 +60399,7 @@ public com.google.protobuf.ByteString getIdBytes() { * repeated int32 parent = 2 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.Document.Revision.parent is deprecated. See - * google/cloud/documentai/v1/document.proto;l=808 + * google/cloud/documentai/v1/document.proto;l=863 * @return A list containing the parent. */ @java.lang.Override @@ -59983,7 +60419,7 @@ public java.util.List getParentList() { * repeated int32 parent = 2 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.Document.Revision.parent is deprecated. See - * google/cloud/documentai/v1/document.proto;l=808 + * google/cloud/documentai/v1/document.proto;l=863 * @return The count of parent. */ @java.lang.Deprecated @@ -60002,7 +60438,7 @@ public int getParentCount() { * repeated int32 parent = 2 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.Document.Revision.parent is deprecated. See - * google/cloud/documentai/v1/document.proto;l=808 + * google/cloud/documentai/v1/document.proto;l=863 * @param index The index of the element to return. * @return The parent at the given index. */ @@ -61209,7 +61645,7 @@ private void ensureParentIsMutable() { * repeated int32 parent = 2 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.Document.Revision.parent is deprecated. See - * google/cloud/documentai/v1/document.proto;l=808 + * google/cloud/documentai/v1/document.proto;l=863 * @return A list containing the parent. */ @java.lang.Deprecated @@ -61229,7 +61665,7 @@ public java.util.List getParentList() { * repeated int32 parent = 2 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.Document.Revision.parent is deprecated. See - * google/cloud/documentai/v1/document.proto;l=808 + * google/cloud/documentai/v1/document.proto;l=863 * @return The count of parent. */ @java.lang.Deprecated @@ -61248,7 +61684,7 @@ public int getParentCount() { * repeated int32 parent = 2 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.Document.Revision.parent is deprecated. See - * google/cloud/documentai/v1/document.proto;l=808 + * google/cloud/documentai/v1/document.proto;l=863 * @param index The index of the element to return. * @return The parent at the given index. */ @@ -61268,7 +61704,7 @@ public int getParent(int index) { * repeated int32 parent = 2 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.Document.Revision.parent is deprecated. See - * google/cloud/documentai/v1/document.proto;l=808 + * google/cloud/documentai/v1/document.proto;l=863 * @param index The index to set the value at. * @param value The parent to set. * @return This builder for chaining. @@ -61294,7 +61730,7 @@ public Builder setParent(int index, int value) { * repeated int32 parent = 2 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.Document.Revision.parent is deprecated. See - * google/cloud/documentai/v1/document.proto;l=808 + * google/cloud/documentai/v1/document.proto;l=863 * @param value The parent to add. * @return This builder for chaining. */ @@ -61319,7 +61755,7 @@ public Builder addParent(int value) { * repeated int32 parent = 2 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.Document.Revision.parent is deprecated. See - * google/cloud/documentai/v1/document.proto;l=808 + * google/cloud/documentai/v1/document.proto;l=863 * @param values The parent to add. * @return This builder for chaining. */ @@ -61343,7 +61779,7 @@ public Builder addAllParent(java.lang.Iterable valu * repeated int32 parent = 2 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.Document.Revision.parent is deprecated. See - * google/cloud/documentai/v1/document.proto;l=808 + * google/cloud/documentai/v1/document.proto;l=863 * @return This builder for chaining. */ @java.lang.Deprecated @@ -62006,8 +62442,9 @@ public interface TextChangeOrBuilder * *
      * Provenance of the correction.
-     * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].  There can only be a
-     * single `TextAnchor.text_segments` element.  If the start and
+     * Text anchor indexing into the
+     * [Document.text][google.cloud.documentai.v1.Document.text].  There can
+     * only be a single `TextAnchor.text_segments` element.  If the start and
      * end index of the text segment are the same, the text change is inserted
      * before that index.
      * 
@@ -62022,8 +62459,9 @@ public interface TextChangeOrBuilder * *
      * Provenance of the correction.
-     * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].  There can only be a
-     * single `TextAnchor.text_segments` element.  If the start and
+     * Text anchor indexing into the
+     * [Document.text][google.cloud.documentai.v1.Document.text].  There can
+     * only be a single `TextAnchor.text_segments` element.  If the start and
      * end index of the text segment are the same, the text change is inserted
      * before that index.
      * 
@@ -62038,8 +62476,9 @@ public interface TextChangeOrBuilder * *
      * Provenance of the correction.
-     * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].  There can only be a
-     * single `TextAnchor.text_segments` element.  If the start and
+     * Text anchor indexing into the
+     * [Document.text][google.cloud.documentai.v1.Document.text].  There can
+     * only be a single `TextAnchor.text_segments` element.  If the start and
      * end index of the text segment are the same, the text change is inserted
      * before that index.
      * 
@@ -62193,8 +62632,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
      * Provenance of the correction.
-     * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].  There can only be a
-     * single `TextAnchor.text_segments` element.  If the start and
+     * Text anchor indexing into the
+     * [Document.text][google.cloud.documentai.v1.Document.text].  There can
+     * only be a single `TextAnchor.text_segments` element.  If the start and
      * end index of the text segment are the same, the text change is inserted
      * before that index.
      * 
@@ -62212,8 +62652,9 @@ public boolean hasTextAnchor() { * *
      * Provenance of the correction.
-     * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].  There can only be a
-     * single `TextAnchor.text_segments` element.  If the start and
+     * Text anchor indexing into the
+     * [Document.text][google.cloud.documentai.v1.Document.text].  There can
+     * only be a single `TextAnchor.text_segments` element.  If the start and
      * end index of the text segment are the same, the text change is inserted
      * before that index.
      * 
@@ -62233,8 +62674,9 @@ public com.google.cloud.documentai.v1.Document.TextAnchor getTextAnchor() { * *
      * Provenance of the correction.
-     * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].  There can only be a
-     * single `TextAnchor.text_segments` element.  If the start and
+     * Text anchor indexing into the
+     * [Document.text][google.cloud.documentai.v1.Document.text].  There can
+     * only be a single `TextAnchor.text_segments` element.  If the start and
      * end index of the text segment are the same, the text change is inserted
      * before that index.
      * 
@@ -62861,8 +63303,9 @@ public Builder mergeFrom( * *
        * Provenance of the correction.
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].  There can only be a
-       * single `TextAnchor.text_segments` element.  If the start and
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].  There can
+       * only be a single `TextAnchor.text_segments` element.  If the start and
        * end index of the text segment are the same, the text change is inserted
        * before that index.
        * 
@@ -62879,8 +63322,9 @@ public boolean hasTextAnchor() { * *
        * Provenance of the correction.
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].  There can only be a
-       * single `TextAnchor.text_segments` element.  If the start and
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].  There can
+       * only be a single `TextAnchor.text_segments` element.  If the start and
        * end index of the text segment are the same, the text change is inserted
        * before that index.
        * 
@@ -62903,8 +63347,9 @@ public com.google.cloud.documentai.v1.Document.TextAnchor getTextAnchor() { * *
        * Provenance of the correction.
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].  There can only be a
-       * single `TextAnchor.text_segments` element.  If the start and
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].  There can
+       * only be a single `TextAnchor.text_segments` element.  If the start and
        * end index of the text segment are the same, the text change is inserted
        * before that index.
        * 
@@ -62929,8 +63374,9 @@ public Builder setTextAnchor(com.google.cloud.documentai.v1.Document.TextAnchor * *
        * Provenance of the correction.
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].  There can only be a
-       * single `TextAnchor.text_segments` element.  If the start and
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].  There can
+       * only be a single `TextAnchor.text_segments` element.  If the start and
        * end index of the text segment are the same, the text change is inserted
        * before that index.
        * 
@@ -62953,8 +63399,9 @@ public Builder setTextAnchor( * *
        * Provenance of the correction.
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].  There can only be a
-       * single `TextAnchor.text_segments` element.  If the start and
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].  There can
+       * only be a single `TextAnchor.text_segments` element.  If the start and
        * end index of the text segment are the same, the text change is inserted
        * before that index.
        * 
@@ -62985,8 +63432,9 @@ public Builder mergeTextAnchor(com.google.cloud.documentai.v1.Document.TextAncho * *
        * Provenance of the correction.
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].  There can only be a
-       * single `TextAnchor.text_segments` element.  If the start and
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].  There can
+       * only be a single `TextAnchor.text_segments` element.  If the start and
        * end index of the text segment are the same, the text change is inserted
        * before that index.
        * 
@@ -63008,8 +63456,9 @@ public Builder clearTextAnchor() { * *
        * Provenance of the correction.
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].  There can only be a
-       * single `TextAnchor.text_segments` element.  If the start and
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].  There can
+       * only be a single `TextAnchor.text_segments` element.  If the start and
        * end index of the text segment are the same, the text change is inserted
        * before that index.
        * 
@@ -63026,8 +63475,9 @@ public com.google.cloud.documentai.v1.Document.TextAnchor.Builder getTextAnchorB * *
        * Provenance of the correction.
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].  There can only be a
-       * single `TextAnchor.text_segments` element.  If the start and
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].  There can
+       * only be a single `TextAnchor.text_segments` element.  If the start and
        * end index of the text segment are the same, the text change is inserted
        * before that index.
        * 
@@ -63048,8 +63498,9 @@ public com.google.cloud.documentai.v1.Document.TextAnchorOrBuilder getTextAnchor * *
        * Provenance of the correction.
-       * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].  There can only be a
-       * single `TextAnchor.text_segments` element.  If the start and
+       * Text anchor indexing into the
+       * [Document.text][google.cloud.documentai.v1.Document.text].  There can
+       * only be a single `TextAnchor.text_segments` element.  If the start and
        * end index of the text segment are the same, the text change is inserted
        * before that index.
        * 
@@ -64088,8 +64539,9 @@ public com.google.cloud.documentai.v1.Document.PageOrBuilder getPagesOrBuilder(i * * *
-   * A list of entities detected on [Document.text][google.cloud.documentai.v1.Document.text]. For document shards,
-   * entities in this list may cross shard boundaries.
+   * A list of entities detected on
+   * [Document.text][google.cloud.documentai.v1.Document.text]. For document
+   * shards, entities in this list may cross shard boundaries.
    * 
* * repeated .google.cloud.documentai.v1.Document.Entity entities = 7; @@ -64102,8 +64554,9 @@ public java.util.List getEntitie * * *
-   * A list of entities detected on [Document.text][google.cloud.documentai.v1.Document.text]. For document shards,
-   * entities in this list may cross shard boundaries.
+   * A list of entities detected on
+   * [Document.text][google.cloud.documentai.v1.Document.text]. For document
+   * shards, entities in this list may cross shard boundaries.
    * 
* * repeated .google.cloud.documentai.v1.Document.Entity entities = 7; @@ -64117,8 +64570,9 @@ public java.util.List getEntitie * * *
-   * A list of entities detected on [Document.text][google.cloud.documentai.v1.Document.text]. For document shards,
-   * entities in this list may cross shard boundaries.
+   * A list of entities detected on
+   * [Document.text][google.cloud.documentai.v1.Document.text]. For document
+   * shards, entities in this list may cross shard boundaries.
    * 
* * repeated .google.cloud.documentai.v1.Document.Entity entities = 7; @@ -64131,8 +64585,9 @@ public int getEntitiesCount() { * * *
-   * A list of entities detected on [Document.text][google.cloud.documentai.v1.Document.text]. For document shards,
-   * entities in this list may cross shard boundaries.
+   * A list of entities detected on
+   * [Document.text][google.cloud.documentai.v1.Document.text]. For document
+   * shards, entities in this list may cross shard boundaries.
    * 
* * repeated .google.cloud.documentai.v1.Document.Entity entities = 7; @@ -64145,8 +64600,9 @@ public com.google.cloud.documentai.v1.Document.Entity getEntities(int index) { * * *
-   * A list of entities detected on [Document.text][google.cloud.documentai.v1.Document.text]. For document shards,
-   * entities in this list may cross shard boundaries.
+   * A list of entities detected on
+   * [Document.text][google.cloud.documentai.v1.Document.text]. For document
+   * shards, entities in this list may cross shard boundaries.
    * 
* * repeated .google.cloud.documentai.v1.Document.Entity entities = 7; @@ -64164,7 +64620,8 @@ public com.google.cloud.documentai.v1.Document.EntityOrBuilder getEntitiesOrBuil * * *
-   * Placeholder.  Relationship among [Document.entities][google.cloud.documentai.v1.Document.entities].
+   * Placeholder.  Relationship among
+   * [Document.entities][google.cloud.documentai.v1.Document.entities].
    * 
* * repeated .google.cloud.documentai.v1.Document.EntityRelation entity_relations = 8; @@ -64178,7 +64635,8 @@ public com.google.cloud.documentai.v1.Document.EntityOrBuilder getEntitiesOrBuil * * *
-   * Placeholder.  Relationship among [Document.entities][google.cloud.documentai.v1.Document.entities].
+   * Placeholder.  Relationship among
+   * [Document.entities][google.cloud.documentai.v1.Document.entities].
    * 
* * repeated .google.cloud.documentai.v1.Document.EntityRelation entity_relations = 8; @@ -64192,7 +64650,8 @@ public com.google.cloud.documentai.v1.Document.EntityOrBuilder getEntitiesOrBuil * * *
-   * Placeholder.  Relationship among [Document.entities][google.cloud.documentai.v1.Document.entities].
+   * Placeholder.  Relationship among
+   * [Document.entities][google.cloud.documentai.v1.Document.entities].
    * 
* * repeated .google.cloud.documentai.v1.Document.EntityRelation entity_relations = 8; @@ -64205,7 +64664,8 @@ public int getEntityRelationsCount() { * * *
-   * Placeholder.  Relationship among [Document.entities][google.cloud.documentai.v1.Document.entities].
+   * Placeholder.  Relationship among
+   * [Document.entities][google.cloud.documentai.v1.Document.entities].
    * 
* * repeated .google.cloud.documentai.v1.Document.EntityRelation entity_relations = 8; @@ -64218,7 +64678,8 @@ public com.google.cloud.documentai.v1.Document.EntityRelation getEntityRelations * * *
-   * Placeholder.  Relationship among [Document.entities][google.cloud.documentai.v1.Document.entities].
+   * Placeholder.  Relationship among
+   * [Document.entities][google.cloud.documentai.v1.Document.entities].
    * 
* * repeated .google.cloud.documentai.v1.Document.EntityRelation entity_relations = 8; @@ -64237,9 +64698,10 @@ public com.google.cloud.documentai.v1.Document.EntityRelation getEntityRelations * * *
-   * Placeholder.  A list of text corrections made to [Document.text][google.cloud.documentai.v1.Document.text].  This
-   * is usually used for annotating corrections to OCR mistakes.  Text changes
-   * for a given revision may not overlap with each other.
+   * Placeholder.  A list of text corrections made to
+   * [Document.text][google.cloud.documentai.v1.Document.text].  This is usually
+   * used for annotating corrections to OCR mistakes.  Text changes for a given
+   * revision may not overlap with each other.
    * 
* * repeated .google.cloud.documentai.v1.Document.TextChange text_changes = 14; @@ -64252,9 +64714,10 @@ public java.util.List getTex * * *
-   * Placeholder.  A list of text corrections made to [Document.text][google.cloud.documentai.v1.Document.text].  This
-   * is usually used for annotating corrections to OCR mistakes.  Text changes
-   * for a given revision may not overlap with each other.
+   * Placeholder.  A list of text corrections made to
+   * [Document.text][google.cloud.documentai.v1.Document.text].  This is usually
+   * used for annotating corrections to OCR mistakes.  Text changes for a given
+   * revision may not overlap with each other.
    * 
* * repeated .google.cloud.documentai.v1.Document.TextChange text_changes = 14; @@ -64268,9 +64731,10 @@ public java.util.List getTex * * *
-   * Placeholder.  A list of text corrections made to [Document.text][google.cloud.documentai.v1.Document.text].  This
-   * is usually used for annotating corrections to OCR mistakes.  Text changes
-   * for a given revision may not overlap with each other.
+   * Placeholder.  A list of text corrections made to
+   * [Document.text][google.cloud.documentai.v1.Document.text].  This is usually
+   * used for annotating corrections to OCR mistakes.  Text changes for a given
+   * revision may not overlap with each other.
    * 
* * repeated .google.cloud.documentai.v1.Document.TextChange text_changes = 14; @@ -64283,9 +64747,10 @@ public int getTextChangesCount() { * * *
-   * Placeholder.  A list of text corrections made to [Document.text][google.cloud.documentai.v1.Document.text].  This
-   * is usually used for annotating corrections to OCR mistakes.  Text changes
-   * for a given revision may not overlap with each other.
+   * Placeholder.  A list of text corrections made to
+   * [Document.text][google.cloud.documentai.v1.Document.text].  This is usually
+   * used for annotating corrections to OCR mistakes.  Text changes for a given
+   * revision may not overlap with each other.
    * 
* * repeated .google.cloud.documentai.v1.Document.TextChange text_changes = 14; @@ -64298,9 +64763,10 @@ public com.google.cloud.documentai.v1.Document.TextChange getTextChanges(int ind * * *
-   * Placeholder.  A list of text corrections made to [Document.text][google.cloud.documentai.v1.Document.text].  This
-   * is usually used for annotating corrections to OCR mistakes.  Text changes
-   * for a given revision may not overlap with each other.
+   * Placeholder.  A list of text corrections made to
+   * [Document.text][google.cloud.documentai.v1.Document.text].  This is usually
+   * used for annotating corrections to OCR mistakes.  Text changes for a given
+   * revision may not overlap with each other.
    * 
* * repeated .google.cloud.documentai.v1.Document.TextChange text_changes = 14; @@ -66655,8 +67121,9 @@ private void ensureEntitiesIsMutable() { * * *
-     * A list of entities detected on [Document.text][google.cloud.documentai.v1.Document.text]. For document shards,
-     * entities in this list may cross shard boundaries.
+     * A list of entities detected on
+     * [Document.text][google.cloud.documentai.v1.Document.text]. For document
+     * shards, entities in this list may cross shard boundaries.
      * 
* * repeated .google.cloud.documentai.v1.Document.Entity entities = 7; @@ -66672,8 +67139,9 @@ public java.util.List getEntitie * * *
-     * A list of entities detected on [Document.text][google.cloud.documentai.v1.Document.text]. For document shards,
-     * entities in this list may cross shard boundaries.
+     * A list of entities detected on
+     * [Document.text][google.cloud.documentai.v1.Document.text]. For document
+     * shards, entities in this list may cross shard boundaries.
      * 
* * repeated .google.cloud.documentai.v1.Document.Entity entities = 7; @@ -66689,8 +67157,9 @@ public int getEntitiesCount() { * * *
-     * A list of entities detected on [Document.text][google.cloud.documentai.v1.Document.text]. For document shards,
-     * entities in this list may cross shard boundaries.
+     * A list of entities detected on
+     * [Document.text][google.cloud.documentai.v1.Document.text]. For document
+     * shards, entities in this list may cross shard boundaries.
      * 
* * repeated .google.cloud.documentai.v1.Document.Entity entities = 7; @@ -66706,8 +67175,9 @@ public com.google.cloud.documentai.v1.Document.Entity getEntities(int index) { * * *
-     * A list of entities detected on [Document.text][google.cloud.documentai.v1.Document.text]. For document shards,
-     * entities in this list may cross shard boundaries.
+     * A list of entities detected on
+     * [Document.text][google.cloud.documentai.v1.Document.text]. For document
+     * shards, entities in this list may cross shard boundaries.
      * 
* * repeated .google.cloud.documentai.v1.Document.Entity entities = 7; @@ -66729,8 +67199,9 @@ public Builder setEntities(int index, com.google.cloud.documentai.v1.Document.En * * *
-     * A list of entities detected on [Document.text][google.cloud.documentai.v1.Document.text]. For document shards,
-     * entities in this list may cross shard boundaries.
+     * A list of entities detected on
+     * [Document.text][google.cloud.documentai.v1.Document.text]. For document
+     * shards, entities in this list may cross shard boundaries.
      * 
* * repeated .google.cloud.documentai.v1.Document.Entity entities = 7; @@ -66750,8 +67221,9 @@ public Builder setEntities( * * *
-     * A list of entities detected on [Document.text][google.cloud.documentai.v1.Document.text]. For document shards,
-     * entities in this list may cross shard boundaries.
+     * A list of entities detected on
+     * [Document.text][google.cloud.documentai.v1.Document.text]. For document
+     * shards, entities in this list may cross shard boundaries.
      * 
* * repeated .google.cloud.documentai.v1.Document.Entity entities = 7; @@ -66773,8 +67245,9 @@ public Builder addEntities(com.google.cloud.documentai.v1.Document.Entity value) * * *
-     * A list of entities detected on [Document.text][google.cloud.documentai.v1.Document.text]. For document shards,
-     * entities in this list may cross shard boundaries.
+     * A list of entities detected on
+     * [Document.text][google.cloud.documentai.v1.Document.text]. For document
+     * shards, entities in this list may cross shard boundaries.
      * 
* * repeated .google.cloud.documentai.v1.Document.Entity entities = 7; @@ -66796,8 +67269,9 @@ public Builder addEntities(int index, com.google.cloud.documentai.v1.Document.En * * *
-     * A list of entities detected on [Document.text][google.cloud.documentai.v1.Document.text]. For document shards,
-     * entities in this list may cross shard boundaries.
+     * A list of entities detected on
+     * [Document.text][google.cloud.documentai.v1.Document.text]. For document
+     * shards, entities in this list may cross shard boundaries.
      * 
* * repeated .google.cloud.documentai.v1.Document.Entity entities = 7; @@ -66817,8 +67291,9 @@ public Builder addEntities( * * *
-     * A list of entities detected on [Document.text][google.cloud.documentai.v1.Document.text]. For document shards,
-     * entities in this list may cross shard boundaries.
+     * A list of entities detected on
+     * [Document.text][google.cloud.documentai.v1.Document.text]. For document
+     * shards, entities in this list may cross shard boundaries.
      * 
* * repeated .google.cloud.documentai.v1.Document.Entity entities = 7; @@ -66838,8 +67313,9 @@ public Builder addEntities( * * *
-     * A list of entities detected on [Document.text][google.cloud.documentai.v1.Document.text]. For document shards,
-     * entities in this list may cross shard boundaries.
+     * A list of entities detected on
+     * [Document.text][google.cloud.documentai.v1.Document.text]. For document
+     * shards, entities in this list may cross shard boundaries.
      * 
* * repeated .google.cloud.documentai.v1.Document.Entity entities = 7; @@ -66859,8 +67335,9 @@ public Builder addAllEntities( * * *
-     * A list of entities detected on [Document.text][google.cloud.documentai.v1.Document.text]. For document shards,
-     * entities in this list may cross shard boundaries.
+     * A list of entities detected on
+     * [Document.text][google.cloud.documentai.v1.Document.text]. For document
+     * shards, entities in this list may cross shard boundaries.
      * 
* * repeated .google.cloud.documentai.v1.Document.Entity entities = 7; @@ -66879,8 +67356,9 @@ public Builder clearEntities() { * * *
-     * A list of entities detected on [Document.text][google.cloud.documentai.v1.Document.text]. For document shards,
-     * entities in this list may cross shard boundaries.
+     * A list of entities detected on
+     * [Document.text][google.cloud.documentai.v1.Document.text]. For document
+     * shards, entities in this list may cross shard boundaries.
      * 
* * repeated .google.cloud.documentai.v1.Document.Entity entities = 7; @@ -66899,8 +67377,9 @@ public Builder removeEntities(int index) { * * *
-     * A list of entities detected on [Document.text][google.cloud.documentai.v1.Document.text]. For document shards,
-     * entities in this list may cross shard boundaries.
+     * A list of entities detected on
+     * [Document.text][google.cloud.documentai.v1.Document.text]. For document
+     * shards, entities in this list may cross shard boundaries.
      * 
* * repeated .google.cloud.documentai.v1.Document.Entity entities = 7; @@ -66912,8 +67391,9 @@ public com.google.cloud.documentai.v1.Document.Entity.Builder getEntitiesBuilder * * *
-     * A list of entities detected on [Document.text][google.cloud.documentai.v1.Document.text]. For document shards,
-     * entities in this list may cross shard boundaries.
+     * A list of entities detected on
+     * [Document.text][google.cloud.documentai.v1.Document.text]. For document
+     * shards, entities in this list may cross shard boundaries.
      * 
* * repeated .google.cloud.documentai.v1.Document.Entity entities = 7; @@ -66929,8 +67409,9 @@ public com.google.cloud.documentai.v1.Document.EntityOrBuilder getEntitiesOrBuil * * *
-     * A list of entities detected on [Document.text][google.cloud.documentai.v1.Document.text]. For document shards,
-     * entities in this list may cross shard boundaries.
+     * A list of entities detected on
+     * [Document.text][google.cloud.documentai.v1.Document.text]. For document
+     * shards, entities in this list may cross shard boundaries.
      * 
* * repeated .google.cloud.documentai.v1.Document.Entity entities = 7; @@ -66947,8 +67428,9 @@ public com.google.cloud.documentai.v1.Document.EntityOrBuilder getEntitiesOrBuil * * *
-     * A list of entities detected on [Document.text][google.cloud.documentai.v1.Document.text]. For document shards,
-     * entities in this list may cross shard boundaries.
+     * A list of entities detected on
+     * [Document.text][google.cloud.documentai.v1.Document.text]. For document
+     * shards, entities in this list may cross shard boundaries.
      * 
* * repeated .google.cloud.documentai.v1.Document.Entity entities = 7; @@ -66961,8 +67443,9 @@ public com.google.cloud.documentai.v1.Document.Entity.Builder addEntitiesBuilder * * *
-     * A list of entities detected on [Document.text][google.cloud.documentai.v1.Document.text]. For document shards,
-     * entities in this list may cross shard boundaries.
+     * A list of entities detected on
+     * [Document.text][google.cloud.documentai.v1.Document.text]. For document
+     * shards, entities in this list may cross shard boundaries.
      * 
* * repeated .google.cloud.documentai.v1.Document.Entity entities = 7; @@ -66975,8 +67458,9 @@ public com.google.cloud.documentai.v1.Document.Entity.Builder addEntitiesBuilder * * *
-     * A list of entities detected on [Document.text][google.cloud.documentai.v1.Document.text]. For document shards,
-     * entities in this list may cross shard boundaries.
+     * A list of entities detected on
+     * [Document.text][google.cloud.documentai.v1.Document.text]. For document
+     * shards, entities in this list may cross shard boundaries.
      * 
* * repeated .google.cloud.documentai.v1.Document.Entity entities = 7; @@ -67025,7 +67509,8 @@ private void ensureEntityRelationsIsMutable() { * * *
-     * Placeholder.  Relationship among [Document.entities][google.cloud.documentai.v1.Document.entities].
+     * Placeholder.  Relationship among
+     * [Document.entities][google.cloud.documentai.v1.Document.entities].
      * 
* * repeated .google.cloud.documentai.v1.Document.EntityRelation entity_relations = 8; @@ -67043,7 +67528,8 @@ private void ensureEntityRelationsIsMutable() { * * *
-     * Placeholder.  Relationship among [Document.entities][google.cloud.documentai.v1.Document.entities].
+     * Placeholder.  Relationship among
+     * [Document.entities][google.cloud.documentai.v1.Document.entities].
      * 
* * repeated .google.cloud.documentai.v1.Document.EntityRelation entity_relations = 8; @@ -67060,7 +67546,8 @@ public int getEntityRelationsCount() { * * *
-     * Placeholder.  Relationship among [Document.entities][google.cloud.documentai.v1.Document.entities].
+     * Placeholder.  Relationship among
+     * [Document.entities][google.cloud.documentai.v1.Document.entities].
      * 
* * repeated .google.cloud.documentai.v1.Document.EntityRelation entity_relations = 8; @@ -67077,7 +67564,8 @@ public com.google.cloud.documentai.v1.Document.EntityRelation getEntityRelations * * *
-     * Placeholder.  Relationship among [Document.entities][google.cloud.documentai.v1.Document.entities].
+     * Placeholder.  Relationship among
+     * [Document.entities][google.cloud.documentai.v1.Document.entities].
      * 
* * repeated .google.cloud.documentai.v1.Document.EntityRelation entity_relations = 8; @@ -67101,7 +67589,8 @@ public Builder setEntityRelations( * * *
-     * Placeholder.  Relationship among [Document.entities][google.cloud.documentai.v1.Document.entities].
+     * Placeholder.  Relationship among
+     * [Document.entities][google.cloud.documentai.v1.Document.entities].
      * 
* * repeated .google.cloud.documentai.v1.Document.EntityRelation entity_relations = 8; @@ -67122,7 +67611,8 @@ public Builder setEntityRelations( * * *
-     * Placeholder.  Relationship among [Document.entities][google.cloud.documentai.v1.Document.entities].
+     * Placeholder.  Relationship among
+     * [Document.entities][google.cloud.documentai.v1.Document.entities].
      * 
* * repeated .google.cloud.documentai.v1.Document.EntityRelation entity_relations = 8; @@ -67146,7 +67636,8 @@ public Builder addEntityRelations( * * *
-     * Placeholder.  Relationship among [Document.entities][google.cloud.documentai.v1.Document.entities].
+     * Placeholder.  Relationship among
+     * [Document.entities][google.cloud.documentai.v1.Document.entities].
      * 
* * repeated .google.cloud.documentai.v1.Document.EntityRelation entity_relations = 8; @@ -67170,7 +67661,8 @@ public Builder addEntityRelations( * * *
-     * Placeholder.  Relationship among [Document.entities][google.cloud.documentai.v1.Document.entities].
+     * Placeholder.  Relationship among
+     * [Document.entities][google.cloud.documentai.v1.Document.entities].
      * 
* * repeated .google.cloud.documentai.v1.Document.EntityRelation entity_relations = 8; @@ -67191,7 +67683,8 @@ public Builder addEntityRelations( * * *
-     * Placeholder.  Relationship among [Document.entities][google.cloud.documentai.v1.Document.entities].
+     * Placeholder.  Relationship among
+     * [Document.entities][google.cloud.documentai.v1.Document.entities].
      * 
* * repeated .google.cloud.documentai.v1.Document.EntityRelation entity_relations = 8; @@ -67212,7 +67705,8 @@ public Builder addEntityRelations( * * *
-     * Placeholder.  Relationship among [Document.entities][google.cloud.documentai.v1.Document.entities].
+     * Placeholder.  Relationship among
+     * [Document.entities][google.cloud.documentai.v1.Document.entities].
      * 
* * repeated .google.cloud.documentai.v1.Document.EntityRelation entity_relations = 8; @@ -67234,7 +67728,8 @@ public Builder addAllEntityRelations( * * *
-     * Placeholder.  Relationship among [Document.entities][google.cloud.documentai.v1.Document.entities].
+     * Placeholder.  Relationship among
+     * [Document.entities][google.cloud.documentai.v1.Document.entities].
      * 
* * repeated .google.cloud.documentai.v1.Document.EntityRelation entity_relations = 8; @@ -67254,7 +67749,8 @@ public Builder clearEntityRelations() { * * *
-     * Placeholder.  Relationship among [Document.entities][google.cloud.documentai.v1.Document.entities].
+     * Placeholder.  Relationship among
+     * [Document.entities][google.cloud.documentai.v1.Document.entities].
      * 
* * repeated .google.cloud.documentai.v1.Document.EntityRelation entity_relations = 8; @@ -67274,7 +67770,8 @@ public Builder removeEntityRelations(int index) { * * *
-     * Placeholder.  Relationship among [Document.entities][google.cloud.documentai.v1.Document.entities].
+     * Placeholder.  Relationship among
+     * [Document.entities][google.cloud.documentai.v1.Document.entities].
      * 
* * repeated .google.cloud.documentai.v1.Document.EntityRelation entity_relations = 8; @@ -67288,7 +67785,8 @@ public com.google.cloud.documentai.v1.Document.EntityRelation.Builder getEntityR * * *
-     * Placeholder.  Relationship among [Document.entities][google.cloud.documentai.v1.Document.entities].
+     * Placeholder.  Relationship among
+     * [Document.entities][google.cloud.documentai.v1.Document.entities].
      * 
* * repeated .google.cloud.documentai.v1.Document.EntityRelation entity_relations = 8; @@ -67306,7 +67804,8 @@ public com.google.cloud.documentai.v1.Document.EntityRelation.Builder getEntityR * * *
-     * Placeholder.  Relationship among [Document.entities][google.cloud.documentai.v1.Document.entities].
+     * Placeholder.  Relationship among
+     * [Document.entities][google.cloud.documentai.v1.Document.entities].
      * 
* * repeated .google.cloud.documentai.v1.Document.EntityRelation entity_relations = 8; @@ -67324,7 +67823,8 @@ public com.google.cloud.documentai.v1.Document.EntityRelation.Builder getEntityR * * *
-     * Placeholder.  Relationship among [Document.entities][google.cloud.documentai.v1.Document.entities].
+     * Placeholder.  Relationship among
+     * [Document.entities][google.cloud.documentai.v1.Document.entities].
      * 
* * repeated .google.cloud.documentai.v1.Document.EntityRelation entity_relations = 8; @@ -67339,7 +67839,8 @@ public com.google.cloud.documentai.v1.Document.EntityRelation.Builder getEntityR * * *
-     * Placeholder.  Relationship among [Document.entities][google.cloud.documentai.v1.Document.entities].
+     * Placeholder.  Relationship among
+     * [Document.entities][google.cloud.documentai.v1.Document.entities].
      * 
* * repeated .google.cloud.documentai.v1.Document.EntityRelation entity_relations = 8; @@ -67355,7 +67856,8 @@ public com.google.cloud.documentai.v1.Document.EntityRelation.Builder addEntityR * * *
-     * Placeholder.  Relationship among [Document.entities][google.cloud.documentai.v1.Document.entities].
+     * Placeholder.  Relationship among
+     * [Document.entities][google.cloud.documentai.v1.Document.entities].
      * 
* * repeated .google.cloud.documentai.v1.Document.EntityRelation entity_relations = 8; @@ -67408,9 +67910,10 @@ private void ensureTextChangesIsMutable() { * * *
-     * Placeholder.  A list of text corrections made to [Document.text][google.cloud.documentai.v1.Document.text].  This
-     * is usually used for annotating corrections to OCR mistakes.  Text changes
-     * for a given revision may not overlap with each other.
+     * Placeholder.  A list of text corrections made to
+     * [Document.text][google.cloud.documentai.v1.Document.text].  This is usually
+     * used for annotating corrections to OCR mistakes.  Text changes for a given
+     * revision may not overlap with each other.
      * 
* * repeated .google.cloud.documentai.v1.Document.TextChange text_changes = 14; @@ -67426,9 +67929,10 @@ public java.util.List getTex * * *
-     * Placeholder.  A list of text corrections made to [Document.text][google.cloud.documentai.v1.Document.text].  This
-     * is usually used for annotating corrections to OCR mistakes.  Text changes
-     * for a given revision may not overlap with each other.
+     * Placeholder.  A list of text corrections made to
+     * [Document.text][google.cloud.documentai.v1.Document.text].  This is usually
+     * used for annotating corrections to OCR mistakes.  Text changes for a given
+     * revision may not overlap with each other.
      * 
* * repeated .google.cloud.documentai.v1.Document.TextChange text_changes = 14; @@ -67444,9 +67948,10 @@ public int getTextChangesCount() { * * *
-     * Placeholder.  A list of text corrections made to [Document.text][google.cloud.documentai.v1.Document.text].  This
-     * is usually used for annotating corrections to OCR mistakes.  Text changes
-     * for a given revision may not overlap with each other.
+     * Placeholder.  A list of text corrections made to
+     * [Document.text][google.cloud.documentai.v1.Document.text].  This is usually
+     * used for annotating corrections to OCR mistakes.  Text changes for a given
+     * revision may not overlap with each other.
      * 
* * repeated .google.cloud.documentai.v1.Document.TextChange text_changes = 14; @@ -67462,9 +67967,10 @@ public com.google.cloud.documentai.v1.Document.TextChange getTextChanges(int ind * * *
-     * Placeholder.  A list of text corrections made to [Document.text][google.cloud.documentai.v1.Document.text].  This
-     * is usually used for annotating corrections to OCR mistakes.  Text changes
-     * for a given revision may not overlap with each other.
+     * Placeholder.  A list of text corrections made to
+     * [Document.text][google.cloud.documentai.v1.Document.text].  This is usually
+     * used for annotating corrections to OCR mistakes.  Text changes for a given
+     * revision may not overlap with each other.
      * 
* * repeated .google.cloud.documentai.v1.Document.TextChange text_changes = 14; @@ -67487,9 +67993,10 @@ public Builder setTextChanges( * * *
-     * Placeholder.  A list of text corrections made to [Document.text][google.cloud.documentai.v1.Document.text].  This
-     * is usually used for annotating corrections to OCR mistakes.  Text changes
-     * for a given revision may not overlap with each other.
+     * Placeholder.  A list of text corrections made to
+     * [Document.text][google.cloud.documentai.v1.Document.text].  This is usually
+     * used for annotating corrections to OCR mistakes.  Text changes for a given
+     * revision may not overlap with each other.
      * 
* * repeated .google.cloud.documentai.v1.Document.TextChange text_changes = 14; @@ -67509,9 +68016,10 @@ public Builder setTextChanges( * * *
-     * Placeholder.  A list of text corrections made to [Document.text][google.cloud.documentai.v1.Document.text].  This
-     * is usually used for annotating corrections to OCR mistakes.  Text changes
-     * for a given revision may not overlap with each other.
+     * Placeholder.  A list of text corrections made to
+     * [Document.text][google.cloud.documentai.v1.Document.text].  This is usually
+     * used for annotating corrections to OCR mistakes.  Text changes for a given
+     * revision may not overlap with each other.
      * 
* * repeated .google.cloud.documentai.v1.Document.TextChange text_changes = 14; @@ -67533,9 +68041,10 @@ public Builder addTextChanges(com.google.cloud.documentai.v1.Document.TextChange * * *
-     * Placeholder.  A list of text corrections made to [Document.text][google.cloud.documentai.v1.Document.text].  This
-     * is usually used for annotating corrections to OCR mistakes.  Text changes
-     * for a given revision may not overlap with each other.
+     * Placeholder.  A list of text corrections made to
+     * [Document.text][google.cloud.documentai.v1.Document.text].  This is usually
+     * used for annotating corrections to OCR mistakes.  Text changes for a given
+     * revision may not overlap with each other.
      * 
* * repeated .google.cloud.documentai.v1.Document.TextChange text_changes = 14; @@ -67558,9 +68067,10 @@ public Builder addTextChanges( * * *
-     * Placeholder.  A list of text corrections made to [Document.text][google.cloud.documentai.v1.Document.text].  This
-     * is usually used for annotating corrections to OCR mistakes.  Text changes
-     * for a given revision may not overlap with each other.
+     * Placeholder.  A list of text corrections made to
+     * [Document.text][google.cloud.documentai.v1.Document.text].  This is usually
+     * used for annotating corrections to OCR mistakes.  Text changes for a given
+     * revision may not overlap with each other.
      * 
* * repeated .google.cloud.documentai.v1.Document.TextChange text_changes = 14; @@ -67580,9 +68090,10 @@ public Builder addTextChanges( * * *
-     * Placeholder.  A list of text corrections made to [Document.text][google.cloud.documentai.v1.Document.text].  This
-     * is usually used for annotating corrections to OCR mistakes.  Text changes
-     * for a given revision may not overlap with each other.
+     * Placeholder.  A list of text corrections made to
+     * [Document.text][google.cloud.documentai.v1.Document.text].  This is usually
+     * used for annotating corrections to OCR mistakes.  Text changes for a given
+     * revision may not overlap with each other.
      * 
* * repeated .google.cloud.documentai.v1.Document.TextChange text_changes = 14; @@ -67602,9 +68113,10 @@ public Builder addTextChanges( * * *
-     * Placeholder.  A list of text corrections made to [Document.text][google.cloud.documentai.v1.Document.text].  This
-     * is usually used for annotating corrections to OCR mistakes.  Text changes
-     * for a given revision may not overlap with each other.
+     * Placeholder.  A list of text corrections made to
+     * [Document.text][google.cloud.documentai.v1.Document.text].  This is usually
+     * used for annotating corrections to OCR mistakes.  Text changes for a given
+     * revision may not overlap with each other.
      * 
* * repeated .google.cloud.documentai.v1.Document.TextChange text_changes = 14; @@ -67624,9 +68136,10 @@ public Builder addAllTextChanges( * * *
-     * Placeholder.  A list of text corrections made to [Document.text][google.cloud.documentai.v1.Document.text].  This
-     * is usually used for annotating corrections to OCR mistakes.  Text changes
-     * for a given revision may not overlap with each other.
+     * Placeholder.  A list of text corrections made to
+     * [Document.text][google.cloud.documentai.v1.Document.text].  This is usually
+     * used for annotating corrections to OCR mistakes.  Text changes for a given
+     * revision may not overlap with each other.
      * 
* * repeated .google.cloud.documentai.v1.Document.TextChange text_changes = 14; @@ -67645,9 +68158,10 @@ public Builder clearTextChanges() { * * *
-     * Placeholder.  A list of text corrections made to [Document.text][google.cloud.documentai.v1.Document.text].  This
-     * is usually used for annotating corrections to OCR mistakes.  Text changes
-     * for a given revision may not overlap with each other.
+     * Placeholder.  A list of text corrections made to
+     * [Document.text][google.cloud.documentai.v1.Document.text].  This is usually
+     * used for annotating corrections to OCR mistakes.  Text changes for a given
+     * revision may not overlap with each other.
      * 
* * repeated .google.cloud.documentai.v1.Document.TextChange text_changes = 14; @@ -67666,9 +68180,10 @@ public Builder removeTextChanges(int index) { * * *
-     * Placeholder.  A list of text corrections made to [Document.text][google.cloud.documentai.v1.Document.text].  This
-     * is usually used for annotating corrections to OCR mistakes.  Text changes
-     * for a given revision may not overlap with each other.
+     * Placeholder.  A list of text corrections made to
+     * [Document.text][google.cloud.documentai.v1.Document.text].  This is usually
+     * used for annotating corrections to OCR mistakes.  Text changes for a given
+     * revision may not overlap with each other.
      * 
* * repeated .google.cloud.documentai.v1.Document.TextChange text_changes = 14; @@ -67681,9 +68196,10 @@ public com.google.cloud.documentai.v1.Document.TextChange.Builder getTextChanges * * *
-     * Placeholder.  A list of text corrections made to [Document.text][google.cloud.documentai.v1.Document.text].  This
-     * is usually used for annotating corrections to OCR mistakes.  Text changes
-     * for a given revision may not overlap with each other.
+     * Placeholder.  A list of text corrections made to
+     * [Document.text][google.cloud.documentai.v1.Document.text].  This is usually
+     * used for annotating corrections to OCR mistakes.  Text changes for a given
+     * revision may not overlap with each other.
      * 
* * repeated .google.cloud.documentai.v1.Document.TextChange text_changes = 14; @@ -67700,9 +68216,10 @@ public com.google.cloud.documentai.v1.Document.TextChangeOrBuilder getTextChange * * *
-     * Placeholder.  A list of text corrections made to [Document.text][google.cloud.documentai.v1.Document.text].  This
-     * is usually used for annotating corrections to OCR mistakes.  Text changes
-     * for a given revision may not overlap with each other.
+     * Placeholder.  A list of text corrections made to
+     * [Document.text][google.cloud.documentai.v1.Document.text].  This is usually
+     * used for annotating corrections to OCR mistakes.  Text changes for a given
+     * revision may not overlap with each other.
      * 
* * repeated .google.cloud.documentai.v1.Document.TextChange text_changes = 14; @@ -67719,9 +68236,10 @@ public com.google.cloud.documentai.v1.Document.TextChangeOrBuilder getTextChange * * *
-     * Placeholder.  A list of text corrections made to [Document.text][google.cloud.documentai.v1.Document.text].  This
-     * is usually used for annotating corrections to OCR mistakes.  Text changes
-     * for a given revision may not overlap with each other.
+     * Placeholder.  A list of text corrections made to
+     * [Document.text][google.cloud.documentai.v1.Document.text].  This is usually
+     * used for annotating corrections to OCR mistakes.  Text changes for a given
+     * revision may not overlap with each other.
      * 
* * repeated .google.cloud.documentai.v1.Document.TextChange text_changes = 14; @@ -67734,9 +68252,10 @@ public com.google.cloud.documentai.v1.Document.TextChange.Builder addTextChanges * * *
-     * Placeholder.  A list of text corrections made to [Document.text][google.cloud.documentai.v1.Document.text].  This
-     * is usually used for annotating corrections to OCR mistakes.  Text changes
-     * for a given revision may not overlap with each other.
+     * Placeholder.  A list of text corrections made to
+     * [Document.text][google.cloud.documentai.v1.Document.text].  This is usually
+     * used for annotating corrections to OCR mistakes.  Text changes for a given
+     * revision may not overlap with each other.
      * 
* * repeated .google.cloud.documentai.v1.Document.TextChange text_changes = 14; @@ -67751,9 +68270,10 @@ public com.google.cloud.documentai.v1.Document.TextChange.Builder addTextChanges * * *
-     * Placeholder.  A list of text corrections made to [Document.text][google.cloud.documentai.v1.Document.text].  This
-     * is usually used for annotating corrections to OCR mistakes.  Text changes
-     * for a given revision may not overlap with each other.
+     * Placeholder.  A list of text corrections made to
+     * [Document.text][google.cloud.documentai.v1.Document.text].  This is usually
+     * used for annotating corrections to OCR mistakes.  Text changes for a given
+     * revision may not overlap with each other.
      * 
* * repeated .google.cloud.documentai.v1.Document.TextChange text_changes = 14; diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentOrBuilder.java index 0ff7d8bbe11d..428f94826788 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentOrBuilder.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentOrBuilder.java @@ -269,8 +269,9 @@ public interface DocumentOrBuilder * * *
-   * A list of entities detected on [Document.text][google.cloud.documentai.v1.Document.text]. For document shards,
-   * entities in this list may cross shard boundaries.
+   * A list of entities detected on
+   * [Document.text][google.cloud.documentai.v1.Document.text]. For document
+   * shards, entities in this list may cross shard boundaries.
    * 
* * repeated .google.cloud.documentai.v1.Document.Entity entities = 7; @@ -280,8 +281,9 @@ public interface DocumentOrBuilder * * *
-   * A list of entities detected on [Document.text][google.cloud.documentai.v1.Document.text]. For document shards,
-   * entities in this list may cross shard boundaries.
+   * A list of entities detected on
+   * [Document.text][google.cloud.documentai.v1.Document.text]. For document
+   * shards, entities in this list may cross shard boundaries.
    * 
* * repeated .google.cloud.documentai.v1.Document.Entity entities = 7; @@ -291,8 +293,9 @@ public interface DocumentOrBuilder * * *
-   * A list of entities detected on [Document.text][google.cloud.documentai.v1.Document.text]. For document shards,
-   * entities in this list may cross shard boundaries.
+   * A list of entities detected on
+   * [Document.text][google.cloud.documentai.v1.Document.text]. For document
+   * shards, entities in this list may cross shard boundaries.
    * 
* * repeated .google.cloud.documentai.v1.Document.Entity entities = 7; @@ -302,8 +305,9 @@ public interface DocumentOrBuilder * * *
-   * A list of entities detected on [Document.text][google.cloud.documentai.v1.Document.text]. For document shards,
-   * entities in this list may cross shard boundaries.
+   * A list of entities detected on
+   * [Document.text][google.cloud.documentai.v1.Document.text]. For document
+   * shards, entities in this list may cross shard boundaries.
    * 
* * repeated .google.cloud.documentai.v1.Document.Entity entities = 7; @@ -314,8 +318,9 @@ public interface DocumentOrBuilder * * *
-   * A list of entities detected on [Document.text][google.cloud.documentai.v1.Document.text]. For document shards,
-   * entities in this list may cross shard boundaries.
+   * A list of entities detected on
+   * [Document.text][google.cloud.documentai.v1.Document.text]. For document
+   * shards, entities in this list may cross shard boundaries.
    * 
* * repeated .google.cloud.documentai.v1.Document.Entity entities = 7; @@ -326,7 +331,8 @@ public interface DocumentOrBuilder * * *
-   * Placeholder.  Relationship among [Document.entities][google.cloud.documentai.v1.Document.entities].
+   * Placeholder.  Relationship among
+   * [Document.entities][google.cloud.documentai.v1.Document.entities].
    * 
* * repeated .google.cloud.documentai.v1.Document.EntityRelation entity_relations = 8; @@ -336,7 +342,8 @@ public interface DocumentOrBuilder * * *
-   * Placeholder.  Relationship among [Document.entities][google.cloud.documentai.v1.Document.entities].
+   * Placeholder.  Relationship among
+   * [Document.entities][google.cloud.documentai.v1.Document.entities].
    * 
* * repeated .google.cloud.documentai.v1.Document.EntityRelation entity_relations = 8; @@ -346,7 +353,8 @@ public interface DocumentOrBuilder * * *
-   * Placeholder.  Relationship among [Document.entities][google.cloud.documentai.v1.Document.entities].
+   * Placeholder.  Relationship among
+   * [Document.entities][google.cloud.documentai.v1.Document.entities].
    * 
* * repeated .google.cloud.documentai.v1.Document.EntityRelation entity_relations = 8; @@ -356,7 +364,8 @@ public interface DocumentOrBuilder * * *
-   * Placeholder.  Relationship among [Document.entities][google.cloud.documentai.v1.Document.entities].
+   * Placeholder.  Relationship among
+   * [Document.entities][google.cloud.documentai.v1.Document.entities].
    * 
* * repeated .google.cloud.documentai.v1.Document.EntityRelation entity_relations = 8; @@ -367,7 +376,8 @@ public interface DocumentOrBuilder * * *
-   * Placeholder.  Relationship among [Document.entities][google.cloud.documentai.v1.Document.entities].
+   * Placeholder.  Relationship among
+   * [Document.entities][google.cloud.documentai.v1.Document.entities].
    * 
* * repeated .google.cloud.documentai.v1.Document.EntityRelation entity_relations = 8; @@ -379,9 +389,10 @@ com.google.cloud.documentai.v1.Document.EntityRelationOrBuilder getEntityRelatio * * *
-   * Placeholder.  A list of text corrections made to [Document.text][google.cloud.documentai.v1.Document.text].  This
-   * is usually used for annotating corrections to OCR mistakes.  Text changes
-   * for a given revision may not overlap with each other.
+   * Placeholder.  A list of text corrections made to
+   * [Document.text][google.cloud.documentai.v1.Document.text].  This is usually
+   * used for annotating corrections to OCR mistakes.  Text changes for a given
+   * revision may not overlap with each other.
    * 
* * repeated .google.cloud.documentai.v1.Document.TextChange text_changes = 14; @@ -391,9 +402,10 @@ com.google.cloud.documentai.v1.Document.EntityRelationOrBuilder getEntityRelatio * * *
-   * Placeholder.  A list of text corrections made to [Document.text][google.cloud.documentai.v1.Document.text].  This
-   * is usually used for annotating corrections to OCR mistakes.  Text changes
-   * for a given revision may not overlap with each other.
+   * Placeholder.  A list of text corrections made to
+   * [Document.text][google.cloud.documentai.v1.Document.text].  This is usually
+   * used for annotating corrections to OCR mistakes.  Text changes for a given
+   * revision may not overlap with each other.
    * 
* * repeated .google.cloud.documentai.v1.Document.TextChange text_changes = 14; @@ -403,9 +415,10 @@ com.google.cloud.documentai.v1.Document.EntityRelationOrBuilder getEntityRelatio * * *
-   * Placeholder.  A list of text corrections made to [Document.text][google.cloud.documentai.v1.Document.text].  This
-   * is usually used for annotating corrections to OCR mistakes.  Text changes
-   * for a given revision may not overlap with each other.
+   * Placeholder.  A list of text corrections made to
+   * [Document.text][google.cloud.documentai.v1.Document.text].  This is usually
+   * used for annotating corrections to OCR mistakes.  Text changes for a given
+   * revision may not overlap with each other.
    * 
* * repeated .google.cloud.documentai.v1.Document.TextChange text_changes = 14; @@ -415,9 +428,10 @@ com.google.cloud.documentai.v1.Document.EntityRelationOrBuilder getEntityRelatio * * *
-   * Placeholder.  A list of text corrections made to [Document.text][google.cloud.documentai.v1.Document.text].  This
-   * is usually used for annotating corrections to OCR mistakes.  Text changes
-   * for a given revision may not overlap with each other.
+   * Placeholder.  A list of text corrections made to
+   * [Document.text][google.cloud.documentai.v1.Document.text].  This is usually
+   * used for annotating corrections to OCR mistakes.  Text changes for a given
+   * revision may not overlap with each other.
    * 
* * repeated .google.cloud.documentai.v1.Document.TextChange text_changes = 14; @@ -428,9 +442,10 @@ com.google.cloud.documentai.v1.Document.EntityRelationOrBuilder getEntityRelatio * * *
-   * Placeholder.  A list of text corrections made to [Document.text][google.cloud.documentai.v1.Document.text].  This
-   * is usually used for annotating corrections to OCR mistakes.  Text changes
-   * for a given revision may not overlap with each other.
+   * Placeholder.  A list of text corrections made to
+   * [Document.text][google.cloud.documentai.v1.Document.text].  This is usually
+   * used for annotating corrections to OCR mistakes.  Text changes for a given
+   * revision may not overlap with each other.
    * 
* * repeated .google.cloud.documentai.v1.Document.TextChange text_changes = 14; diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EnableProcessorMetadata.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EnableProcessorMetadata.java index 794f16ed599d..3751d1cab1a8 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EnableProcessorMetadata.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EnableProcessorMetadata.java @@ -24,7 +24,8 @@ * *
  * The long-running operation metadata for the
- * [EnableProcessor][google.cloud.documentai.v1.DocumentProcessorService.EnableProcessor] method.
+ * [EnableProcessor][google.cloud.documentai.v1.DocumentProcessorService.EnableProcessor]
+ * method.
  * 
* * Protobuf type {@code google.cloud.documentai.v1.EnableProcessorMetadata} @@ -284,7 +285,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * The long-running operation metadata for the
-   * [EnableProcessor][google.cloud.documentai.v1.DocumentProcessorService.EnableProcessor] method.
+   * [EnableProcessor][google.cloud.documentai.v1.DocumentProcessorService.EnableProcessor]
+   * method.
    * 
* * Protobuf type {@code google.cloud.documentai.v1.EnableProcessorMetadata} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EnableProcessorRequest.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EnableProcessorRequest.java index ca6ca7a4be9b..f826306f4bd2 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EnableProcessorRequest.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EnableProcessorRequest.java @@ -24,7 +24,8 @@ * *
  * Request message for the
- * [EnableProcessor][google.cloud.documentai.v1.DocumentProcessorService.EnableProcessor] method.
+ * [EnableProcessor][google.cloud.documentai.v1.DocumentProcessorService.EnableProcessor]
+ * method.
  * 
* * Protobuf type {@code google.cloud.documentai.v1.EnableProcessorRequest} @@ -284,7 +285,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Request message for the
-   * [EnableProcessor][google.cloud.documentai.v1.DocumentProcessorService.EnableProcessor] method.
+   * [EnableProcessor][google.cloud.documentai.v1.DocumentProcessorService.EnableProcessor]
+   * method.
    * 
* * Protobuf type {@code google.cloud.documentai.v1.EnableProcessorRequest} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EnableProcessorResponse.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EnableProcessorResponse.java index 74d4fca27f5b..a865904973a2 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EnableProcessorResponse.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EnableProcessorResponse.java @@ -24,8 +24,8 @@ * *
  * Response message for the
- * [EnableProcessor][google.cloud.documentai.v1.DocumentProcessorService.EnableProcessor] method.
- * Intentionally empty proto for adding fields in future.
+ * [EnableProcessor][google.cloud.documentai.v1.DocumentProcessorService.EnableProcessor]
+ * method. Intentionally empty proto for adding fields in future.
  * 
* * Protobuf type {@code google.cloud.documentai.v1.EnableProcessorResponse} @@ -219,8 +219,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Response message for the
-   * [EnableProcessor][google.cloud.documentai.v1.DocumentProcessorService.EnableProcessor] method.
-   * Intentionally empty proto for adding fields in future.
+   * [EnableProcessor][google.cloud.documentai.v1.DocumentProcessorService.EnableProcessor]
+   * method. Intentionally empty proto for adding fields in future.
    * 
* * Protobuf type {@code google.cloud.documentai.v1.EnableProcessorResponse} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EvaluateProcessorVersionRequest.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EvaluateProcessorVersionRequest.java index 10feed7abb8d..ed106c678ed3 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EvaluateProcessorVersionRequest.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EvaluateProcessorVersionRequest.java @@ -23,7 +23,9 @@ * * *
- * Evaluates the given [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] against the supplied documents.
+ * Evaluates the given
+ * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] against the
+ * supplied documents.
  * 
* * Protobuf type {@code google.cloud.documentai.v1.EvaluateProcessorVersionRequest} @@ -73,7 +75,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The resource name of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to evaluate.
+   * Required. The resource name of the
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to
+   * evaluate.
    * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
    * 
* @@ -99,7 +103,9 @@ public java.lang.String getProcessorVersion() { * * *
-   * Required. The resource name of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to evaluate.
+   * Required. The resource name of the
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to
+   * evaluate.
    * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
    * 
* @@ -128,8 +134,8 @@ public com.google.protobuf.ByteString getProcessorVersionBytes() { * * *
-   * Optional. The documents used in the evaluation. If unspecified, use the processor's
-   * dataset as evaluation input.
+   * Optional. The documents used in the evaluation. If unspecified, use the
+   * processor's dataset as evaluation input.
    * 
* * @@ -146,8 +152,8 @@ public boolean hasEvaluationDocuments() { * * *
-   * Optional. The documents used in the evaluation. If unspecified, use the processor's
-   * dataset as evaluation input.
+   * Optional. The documents used in the evaluation. If unspecified, use the
+   * processor's dataset as evaluation input.
    * 
* * @@ -166,8 +172,8 @@ public com.google.cloud.documentai.v1.BatchDocumentsInputConfig getEvaluationDoc * * *
-   * Optional. The documents used in the evaluation. If unspecified, use the processor's
-   * dataset as evaluation input.
+   * Optional. The documents used in the evaluation. If unspecified, use the
+   * processor's dataset as evaluation input.
    * 
* * @@ -360,7 +366,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Evaluates the given [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] against the supplied documents.
+   * Evaluates the given
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] against the
+   * supplied documents.
    * 
* * Protobuf type {@code google.cloud.documentai.v1.EvaluateProcessorVersionRequest} @@ -580,7 +588,9 @@ public Builder mergeFrom( * * *
-     * Required. The resource name of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to evaluate.
+     * Required. The resource name of the
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to
+     * evaluate.
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
      * 
* @@ -605,7 +615,9 @@ public java.lang.String getProcessorVersion() { * * *
-     * Required. The resource name of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to evaluate.
+     * Required. The resource name of the
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to
+     * evaluate.
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
      * 
* @@ -630,7 +642,9 @@ public com.google.protobuf.ByteString getProcessorVersionBytes() { * * *
-     * Required. The resource name of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to evaluate.
+     * Required. The resource name of the
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to
+     * evaluate.
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
      * 
* @@ -654,7 +668,9 @@ public Builder setProcessorVersion(java.lang.String value) { * * *
-     * Required. The resource name of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to evaluate.
+     * Required. The resource name of the
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to
+     * evaluate.
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
      * 
* @@ -674,7 +690,9 @@ public Builder clearProcessorVersion() { * * *
-     * Required. The resource name of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to evaluate.
+     * Required. The resource name of the
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to
+     * evaluate.
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
      * 
* @@ -706,8 +724,8 @@ public Builder setProcessorVersionBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. The documents used in the evaluation. If unspecified, use the processor's
-     * dataset as evaluation input.
+     * Optional. The documents used in the evaluation. If unspecified, use the
+     * processor's dataset as evaluation input.
      * 
* * @@ -723,8 +741,8 @@ public boolean hasEvaluationDocuments() { * * *
-     * Optional. The documents used in the evaluation. If unspecified, use the processor's
-     * dataset as evaluation input.
+     * Optional. The documents used in the evaluation. If unspecified, use the
+     * processor's dataset as evaluation input.
      * 
* * @@ -746,8 +764,8 @@ public com.google.cloud.documentai.v1.BatchDocumentsInputConfig getEvaluationDoc * * *
-     * Optional. The documents used in the evaluation. If unspecified, use the processor's
-     * dataset as evaluation input.
+     * Optional. The documents used in the evaluation. If unspecified, use the
+     * processor's dataset as evaluation input.
      * 
* * @@ -772,8 +790,8 @@ public Builder setEvaluationDocuments( * * *
-     * Optional. The documents used in the evaluation. If unspecified, use the processor's
-     * dataset as evaluation input.
+     * Optional. The documents used in the evaluation. If unspecified, use the
+     * processor's dataset as evaluation input.
      * 
* * @@ -795,8 +813,8 @@ public Builder setEvaluationDocuments( * * *
-     * Optional. The documents used in the evaluation. If unspecified, use the processor's
-     * dataset as evaluation input.
+     * Optional. The documents used in the evaluation. If unspecified, use the
+     * processor's dataset as evaluation input.
      * 
* * @@ -827,8 +845,8 @@ public Builder mergeEvaluationDocuments( * * *
-     * Optional. The documents used in the evaluation. If unspecified, use the processor's
-     * dataset as evaluation input.
+     * Optional. The documents used in the evaluation. If unspecified, use the
+     * processor's dataset as evaluation input.
      * 
* * @@ -849,8 +867,8 @@ public Builder clearEvaluationDocuments() { * * *
-     * Optional. The documents used in the evaluation. If unspecified, use the processor's
-     * dataset as evaluation input.
+     * Optional. The documents used in the evaluation. If unspecified, use the
+     * processor's dataset as evaluation input.
      * 
* * @@ -867,8 +885,8 @@ public Builder clearEvaluationDocuments() { * * *
-     * Optional. The documents used in the evaluation. If unspecified, use the processor's
-     * dataset as evaluation input.
+     * Optional. The documents used in the evaluation. If unspecified, use the
+     * processor's dataset as evaluation input.
      * 
* * @@ -889,8 +907,8 @@ public Builder clearEvaluationDocuments() { * * *
-     * Optional. The documents used in the evaluation. If unspecified, use the processor's
-     * dataset as evaluation input.
+     * Optional. The documents used in the evaluation. If unspecified, use the
+     * processor's dataset as evaluation input.
      * 
* * diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EvaluateProcessorVersionRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EvaluateProcessorVersionRequestOrBuilder.java index a4718b0c169a..5ee83fb8dfcb 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EvaluateProcessorVersionRequestOrBuilder.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EvaluateProcessorVersionRequestOrBuilder.java @@ -28,7 +28,9 @@ public interface EvaluateProcessorVersionRequestOrBuilder * * *
-   * Required. The resource name of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to evaluate.
+   * Required. The resource name of the
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to
+   * evaluate.
    * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
    * 
* @@ -43,7 +45,9 @@ public interface EvaluateProcessorVersionRequestOrBuilder * * *
-   * Required. The resource name of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to evaluate.
+   * Required. The resource name of the
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to
+   * evaluate.
    * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
    * 
* @@ -59,8 +63,8 @@ public interface EvaluateProcessorVersionRequestOrBuilder * * *
-   * Optional. The documents used in the evaluation. If unspecified, use the processor's
-   * dataset as evaluation input.
+   * Optional. The documents used in the evaluation. If unspecified, use the
+   * processor's dataset as evaluation input.
    * 
* * @@ -74,8 +78,8 @@ public interface EvaluateProcessorVersionRequestOrBuilder * * *
-   * Optional. The documents used in the evaluation. If unspecified, use the processor's
-   * dataset as evaluation input.
+   * Optional. The documents used in the evaluation. If unspecified, use the
+   * processor's dataset as evaluation input.
    * 
* * @@ -89,8 +93,8 @@ public interface EvaluateProcessorVersionRequestOrBuilder * * *
-   * Optional. The documents used in the evaluation. If unspecified, use the processor's
-   * dataset as evaluation input.
+   * Optional. The documents used in the evaluation. If unspecified, use the
+   * processor's dataset as evaluation input.
    * 
* * diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/FetchProcessorTypesRequest.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/FetchProcessorTypesRequest.java index 044bea2c89c9..5a3686c564d9 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/FetchProcessorTypesRequest.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/FetchProcessorTypesRequest.java @@ -24,8 +24,9 @@ * *
  * Request message for the
- * [FetchProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.FetchProcessorTypes] method.
- * Some processor types may require the project be added to an allowlist.
+ * [FetchProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.FetchProcessorTypes]
+ * method. Some processor types may require the project be added to an
+ * allowlist.
  * 
* * Protobuf type {@code google.cloud.documentai.v1.FetchProcessorTypesRequest} @@ -287,8 +288,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Request message for the
-   * [FetchProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.FetchProcessorTypes] method.
-   * Some processor types may require the project be added to an allowlist.
+   * [FetchProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.FetchProcessorTypes]
+   * method. Some processor types may require the project be added to an
+   * allowlist.
    * 
* * Protobuf type {@code google.cloud.documentai.v1.FetchProcessorTypesRequest} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/FetchProcessorTypesResponse.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/FetchProcessorTypesResponse.java index 29fd87dec348..37cc715b93e8 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/FetchProcessorTypesResponse.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/FetchProcessorTypesResponse.java @@ -24,7 +24,8 @@ * *
  * Response message for the
- * [FetchProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.FetchProcessorTypes] method.
+ * [FetchProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.FetchProcessorTypes]
+ * method.
  * 
* * Protobuf type {@code google.cloud.documentai.v1.FetchProcessorTypesResponse} @@ -303,7 +304,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Response message for the
-   * [FetchProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.FetchProcessorTypes] method.
+   * [FetchProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.FetchProcessorTypes]
+   * method.
    * 
* * Protobuf type {@code google.cloud.documentai.v1.FetchProcessorTypesResponse} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetEvaluationRequest.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetEvaluationRequest.java index 33c52007d451..c02c5244a12d 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetEvaluationRequest.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetEvaluationRequest.java @@ -71,7 +71,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The resource name of the [Evaluation][google.cloud.documentai.v1.Evaluation] to get.
+   * Required. The resource name of the
+   * [Evaluation][google.cloud.documentai.v1.Evaluation] to get.
    * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}/evaluations/{evaluation}`
    * 
* @@ -97,7 +98,8 @@ public java.lang.String getName() { * * *
-   * Required. The resource name of the [Evaluation][google.cloud.documentai.v1.Evaluation] to get.
+   * Required. The resource name of the
+   * [Evaluation][google.cloud.documentai.v1.Evaluation] to get.
    * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}/evaluations/{evaluation}`
    * 
* @@ -467,7 +469,8 @@ public Builder mergeFrom( * * *
-     * Required. The resource name of the [Evaluation][google.cloud.documentai.v1.Evaluation] to get.
+     * Required. The resource name of the
+     * [Evaluation][google.cloud.documentai.v1.Evaluation] to get.
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}/evaluations/{evaluation}`
      * 
* @@ -492,7 +495,8 @@ public java.lang.String getName() { * * *
-     * Required. The resource name of the [Evaluation][google.cloud.documentai.v1.Evaluation] to get.
+     * Required. The resource name of the
+     * [Evaluation][google.cloud.documentai.v1.Evaluation] to get.
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}/evaluations/{evaluation}`
      * 
* @@ -517,7 +521,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The resource name of the [Evaluation][google.cloud.documentai.v1.Evaluation] to get.
+     * Required. The resource name of the
+     * [Evaluation][google.cloud.documentai.v1.Evaluation] to get.
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}/evaluations/{evaluation}`
      * 
* @@ -541,7 +546,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The resource name of the [Evaluation][google.cloud.documentai.v1.Evaluation] to get.
+     * Required. The resource name of the
+     * [Evaluation][google.cloud.documentai.v1.Evaluation] to get.
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}/evaluations/{evaluation}`
      * 
* @@ -561,7 +567,8 @@ public Builder clearName() { * * *
-     * Required. The resource name of the [Evaluation][google.cloud.documentai.v1.Evaluation] to get.
+     * Required. The resource name of the
+     * [Evaluation][google.cloud.documentai.v1.Evaluation] to get.
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}/evaluations/{evaluation}`
      * 
* diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetEvaluationRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetEvaluationRequestOrBuilder.java index 4da61c9c5dbc..bf3663369d26 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetEvaluationRequestOrBuilder.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetEvaluationRequestOrBuilder.java @@ -28,7 +28,8 @@ public interface GetEvaluationRequestOrBuilder * * *
-   * Required. The resource name of the [Evaluation][google.cloud.documentai.v1.Evaluation] to get.
+   * Required. The resource name of the
+   * [Evaluation][google.cloud.documentai.v1.Evaluation] to get.
    * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}/evaluations/{evaluation}`
    * 
* @@ -43,7 +44,8 @@ public interface GetEvaluationRequestOrBuilder * * *
-   * Required. The resource name of the [Evaluation][google.cloud.documentai.v1.Evaluation] to get.
+   * Required. The resource name of the
+   * [Evaluation][google.cloud.documentai.v1.Evaluation] to get.
    * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}/evaluations/{evaluation}`
    * 
* diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetProcessorRequest.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetProcessorRequest.java index 3a8cf3a79d39..cde04245c917 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetProcessorRequest.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetProcessorRequest.java @@ -23,7 +23,8 @@ * * *
- * Request message for the [GetProcessor][google.cloud.documentai.v1.DocumentProcessorService.GetProcessor]
+ * Request message for the
+ * [GetProcessor][google.cloud.documentai.v1.DocumentProcessorService.GetProcessor]
  * method.
  * 
* @@ -282,7 +283,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for the [GetProcessor][google.cloud.documentai.v1.DocumentProcessorService.GetProcessor]
+   * Request message for the
+   * [GetProcessor][google.cloud.documentai.v1.DocumentProcessorService.GetProcessor]
    * method.
    * 
* diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetProcessorTypeRequest.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetProcessorTypeRequest.java index c1d5fa2cddb6..384a52129258 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetProcessorTypeRequest.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetProcessorTypeRequest.java @@ -24,7 +24,8 @@ * *
  * Request message for the
- * [GetProcessorType][google.cloud.documentai.v1.DocumentProcessorService.GetProcessorType] method.
+ * [GetProcessorType][google.cloud.documentai.v1.DocumentProcessorService.GetProcessorType]
+ * method.
  * 
* * Protobuf type {@code google.cloud.documentai.v1.GetProcessorTypeRequest} @@ -284,7 +285,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Request message for the
-   * [GetProcessorType][google.cloud.documentai.v1.DocumentProcessorService.GetProcessorType] method.
+   * [GetProcessorType][google.cloud.documentai.v1.DocumentProcessorService.GetProcessorType]
+   * method.
    * 
* * Protobuf type {@code google.cloud.documentai.v1.GetProcessorTypeRequest} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetProcessorVersionRequest.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetProcessorVersionRequest.java index 9a521d2c1d8c..115028771887 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetProcessorVersionRequest.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetProcessorVersionRequest.java @@ -24,7 +24,8 @@ * *
  * Request message for the
- * [GetProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.GetProcessorVersion] method.
+ * [GetProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.GetProcessorVersion]
+ * method.
  * 
* * Protobuf type {@code google.cloud.documentai.v1.GetProcessorVersionRequest} @@ -284,7 +285,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Request message for the
-   * [GetProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.GetProcessorVersion] method.
+   * [GetProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.GetProcessorVersion]
+   * method.
    * 
* * Protobuf type {@code google.cloud.documentai.v1.GetProcessorVersionRequest} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/HumanReviewStatus.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/HumanReviewStatus.java index 5dc2957c4ad8..c048fc864d32 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/HumanReviewStatus.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/HumanReviewStatus.java @@ -122,7 +122,8 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * *
      * Some error happened during triggering human review, see the
-     * [state_message][google.cloud.documentai.v1.HumanReviewStatus.state_message] for details.
+     * [state_message][google.cloud.documentai.v1.HumanReviewStatus.state_message]
+     * for details.
      * 
* * ERROR = 4; @@ -178,7 +179,8 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * *
      * Some error happened during triggering human review, see the
-     * [state_message][google.cloud.documentai.v1.HumanReviewStatus.state_message] for details.
+     * [state_message][google.cloud.documentai.v1.HumanReviewStatus.state_message]
+     * for details.
      * 
* * ERROR = 4; @@ -369,9 +371,11 @@ public com.google.protobuf.ByteString getStateMessageBytes() { * *
    * The name of the operation triggered by the processed document. This field
-   * is populated only when the [state][google.cloud.documentai.v1.HumanReviewStatus.state] is `HUMAN_REVIEW_IN_PROGRESS`. It has
-   * the same response type and metadata as the long-running operation returned
-   * by [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument].
+   * is populated only when the
+   * [state][google.cloud.documentai.v1.HumanReviewStatus.state] is
+   * `HUMAN_REVIEW_IN_PROGRESS`. It has the same response type and metadata as
+   * the long-running operation returned by
+   * [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument].
    * 
* * string human_review_operation = 3; @@ -395,9 +399,11 @@ public java.lang.String getHumanReviewOperation() { * *
    * The name of the operation triggered by the processed document. This field
-   * is populated only when the [state][google.cloud.documentai.v1.HumanReviewStatus.state] is `HUMAN_REVIEW_IN_PROGRESS`. It has
-   * the same response type and metadata as the long-running operation returned
-   * by [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument].
+   * is populated only when the
+   * [state][google.cloud.documentai.v1.HumanReviewStatus.state] is
+   * `HUMAN_REVIEW_IN_PROGRESS`. It has the same response type and metadata as
+   * the long-running operation returned by
+   * [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument].
    * 
* * string human_review_operation = 3; @@ -1011,9 +1017,11 @@ public Builder setStateMessageBytes(com.google.protobuf.ByteString value) { * *
      * The name of the operation triggered by the processed document. This field
-     * is populated only when the [state][google.cloud.documentai.v1.HumanReviewStatus.state] is `HUMAN_REVIEW_IN_PROGRESS`. It has
-     * the same response type and metadata as the long-running operation returned
-     * by [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument].
+     * is populated only when the
+     * [state][google.cloud.documentai.v1.HumanReviewStatus.state] is
+     * `HUMAN_REVIEW_IN_PROGRESS`. It has the same response type and metadata as
+     * the long-running operation returned by
+     * [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument].
      * 
* * string human_review_operation = 3; @@ -1036,9 +1044,11 @@ public java.lang.String getHumanReviewOperation() { * *
      * The name of the operation triggered by the processed document. This field
-     * is populated only when the [state][google.cloud.documentai.v1.HumanReviewStatus.state] is `HUMAN_REVIEW_IN_PROGRESS`. It has
-     * the same response type and metadata as the long-running operation returned
-     * by [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument].
+     * is populated only when the
+     * [state][google.cloud.documentai.v1.HumanReviewStatus.state] is
+     * `HUMAN_REVIEW_IN_PROGRESS`. It has the same response type and metadata as
+     * the long-running operation returned by
+     * [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument].
      * 
* * string human_review_operation = 3; @@ -1061,9 +1071,11 @@ public com.google.protobuf.ByteString getHumanReviewOperationBytes() { * *
      * The name of the operation triggered by the processed document. This field
-     * is populated only when the [state][google.cloud.documentai.v1.HumanReviewStatus.state] is `HUMAN_REVIEW_IN_PROGRESS`. It has
-     * the same response type and metadata as the long-running operation returned
-     * by [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument].
+     * is populated only when the
+     * [state][google.cloud.documentai.v1.HumanReviewStatus.state] is
+     * `HUMAN_REVIEW_IN_PROGRESS`. It has the same response type and metadata as
+     * the long-running operation returned by
+     * [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument].
      * 
* * string human_review_operation = 3; @@ -1085,9 +1097,11 @@ public Builder setHumanReviewOperation(java.lang.String value) { * *
      * The name of the operation triggered by the processed document. This field
-     * is populated only when the [state][google.cloud.documentai.v1.HumanReviewStatus.state] is `HUMAN_REVIEW_IN_PROGRESS`. It has
-     * the same response type and metadata as the long-running operation returned
-     * by [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument].
+     * is populated only when the
+     * [state][google.cloud.documentai.v1.HumanReviewStatus.state] is
+     * `HUMAN_REVIEW_IN_PROGRESS`. It has the same response type and metadata as
+     * the long-running operation returned by
+     * [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument].
      * 
* * string human_review_operation = 3; @@ -1105,9 +1119,11 @@ public Builder clearHumanReviewOperation() { * *
      * The name of the operation triggered by the processed document. This field
-     * is populated only when the [state][google.cloud.documentai.v1.HumanReviewStatus.state] is `HUMAN_REVIEW_IN_PROGRESS`. It has
-     * the same response type and metadata as the long-running operation returned
-     * by [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument].
+     * is populated only when the
+     * [state][google.cloud.documentai.v1.HumanReviewStatus.state] is
+     * `HUMAN_REVIEW_IN_PROGRESS`. It has the same response type and metadata as
+     * the long-running operation returned by
+     * [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument].
      * 
* * string human_review_operation = 3; diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/HumanReviewStatusOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/HumanReviewStatusOrBuilder.java index 59b4fc42d42f..9409aedc8378 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/HumanReviewStatusOrBuilder.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/HumanReviewStatusOrBuilder.java @@ -79,9 +79,11 @@ public interface HumanReviewStatusOrBuilder * *
    * The name of the operation triggered by the processed document. This field
-   * is populated only when the [state][google.cloud.documentai.v1.HumanReviewStatus.state] is `HUMAN_REVIEW_IN_PROGRESS`. It has
-   * the same response type and metadata as the long-running operation returned
-   * by [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument].
+   * is populated only when the
+   * [state][google.cloud.documentai.v1.HumanReviewStatus.state] is
+   * `HUMAN_REVIEW_IN_PROGRESS`. It has the same response type and metadata as
+   * the long-running operation returned by
+   * [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument].
    * 
* * string human_review_operation = 3; @@ -94,9 +96,11 @@ public interface HumanReviewStatusOrBuilder * *
    * The name of the operation triggered by the processed document. This field
-   * is populated only when the [state][google.cloud.documentai.v1.HumanReviewStatus.state] is `HUMAN_REVIEW_IN_PROGRESS`. It has
-   * the same response type and metadata as the long-running operation returned
-   * by [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument].
+   * is populated only when the
+   * [state][google.cloud.documentai.v1.HumanReviewStatus.state] is
+   * `HUMAN_REVIEW_IN_PROGRESS`. It has the same response type and metadata as
+   * the long-running operation returned by
+   * [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument].
    * 
* * string human_review_operation = 3; diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListEvaluationsRequest.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListEvaluationsRequest.java index b7e83fa2a401..7480a19fc64a 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListEvaluationsRequest.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListEvaluationsRequest.java @@ -23,7 +23,8 @@ * * *
- * Retrieves a list of evaluations for a given [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
+ * Retrieves a list of evaluations for a given
+ * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
  * 
* * Protobuf type {@code google.cloud.documentai.v1.ListEvaluationsRequest} @@ -72,7 +73,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The resource name of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to list evaluations for.
+   * Required. The resource name of the
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to list
+   * evaluations for.
    * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
    * 
* @@ -98,7 +101,9 @@ public java.lang.String getParent() { * * *
-   * Required. The resource name of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to list evaluations for.
+   * Required. The resource name of the
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to list
+   * evaluations for.
    * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
    * 
* @@ -376,7 +381,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Retrieves a list of evaluations for a given [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
+   * Retrieves a list of evaluations for a given
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
    * 
* * Protobuf type {@code google.cloud.documentai.v1.ListEvaluationsRequest} @@ -588,7 +594,9 @@ public Builder mergeFrom( * * *
-     * Required. The resource name of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to list evaluations for.
+     * Required. The resource name of the
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to list
+     * evaluations for.
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
      * 
* @@ -613,7 +621,9 @@ public java.lang.String getParent() { * * *
-     * Required. The resource name of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to list evaluations for.
+     * Required. The resource name of the
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to list
+     * evaluations for.
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
      * 
* @@ -638,7 +648,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required. The resource name of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to list evaluations for.
+     * Required. The resource name of the
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to list
+     * evaluations for.
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
      * 
* @@ -662,7 +674,9 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required. The resource name of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to list evaluations for.
+     * Required. The resource name of the
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to list
+     * evaluations for.
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
      * 
* @@ -682,7 +696,9 @@ public Builder clearParent() { * * *
-     * Required. The resource name of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to list evaluations for.
+     * Required. The resource name of the
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to list
+     * evaluations for.
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
      * 
* diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListEvaluationsRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListEvaluationsRequestOrBuilder.java index 165a1ce8baef..337d7f48711a 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListEvaluationsRequestOrBuilder.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListEvaluationsRequestOrBuilder.java @@ -28,7 +28,9 @@ public interface ListEvaluationsRequestOrBuilder * * *
-   * Required. The resource name of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to list evaluations for.
+   * Required. The resource name of the
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to list
+   * evaluations for.
    * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
    * 
* @@ -43,7 +45,9 @@ public interface ListEvaluationsRequestOrBuilder * * *
-   * Required. The resource name of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to list evaluations for.
+   * Required. The resource name of the
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to list
+   * evaluations for.
    * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
    * 
* diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorTypesRequest.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorTypesRequest.java index 5a5c3decfbf5..dc263389c245 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorTypesRequest.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorTypesRequest.java @@ -24,8 +24,9 @@ * *
  * Request message for the
- * [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes] method.
- * Some processor types may require the project be added to an allowlist.
+ * [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes]
+ * method. Some processor types may require the project be added to an
+ * allowlist.
  * 
* * Protobuf type {@code google.cloud.documentai.v1.ListProcessorTypesRequest} @@ -377,8 +378,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Request message for the
-   * [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes] method.
-   * Some processor types may require the project be added to an allowlist.
+   * [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes]
+   * method. Some processor types may require the project be added to an
+   * allowlist.
    * 
* * Protobuf type {@code google.cloud.documentai.v1.ListProcessorTypesRequest} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorTypesResponse.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorTypesResponse.java index 668537411826..42423f068854 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorTypesResponse.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorTypesResponse.java @@ -24,7 +24,8 @@ * *
  * Response message for the
- * [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes] method.
+ * [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes]
+ * method.
  * 
* * Protobuf type {@code google.cloud.documentai.v1.ListProcessorTypesResponse} @@ -364,7 +365,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Response message for the
-   * [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes] method.
+   * [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes]
+   * method.
    * 
* * Protobuf type {@code google.cloud.documentai.v1.ListProcessorTypesResponse} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorVersionsRequest.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorVersionsRequest.java index 7c58092185f7..486bd515d21f 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorVersionsRequest.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorVersionsRequest.java @@ -72,8 +72,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The parent (project, location and processor) to list all versions.
-   * Format: `projects/{project}/locations/{location}/processors/{processor}`
+   * Required. The parent (project, location and processor) to list all
+   * versions. Format:
+   * `projects/{project}/locations/{location}/processors/{processor}`
    * 
* * @@ -98,8 +99,9 @@ public java.lang.String getParent() { * * *
-   * Required. The parent (project, location and processor) to list all versions.
-   * Format: `projects/{project}/locations/{location}/processors/{processor}`
+   * Required. The parent (project, location and processor) to list all
+   * versions. Format:
+   * `projects/{project}/locations/{location}/processors/{processor}`
    * 
* * @@ -588,8 +590,9 @@ public Builder mergeFrom( * * *
-     * Required. The parent (project, location and processor) to list all versions.
-     * Format: `projects/{project}/locations/{location}/processors/{processor}`
+     * Required. The parent (project, location and processor) to list all
+     * versions. Format:
+     * `projects/{project}/locations/{location}/processors/{processor}`
      * 
* * @@ -613,8 +616,9 @@ public java.lang.String getParent() { * * *
-     * Required. The parent (project, location and processor) to list all versions.
-     * Format: `projects/{project}/locations/{location}/processors/{processor}`
+     * Required. The parent (project, location and processor) to list all
+     * versions. Format:
+     * `projects/{project}/locations/{location}/processors/{processor}`
      * 
* * @@ -638,8 +642,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required. The parent (project, location and processor) to list all versions.
-     * Format: `projects/{project}/locations/{location}/processors/{processor}`
+     * Required. The parent (project, location and processor) to list all
+     * versions. Format:
+     * `projects/{project}/locations/{location}/processors/{processor}`
      * 
* * @@ -662,8 +667,9 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required. The parent (project, location and processor) to list all versions.
-     * Format: `projects/{project}/locations/{location}/processors/{processor}`
+     * Required. The parent (project, location and processor) to list all
+     * versions. Format:
+     * `projects/{project}/locations/{location}/processors/{processor}`
      * 
* * @@ -682,8 +688,9 @@ public Builder clearParent() { * * *
-     * Required. The parent (project, location and processor) to list all versions.
-     * Format: `projects/{project}/locations/{location}/processors/{processor}`
+     * Required. The parent (project, location and processor) to list all
+     * versions. Format:
+     * `projects/{project}/locations/{location}/processors/{processor}`
      * 
* * diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorVersionsRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorVersionsRequestOrBuilder.java index 2c3a6eda09d1..0f80f6bf31db 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorVersionsRequestOrBuilder.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorVersionsRequestOrBuilder.java @@ -28,8 +28,9 @@ public interface ListProcessorVersionsRequestOrBuilder * * *
-   * Required. The parent (project, location and processor) to list all versions.
-   * Format: `projects/{project}/locations/{location}/processors/{processor}`
+   * Required. The parent (project, location and processor) to list all
+   * versions. Format:
+   * `projects/{project}/locations/{location}/processors/{processor}`
    * 
* * @@ -43,8 +44,9 @@ public interface ListProcessorVersionsRequestOrBuilder * * *
-   * Required. The parent (project, location and processor) to list all versions.
-   * Format: `projects/{project}/locations/{location}/processors/{processor}`
+   * Required. The parent (project, location and processor) to list all
+   * versions. Format:
+   * `projects/{project}/locations/{location}/processors/{processor}`
    * 
* * diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorsRequest.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorsRequest.java index 76c961cb0ec3..5a1c8d8aae98 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorsRequest.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorsRequest.java @@ -72,8 +72,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The parent (project and location) which owns this collection of Processors.
-   * Format: `projects/{project}/locations/{location}`
+   * Required. The parent (project and location) which owns this collection of
+   * Processors. Format: `projects/{project}/locations/{location}`
    * 
* * @@ -98,8 +98,8 @@ public java.lang.String getParent() { * * *
-   * Required. The parent (project and location) which owns this collection of Processors.
-   * Format: `projects/{project}/locations/{location}`
+   * Required. The parent (project and location) which owns this collection of
+   * Processors. Format: `projects/{project}/locations/{location}`
    * 
* * @@ -587,8 +587,8 @@ public Builder mergeFrom( * * *
-     * Required. The parent (project and location) which owns this collection of Processors.
-     * Format: `projects/{project}/locations/{location}`
+     * Required. The parent (project and location) which owns this collection of
+     * Processors. Format: `projects/{project}/locations/{location}`
      * 
* * @@ -612,8 +612,8 @@ public java.lang.String getParent() { * * *
-     * Required. The parent (project and location) which owns this collection of Processors.
-     * Format: `projects/{project}/locations/{location}`
+     * Required. The parent (project and location) which owns this collection of
+     * Processors. Format: `projects/{project}/locations/{location}`
      * 
* * @@ -637,8 +637,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required. The parent (project and location) which owns this collection of Processors.
-     * Format: `projects/{project}/locations/{location}`
+     * Required. The parent (project and location) which owns this collection of
+     * Processors. Format: `projects/{project}/locations/{location}`
      * 
* * @@ -661,8 +661,8 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required. The parent (project and location) which owns this collection of Processors.
-     * Format: `projects/{project}/locations/{location}`
+     * Required. The parent (project and location) which owns this collection of
+     * Processors. Format: `projects/{project}/locations/{location}`
      * 
* * @@ -681,8 +681,8 @@ public Builder clearParent() { * * *
-     * Required. The parent (project and location) which owns this collection of Processors.
-     * Format: `projects/{project}/locations/{location}`
+     * Required. The parent (project and location) which owns this collection of
+     * Processors. Format: `projects/{project}/locations/{location}`
      * 
* * diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorsRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorsRequestOrBuilder.java index cbd21bbfd8c9..959fac3d8a9a 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorsRequestOrBuilder.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorsRequestOrBuilder.java @@ -28,8 +28,8 @@ public interface ListProcessorsRequestOrBuilder * * *
-   * Required. The parent (project and location) which owns this collection of Processors.
-   * Format: `projects/{project}/locations/{location}`
+   * Required. The parent (project and location) which owns this collection of
+   * Processors. Format: `projects/{project}/locations/{location}`
    * 
* * @@ -43,8 +43,8 @@ public interface ListProcessorsRequestOrBuilder * * *
-   * Required. The parent (project and location) which owns this collection of Processors.
-   * Format: `projects/{project}/locations/{location}`
+   * Required. The parent (project and location) which owns this collection of
+   * Processors. Format: `projects/{project}/locations/{location}`
    * 
* * diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorsResponse.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorsResponse.java index dcbdcbf56e52..30578121d25c 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorsResponse.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorsResponse.java @@ -24,7 +24,8 @@ * *
  * Response message for the
- * [ListProcessors][google.cloud.documentai.v1.DocumentProcessorService.ListProcessors] method.
+ * [ListProcessors][google.cloud.documentai.v1.DocumentProcessorService.ListProcessors]
+ * method.
  * 
* * Protobuf type {@code google.cloud.documentai.v1.ListProcessorsResponse} @@ -363,7 +364,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Response message for the
-   * [ListProcessors][google.cloud.documentai.v1.DocumentProcessorService.ListProcessors] method.
+   * [ListProcessors][google.cloud.documentai.v1.DocumentProcessorService.ListProcessors]
+   * method.
    * 
* * Protobuf type {@code google.cloud.documentai.v1.ListProcessorsResponse} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/OcrConfig.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/OcrConfig.java index ce08ec5a9064..8ef0a78e3d8b 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/OcrConfig.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/OcrConfig.java @@ -1873,13 +1873,15 @@ public boolean getEnableSymbol() { * *
    * Turn on font identification model and return font style information.
-   * Deprecated, use [PremiumFeatures.compute_style_info][google.cloud.documentai.v1.OcrConfig.PremiumFeatures.compute_style_info] instead.
+   * Deprecated, use
+   * [PremiumFeatures.compute_style_info][google.cloud.documentai.v1.OcrConfig.PremiumFeatures.compute_style_info]
+   * instead.
    * 
* * bool compute_style_info = 8 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.OcrConfig.compute_style_info is deprecated. See - * google/cloud/documentai/v1/document_io.proto;l=163 + * google/cloud/documentai/v1/document_io.proto;l=165 * @return The computeStyleInfo. */ @java.lang.Override @@ -3091,13 +3093,15 @@ public Builder clearEnableSymbol() { * *
      * Turn on font identification model and return font style information.
-     * Deprecated, use [PremiumFeatures.compute_style_info][google.cloud.documentai.v1.OcrConfig.PremiumFeatures.compute_style_info] instead.
+     * Deprecated, use
+     * [PremiumFeatures.compute_style_info][google.cloud.documentai.v1.OcrConfig.PremiumFeatures.compute_style_info]
+     * instead.
      * 
* * bool compute_style_info = 8 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.OcrConfig.compute_style_info is deprecated. See - * google/cloud/documentai/v1/document_io.proto;l=163 + * google/cloud/documentai/v1/document_io.proto;l=165 * @return The computeStyleInfo. */ @java.lang.Override @@ -3110,13 +3114,15 @@ public boolean getComputeStyleInfo() { * *
      * Turn on font identification model and return font style information.
-     * Deprecated, use [PremiumFeatures.compute_style_info][google.cloud.documentai.v1.OcrConfig.PremiumFeatures.compute_style_info] instead.
+     * Deprecated, use
+     * [PremiumFeatures.compute_style_info][google.cloud.documentai.v1.OcrConfig.PremiumFeatures.compute_style_info]
+     * instead.
      * 
* * bool compute_style_info = 8 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.OcrConfig.compute_style_info is deprecated. See - * google/cloud/documentai/v1/document_io.proto;l=163 + * google/cloud/documentai/v1/document_io.proto;l=165 * @param value The computeStyleInfo to set. * @return This builder for chaining. */ @@ -3133,13 +3139,15 @@ public Builder setComputeStyleInfo(boolean value) { * *
      * Turn on font identification model and return font style information.
-     * Deprecated, use [PremiumFeatures.compute_style_info][google.cloud.documentai.v1.OcrConfig.PremiumFeatures.compute_style_info] instead.
+     * Deprecated, use
+     * [PremiumFeatures.compute_style_info][google.cloud.documentai.v1.OcrConfig.PremiumFeatures.compute_style_info]
+     * instead.
      * 
* * bool compute_style_info = 8 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.OcrConfig.compute_style_info is deprecated. See - * google/cloud/documentai/v1/document_io.proto;l=163 + * google/cloud/documentai/v1/document_io.proto;l=165 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/OcrConfigOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/OcrConfigOrBuilder.java index 6bcaf772ae2a..d1422a85e81f 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/OcrConfigOrBuilder.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/OcrConfigOrBuilder.java @@ -181,13 +181,15 @@ public interface OcrConfigOrBuilder * *
    * Turn on font identification model and return font style information.
-   * Deprecated, use [PremiumFeatures.compute_style_info][google.cloud.documentai.v1.OcrConfig.PremiumFeatures.compute_style_info] instead.
+   * Deprecated, use
+   * [PremiumFeatures.compute_style_info][google.cloud.documentai.v1.OcrConfig.PremiumFeatures.compute_style_info]
+   * instead.
    * 
* * bool compute_style_info = 8 [deprecated = true]; * * @deprecated google.cloud.documentai.v1.OcrConfig.compute_style_info is deprecated. See - * google/cloud/documentai/v1/document_io.proto;l=163 + * google/cloud/documentai/v1/document_io.proto;l=165 * @return The computeStyleInfo. */ @java.lang.Deprecated diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessOptions.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessOptions.java index ebc7e6b8a348..211319af99e2 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessOptions.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessOptions.java @@ -1032,9 +1032,11 @@ public com.google.cloud.documentai.v1.OcrConfigOrBuilder getOcrConfigOrBuilder() * * *
-   * Optional. Override the schema of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will return an Invalid
-   * Argument error if this field is set when the underlying
-   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't support schema override.
+   * Optional. Override the schema of the
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will
+   * return an Invalid Argument error if this field is set when the underlying
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't
+   * support schema override.
    * 
* * @@ -1051,9 +1053,11 @@ public boolean hasSchemaOverride() { * * *
-   * Optional. Override the schema of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will return an Invalid
-   * Argument error if this field is set when the underlying
-   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't support schema override.
+   * Optional. Override the schema of the
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will
+   * return an Invalid Argument error if this field is set when the underlying
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't
+   * support schema override.
    * 
* * @@ -1072,9 +1076,11 @@ public com.google.cloud.documentai.v1.DocumentSchema getSchemaOverride() { * * *
-   * Optional. Override the schema of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will return an Invalid
-   * Argument error if this field is set when the underlying
-   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't support schema override.
+   * Optional. Override the schema of the
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will
+   * return an Invalid Argument error if this field is set when the underlying
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't
+   * support schema override.
    * 
* * @@ -2194,9 +2200,11 @@ public com.google.cloud.documentai.v1.OcrConfigOrBuilder getOcrConfigOrBuilder() * * *
-     * Optional. Override the schema of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will return an Invalid
-     * Argument error if this field is set when the underlying
-     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't support schema override.
+     * Optional. Override the schema of the
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will
+     * return an Invalid Argument error if this field is set when the underlying
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't
+     * support schema override.
      * 
* * @@ -2212,9 +2220,11 @@ public boolean hasSchemaOverride() { * * *
-     * Optional. Override the schema of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will return an Invalid
-     * Argument error if this field is set when the underlying
-     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't support schema override.
+     * Optional. Override the schema of the
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will
+     * return an Invalid Argument error if this field is set when the underlying
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't
+     * support schema override.
      * 
* * @@ -2236,9 +2246,11 @@ public com.google.cloud.documentai.v1.DocumentSchema getSchemaOverride() { * * *
-     * Optional. Override the schema of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will return an Invalid
-     * Argument error if this field is set when the underlying
-     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't support schema override.
+     * Optional. Override the schema of the
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will
+     * return an Invalid Argument error if this field is set when the underlying
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't
+     * support schema override.
      * 
* * @@ -2262,9 +2274,11 @@ public Builder setSchemaOverride(com.google.cloud.documentai.v1.DocumentSchema v * * *
-     * Optional. Override the schema of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will return an Invalid
-     * Argument error if this field is set when the underlying
-     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't support schema override.
+     * Optional. Override the schema of the
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will
+     * return an Invalid Argument error if this field is set when the underlying
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't
+     * support schema override.
      * 
* * @@ -2286,9 +2300,11 @@ public Builder setSchemaOverride( * * *
-     * Optional. Override the schema of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will return an Invalid
-     * Argument error if this field is set when the underlying
-     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't support schema override.
+     * Optional. Override the schema of the
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will
+     * return an Invalid Argument error if this field is set when the underlying
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't
+     * support schema override.
      * 
* * @@ -2318,9 +2334,11 @@ public Builder mergeSchemaOverride(com.google.cloud.documentai.v1.DocumentSchema * * *
-     * Optional. Override the schema of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will return an Invalid
-     * Argument error if this field is set when the underlying
-     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't support schema override.
+     * Optional. Override the schema of the
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will
+     * return an Invalid Argument error if this field is set when the underlying
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't
+     * support schema override.
      * 
* * @@ -2341,9 +2359,11 @@ public Builder clearSchemaOverride() { * * *
-     * Optional. Override the schema of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will return an Invalid
-     * Argument error if this field is set when the underlying
-     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't support schema override.
+     * Optional. Override the schema of the
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will
+     * return an Invalid Argument error if this field is set when the underlying
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't
+     * support schema override.
      * 
* * @@ -2359,9 +2379,11 @@ public com.google.cloud.documentai.v1.DocumentSchema.Builder getSchemaOverrideBu * * *
-     * Optional. Override the schema of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will return an Invalid
-     * Argument error if this field is set when the underlying
-     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't support schema override.
+     * Optional. Override the schema of the
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will
+     * return an Invalid Argument error if this field is set when the underlying
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't
+     * support schema override.
      * 
* * @@ -2381,9 +2403,11 @@ public com.google.cloud.documentai.v1.DocumentSchemaOrBuilder getSchemaOverrideO * * *
-     * Optional. Override the schema of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will return an Invalid
-     * Argument error if this field is set when the underlying
-     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't support schema override.
+     * Optional. Override the schema of the
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will
+     * return an Invalid Argument error if this field is set when the underlying
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't
+     * support schema override.
      * 
* * diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessOptionsOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessOptionsOrBuilder.java index d1768cca5676..72c202fad30c 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessOptionsOrBuilder.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessOptionsOrBuilder.java @@ -160,9 +160,11 @@ public interface ProcessOptionsOrBuilder * * *
-   * Optional. Override the schema of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will return an Invalid
-   * Argument error if this field is set when the underlying
-   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't support schema override.
+   * Optional. Override the schema of the
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will
+   * return an Invalid Argument error if this field is set when the underlying
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't
+   * support schema override.
    * 
* * @@ -176,9 +178,11 @@ public interface ProcessOptionsOrBuilder * * *
-   * Optional. Override the schema of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will return an Invalid
-   * Argument error if this field is set when the underlying
-   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't support schema override.
+   * Optional. Override the schema of the
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will
+   * return an Invalid Argument error if this field is set when the underlying
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't
+   * support schema override.
    * 
* * @@ -192,9 +196,11 @@ public interface ProcessOptionsOrBuilder * * *
-   * Optional. Override the schema of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will return an Invalid
-   * Argument error if this field is set when the underlying
-   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't support schema override.
+   * Optional. Override the schema of the
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will
+   * return an Invalid Argument error if this field is set when the underlying
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't
+   * support schema override.
    * 
* * diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessRequest.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessRequest.java index d534732e8e7d..1f6de2151118 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessRequest.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessRequest.java @@ -24,7 +24,8 @@ * *
  * Request message for the
- * [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument] method.
+ * [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument]
+ * method.
  * 
* * Protobuf type {@code google.cloud.documentai.v1.ProcessRequest} @@ -290,11 +291,15 @@ public com.google.cloud.documentai.v1.GcsDocumentOrBuilder getGcsDocumentOrBuild * * *
-   * Required. The resource name of the [Processor][google.cloud.documentai.v1.Processor] or
+   * Required. The resource name of the
+   * [Processor][google.cloud.documentai.v1.Processor] or
    * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]
-   * to use for processing. If a [Processor][google.cloud.documentai.v1.Processor] is specified, the server will use
-   * its [default version][google.cloud.documentai.v1.Processor.default_processor_version]. Format:
-   * `projects/{project}/locations/{location}/processors/{processor}`, or
+   * to use for processing. If a
+   * [Processor][google.cloud.documentai.v1.Processor] is specified, the server
+   * will use its [default
+   * version][google.cloud.documentai.v1.Processor.default_processor_version].
+   * Format: `projects/{project}/locations/{location}/processors/{processor}`,
+   * or
    * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
    * 
* @@ -320,11 +325,15 @@ public java.lang.String getName() { * * *
-   * Required. The resource name of the [Processor][google.cloud.documentai.v1.Processor] or
+   * Required. The resource name of the
+   * [Processor][google.cloud.documentai.v1.Processor] or
    * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]
-   * to use for processing. If a [Processor][google.cloud.documentai.v1.Processor] is specified, the server will use
-   * its [default version][google.cloud.documentai.v1.Processor.default_processor_version]. Format:
-   * `projects/{project}/locations/{location}/processors/{processor}`, or
+   * to use for processing. If a
+   * [Processor][google.cloud.documentai.v1.Processor] is specified, the server
+   * will use its [default
+   * version][google.cloud.documentai.v1.Processor.default_processor_version].
+   * Format: `projects/{project}/locations/{location}/processors/{processor}`,
+   * or
    * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
    * 
* @@ -372,7 +381,8 @@ public boolean getSkipHumanReview() { * * *
-   * Specifies which fields to include in the [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document]
+   * Specifies which fields to include in the
+   * [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document]
    * output. Only supports top-level document and pages field, so it must be in
    * the form of `{document_field_name}` or `pages.{page_field_name}`.
    * 
@@ -389,7 +399,8 @@ public boolean hasFieldMask() { * * *
-   * Specifies which fields to include in the [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document]
+   * Specifies which fields to include in the
+   * [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document]
    * output. Only supports top-level document and pages field, so it must be in
    * the form of `{document_field_name}` or `pages.{page_field_name}`.
    * 
@@ -406,7 +417,8 @@ public com.google.protobuf.FieldMask getFieldMask() { * * *
-   * Specifies which fields to include in the [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document]
+   * Specifies which fields to include in the
+   * [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document]
    * output. Only supports top-level document and pages field, so it must be in
    * the form of `{document_field_name}` or `pages.{page_field_name}`.
    * 
@@ -862,7 +874,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Request message for the
-   * [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument] method.
+   * [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument]
+   * method.
    * 
* * Protobuf type {@code google.cloud.documentai.v1.ProcessRequest} @@ -1854,11 +1867,15 @@ public com.google.cloud.documentai.v1.GcsDocumentOrBuilder getGcsDocumentOrBuild * * *
-     * Required. The resource name of the [Processor][google.cloud.documentai.v1.Processor] or
+     * Required. The resource name of the
+     * [Processor][google.cloud.documentai.v1.Processor] or
      * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]
-     * to use for processing. If a [Processor][google.cloud.documentai.v1.Processor] is specified, the server will use
-     * its [default version][google.cloud.documentai.v1.Processor.default_processor_version]. Format:
-     * `projects/{project}/locations/{location}/processors/{processor}`, or
+     * to use for processing. If a
+     * [Processor][google.cloud.documentai.v1.Processor] is specified, the server
+     * will use its [default
+     * version][google.cloud.documentai.v1.Processor.default_processor_version].
+     * Format: `projects/{project}/locations/{location}/processors/{processor}`,
+     * or
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
      * 
* @@ -1883,11 +1900,15 @@ public java.lang.String getName() { * * *
-     * Required. The resource name of the [Processor][google.cloud.documentai.v1.Processor] or
+     * Required. The resource name of the
+     * [Processor][google.cloud.documentai.v1.Processor] or
      * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]
-     * to use for processing. If a [Processor][google.cloud.documentai.v1.Processor] is specified, the server will use
-     * its [default version][google.cloud.documentai.v1.Processor.default_processor_version]. Format:
-     * `projects/{project}/locations/{location}/processors/{processor}`, or
+     * to use for processing. If a
+     * [Processor][google.cloud.documentai.v1.Processor] is specified, the server
+     * will use its [default
+     * version][google.cloud.documentai.v1.Processor.default_processor_version].
+     * Format: `projects/{project}/locations/{location}/processors/{processor}`,
+     * or
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
      * 
* @@ -1912,11 +1933,15 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The resource name of the [Processor][google.cloud.documentai.v1.Processor] or
+     * Required. The resource name of the
+     * [Processor][google.cloud.documentai.v1.Processor] or
      * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]
-     * to use for processing. If a [Processor][google.cloud.documentai.v1.Processor] is specified, the server will use
-     * its [default version][google.cloud.documentai.v1.Processor.default_processor_version]. Format:
-     * `projects/{project}/locations/{location}/processors/{processor}`, or
+     * to use for processing. If a
+     * [Processor][google.cloud.documentai.v1.Processor] is specified, the server
+     * will use its [default
+     * version][google.cloud.documentai.v1.Processor.default_processor_version].
+     * Format: `projects/{project}/locations/{location}/processors/{processor}`,
+     * or
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
      * 
* @@ -1940,11 +1965,15 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The resource name of the [Processor][google.cloud.documentai.v1.Processor] or
+     * Required. The resource name of the
+     * [Processor][google.cloud.documentai.v1.Processor] or
      * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]
-     * to use for processing. If a [Processor][google.cloud.documentai.v1.Processor] is specified, the server will use
-     * its [default version][google.cloud.documentai.v1.Processor.default_processor_version]. Format:
-     * `projects/{project}/locations/{location}/processors/{processor}`, or
+     * to use for processing. If a
+     * [Processor][google.cloud.documentai.v1.Processor] is specified, the server
+     * will use its [default
+     * version][google.cloud.documentai.v1.Processor.default_processor_version].
+     * Format: `projects/{project}/locations/{location}/processors/{processor}`,
+     * or
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
      * 
* @@ -1964,11 +1993,15 @@ public Builder clearName() { * * *
-     * Required. The resource name of the [Processor][google.cloud.documentai.v1.Processor] or
+     * Required. The resource name of the
+     * [Processor][google.cloud.documentai.v1.Processor] or
      * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]
-     * to use for processing. If a [Processor][google.cloud.documentai.v1.Processor] is specified, the server will use
-     * its [default version][google.cloud.documentai.v1.Processor.default_processor_version]. Format:
-     * `projects/{project}/locations/{location}/processors/{processor}`, or
+     * to use for processing. If a
+     * [Processor][google.cloud.documentai.v1.Processor] is specified, the server
+     * will use its [default
+     * version][google.cloud.documentai.v1.Processor.default_processor_version].
+     * Format: `projects/{project}/locations/{location}/processors/{processor}`,
+     * or
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
      * 
* @@ -2056,7 +2089,8 @@ public Builder clearSkipHumanReview() { * * *
-     * Specifies which fields to include in the [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document]
+     * Specifies which fields to include in the
+     * [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document]
      * output. Only supports top-level document and pages field, so it must be in
      * the form of `{document_field_name}` or `pages.{page_field_name}`.
      * 
@@ -2072,7 +2106,8 @@ public boolean hasFieldMask() { * * *
-     * Specifies which fields to include in the [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document]
+     * Specifies which fields to include in the
+     * [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document]
      * output. Only supports top-level document and pages field, so it must be in
      * the form of `{document_field_name}` or `pages.{page_field_name}`.
      * 
@@ -2092,7 +2127,8 @@ public com.google.protobuf.FieldMask getFieldMask() { * * *
-     * Specifies which fields to include in the [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document]
+     * Specifies which fields to include in the
+     * [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document]
      * output. Only supports top-level document and pages field, so it must be in
      * the form of `{document_field_name}` or `pages.{page_field_name}`.
      * 
@@ -2116,7 +2152,8 @@ public Builder setFieldMask(com.google.protobuf.FieldMask value) { * * *
-     * Specifies which fields to include in the [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document]
+     * Specifies which fields to include in the
+     * [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document]
      * output. Only supports top-level document and pages field, so it must be in
      * the form of `{document_field_name}` or `pages.{page_field_name}`.
      * 
@@ -2137,7 +2174,8 @@ public Builder setFieldMask(com.google.protobuf.FieldMask.Builder builderForValu * * *
-     * Specifies which fields to include in the [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document]
+     * Specifies which fields to include in the
+     * [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document]
      * output. Only supports top-level document and pages field, so it must be in
      * the form of `{document_field_name}` or `pages.{page_field_name}`.
      * 
@@ -2166,7 +2204,8 @@ public Builder mergeFieldMask(com.google.protobuf.FieldMask value) { * * *
-     * Specifies which fields to include in the [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document]
+     * Specifies which fields to include in the
+     * [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document]
      * output. Only supports top-level document and pages field, so it must be in
      * the form of `{document_field_name}` or `pages.{page_field_name}`.
      * 
@@ -2187,7 +2226,8 @@ public Builder clearFieldMask() { * * *
-     * Specifies which fields to include in the [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document]
+     * Specifies which fields to include in the
+     * [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document]
      * output. Only supports top-level document and pages field, so it must be in
      * the form of `{document_field_name}` or `pages.{page_field_name}`.
      * 
@@ -2203,7 +2243,8 @@ public com.google.protobuf.FieldMask.Builder getFieldMaskBuilder() { * * *
-     * Specifies which fields to include in the [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document]
+     * Specifies which fields to include in the
+     * [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document]
      * output. Only supports top-level document and pages field, so it must be in
      * the form of `{document_field_name}` or `pages.{page_field_name}`.
      * 
@@ -2221,7 +2262,8 @@ public com.google.protobuf.FieldMaskOrBuilder getFieldMaskOrBuilder() { * * *
-     * Specifies which fields to include in the [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document]
+     * Specifies which fields to include in the
+     * [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document]
      * output. Only supports top-level document and pages field, so it must be in
      * the form of `{document_field_name}` or `pages.{page_field_name}`.
      * 
diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessRequestOrBuilder.java index 66f89d0d8888..25a30d12de9f 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessRequestOrBuilder.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessRequestOrBuilder.java @@ -133,11 +133,15 @@ public interface ProcessRequestOrBuilder * * *
-   * Required. The resource name of the [Processor][google.cloud.documentai.v1.Processor] or
+   * Required. The resource name of the
+   * [Processor][google.cloud.documentai.v1.Processor] or
    * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]
-   * to use for processing. If a [Processor][google.cloud.documentai.v1.Processor] is specified, the server will use
-   * its [default version][google.cloud.documentai.v1.Processor.default_processor_version]. Format:
-   * `projects/{project}/locations/{location}/processors/{processor}`, or
+   * to use for processing. If a
+   * [Processor][google.cloud.documentai.v1.Processor] is specified, the server
+   * will use its [default
+   * version][google.cloud.documentai.v1.Processor.default_processor_version].
+   * Format: `projects/{project}/locations/{location}/processors/{processor}`,
+   * or
    * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
    * 
* @@ -152,11 +156,15 @@ public interface ProcessRequestOrBuilder * * *
-   * Required. The resource name of the [Processor][google.cloud.documentai.v1.Processor] or
+   * Required. The resource name of the
+   * [Processor][google.cloud.documentai.v1.Processor] or
    * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]
-   * to use for processing. If a [Processor][google.cloud.documentai.v1.Processor] is specified, the server will use
-   * its [default version][google.cloud.documentai.v1.Processor.default_processor_version]. Format:
-   * `projects/{project}/locations/{location}/processors/{processor}`, or
+   * to use for processing. If a
+   * [Processor][google.cloud.documentai.v1.Processor] is specified, the server
+   * will use its [default
+   * version][google.cloud.documentai.v1.Processor.default_processor_version].
+   * Format: `projects/{project}/locations/{location}/processors/{processor}`,
+   * or
    * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
    * 
* @@ -186,7 +194,8 @@ public interface ProcessRequestOrBuilder * * *
-   * Specifies which fields to include in the [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document]
+   * Specifies which fields to include in the
+   * [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document]
    * output. Only supports top-level document and pages field, so it must be in
    * the form of `{document_field_name}` or `pages.{page_field_name}`.
    * 
@@ -200,7 +209,8 @@ public interface ProcessRequestOrBuilder * * *
-   * Specifies which fields to include in the [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document]
+   * Specifies which fields to include in the
+   * [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document]
    * output. Only supports top-level document and pages field, so it must be in
    * the form of `{document_field_name}` or `pages.{page_field_name}`.
    * 
@@ -214,7 +224,8 @@ public interface ProcessRequestOrBuilder * * *
-   * Specifies which fields to include in the [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document]
+   * Specifies which fields to include in the
+   * [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document]
    * output. Only supports top-level document and pages field, so it must be in
    * the form of `{document_field_name}` or `pages.{page_field_name}`.
    * 
diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessResponse.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessResponse.java index bb59e682869e..8853ac8bdc92 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessResponse.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessResponse.java @@ -24,7 +24,8 @@ * *
  * Response message for the
- * [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument] method.
+ * [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument]
+ * method.
  * 
* * Protobuf type {@code google.cloud.documentai.v1.ProcessResponse} @@ -349,7 +350,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Response message for the
-   * [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument] method.
+   * [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument]
+   * method.
    * 
* * Protobuf type {@code google.cloud.documentai.v1.ProcessResponse} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/Processor.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/Processor.java index d4e8c9015100..98f44bf15c10 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/Processor.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/Processor.java @@ -701,7 +701,8 @@ public com.google.cloud.documentai.v1.ProcessorVersionAlias getProcessorVersionA * * *
-   * Output only. Immutable. The http endpoint that can be called to invoke processing.
+   * Output only. Immutable. The http endpoint that can be called to invoke
+   * processing.
    * 
* * @@ -726,7 +727,8 @@ public java.lang.String getProcessEndpoint() { * * *
-   * Output only. Immutable. The http endpoint that can be called to invoke processing.
+   * Output only. Immutable. The http endpoint that can be called to invoke
+   * processing.
    * 
* * @@ -2405,7 +2407,8 @@ public Builder removeProcessorVersionAliases(int index) { * * *
-     * Output only. Immutable. The http endpoint that can be called to invoke processing.
+     * Output only. Immutable. The http endpoint that can be called to invoke
+     * processing.
      * 
* * @@ -2429,7 +2432,8 @@ public java.lang.String getProcessEndpoint() { * * *
-     * Output only. Immutable. The http endpoint that can be called to invoke processing.
+     * Output only. Immutable. The http endpoint that can be called to invoke
+     * processing.
      * 
* * @@ -2453,7 +2457,8 @@ public com.google.protobuf.ByteString getProcessEndpointBytes() { * * *
-     * Output only. Immutable. The http endpoint that can be called to invoke processing.
+     * Output only. Immutable. The http endpoint that can be called to invoke
+     * processing.
      * 
* * @@ -2476,7 +2481,8 @@ public Builder setProcessEndpoint(java.lang.String value) { * * *
-     * Output only. Immutable. The http endpoint that can be called to invoke processing.
+     * Output only. Immutable. The http endpoint that can be called to invoke
+     * processing.
      * 
* * @@ -2495,7 +2501,8 @@ public Builder clearProcessEndpoint() { * * *
-     * Output only. Immutable. The http endpoint that can be called to invoke processing.
+     * Output only. Immutable. The http endpoint that can be called to invoke
+     * processing.
      * 
* * diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessorOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessorOrBuilder.java index 20b831e93b89..0c00e0444a0f 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessorOrBuilder.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessorOrBuilder.java @@ -231,7 +231,8 @@ com.google.cloud.documentai.v1.ProcessorVersionAliasOrBuilder getProcessorVersio * * *
-   * Output only. Immutable. The http endpoint that can be called to invoke processing.
+   * Output only. Immutable. The http endpoint that can be called to invoke
+   * processing.
    * 
* * @@ -245,7 +246,8 @@ com.google.cloud.documentai.v1.ProcessorVersionAliasOrBuilder getProcessorVersio * * *
-   * Output only. Immutable. The http endpoint that can be called to invoke processing.
+   * Output only. Immutable. The http endpoint that can be called to invoke
+   * processing.
    * 
* * diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ReviewDocumentOperationMetadata.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ReviewDocumentOperationMetadata.java index 9886bdfe3048..dafc211503bc 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ReviewDocumentOperationMetadata.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ReviewDocumentOperationMetadata.java @@ -24,7 +24,8 @@ * *
  * The long-running operation metadata for the
- * [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument] method.
+ * [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument]
+ * method.
  * 
* * Protobuf type {@code google.cloud.documentai.v1.ReviewDocumentOperationMetadata} @@ -347,7 +348,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * The long-running operation metadata for the
-   * [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument] method.
+   * [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument]
+   * method.
    * 
* * Protobuf type {@code google.cloud.documentai.v1.ReviewDocumentOperationMetadata} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ReviewDocumentRequest.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ReviewDocumentRequest.java index e725a6fcd26a..c9efc8f07557 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ReviewDocumentRequest.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ReviewDocumentRequest.java @@ -24,7 +24,8 @@ * *
  * Request message for the
- * [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument] method.
+ * [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument]
+ * method.
  * 
* * Protobuf type {@code google.cloud.documentai.v1.ReviewDocumentRequest} @@ -310,8 +311,9 @@ public com.google.cloud.documentai.v1.DocumentOrBuilder getInlineDocumentOrBuild * * *
-   * Required. The resource name of the [HumanReviewConfig][google.cloud.documentai.v1.HumanReviewConfig] that the document will be
-   * reviewed with.
+   * Required. The resource name of the
+   * [HumanReviewConfig][google.cloud.documentai.v1.HumanReviewConfig] that the
+   * document will be reviewed with.
    * 
* * @@ -336,8 +338,9 @@ public java.lang.String getHumanReviewConfig() { * * *
-   * Required. The resource name of the [HumanReviewConfig][google.cloud.documentai.v1.HumanReviewConfig] that the document will be
-   * reviewed with.
+   * Required. The resource name of the
+   * [HumanReviewConfig][google.cloud.documentai.v1.HumanReviewConfig] that the
+   * document will be reviewed with.
    * 
* * @@ -686,7 +689,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Request message for the
-   * [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument] method.
+   * [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument]
+   * method.
    * 
* * Protobuf type {@code google.cloud.documentai.v1.ReviewDocumentRequest} @@ -1180,8 +1184,9 @@ public com.google.cloud.documentai.v1.DocumentOrBuilder getInlineDocumentOrBuild * * *
-     * Required. The resource name of the [HumanReviewConfig][google.cloud.documentai.v1.HumanReviewConfig] that the document will be
-     * reviewed with.
+     * Required. The resource name of the
+     * [HumanReviewConfig][google.cloud.documentai.v1.HumanReviewConfig] that the
+     * document will be reviewed with.
      * 
* * @@ -1205,8 +1210,9 @@ public java.lang.String getHumanReviewConfig() { * * *
-     * Required. The resource name of the [HumanReviewConfig][google.cloud.documentai.v1.HumanReviewConfig] that the document will be
-     * reviewed with.
+     * Required. The resource name of the
+     * [HumanReviewConfig][google.cloud.documentai.v1.HumanReviewConfig] that the
+     * document will be reviewed with.
      * 
* * @@ -1230,8 +1236,9 @@ public com.google.protobuf.ByteString getHumanReviewConfigBytes() { * * *
-     * Required. The resource name of the [HumanReviewConfig][google.cloud.documentai.v1.HumanReviewConfig] that the document will be
-     * reviewed with.
+     * Required. The resource name of the
+     * [HumanReviewConfig][google.cloud.documentai.v1.HumanReviewConfig] that the
+     * document will be reviewed with.
      * 
* * @@ -1254,8 +1261,9 @@ public Builder setHumanReviewConfig(java.lang.String value) { * * *
-     * Required. The resource name of the [HumanReviewConfig][google.cloud.documentai.v1.HumanReviewConfig] that the document will be
-     * reviewed with.
+     * Required. The resource name of the
+     * [HumanReviewConfig][google.cloud.documentai.v1.HumanReviewConfig] that the
+     * document will be reviewed with.
      * 
* * @@ -1274,8 +1282,9 @@ public Builder clearHumanReviewConfig() { * * *
-     * Required. The resource name of the [HumanReviewConfig][google.cloud.documentai.v1.HumanReviewConfig] that the document will be
-     * reviewed with.
+     * Required. The resource name of the
+     * [HumanReviewConfig][google.cloud.documentai.v1.HumanReviewConfig] that the
+     * document will be reviewed with.
      * 
* * diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ReviewDocumentRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ReviewDocumentRequestOrBuilder.java index 91ce169f8960..6124a5b3f176 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ReviewDocumentRequestOrBuilder.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ReviewDocumentRequestOrBuilder.java @@ -63,8 +63,9 @@ public interface ReviewDocumentRequestOrBuilder * * *
-   * Required. The resource name of the [HumanReviewConfig][google.cloud.documentai.v1.HumanReviewConfig] that the document will be
-   * reviewed with.
+   * Required. The resource name of the
+   * [HumanReviewConfig][google.cloud.documentai.v1.HumanReviewConfig] that the
+   * document will be reviewed with.
    * 
* * @@ -78,8 +79,9 @@ public interface ReviewDocumentRequestOrBuilder * * *
-   * Required. The resource name of the [HumanReviewConfig][google.cloud.documentai.v1.HumanReviewConfig] that the document will be
-   * reviewed with.
+   * Required. The resource name of the
+   * [HumanReviewConfig][google.cloud.documentai.v1.HumanReviewConfig] that the
+   * document will be reviewed with.
    * 
* * diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ReviewDocumentResponse.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ReviewDocumentResponse.java index e099ae650e25..59966793c825 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ReviewDocumentResponse.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ReviewDocumentResponse.java @@ -24,7 +24,8 @@ * *
  * Response message for the
- * [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument] method.
+ * [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument]
+ * method.
  * 
* * Protobuf type {@code google.cloud.documentai.v1.ReviewDocumentResponse} @@ -553,7 +554,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Response message for the
-   * [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument] method.
+   * [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument]
+   * method.
    * 
* * Protobuf type {@code google.cloud.documentai.v1.ReviewDocumentResponse} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/SetDefaultProcessorVersionRequest.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/SetDefaultProcessorVersionRequest.java index 6773e3870308..9a92bf0aef7b 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/SetDefaultProcessorVersionRequest.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/SetDefaultProcessorVersionRequest.java @@ -75,7 +75,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The resource name of the [Processor][google.cloud.documentai.v1.Processor] to change default version.
+   * Required. The resource name of the
+   * [Processor][google.cloud.documentai.v1.Processor] to change default
+   * version.
    * 
* * @@ -100,7 +102,9 @@ public java.lang.String getProcessor() { * * *
-   * Required. The resource name of the [Processor][google.cloud.documentai.v1.Processor] to change default version.
+   * Required. The resource name of the
+   * [Processor][google.cloud.documentai.v1.Processor] to change default
+   * version.
    * 
* * @@ -130,8 +134,9 @@ public com.google.protobuf.ByteString getProcessorBytes() { * * *
-   * Required. The resource name of child [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to use as default.
-   * Format:
+   * Required. The resource name of child
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to use as
+   * default. Format:
    * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{version}`
    * 
* @@ -157,8 +162,9 @@ public java.lang.String getDefaultProcessorVersion() { * * *
-   * Required. The resource name of child [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to use as default.
-   * Format:
+   * Required. The resource name of child
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to use as
+   * default. Format:
    * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{version}`
    * 
* @@ -559,7 +565,9 @@ public Builder mergeFrom( * * *
-     * Required. The resource name of the [Processor][google.cloud.documentai.v1.Processor] to change default version.
+     * Required. The resource name of the
+     * [Processor][google.cloud.documentai.v1.Processor] to change default
+     * version.
      * 
* * @@ -583,7 +591,9 @@ public java.lang.String getProcessor() { * * *
-     * Required. The resource name of the [Processor][google.cloud.documentai.v1.Processor] to change default version.
+     * Required. The resource name of the
+     * [Processor][google.cloud.documentai.v1.Processor] to change default
+     * version.
      * 
* * @@ -607,7 +617,9 @@ public com.google.protobuf.ByteString getProcessorBytes() { * * *
-     * Required. The resource name of the [Processor][google.cloud.documentai.v1.Processor] to change default version.
+     * Required. The resource name of the
+     * [Processor][google.cloud.documentai.v1.Processor] to change default
+     * version.
      * 
* * @@ -630,7 +642,9 @@ public Builder setProcessor(java.lang.String value) { * * *
-     * Required. The resource name of the [Processor][google.cloud.documentai.v1.Processor] to change default version.
+     * Required. The resource name of the
+     * [Processor][google.cloud.documentai.v1.Processor] to change default
+     * version.
      * 
* * @@ -649,7 +663,9 @@ public Builder clearProcessor() { * * *
-     * Required. The resource name of the [Processor][google.cloud.documentai.v1.Processor] to change default version.
+     * Required. The resource name of the
+     * [Processor][google.cloud.documentai.v1.Processor] to change default
+     * version.
      * 
* * @@ -675,8 +691,9 @@ public Builder setProcessorBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. The resource name of child [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to use as default.
-     * Format:
+     * Required. The resource name of child
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to use as
+     * default. Format:
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{version}`
      * 
* @@ -701,8 +718,9 @@ public java.lang.String getDefaultProcessorVersion() { * * *
-     * Required. The resource name of child [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to use as default.
-     * Format:
+     * Required. The resource name of child
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to use as
+     * default. Format:
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{version}`
      * 
* @@ -727,8 +745,9 @@ public com.google.protobuf.ByteString getDefaultProcessorVersionBytes() { * * *
-     * Required. The resource name of child [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to use as default.
-     * Format:
+     * Required. The resource name of child
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to use as
+     * default. Format:
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{version}`
      * 
* @@ -752,8 +771,9 @@ public Builder setDefaultProcessorVersion(java.lang.String value) { * * *
-     * Required. The resource name of child [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to use as default.
-     * Format:
+     * Required. The resource name of child
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to use as
+     * default. Format:
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{version}`
      * 
* @@ -773,8 +793,9 @@ public Builder clearDefaultProcessorVersion() { * * *
-     * Required. The resource name of child [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to use as default.
-     * Format:
+     * Required. The resource name of child
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to use as
+     * default. Format:
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{version}`
      * 
* diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/SetDefaultProcessorVersionRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/SetDefaultProcessorVersionRequestOrBuilder.java index 6424cbc1ef5b..b242846a954c 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/SetDefaultProcessorVersionRequestOrBuilder.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/SetDefaultProcessorVersionRequestOrBuilder.java @@ -28,7 +28,9 @@ public interface SetDefaultProcessorVersionRequestOrBuilder * * *
-   * Required. The resource name of the [Processor][google.cloud.documentai.v1.Processor] to change default version.
+   * Required. The resource name of the
+   * [Processor][google.cloud.documentai.v1.Processor] to change default
+   * version.
    * 
* * @@ -42,7 +44,9 @@ public interface SetDefaultProcessorVersionRequestOrBuilder * * *
-   * Required. The resource name of the [Processor][google.cloud.documentai.v1.Processor] to change default version.
+   * Required. The resource name of the
+   * [Processor][google.cloud.documentai.v1.Processor] to change default
+   * version.
    * 
* * @@ -57,8 +61,9 @@ public interface SetDefaultProcessorVersionRequestOrBuilder * * *
-   * Required. The resource name of child [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to use as default.
-   * Format:
+   * Required. The resource name of child
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to use as
+   * default. Format:
    * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{version}`
    * 
* @@ -73,8 +78,9 @@ public interface SetDefaultProcessorVersionRequestOrBuilder * * *
-   * Required. The resource name of child [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to use as default.
-   * Format:
+   * Required. The resource name of child
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to use as
+   * default. Format:
    * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{version}`
    * 
* diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/TrainProcessorVersionRequest.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/TrainProcessorVersionRequest.java index e2bb9ecb736a..44562a96b076 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/TrainProcessorVersionRequest.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/TrainProcessorVersionRequest.java @@ -146,7 +146,8 @@ public interface InputDataOrBuilder * * *
-   * The input data used to train a new [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
+   * The input data used to train a new
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
    * 
* * Protobuf type {@code google.cloud.documentai.v1.TrainProcessorVersionRequest.InputData} @@ -472,7 +473,8 @@ protected Builder newBuilderForType( * * *
-     * The input data used to train a new [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
+     * The input data used to train a new
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
      * 
* * Protobuf type {@code google.cloud.documentai.v1.TrainProcessorVersionRequest.InputData} @@ -2000,8 +2002,8 @@ public interface FoundationModelTuningOptionsOrBuilder * * *
-     * Optional. The number of steps to run for model tuning. Valid values are between
-     * 1 and 400. If not provided, recommended steps will be used.
+     * Optional. The number of steps to run for model tuning. Valid values are
+     * between 1 and 400. If not provided, recommended steps will be used.
      * 
* * int32 train_steps = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -2014,9 +2016,9 @@ public interface FoundationModelTuningOptionsOrBuilder * * *
-     * Optional. The multiplier to apply to the recommended learning rate. Valid values
-     * are between 0.1 and 10. If not provided, recommended learning rate will
-     * be used.
+     * Optional. The multiplier to apply to the recommended learning rate. Valid
+     * values are between 0.1 and 10. If not provided, recommended learning rate
+     * will be used.
      * 
* * float learning_rate_multiplier = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -2078,8 +2080,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-     * Optional. The number of steps to run for model tuning. Valid values are between
-     * 1 and 400. If not provided, recommended steps will be used.
+     * Optional. The number of steps to run for model tuning. Valid values are
+     * between 1 and 400. If not provided, recommended steps will be used.
      * 
* * int32 train_steps = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -2097,9 +2099,9 @@ public int getTrainSteps() { * * *
-     * Optional. The multiplier to apply to the recommended learning rate. Valid values
-     * are between 0.1 and 10. If not provided, recommended learning rate will
-     * be used.
+     * Optional. The multiplier to apply to the recommended learning rate. Valid
+     * values are between 0.1 and 10. If not provided, recommended learning rate
+     * will be used.
      * 
* * float learning_rate_multiplier = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -2535,8 +2537,8 @@ public Builder mergeFrom( * * *
-       * Optional. The number of steps to run for model tuning. Valid values are between
-       * 1 and 400. If not provided, recommended steps will be used.
+       * Optional. The number of steps to run for model tuning. Valid values are
+       * between 1 and 400. If not provided, recommended steps will be used.
        * 
* * int32 train_steps = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -2551,8 +2553,8 @@ public int getTrainSteps() { * * *
-       * Optional. The number of steps to run for model tuning. Valid values are between
-       * 1 and 400. If not provided, recommended steps will be used.
+       * Optional. The number of steps to run for model tuning. Valid values are
+       * between 1 and 400. If not provided, recommended steps will be used.
        * 
* * int32 train_steps = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -2571,8 +2573,8 @@ public Builder setTrainSteps(int value) { * * *
-       * Optional. The number of steps to run for model tuning. Valid values are between
-       * 1 and 400. If not provided, recommended steps will be used.
+       * Optional. The number of steps to run for model tuning. Valid values are
+       * between 1 and 400. If not provided, recommended steps will be used.
        * 
* * int32 train_steps = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -2591,9 +2593,9 @@ public Builder clearTrainSteps() { * * *
-       * Optional. The multiplier to apply to the recommended learning rate. Valid values
-       * are between 0.1 and 10. If not provided, recommended learning rate will
-       * be used.
+       * Optional. The multiplier to apply to the recommended learning rate. Valid
+       * values are between 0.1 and 10. If not provided, recommended learning rate
+       * will be used.
        * 
* * float learning_rate_multiplier = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -2608,9 +2610,9 @@ public float getLearningRateMultiplier() { * * *
-       * Optional. The multiplier to apply to the recommended learning rate. Valid values
-       * are between 0.1 and 10. If not provided, recommended learning rate will
-       * be used.
+       * Optional. The multiplier to apply to the recommended learning rate. Valid
+       * values are between 0.1 and 10. If not provided, recommended learning rate
+       * will be used.
        * 
* * float learning_rate_multiplier = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -2629,9 +2631,9 @@ public Builder setLearningRateMultiplier(float value) { * * *
-       * Optional. The multiplier to apply to the recommended learning rate. Valid values
-       * are between 0.1 and 10. If not provided, recommended learning rate will
-       * be used.
+       * Optional. The multiplier to apply to the recommended learning rate. Valid
+       * values are between 0.1 and 10. If not provided, recommended learning rate
+       * will be used.
        * 
* * float learning_rate_multiplier = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -2906,8 +2908,9 @@ public boolean hasFoundationModelTuningOptions() { * * *
-   * Required. The parent (project, location and processor) to create the new version for.
-   * Format: `projects/{project}/locations/{location}/processors/{processor}`.
+   * Required. The parent (project, location and processor) to create the new
+   * version for. Format:
+   * `projects/{project}/locations/{location}/processors/{processor}`.
    * 
* * @@ -2932,8 +2935,9 @@ public java.lang.String getParent() { * * *
-   * Required. The parent (project, location and processor) to create the new version for.
-   * Format: `projects/{project}/locations/{location}/processors/{processor}`.
+   * Required. The parent (project, location and processor) to create the new
+   * version for. Format:
+   * `projects/{project}/locations/{location}/processors/{processor}`.
    * 
* * @@ -3073,7 +3077,8 @@ public com.google.cloud.documentai.v1.DocumentSchemaOrBuilder getDocumentSchemaO * * *
-   * Optional. The input data used to train the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
+   * Optional. The input data used to train the
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
    * 
* * @@ -3090,7 +3095,8 @@ public boolean hasInputData() { * * *
-   * Optional. The input data used to train the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
+   * Optional. The input data used to train the
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
    * 
* * @@ -3109,7 +3115,8 @@ public com.google.cloud.documentai.v1.TrainProcessorVersionRequest.InputData get * * *
-   * Optional. The input data used to train the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
+   * Optional. The input data used to train the
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
    * 
* * @@ -3132,8 +3139,8 @@ public com.google.cloud.documentai.v1.TrainProcessorVersionRequest.InputData get * * *
-   * Optional. The processor version to use as a base for training. This processor version
-   * must be a child of `parent`. Format:
+   * Optional. The processor version to use as a base for training. This
+   * processor version must be a child of `parent`. Format:
    * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`.
    * 
* @@ -3157,8 +3164,8 @@ public java.lang.String getBaseProcessorVersion() { * * *
-   * Optional. The processor version to use as a base for training. This processor version
-   * must be a child of `parent`. Format:
+   * Optional. The processor version to use as a base for training. This
+   * processor version must be a child of `parent`. Format:
    * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`.
    * 
* @@ -4312,8 +4319,9 @@ public Builder clearFoundationModelTuningOptions() { * * *
-     * Required. The parent (project, location and processor) to create the new version for.
-     * Format: `projects/{project}/locations/{location}/processors/{processor}`.
+     * Required. The parent (project, location and processor) to create the new
+     * version for. Format:
+     * `projects/{project}/locations/{location}/processors/{processor}`.
      * 
* * @@ -4337,8 +4345,9 @@ public java.lang.String getParent() { * * *
-     * Required. The parent (project, location and processor) to create the new version for.
-     * Format: `projects/{project}/locations/{location}/processors/{processor}`.
+     * Required. The parent (project, location and processor) to create the new
+     * version for. Format:
+     * `projects/{project}/locations/{location}/processors/{processor}`.
      * 
* * @@ -4362,8 +4371,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required. The parent (project, location and processor) to create the new version for.
-     * Format: `projects/{project}/locations/{location}/processors/{processor}`.
+     * Required. The parent (project, location and processor) to create the new
+     * version for. Format:
+     * `projects/{project}/locations/{location}/processors/{processor}`.
      * 
* * @@ -4386,8 +4396,9 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required. The parent (project, location and processor) to create the new version for.
-     * Format: `projects/{project}/locations/{location}/processors/{processor}`.
+     * Required. The parent (project, location and processor) to create the new
+     * version for. Format:
+     * `projects/{project}/locations/{location}/processors/{processor}`.
      * 
* * @@ -4406,8 +4417,9 @@ public Builder clearParent() { * * *
-     * Required. The parent (project, location and processor) to create the new version for.
-     * Format: `projects/{project}/locations/{location}/processors/{processor}`.
+     * Required. The parent (project, location and processor) to create the new
+     * version for. Format:
+     * `projects/{project}/locations/{location}/processors/{processor}`.
      * 
* * @@ -4848,7 +4860,8 @@ public com.google.cloud.documentai.v1.DocumentSchemaOrBuilder getDocumentSchemaO * * *
-     * Optional. The input data used to train the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
+     * Optional. The input data used to train the
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
      * 
* * @@ -4864,7 +4877,8 @@ public boolean hasInputData() { * * *
-     * Optional. The input data used to train the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
+     * Optional. The input data used to train the
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
      * 
* * @@ -4887,7 +4901,8 @@ public com.google.cloud.documentai.v1.TrainProcessorVersionRequest.InputData get * * *
-     * Optional. The input data used to train the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
+     * Optional. The input data used to train the
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
      * 
* * @@ -4912,7 +4927,8 @@ public Builder setInputData( * * *
-     * Optional. The input data used to train the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
+     * Optional. The input data used to train the
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
      * 
* * @@ -4935,7 +4951,8 @@ public Builder setInputData( * * *
-     * Optional. The input data used to train the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
+     * Optional. The input data used to train the
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
      * 
* * @@ -4967,7 +4984,8 @@ public Builder mergeInputData( * * *
-     * Optional. The input data used to train the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
+     * Optional. The input data used to train the
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
      * 
* * @@ -4988,7 +5006,8 @@ public Builder clearInputData() { * * *
-     * Optional. The input data used to train the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
+     * Optional. The input data used to train the
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
      * 
* * @@ -5005,7 +5024,8 @@ public Builder clearInputData() { * * *
-     * Optional. The input data used to train the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
+     * Optional. The input data used to train the
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
      * 
* * @@ -5027,7 +5047,8 @@ public Builder clearInputData() { * * *
-     * Optional. The input data used to train the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
+     * Optional. The input data used to train the
+     * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
      * 
* * @@ -5056,8 +5077,8 @@ public Builder clearInputData() { * * *
-     * Optional. The processor version to use as a base for training. This processor version
-     * must be a child of `parent`. Format:
+     * Optional. The processor version to use as a base for training. This
+     * processor version must be a child of `parent`. Format:
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`.
      * 
* @@ -5080,8 +5101,8 @@ public java.lang.String getBaseProcessorVersion() { * * *
-     * Optional. The processor version to use as a base for training. This processor version
-     * must be a child of `parent`. Format:
+     * Optional. The processor version to use as a base for training. This
+     * processor version must be a child of `parent`. Format:
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`.
      * 
* @@ -5104,8 +5125,8 @@ public com.google.protobuf.ByteString getBaseProcessorVersionBytes() { * * *
-     * Optional. The processor version to use as a base for training. This processor version
-     * must be a child of `parent`. Format:
+     * Optional. The processor version to use as a base for training. This
+     * processor version must be a child of `parent`. Format:
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`.
      * 
* @@ -5127,8 +5148,8 @@ public Builder setBaseProcessorVersion(java.lang.String value) { * * *
-     * Optional. The processor version to use as a base for training. This processor version
-     * must be a child of `parent`. Format:
+     * Optional. The processor version to use as a base for training. This
+     * processor version must be a child of `parent`. Format:
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`.
      * 
* @@ -5146,8 +5167,8 @@ public Builder clearBaseProcessorVersion() { * * *
-     * Optional. The processor version to use as a base for training. This processor version
-     * must be a child of `parent`. Format:
+     * Optional. The processor version to use as a base for training. This
+     * processor version must be a child of `parent`. Format:
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`.
      * 
* diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/TrainProcessorVersionRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/TrainProcessorVersionRequestOrBuilder.java index 454f017ea1e4..00c0bf967fbe 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/TrainProcessorVersionRequestOrBuilder.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/TrainProcessorVersionRequestOrBuilder.java @@ -115,8 +115,9 @@ public interface TrainProcessorVersionRequestOrBuilder * * *
-   * Required. The parent (project, location and processor) to create the new version for.
-   * Format: `projects/{project}/locations/{location}/processors/{processor}`.
+   * Required. The parent (project, location and processor) to create the new
+   * version for. Format:
+   * `projects/{project}/locations/{location}/processors/{processor}`.
    * 
* * @@ -130,8 +131,9 @@ public interface TrainProcessorVersionRequestOrBuilder * * *
-   * Required. The parent (project, location and processor) to create the new version for.
-   * Format: `projects/{project}/locations/{location}/processors/{processor}`.
+   * Required. The parent (project, location and processor) to create the new
+   * version for. Format:
+   * `projects/{project}/locations/{location}/processors/{processor}`.
    * 
* * @@ -228,7 +230,8 @@ public interface TrainProcessorVersionRequestOrBuilder * * *
-   * Optional. The input data used to train the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
+   * Optional. The input data used to train the
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
    * 
* * @@ -242,7 +245,8 @@ public interface TrainProcessorVersionRequestOrBuilder * * *
-   * Optional. The input data used to train the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
+   * Optional. The input data used to train the
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
    * 
* * @@ -256,7 +260,8 @@ public interface TrainProcessorVersionRequestOrBuilder * * *
-   * Optional. The input data used to train the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
+   * Optional. The input data used to train the
+   * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
    * 
* * @@ -270,8 +275,8 @@ public interface TrainProcessorVersionRequestOrBuilder * * *
-   * Optional. The processor version to use as a base for training. This processor version
-   * must be a child of `parent`. Format:
+   * Optional. The processor version to use as a base for training. This
+   * processor version must be a child of `parent`. Format:
    * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`.
    * 
* @@ -284,8 +289,8 @@ public interface TrainProcessorVersionRequestOrBuilder * * *
-   * Optional. The processor version to use as a base for training. This processor version
-   * must be a child of `parent`. Format:
+   * Optional. The processor version to use as a base for training. This
+   * processor version must be a child of `parent`. Format:
    * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`.
    * 
* diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/barcode.proto b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/barcode.proto index 805203ba0204..44b19783da32 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/barcode.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/barcode.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document.proto b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document.proto index 1d6f22fd1560..3a8777306c42 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -50,7 +50,8 @@ message Document { // Total number of shards. int64 shard_count = 2; - // The index of the first character in [Document.text][google.cloud.documentai.v1.Document.text] in the overall + // The index of the first character in + // [Document.text][google.cloud.documentai.v1.Document.text] in the overall // document global text. int64 text_offset = 3; } @@ -68,7 +69,8 @@ message Document { string unit = 2; } - // Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text]. + // Text anchor indexing into the + // [Document.text][google.cloud.documentai.v1.Document.text]. TextAnchor text_anchor = 1; // Text color. @@ -172,25 +174,31 @@ message Document { PAGE_LEFT = 4; } - // Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text]. + // Text anchor indexing into the + // [Document.text][google.cloud.documentai.v1.Document.text]. TextAnchor text_anchor = 1; - // Confidence of the current [Layout][google.cloud.documentai.v1.Document.Page.Layout] within context of the object this - // layout is for. e.g. confidence can be for a single token, a table, - // a visual element, etc. depending on context. Range `[0, 1]`. + // Confidence of the current + // [Layout][google.cloud.documentai.v1.Document.Page.Layout] within + // context of the object this layout is for. e.g. confidence can be for a + // single token, a table, a visual element, etc. depending on context. + // Range `[0, 1]`. float confidence = 2; - // The bounding polygon for the [Layout][google.cloud.documentai.v1.Document.Page.Layout]. + // The bounding polygon for the + // [Layout][google.cloud.documentai.v1.Document.Page.Layout]. BoundingPoly bounding_poly = 3; - // Detected orientation for the [Layout][google.cloud.documentai.v1.Document.Page.Layout]. + // Detected orientation for the + // [Layout][google.cloud.documentai.v1.Document.Page.Layout]. Orientation orientation = 4; } // A block has a set of lines (collected into paragraphs) that have a // common line-spacing and orientation. message Block { - // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Block][google.cloud.documentai.v1.Document.Page.Block]. + // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for + // [Block][google.cloud.documentai.v1.Document.Page.Block]. Layout layout = 1; // A list of detected languages together with confidence. @@ -202,7 +210,8 @@ message Document { // A collection of lines that a human would perceive as a paragraph. message Paragraph { - // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph]. + // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for + // [Paragraph][google.cloud.documentai.v1.Document.Page.Paragraph]. Layout layout = 1; // A list of detected languages together with confidence. @@ -215,7 +224,8 @@ message Document { // A collection of tokens that a human would perceive as a line. // Does not cross column boundaries, can be horizontal, vertical, etc. message Line { - // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Line][google.cloud.documentai.v1.Document.Page.Line]. + // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for + // [Line][google.cloud.documentai.v1.Document.Page.Line]. Layout layout = 1; // A list of detected languages together with confidence. @@ -227,7 +237,8 @@ message Document { // A detected token. message Token { - // Detected break at the end of a [Token][google.cloud.documentai.v1.Document.Page.Token]. + // Detected break at the end of a + // [Token][google.cloud.documentai.v1.Document.Page.Token]. message DetectedBreak { // Enum to denote the type of break found. enum Type { @@ -253,8 +264,9 @@ message Document { // Font size in points (`1` point is `¹⁄₇₂` inches). int32 font_size = 1; - // Font size in pixels, equal to _unrounded [font_size][google.cloud.documentai.v1.Document.Page.Token.StyleInfo.font_size]_ * - // _resolution_ ÷ `72.0`. + // Font size in pixels, equal to _unrounded + // [font_size][google.cloud.documentai.v1.Document.Page.Token.StyleInfo.font_size]_ + // * _resolution_ ÷ `72.0`. double pixel_font_size = 2; // Letter spacing in points. @@ -263,8 +275,9 @@ message Document { // Name or style of the font. string font_type = 4; - // Whether the text is bold (equivalent to [font_weight][google.cloud.documentai.v1.Document.Page.Token.StyleInfo.font_weight] is at least - // `700`). + // Whether the text is bold (equivalent to + // [font_weight][google.cloud.documentai.v1.Document.Page.Token.StyleInfo.font_weight] + // is at least `700`). bool bold = 5; // Whether the text is italic. @@ -299,10 +312,12 @@ message Document { google.type.Color background_color = 15; } - // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Token][google.cloud.documentai.v1.Document.Page.Token]. + // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for + // [Token][google.cloud.documentai.v1.Document.Page.Token]. Layout layout = 1; - // Detected break at the end of a [Token][google.cloud.documentai.v1.Document.Page.Token]. + // Detected break at the end of a + // [Token][google.cloud.documentai.v1.Document.Page.Token]. DetectedBreak detected_break = 2; // A list of detected languages together with confidence. @@ -317,7 +332,8 @@ message Document { // A detected symbol. message Symbol { - // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Symbol][google.cloud.documentai.v1.Document.Page.Symbol]. + // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for + // [Symbol][google.cloud.documentai.v1.Document.Page.Symbol]. Layout layout = 1; // A list of detected languages together with confidence. @@ -327,10 +343,12 @@ message Document { // Detected non-text visual elements e.g. checkbox, signature etc. on the // page. message VisualElement { - // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement]. + // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for + // [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement]. Layout layout = 1; - // Type of the [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement]. + // Type of the + // [VisualElement][google.cloud.documentai.v1.Document.Page.VisualElement]. string type = 2; // A list of detected languages together with confidence. @@ -347,7 +365,8 @@ message Document { // A cell representation inside the table. message TableCell { - // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell]. + // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for + // [TableCell][google.cloud.documentai.v1.Document.Page.Table.TableCell]. Layout layout = 1; // How many rows this cell spans. @@ -360,7 +379,8 @@ message Document { repeated DetectedLanguage detected_languages = 4; } - // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [Table][google.cloud.documentai.v1.Document.Page.Table]. + // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for + // [Table][google.cloud.documentai.v1.Document.Page.Table]. Layout layout = 1; // Header rows of the table. @@ -378,11 +398,13 @@ message Document { // A form field detected on the page. message FormField { - // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] name. e.g. `Address`, `Email`, - // `Grand total`, `Phone number`, etc. + // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the + // [FormField][google.cloud.documentai.v1.Document.Page.FormField] name. + // e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc. Layout field_name = 1; - // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1.Document.Page.FormField] value. + // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for the + // [FormField][google.cloud.documentai.v1.Document.Page.FormField] value. Layout field_value = 2; // A list of detected languages for name together with confidence. @@ -415,10 +437,12 @@ message Document { // A detected barcode. message DetectedBarcode { - // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode]. + // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for + // [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode]. Layout layout = 1; - // Detailed barcode information of the [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode]. + // Detailed barcode information of the + // [DetectedBarcode][google.cloud.documentai.v1.Document.Page.DetectedBarcode]. Barcode barcode = 2; } @@ -461,9 +485,11 @@ message Document { repeated DetectedDefect detected_defects = 2; } - // 1-based index for current [Page][google.cloud.documentai.v1.Document.Page] in a parent [Document][google.cloud.documentai.v1.Document]. - // Useful when a page is taken out of a [Document][google.cloud.documentai.v1.Document] for individual - // processing. + // 1-based index for current + // [Page][google.cloud.documentai.v1.Document.Page] in a parent + // [Document][google.cloud.documentai.v1.Document]. Useful when a page is + // taken out of a [Document][google.cloud.documentai.v1.Document] for + // individual processing. int32 page_number = 1; // Rendered image for this page. This image is preprocessed to remove any @@ -576,7 +602,8 @@ message Document { } // Optional. Provenance of the entity. - // Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text]. + // Text anchor indexing into the + // [Document.text][google.cloud.documentai.v1.Document.text]. TextAnchor text_anchor = 1 [(google.api.field_behavior) = OPTIONAL]; // Required. Entity type from a schema e.g. `Address`. @@ -591,32 +618,35 @@ message Document { // Optional. Confidence of detected Schema entity. Range `[0, 1]`. float confidence = 5 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Represents the provenance of this entity wrt. the location on the - // page where it was found. + // Optional. Represents the provenance of this entity wrt. the location on + // the page where it was found. PageAnchor page_anchor = 6 [(google.api.field_behavior) = OPTIONAL]; // Optional. Canonical id. This will be a unique value in the entity list // for this document. string id = 7 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Normalized entity value. Absent if the extracted value could not be - // converted or the type (e.g. address) is not supported for certain + // Optional. Normalized entity value. Absent if the extracted value could + // not be converted or the type (e.g. address) is not supported for certain // parsers. This field is also only populated for certain supported document // types. - NormalizedValue normalized_value = 9 [(google.api.field_behavior) = OPTIONAL]; + NormalizedValue normalized_value = 9 + [(google.api.field_behavior) = OPTIONAL]; - // Optional. Entities can be nested to form a hierarchical data structure representing - // the content in the document. + // Optional. Entities can be nested to form a hierarchical data structure + // representing the content in the document. repeated Entity properties = 10 [(google.api.field_behavior) = OPTIONAL]; // Optional. The history of this annotation. Provenance provenance = 11 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Whether the entity will be redacted for de-identification purposes. + // Optional. Whether the entity will be redacted for de-identification + // purposes. bool redacted = 12 [(google.api.field_behavior) = OPTIONAL]; } - // Relationship between [Entities][google.cloud.documentai.v1.Document.Entity]. + // Relationship between + // [Entities][google.cloud.documentai.v1.Document.Entity]. message EntityRelation { // Subject entity id. string subject_id = 1; @@ -628,21 +658,28 @@ message Document { string relation = 3; } - // Text reference indexing into the [Document.text][google.cloud.documentai.v1.Document.text]. + // Text reference indexing into the + // [Document.text][google.cloud.documentai.v1.Document.text]. message TextAnchor { - // A text segment in the [Document.text][google.cloud.documentai.v1.Document.text]. The indices may be out of bounds - // which indicate that the text extends into another document shard for - // large sharded documents. See [ShardInfo.text_offset][google.cloud.documentai.v1.Document.ShardInfo.text_offset] + // A text segment in the + // [Document.text][google.cloud.documentai.v1.Document.text]. The indices + // may be out of bounds which indicate that the text extends into another + // document shard for large sharded documents. See + // [ShardInfo.text_offset][google.cloud.documentai.v1.Document.ShardInfo.text_offset] message TextSegment { - // [TextSegment][google.cloud.documentai.v1.Document.TextAnchor.TextSegment] start UTF-8 char index in the [Document.text][google.cloud.documentai.v1.Document.text]. + // [TextSegment][google.cloud.documentai.v1.Document.TextAnchor.TextSegment] + // start UTF-8 char index in the + // [Document.text][google.cloud.documentai.v1.Document.text]. int64 start_index = 1; - // [TextSegment][google.cloud.documentai.v1.Document.TextAnchor.TextSegment] half open end UTF-8 char index in the + // [TextSegment][google.cloud.documentai.v1.Document.TextAnchor.TextSegment] + // half open end UTF-8 char index in the // [Document.text][google.cloud.documentai.v1.Document.text]. int64 end_index = 2; } - // The text segments from the [Document.text][google.cloud.documentai.v1.Document.text]. + // The text segments from the + // [Document.text][google.cloud.documentai.v1.Document.text]. repeated TextSegment text_segments = 1; // Contains the content of the text span so that users do @@ -651,9 +688,10 @@ message Document { string content = 2; } - // Referencing the visual context of the entity in the [Document.pages][google.cloud.documentai.v1.Document.pages]. - // Page anchors can be cross-page, consist of multiple bounding polygons and - // optionally reference specific layout element types. + // Referencing the visual context of the entity in the + // [Document.pages][google.cloud.documentai.v1.Document.pages]. Page anchors + // can be cross-page, consist of multiple bounding polygons and optionally + // reference specific layout element types. message PageAnchor { // Represents a weak reference to a page element within a document. message PageRef { @@ -662,49 +700,66 @@ message Document { // Layout Unspecified. LAYOUT_TYPE_UNSPECIFIED = 0; - // References a [Page.blocks][google.cloud.documentai.v1.Document.Page.blocks] element. + // References a + // [Page.blocks][google.cloud.documentai.v1.Document.Page.blocks] + // element. BLOCK = 1; - // References a [Page.paragraphs][google.cloud.documentai.v1.Document.Page.paragraphs] element. + // References a + // [Page.paragraphs][google.cloud.documentai.v1.Document.Page.paragraphs] + // element. PARAGRAPH = 2; - // References a [Page.lines][google.cloud.documentai.v1.Document.Page.lines] element. + // References a + // [Page.lines][google.cloud.documentai.v1.Document.Page.lines] element. LINE = 3; - // References a [Page.tokens][google.cloud.documentai.v1.Document.Page.tokens] element. + // References a + // [Page.tokens][google.cloud.documentai.v1.Document.Page.tokens] + // element. TOKEN = 4; - // References a [Page.visual_elements][google.cloud.documentai.v1.Document.Page.visual_elements] element. + // References a + // [Page.visual_elements][google.cloud.documentai.v1.Document.Page.visual_elements] + // element. VISUAL_ELEMENT = 5; - // Refrrences a [Page.tables][google.cloud.documentai.v1.Document.Page.tables] element. + // Refrrences a + // [Page.tables][google.cloud.documentai.v1.Document.Page.tables] + // element. TABLE = 6; - // References a [Page.form_fields][google.cloud.documentai.v1.Document.Page.form_fields] element. + // References a + // [Page.form_fields][google.cloud.documentai.v1.Document.Page.form_fields] + // element. FORM_FIELD = 7; } - // Required. Index into the [Document.pages][google.cloud.documentai.v1.Document.pages] element, for example using + // Required. Index into the + // [Document.pages][google.cloud.documentai.v1.Document.pages] element, + // for example using // `[Document.pages][page_refs.page]` to locate the related page element. // This field is skipped when its value is the default `0`. See // https://developers.google.com/protocol-buffers/docs/proto3#json. int64 page = 1 [(google.api.field_behavior) = REQUIRED]; - // Optional. The type of the layout element that is being referenced if any. + // Optional. The type of the layout element that is being referenced if + // any. LayoutType layout_type = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Deprecated. Use [PageRef.bounding_poly][google.cloud.documentai.v1.Document.PageAnchor.PageRef.bounding_poly] instead. - string layout_id = 3 [ - deprecated = true, - (google.api.field_behavior) = OPTIONAL - ]; + // Optional. Deprecated. Use + // [PageRef.bounding_poly][google.cloud.documentai.v1.Document.PageAnchor.PageRef.bounding_poly] + // instead. + string layout_id = 3 + [deprecated = true, (google.api.field_behavior) = OPTIONAL]; - // Optional. Identifies the bounding polygon of a layout element on the page. - // If `layout_type` is set, the bounding polygon must be exactly the same - // to the layout element it's referring to. + // Optional. Identifies the bounding polygon of a layout element on the + // page. If `layout_type` is set, the bounding polygon must be exactly the + // same to the layout element it's referring to. BoundingPoly bounding_poly = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Confidence of detected page element, if applicable. Range `[0, 1]`. + // Optional. Confidence of detected page element, if applicable. Range + // `[0, 1]`. float confidence = 5 [(google.api.field_behavior) = OPTIONAL]; } @@ -824,8 +879,9 @@ message Document { // This message is used for text changes aka. OCR corrections. message TextChange { // Provenance of the correction. - // Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text]. There can only be a - // single `TextAnchor.text_segments` element. If the start and + // Text anchor indexing into the + // [Document.text][google.cloud.documentai.v1.Document.text]. There can + // only be a single `TextAnchor.text_segments` element. If the start and // end index of the text segment are the same, the text change is inserted // before that index. TextAnchor text_anchor = 1; @@ -864,16 +920,19 @@ message Document { // Visual page layout for the [Document][google.cloud.documentai.v1.Document]. repeated Page pages = 6; - // A list of entities detected on [Document.text][google.cloud.documentai.v1.Document.text]. For document shards, - // entities in this list may cross shard boundaries. + // A list of entities detected on + // [Document.text][google.cloud.documentai.v1.Document.text]. For document + // shards, entities in this list may cross shard boundaries. repeated Entity entities = 7; - // Placeholder. Relationship among [Document.entities][google.cloud.documentai.v1.Document.entities]. + // Placeholder. Relationship among + // [Document.entities][google.cloud.documentai.v1.Document.entities]. repeated EntityRelation entity_relations = 8; - // Placeholder. A list of text corrections made to [Document.text][google.cloud.documentai.v1.Document.text]. This - // is usually used for annotating corrections to OCR mistakes. Text changes - // for a given revision may not overlap with each other. + // Placeholder. A list of text corrections made to + // [Document.text][google.cloud.documentai.v1.Document.text]. This is usually + // used for annotating corrections to OCR mistakes. Text changes for a given + // revision may not overlap with each other. repeated TextChange text_changes = 14; // Information about the sharding if this document is sharded part of a larger diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_io.proto b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_io.proto index fb93ffcf12d1..a84bfc4fba6a 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_io.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_io.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -160,7 +160,9 @@ message OcrConfig { bool enable_symbol = 6; // Turn on font identification model and return font style information. - // Deprecated, use [PremiumFeatures.compute_style_info][google.cloud.documentai.v1.OcrConfig.PremiumFeatures.compute_style_info] instead. + // Deprecated, use + // [PremiumFeatures.compute_style_info][google.cloud.documentai.v1.OcrConfig.PremiumFeatures.compute_style_info] + // instead. bool compute_style_info = 8 [deprecated = true]; // Turn off character box detector in OCR engine. Character box detection is diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_processor_service.proto b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_processor_service.proto index cf40d9dd8c46..102f5bae37ed 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_processor_service.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_processor_service.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -55,7 +55,8 @@ option (google.api.resource_definition) = { // structured information from unstructured or semi-structured documents. service DocumentProcessorService { option (google.api.default_host) = "documentai.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Processes a single document. rpc ProcessDocument(ProcessRequest) returns (ProcessResponse) { @@ -72,7 +73,8 @@ service DocumentProcessorService { // LRO endpoint to batch process many documents. The output is written // to Cloud Storage as JSON in the [Document] format. - rpc BatchProcessDocuments(BatchProcessRequest) returns (google.longrunning.Operation) { + rpc BatchProcessDocuments(BatchProcessRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/processors/*}:batchProcess" body: "*" @@ -88,9 +90,11 @@ service DocumentProcessorService { }; } - // Fetches processor types. Note that we don't use [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes] + // Fetches processor types. Note that we don't use + // [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes] // here, because it isn't paginated. - rpc FetchProcessorTypes(FetchProcessorTypesRequest) returns (FetchProcessorTypesResponse) { + rpc FetchProcessorTypes(FetchProcessorTypesRequest) + returns (FetchProcessorTypesResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}:fetchProcessorTypes" }; @@ -98,7 +102,8 @@ service DocumentProcessorService { } // Lists the processor types that exist. - rpc ListProcessorTypes(ListProcessorTypesRequest) returns (ListProcessorTypesResponse) { + rpc ListProcessorTypes(ListProcessorTypesRequest) + returns (ListProcessorTypesResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/processorTypes" }; @@ -132,7 +137,8 @@ service DocumentProcessorService { // Trains a new processor version. // Operation metadata is returned as // [TrainProcessorVersionMetadata][google.cloud.documentai.v1.TrainProcessorVersionMetadata]. - rpc TrainProcessorVersion(TrainProcessorVersionRequest) returns (google.longrunning.Operation) { + rpc TrainProcessorVersion(TrainProcessorVersionRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*/processors/*}/processorVersions:train" body: "*" @@ -145,7 +151,8 @@ service DocumentProcessorService { } // Gets a processor version detail. - rpc GetProcessorVersion(GetProcessorVersionRequest) returns (ProcessorVersion) { + rpc GetProcessorVersion(GetProcessorVersionRequest) + returns (ProcessorVersion) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/processors/*/processorVersions/*}" }; @@ -153,7 +160,8 @@ service DocumentProcessorService { } // Lists all versions of a processor. - rpc ListProcessorVersions(ListProcessorVersionsRequest) returns (ListProcessorVersionsResponse) { + rpc ListProcessorVersions(ListProcessorVersionsRequest) + returns (ListProcessorVersionsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*/processors/*}/processorVersions" }; @@ -162,7 +170,8 @@ service DocumentProcessorService { // Deletes the processor version, all artifacts under the processor version // will be deleted. - rpc DeleteProcessorVersion(DeleteProcessorVersionRequest) returns (google.longrunning.Operation) { + rpc DeleteProcessorVersion(DeleteProcessorVersionRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/processors/*/processorVersions/*}" }; @@ -174,7 +183,8 @@ service DocumentProcessorService { } // Deploys the processor version. - rpc DeployProcessorVersion(DeployProcessorVersionRequest) returns (google.longrunning.Operation) { + rpc DeployProcessorVersion(DeployProcessorVersionRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/processors/*/processorVersions/*}:deploy" body: "*" @@ -187,7 +197,8 @@ service DocumentProcessorService { } // Undeploys the processor version. - rpc UndeployProcessorVersion(UndeployProcessorVersionRequest) returns (google.longrunning.Operation) { + rpc UndeployProcessorVersion(UndeployProcessorVersionRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/processors/*/processorVersions/*}:undeploy" body: "*" @@ -199,8 +210,9 @@ service DocumentProcessorService { }; } - // Creates a processor from the [ProcessorType][google.cloud.documentai.v1.ProcessorType] provided. - // The processor will be at `ENABLED` state by default after its creation. + // Creates a processor from the + // [ProcessorType][google.cloud.documentai.v1.ProcessorType] provided. The + // processor will be at `ENABLED` state by default after its creation. rpc CreateProcessor(CreateProcessorRequest) returns (Processor) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/processors" @@ -211,7 +223,8 @@ service DocumentProcessorService { // Deletes the processor, unloads all deployed model artifacts if it was // enabled and then deletes all artifacts associated with this processor. - rpc DeleteProcessor(DeleteProcessorRequest) returns (google.longrunning.Operation) { + rpc DeleteProcessor(DeleteProcessorRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/processors/*}" }; @@ -223,7 +236,8 @@ service DocumentProcessorService { } // Enables a processor - rpc EnableProcessor(EnableProcessorRequest) returns (google.longrunning.Operation) { + rpc EnableProcessor(EnableProcessorRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/processors/*}:enable" body: "*" @@ -235,7 +249,8 @@ service DocumentProcessorService { } // Disables a processor - rpc DisableProcessor(DisableProcessorRequest) returns (google.longrunning.Operation) { + rpc DisableProcessor(DisableProcessorRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/processors/*}:disable" body: "*" @@ -246,10 +261,13 @@ service DocumentProcessorService { }; } - // Set the default (active) version of a [Processor][google.cloud.documentai.v1.Processor] that will be used in - // [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument] and + // Set the default (active) version of a + // [Processor][google.cloud.documentai.v1.Processor] that will be used in + // [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument] + // and // [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]. - rpc SetDefaultProcessorVersion(SetDefaultProcessorVersionRequest) returns (google.longrunning.Operation) { + rpc SetDefaultProcessorVersion(SetDefaultProcessorVersionRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{processor=projects/*/locations/*/processors/*}:setDefaultProcessorVersion" body: "*" @@ -262,7 +280,8 @@ service DocumentProcessorService { // Send a document for Human Review. The input document should be processed by // the specified processor. - rpc ReviewDocument(ReviewDocumentRequest) returns (google.longrunning.Operation) { + rpc ReviewDocument(ReviewDocumentRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{human_review_config=projects/*/locations/*/processors/*/humanReviewConfig}:reviewDocument" body: "*" @@ -276,7 +295,8 @@ service DocumentProcessorService { // Evaluates a ProcessorVersion against annotated documents, producing an // Evaluation. - rpc EvaluateProcessorVersion(EvaluateProcessorVersionRequest) returns (google.longrunning.Operation) { + rpc EvaluateProcessorVersion(EvaluateProcessorVersionRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{processor_version=projects/*/locations/*/processors/*/processorVersions/*}:evaluateProcessorVersion" body: "*" @@ -297,7 +317,8 @@ service DocumentProcessorService { } // Retrieves a set of evaluations for a given processor version. - rpc ListEvaluations(ListEvaluationsRequest) returns (ListEvaluationsResponse) { + rpc ListEvaluations(ListEvaluationsRequest) + returns (ListEvaluationsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*/processors/*/processorVersions/*}/evaluations" }; @@ -315,7 +336,8 @@ message ProcessOptions { // A subset of pages to process. If not specified, all pages are processed. // If a page range is set, only the given pages are extracted and processed - // from the document. In the output document, [Document.Page.page_number][google.cloud.documentai.v1.Document.Page.page_number] + // from the document. In the output document, + // [Document.Page.page_number][google.cloud.documentai.v1.Document.Page.page_number] // refers to the page number in the original document. This configuration // only applies to sync requests. oneof page_range { @@ -334,14 +356,17 @@ message ProcessOptions { // Returns error if set on other processor types. OcrConfig ocr_config = 1; - // Optional. Override the schema of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will return an Invalid - // Argument error if this field is set when the underlying - // [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't support schema override. + // Optional. Override the schema of the + // [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will + // return an Invalid Argument error if this field is set when the underlying + // [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't + // support schema override. DocumentSchema schema_override = 8 [(google.api.field_behavior) = OPTIONAL]; } // Request message for the -// [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument] method. +// [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument] +// method. message ProcessRequest { // The document payload. oneof source { @@ -355,24 +380,27 @@ message ProcessRequest { GcsDocument gcs_document = 8; } - // Required. The resource name of the [Processor][google.cloud.documentai.v1.Processor] or + // Required. The resource name of the + // [Processor][google.cloud.documentai.v1.Processor] or // [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] - // to use for processing. If a [Processor][google.cloud.documentai.v1.Processor] is specified, the server will use - // its [default version][google.cloud.documentai.v1.Processor.default_processor_version]. Format: - // `projects/{project}/locations/{location}/processors/{processor}`, or + // to use for processing. If a + // [Processor][google.cloud.documentai.v1.Processor] is specified, the server + // will use its [default + // version][google.cloud.documentai.v1.Processor.default_processor_version]. + // Format: `projects/{project}/locations/{location}/processors/{processor}`, + // or // `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "*" - } + (google.api.resource_reference) = { type: "*" } ]; // Whether human review should be skipped for this request. Default to // `false`. bool skip_human_review = 3; - // Specifies which fields to include in the [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document] + // Specifies which fields to include in the + // [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document] // output. Only supports top-level document and pages field, so it must be in // the form of `{document_field_name}` or `pages.{page_field_name}`. google.protobuf.FieldMask field_mask = 6; @@ -408,7 +436,8 @@ message HumanReviewStatus { IN_PROGRESS = 3; // Some error happened during triggering human review, see the - // [state_message][google.cloud.documentai.v1.HumanReviewStatus.state_message] for details. + // [state_message][google.cloud.documentai.v1.HumanReviewStatus.state_message] + // for details. ERROR = 4; } @@ -419,14 +448,17 @@ message HumanReviewStatus { string state_message = 2; // The name of the operation triggered by the processed document. This field - // is populated only when the [state][google.cloud.documentai.v1.HumanReviewStatus.state] is `HUMAN_REVIEW_IN_PROGRESS`. It has - // the same response type and metadata as the long-running operation returned - // by [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument]. + // is populated only when the + // [state][google.cloud.documentai.v1.HumanReviewStatus.state] is + // `HUMAN_REVIEW_IN_PROGRESS`. It has the same response type and metadata as + // the long-running operation returned by + // [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument]. string human_review_operation = 3; } // Response message for the -// [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument] method. +// [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument] +// method. message ProcessResponse { // The document payload, will populate fields based on the processor's // behavior. @@ -439,16 +471,15 @@ message ProcessResponse { // Request message for // [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]. message BatchProcessRequest { - // Required. The resource name of [Processor][google.cloud.documentai.v1.Processor] or + // Required. The resource name of + // [Processor][google.cloud.documentai.v1.Processor] or // [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. // Format: `projects/{project}/locations/{location}/processors/{processor}`, // or // `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "*" - } + (google.api.resource_reference) = { type: "*" } ]; // The input documents for the @@ -479,25 +510,24 @@ message BatchProcessRequest { // Response message for // [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]. -message BatchProcessResponse { - -} +message BatchProcessResponse {} // The long-running operation metadata for // [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]. message BatchProcessMetadata { // The status of a each individual document in the batch process. message IndividualProcessStatus { - // The source of the document, same as the [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] field in the - // request when the batch process started. + // The source of the document, same as the + // [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] + // field in the request when the batch process started. string input_gcs_source = 1; // The status processing the document. google.rpc.Status status = 2; // The Cloud Storage output destination (in the request as - // [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) of the processed - // document if it was successful, otherwise empty. + // [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) + // of the processed document if it was successful, otherwise empty. string output_gcs_destination = 3; // The status of human review on the processed document. @@ -546,8 +576,9 @@ message BatchProcessMetadata { } // Request message for the -// [FetchProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.FetchProcessorTypes] method. -// Some processor types may require the project be added to an allowlist. +// [FetchProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.FetchProcessorTypes] +// method. Some processor types may require the project be added to an +// allowlist. message FetchProcessorTypesRequest { // Required. The location of processor types to list. // Format: `projects/{project}/locations/{location}`. @@ -560,15 +591,17 @@ message FetchProcessorTypesRequest { } // Response message for the -// [FetchProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.FetchProcessorTypes] method. +// [FetchProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.FetchProcessorTypes] +// method. message FetchProcessorTypesResponse { // The list of processor types. repeated ProcessorType processor_types = 1; } // Request message for the -// [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes] method. -// Some processor types may require the project be added to an allowlist. +// [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes] +// method. Some processor types may require the project be added to an +// allowlist. message ListProcessorTypesRequest { // Required. The location of processor types to list. // Format: `projects/{project}/locations/{location}`. @@ -589,7 +622,8 @@ message ListProcessorTypesRequest { } // Response message for the -// [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes] method. +// [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes] +// method. message ListProcessorTypesResponse { // The processor types. repeated ProcessorType processor_types = 1; @@ -600,8 +634,8 @@ message ListProcessorTypesResponse { // Request message for list all processors belongs to a project. message ListProcessorsRequest { - // Required. The parent (project and location) which owns this collection of Processors. - // Format: `projects/{project}/locations/{location}` + // Required. The parent (project and location) which owns this collection of + // Processors. Format: `projects/{project}/locations/{location}` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -620,7 +654,8 @@ message ListProcessorsRequest { } // Response message for the -// [ListProcessors][google.cloud.documentai.v1.DocumentProcessorService.ListProcessors] method. +// [ListProcessors][google.cloud.documentai.v1.DocumentProcessorService.ListProcessors] +// method. message ListProcessorsResponse { // The list of processors. repeated Processor processors = 1; @@ -630,7 +665,8 @@ message ListProcessorsResponse { } // Request message for the -// [GetProcessorType][google.cloud.documentai.v1.DocumentProcessorService.GetProcessorType] method. +// [GetProcessorType][google.cloud.documentai.v1.DocumentProcessorService.GetProcessorType] +// method. message GetProcessorTypeRequest { // Required. The processor type resource name. string name = 1 [ @@ -641,7 +677,8 @@ message GetProcessorTypeRequest { ]; } -// Request message for the [GetProcessor][google.cloud.documentai.v1.DocumentProcessorService.GetProcessor] +// Request message for the +// [GetProcessor][google.cloud.documentai.v1.DocumentProcessorService.GetProcessor] // method. message GetProcessorRequest { // Required. The processor resource name. @@ -654,7 +691,8 @@ message GetProcessorRequest { } // Request message for the -// [GetProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.GetProcessorVersion] method. +// [GetProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.GetProcessorVersion] +// method. message GetProcessorVersionRequest { // Required. The processor resource name. string name = 1 [ @@ -667,8 +705,9 @@ message GetProcessorVersionRequest { // Request message for list all processor versions belongs to a processor. message ListProcessorVersionsRequest { - // Required. The parent (project, location and processor) to list all versions. - // Format: `projects/{project}/locations/{location}/processors/{processor}` + // Required. The parent (project, location and processor) to list all + // versions. Format: + // `projects/{project}/locations/{location}/processors/{processor}` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -734,9 +773,7 @@ message DeployProcessorVersionRequest { // Response message for the // [DeployProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.DeployProcessorVersion] // method. -message DeployProcessorVersionResponse { - -} +message DeployProcessorVersionResponse {} // The long-running operation metadata for the // [DeployProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.DeployProcessorVersion] @@ -762,9 +799,7 @@ message UndeployProcessorVersionRequest { // Response message for the // [UndeployProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.UndeployProcessorVersion] // method. -message UndeployProcessorVersionResponse { - -} +message UndeployProcessorVersionResponse {} // The long-running operation metadata for the // [UndeployProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.UndeployProcessorVersion] @@ -775,12 +810,13 @@ message UndeployProcessorVersionMetadata { } // Request message for the -// [CreateProcessor][google.cloud.documentai.v1.DocumentProcessorService.CreateProcessor] method. Notice -// this request is sent to a regionalized backend service. If the -// [ProcessorType][google.cloud.documentai.v1.ProcessorType] isn't available in that region, the creation fails. +// [CreateProcessor][google.cloud.documentai.v1.DocumentProcessorService.CreateProcessor] +// method. Notice this request is sent to a regionalized backend service. If the +// [ProcessorType][google.cloud.documentai.v1.ProcessorType] isn't available in +// that region, the creation fails. message CreateProcessorRequest { - // Required. The parent (project and location) under which to create the processor. - // Format: `projects/{project}/locations/{location}` + // Required. The parent (project and location) under which to create the + // processor. Format: `projects/{project}/locations/{location}` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -788,14 +824,18 @@ message CreateProcessorRequest { } ]; - // Required. The processor to be created, requires [Processor.type][google.cloud.documentai.v1.Processor.type] and - // [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] to be set. Also, the [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name] + // Required. The processor to be created, requires + // [Processor.type][google.cloud.documentai.v1.Processor.type] and + // [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] + // to be set. Also, the + // [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name] // field must be set if the processor is under CMEK. Processor processor = 2 [(google.api.field_behavior) = REQUIRED]; } // Request message for the -// [DeleteProcessor][google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessor] method. +// [DeleteProcessor][google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessor] +// method. message DeleteProcessorRequest { // Required. The processor resource name to be deleted. string name = 1 [ @@ -807,14 +847,16 @@ message DeleteProcessorRequest { } // The long-running operation metadata for the -// [DeleteProcessor][google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessor] method. +// [DeleteProcessor][google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessor] +// method. message DeleteProcessorMetadata { // The basic metadata of the long-running operation. CommonOperationMetadata common_metadata = 5; } // Request message for the -// [EnableProcessor][google.cloud.documentai.v1.DocumentProcessorService.EnableProcessor] method. +// [EnableProcessor][google.cloud.documentai.v1.DocumentProcessorService.EnableProcessor] +// method. message EnableProcessorRequest { // Required. The processor resource name to be enabled. string name = 1 [ @@ -826,21 +868,21 @@ message EnableProcessorRequest { } // Response message for the -// [EnableProcessor][google.cloud.documentai.v1.DocumentProcessorService.EnableProcessor] method. -// Intentionally empty proto for adding fields in future. -message EnableProcessorResponse { - -} +// [EnableProcessor][google.cloud.documentai.v1.DocumentProcessorService.EnableProcessor] +// method. Intentionally empty proto for adding fields in future. +message EnableProcessorResponse {} // The long-running operation metadata for the -// [EnableProcessor][google.cloud.documentai.v1.DocumentProcessorService.EnableProcessor] method. +// [EnableProcessor][google.cloud.documentai.v1.DocumentProcessorService.EnableProcessor] +// method. message EnableProcessorMetadata { // The basic metadata of the long-running operation. CommonOperationMetadata common_metadata = 5; } // Request message for the -// [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor] method. +// [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor] +// method. message DisableProcessorRequest { // Required. The processor resource name to be disabled. string name = 1 [ @@ -852,14 +894,13 @@ message DisableProcessorRequest { } // Response message for the -// [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor] method. -// Intentionally empty proto for adding fields in future. -message DisableProcessorResponse { - -} +// [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor] +// method. Intentionally empty proto for adding fields in future. +message DisableProcessorResponse {} // The long-running operation metadata for the -// [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor] method. +// [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor] +// method. message DisableProcessorMetadata { // The basic metadata of the long-running operation. CommonOperationMetadata common_metadata = 5; @@ -869,7 +910,9 @@ message DisableProcessorMetadata { // [SetDefaultProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.SetDefaultProcessorVersion] // method. message SetDefaultProcessorVersionRequest { - // Required. The resource name of the [Processor][google.cloud.documentai.v1.Processor] to change default version. + // Required. The resource name of the + // [Processor][google.cloud.documentai.v1.Processor] to change default + // version. string processor = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -877,8 +920,9 @@ message SetDefaultProcessorVersionRequest { } ]; - // Required. The resource name of child [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to use as default. - // Format: + // Required. The resource name of child + // [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to use as + // default. Format: // `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{version}` string default_processor_version = 2 [ (google.api.field_behavior) = REQUIRED, @@ -891,9 +935,7 @@ message SetDefaultProcessorVersionRequest { // Response message for the // [SetDefaultProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.SetDefaultProcessorVersion] // method. -message SetDefaultProcessorVersionResponse { - -} +message SetDefaultProcessorVersionResponse {} // The long-running operation metadata for the // [SetDefaultProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.SetDefaultProcessorVersion] @@ -907,7 +949,8 @@ message SetDefaultProcessorVersionMetadata { // [TrainProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.TrainProcessorVersion] // method. message TrainProcessorVersionRequest { - // The input data used to train a new [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. + // The input data used to train a new + // [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. message InputData { // The documents used for training the new version. BatchDocumentsInputConfig training_documents = 3; @@ -935,13 +978,13 @@ message TrainProcessorVersionRequest { // Options to control foundation model tuning of the processor. message FoundationModelTuningOptions { - // Optional. The number of steps to run for model tuning. Valid values are between - // 1 and 400. If not provided, recommended steps will be used. + // Optional. The number of steps to run for model tuning. Valid values are + // between 1 and 400. If not provided, recommended steps will be used. int32 train_steps = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The multiplier to apply to the recommended learning rate. Valid values - // are between 0.1 and 10. If not provided, recommended learning rate will - // be used. + // Optional. The multiplier to apply to the recommended learning rate. Valid + // values are between 0.1 and 10. If not provided, recommended learning rate + // will be used. float learning_rate_multiplier = 3 [(google.api.field_behavior) = OPTIONAL]; } @@ -953,8 +996,9 @@ message TrainProcessorVersionRequest { FoundationModelTuningOptions foundation_model_tuning_options = 12; } - // Required. The parent (project, location and processor) to create the new version for. - // Format: `projects/{project}/locations/{location}/processors/{processor}`. + // Required. The parent (project, location and processor) to create the new + // version for. Format: + // `projects/{project}/locations/{location}/processors/{processor}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -963,16 +1007,18 @@ message TrainProcessorVersionRequest { ]; // Required. The processor version to be created. - ProcessorVersion processor_version = 2 [(google.api.field_behavior) = REQUIRED]; + ProcessorVersion processor_version = 2 + [(google.api.field_behavior) = REQUIRED]; // Optional. The schema the processor version will be trained with. DocumentSchema document_schema = 10 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The input data used to train the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. + // Optional. The input data used to train the + // [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. InputData input_data = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The processor version to use as a base for training. This processor version - // must be a child of `parent`. Format: + // Optional. The processor version to use as a base for training. This + // processor version must be a child of `parent`. Format: // `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`. string base_processor_version = 8 [(google.api.field_behavior) = OPTIONAL]; } @@ -1017,7 +1063,8 @@ message TrainProcessorVersionMetadata { } // Request message for the -// [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument] method. +// [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument] +// method. message ReviewDocumentRequest { // The priority level of the human review task. enum Priority { @@ -1035,8 +1082,9 @@ message ReviewDocumentRequest { Document inline_document = 4; } - // Required. The resource name of the [HumanReviewConfig][google.cloud.documentai.v1.HumanReviewConfig] that the document will be - // reviewed with. + // Required. The resource name of the + // [HumanReviewConfig][google.cloud.documentai.v1.HumanReviewConfig] that the + // document will be reviewed with. string human_review_config = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1055,7 +1103,8 @@ message ReviewDocumentRequest { } // Response message for the -// [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument] method. +// [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument] +// method. message ReviewDocumentResponse { // Possible states of the review operation. enum State { @@ -1081,7 +1130,8 @@ message ReviewDocumentResponse { } // The long-running operation metadata for the -// [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument] method. +// [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument] +// method. message ReviewDocumentOperationMetadata { // The basic metadata of the long-running operation. CommonOperationMetadata common_metadata = 5; @@ -1090,9 +1140,13 @@ message ReviewDocumentOperationMetadata { string question_id = 6; } -// Evaluates the given [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] against the supplied documents. +// Evaluates the given +// [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] against the +// supplied documents. message EvaluateProcessorVersionRequest { - // Required. The resource name of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to evaluate. + // Required. The resource name of the + // [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to + // evaluate. // `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}` string processor_version = 1 [ (google.api.field_behavior) = REQUIRED, @@ -1101,9 +1155,10 @@ message EvaluateProcessorVersionRequest { } ]; - // Optional. The documents used in the evaluation. If unspecified, use the processor's - // dataset as evaluation input. - BatchDocumentsInputConfig evaluation_documents = 3 [(google.api.field_behavior) = OPTIONAL]; + // Optional. The documents used in the evaluation. If unspecified, use the + // processor's dataset as evaluation input. + BatchDocumentsInputConfig evaluation_documents = 3 + [(google.api.field_behavior) = OPTIONAL]; } // Metadata of the @@ -1124,7 +1179,8 @@ message EvaluateProcessorVersionResponse { // Retrieves a specific Evaluation. message GetEvaluationRequest { - // Required. The resource name of the [Evaluation][google.cloud.documentai.v1.Evaluation] to get. + // Required. The resource name of the + // [Evaluation][google.cloud.documentai.v1.Evaluation] to get. // `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}/evaluations/{evaluation}` string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -1134,9 +1190,12 @@ message GetEvaluationRequest { ]; } -// Retrieves a list of evaluations for a given [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. +// Retrieves a list of evaluations for a given +// [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. message ListEvaluationsRequest { - // Required. The resource name of the [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to list evaluations for. + // Required. The resource name of the + // [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to list + // evaluations for. // `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}` string parent = 1 [ (google.api.field_behavior) = REQUIRED, diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_schema.proto b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_schema.proto index 71b2791b826c..9b41e6f6590b 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_schema.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_schema.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/evaluation.proto b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/evaluation.proto index 0a9d62819341..a169adf7de8d 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/evaluation.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/evaluation.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -34,8 +34,8 @@ message EvaluationReference { // The resource name of the evaluation. string evaluation = 2 [(google.api.resource_reference) = { - type: "documentai.googleapis.com/Evaluation" - }]; + type: "documentai.googleapis.com/Evaluation" + }]; // An aggregate of the statistics for the evaluation with fuzzy matching on. Evaluation.Metrics aggregate_metrics = 4; diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/geometry.proto b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/geometry.proto index 18fbeaaf0d21..d80e5d031ad7 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/geometry.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/geometry.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/operation_metadata.proto b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/operation_metadata.proto index 533f758ae0aa..1aed2f68efbf 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/operation_metadata.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/operation_metadata.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/processor.proto b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/processor.proto index b74097bd7bbb..04cb6bb1a884 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/processor.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/processor.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -46,9 +46,10 @@ message ProcessorVersion { google.protobuf.Timestamp deprecation_time = 1; // If set, the processor version that will be used as a replacement. - string replacement_processor_version = 2 [(google.api.resource_reference) = { - type: "documentai.googleapis.com/ProcessorVersion" - }]; + string replacement_processor_version = 2 + [(google.api.resource_reference) = { + type: "documentai.googleapis.com/ProcessorVersion" + }]; } // The possible states of the processor version. @@ -136,8 +137,8 @@ message ProcessorVersionAlias { // The resource name of aliased processor version. string processor_version = 2 [(google.api.resource_reference) = { - type: "documentai.googleapis.com/ProcessorVersion" - }]; + type: "documentai.googleapis.com/ProcessorVersion" + }]; } // The first-class citizen for Document AI. Each processor defines how to @@ -203,13 +204,15 @@ message Processor { // The default processor version. string default_processor_version = 9 [(google.api.resource_reference) = { - type: "documentai.googleapis.com/ProcessorVersion" - }]; + type: "documentai.googleapis.com/ProcessorVersion" + }]; // Output only. The processor version aliases. - repeated ProcessorVersionAlias processor_version_aliases = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated ProcessorVersionAlias processor_version_aliases = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Immutable. The http endpoint that can be called to invoke processing. + // Output only. Immutable. The http endpoint that can be called to invoke + // processing. string process_endpoint = 6 [ (google.api.field_behavior) = OUTPUT_ONLY, (google.api.field_behavior) = IMMUTABLE diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/processor_type.proto b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/processor_type.proto index ae88dda8d70e..b3894fafd84f 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/processor_type.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/processor_type.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/proto/google/cloud/documentai/v1beta1/document.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/proto/google/cloud/documentai/v1beta1/document.proto index 1f5a4da99ec8..788a14a8c334 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/proto/google/cloud/documentai/v1beta1/document.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/proto/google/cloud/documentai/v1beta1/document.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/proto/google/cloud/documentai/v1beta1/document_understanding.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/proto/google/cloud/documentai/v1beta1/document_understanding.proto index 62601d3f3ae2..2250efc7640e 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/proto/google/cloud/documentai/v1beta1/document_understanding.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/proto/google/cloud/documentai/v1beta1/document_understanding.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/proto/google/cloud/documentai/v1beta1/geometry.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/proto/google/cloud/documentai/v1beta1/geometry.proto index 797154a59b72..2b6159ea0abf 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/proto/google/cloud/documentai/v1beta1/geometry.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/proto/google/cloud/documentai/v1beta1/geometry.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/barcode.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/barcode.proto index 9de123e17029..9b46750084d9 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/barcode.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/barcode.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/document.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/document.proto index 56144ad93993..3d841ee977b5 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/document.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/document.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/document_understanding.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/document_understanding.proto index cdfff1bd01b9..066f2a5afff4 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/document_understanding.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/document_understanding.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/geometry.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/geometry.proto index 5f24584604b0..e6e6e7e7be25 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/geometry.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/geometry.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/barcode.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/barcode.proto index f0580e69af8e..0390e7addc2f 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/barcode.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/barcode.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/dataset.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/dataset.proto index 66ea297ea4cf..8557023b17c2 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/dataset.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/dataset.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document.proto index e26e7c4181c3..c905ee34be27 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_io.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_io.proto index d4027030d5db..edb1364b266d 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_io.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_io.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_processor_service.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_processor_service.proto index d1afd49cfefb..d91d38ec9680 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_processor_service.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_processor_service.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_schema.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_schema.proto index 86a28d7b66ab..f4b86ba0acd0 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_schema.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_schema.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_service.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_service.proto index dcf35b1a4fc3..06c1980f53fd 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_service.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_service.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/evaluation.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/evaluation.proto index 4de7046b6d70..699915e2abd0 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/evaluation.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/evaluation.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/geometry.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/geometry.proto index da949fb19645..432ea1c2f163 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/geometry.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/geometry.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/operation_metadata.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/operation_metadata.proto index 509109aba0c3..705ef23f3136 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/operation_metadata.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/operation_metadata.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/processor.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/processor.proto index 655f1b17deac..3ab2d2e5920d 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/processor.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/processor.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/processor_type.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/processor_type.proto index 2840eb0852ed..5ecc8697e981 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/processor_type.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/processor_type.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-maps-routeoptimization/README.md b/java-maps-routeoptimization/README.md index d955e13be573..bd4539d2d13c 100644 --- a/java-maps-routeoptimization/README.md +++ b/java-maps-routeoptimization/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.maps google-maps-routeoptimization - 0.1.0 + 0.0.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-routeoptimization:0.1.0' +implementation 'com.google.maps:google-maps-routeoptimization:0.0.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-routeoptimization" % "0.1.0" +libraryDependencies += "com.google.maps" % "google-maps-routeoptimization" % "0.0.0" ``` diff --git a/java-maps-routeoptimization/pom.xml b/java-maps-routeoptimization/pom.xml index 0a02dffa2819..a0f411fe16ff 100644 --- a/java-maps-routeoptimization/pom.xml +++ b/java-maps-routeoptimization/pom.xml @@ -52,4 +52,4 @@ google-maps-routeoptimization-bom - + diff --git a/java-parallelstore/README.md b/java-parallelstore/README.md index 0a9aea139f3d..fb61f59b7d2e 100644 --- a/java-parallelstore/README.md +++ b/java-parallelstore/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-parallelstore.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-parallelstore/0.5.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-parallelstore/0.6.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-parallelstore/google-cloud-parallelstore/src/main/resources/META-INF/native-image/com.google.cloud.parallelstore.v1beta/reflect-config.json b/java-parallelstore/google-cloud-parallelstore/src/main/resources/META-INF/native-image/com.google.cloud.parallelstore.v1beta/reflect-config.json index dbaf83fab22c..602e897f6cef 100644 --- a/java-parallelstore/google-cloud-parallelstore/src/main/resources/META-INF/native-image/com.google.cloud.parallelstore.v1beta/reflect-config.json +++ b/java-parallelstore/google-cloud-parallelstore/src/main/resources/META-INF/native-image/com.google.cloud.parallelstore.v1beta/reflect-config.json @@ -512,6 +512,42 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.parallelstore.v1beta.DestinationGcsBucket", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.parallelstore.v1beta.DestinationGcsBucket$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.parallelstore.v1beta.DestinationParallelstore", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.parallelstore.v1beta.DestinationParallelstore$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.parallelstore.v1beta.ExportDataMetadata", "queryAllDeclaredConstructors": true, @@ -719,6 +755,42 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.parallelstore.v1beta.SourceGcsBucket", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.parallelstore.v1beta.SourceGcsBucket$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.parallelstore.v1beta.SourceParallelstore", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.parallelstore.v1beta.SourceParallelstore$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.parallelstore.v1beta.TransferCounters", "queryAllDeclaredConstructors": true, diff --git a/java-parallelstore/google-cloud-parallelstore/src/test/java/com/google/cloud/parallelstore/v1beta/ParallelstoreClientTest.java b/java-parallelstore/google-cloud-parallelstore/src/test/java/com/google/cloud/parallelstore/v1beta/ParallelstoreClientTest.java index d606876a0926..51367d59ba70 100644 --- a/java-parallelstore/google-cloud-parallelstore/src/test/java/com/google/cloud/parallelstore/v1beta/ParallelstoreClientTest.java +++ b/java-parallelstore/google-cloud-parallelstore/src/test/java/com/google/cloud/parallelstore/v1beta/ParallelstoreClientTest.java @@ -570,8 +570,9 @@ public void importDataTest() throws Exception { Assert.assertEquals(1, actualRequests.size()); ImportDataRequest actualRequest = ((ImportDataRequest) actualRequests.get(0)); - Assert.assertEquals(request.getSourceGcsUri(), actualRequest.getSourceGcsUri()); - Assert.assertEquals(request.getDestinationPath(), actualRequest.getDestinationPath()); + Assert.assertEquals(request.getSourceGcsBucket(), actualRequest.getSourceGcsBucket()); + Assert.assertEquals( + request.getDestinationParallelstore(), actualRequest.getDestinationParallelstore()); Assert.assertEquals(request.getName(), actualRequest.getName()); Assert.assertEquals(request.getRequestId(), actualRequest.getRequestId()); Assert.assertTrue( @@ -624,8 +625,8 @@ public void exportDataTest() throws Exception { Assert.assertEquals(1, actualRequests.size()); ExportDataRequest actualRequest = ((ExportDataRequest) actualRequests.get(0)); - Assert.assertEquals(request.getSourcePath(), actualRequest.getSourcePath()); - Assert.assertEquals(request.getDestinationGcsUri(), actualRequest.getDestinationGcsUri()); + Assert.assertEquals(request.getSourceParallelstore(), actualRequest.getSourceParallelstore()); + Assert.assertEquals(request.getDestinationGcsBucket(), actualRequest.getDestinationGcsBucket()); Assert.assertEquals(request.getName(), actualRequest.getName()); Assert.assertEquals(request.getRequestId(), actualRequest.getRequestId()); Assert.assertTrue( diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/DestinationGcsBucket.java b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/DestinationGcsBucket.java new file mode 100644 index 000000000000..410422dede3e --- /dev/null +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/DestinationGcsBucket.java @@ -0,0 +1,633 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/parallelstore/v1beta/parallelstore.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.parallelstore.v1beta; + +/** + * + * + *
+ * Google Cloud Storage as a destination.
+ * 
+ * + * Protobuf type {@code google.cloud.parallelstore.v1beta.DestinationGcsBucket} + */ +public final class DestinationGcsBucket extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.parallelstore.v1beta.DestinationGcsBucket) + DestinationGcsBucketOrBuilder { + private static final long serialVersionUID = 0L; + // Use DestinationGcsBucket.newBuilder() to construct. + private DestinationGcsBucket(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private DestinationGcsBucket() { + uri_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DestinationGcsBucket(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_DestinationGcsBucket_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_DestinationGcsBucket_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.parallelstore.v1beta.DestinationGcsBucket.class, + com.google.cloud.parallelstore.v1beta.DestinationGcsBucket.Builder.class); + } + + public static final int URI_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object uri_ = ""; + /** + * + * + *
+   * Required. URI to a Cloud Storage object in format:
+   * 'gs://<bucket_name>/<path_inside_bucket>'.
+   * 
+ * + * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The uri. + */ + @java.lang.Override + public java.lang.String getUri() { + java.lang.Object ref = uri_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + uri_ = s; + return s; + } + } + /** + * + * + *
+   * Required. URI to a Cloud Storage object in format:
+   * 'gs://<bucket_name>/<path_inside_bucket>'.
+   * 
+ * + * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for uri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getUriBytes() { + java.lang.Object ref = uri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + uri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uri_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.parallelstore.v1beta.DestinationGcsBucket)) { + return super.equals(obj); + } + com.google.cloud.parallelstore.v1beta.DestinationGcsBucket other = + (com.google.cloud.parallelstore.v1beta.DestinationGcsBucket) obj; + + if (!getUri().equals(other.getUri())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + URI_FIELD_NUMBER; + hash = (53 * hash) + getUri().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.parallelstore.v1beta.DestinationGcsBucket parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.DestinationGcsBucket parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.DestinationGcsBucket parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.DestinationGcsBucket parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.DestinationGcsBucket parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.DestinationGcsBucket parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.DestinationGcsBucket parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.DestinationGcsBucket parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.DestinationGcsBucket parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.DestinationGcsBucket parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.DestinationGcsBucket parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.DestinationGcsBucket parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.parallelstore.v1beta.DestinationGcsBucket prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Google Cloud Storage as a destination.
+   * 
+ * + * Protobuf type {@code google.cloud.parallelstore.v1beta.DestinationGcsBucket} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.parallelstore.v1beta.DestinationGcsBucket) + com.google.cloud.parallelstore.v1beta.DestinationGcsBucketOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_DestinationGcsBucket_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_DestinationGcsBucket_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.parallelstore.v1beta.DestinationGcsBucket.class, + com.google.cloud.parallelstore.v1beta.DestinationGcsBucket.Builder.class); + } + + // Construct using com.google.cloud.parallelstore.v1beta.DestinationGcsBucket.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + uri_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_DestinationGcsBucket_descriptor; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.DestinationGcsBucket getDefaultInstanceForType() { + return com.google.cloud.parallelstore.v1beta.DestinationGcsBucket.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.DestinationGcsBucket build() { + com.google.cloud.parallelstore.v1beta.DestinationGcsBucket result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.DestinationGcsBucket buildPartial() { + com.google.cloud.parallelstore.v1beta.DestinationGcsBucket result = + new com.google.cloud.parallelstore.v1beta.DestinationGcsBucket(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.parallelstore.v1beta.DestinationGcsBucket result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.uri_ = uri_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.parallelstore.v1beta.DestinationGcsBucket) { + return mergeFrom((com.google.cloud.parallelstore.v1beta.DestinationGcsBucket) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.parallelstore.v1beta.DestinationGcsBucket other) { + if (other == com.google.cloud.parallelstore.v1beta.DestinationGcsBucket.getDefaultInstance()) + return this; + if (!other.getUri().isEmpty()) { + uri_ = other.uri_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object uri_ = ""; + /** + * + * + *
+     * Required. URI to a Cloud Storage object in format:
+     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * 
+ * + * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The uri. + */ + public java.lang.String getUri() { + java.lang.Object ref = uri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + uri_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. URI to a Cloud Storage object in format:
+     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * 
+ * + * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for uri. + */ + public com.google.protobuf.ByteString getUriBytes() { + java.lang.Object ref = uri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + uri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. URI to a Cloud Storage object in format:
+     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * 
+ * + * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The uri to set. + * @return This builder for chaining. + */ + public Builder setUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + uri_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. URI to a Cloud Storage object in format:
+     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * 
+ * + * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearUri() { + uri_ = getDefaultInstance().getUri(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. URI to a Cloud Storage object in format:
+     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * 
+ * + * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for uri to set. + * @return This builder for chaining. + */ + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.parallelstore.v1beta.DestinationGcsBucket) + } + + // @@protoc_insertion_point(class_scope:google.cloud.parallelstore.v1beta.DestinationGcsBucket) + private static final com.google.cloud.parallelstore.v1beta.DestinationGcsBucket DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.parallelstore.v1beta.DestinationGcsBucket(); + } + + public static com.google.cloud.parallelstore.v1beta.DestinationGcsBucket getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DestinationGcsBucket parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.DestinationGcsBucket getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/DestinationGcsBucketOrBuilder.java b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/DestinationGcsBucketOrBuilder.java new file mode 100644 index 000000000000..198056133972 --- /dev/null +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/DestinationGcsBucketOrBuilder.java @@ -0,0 +1,53 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/parallelstore/v1beta/parallelstore.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.parallelstore.v1beta; + +public interface DestinationGcsBucketOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.parallelstore.v1beta.DestinationGcsBucket) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. URI to a Cloud Storage object in format:
+   * 'gs://<bucket_name>/<path_inside_bucket>'.
+   * 
+ * + * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The uri. + */ + java.lang.String getUri(); + /** + * + * + *
+   * Required. URI to a Cloud Storage object in format:
+   * 'gs://<bucket_name>/<path_inside_bucket>'.
+   * 
+ * + * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for uri. + */ + com.google.protobuf.ByteString getUriBytes(); +} diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/DestinationParallelstore.java b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/DestinationParallelstore.java new file mode 100644 index 000000000000..95478aec0fb8 --- /dev/null +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/DestinationParallelstore.java @@ -0,0 +1,639 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/parallelstore/v1beta/parallelstore.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.parallelstore.v1beta; + +/** + * + * + *
+ * Parallelstore as a destination.
+ * 
+ * + * Protobuf type {@code google.cloud.parallelstore.v1beta.DestinationParallelstore} + */ +public final class DestinationParallelstore extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.parallelstore.v1beta.DestinationParallelstore) + DestinationParallelstoreOrBuilder { + private static final long serialVersionUID = 0L; + // Use DestinationParallelstore.newBuilder() to construct. + private DestinationParallelstore(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private DestinationParallelstore() { + path_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DestinationParallelstore(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_DestinationParallelstore_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_DestinationParallelstore_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.parallelstore.v1beta.DestinationParallelstore.class, + com.google.cloud.parallelstore.v1beta.DestinationParallelstore.Builder.class); + } + + public static final int PATH_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object path_ = ""; + /** + * + * + *
+   * Optional. Root directory path to the Paralellstore filesystem, starting
+   * with '/'. Defaults to '/' if unset.
+   * 
+ * + * string path = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The path. + */ + @java.lang.Override + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } + } + /** + * + * + *
+   * Optional. Root directory path to the Paralellstore filesystem, starting
+   * with '/'. Defaults to '/' if unset.
+   * 
+ * + * string path = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for path. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.parallelstore.v1beta.DestinationParallelstore)) { + return super.equals(obj); + } + com.google.cloud.parallelstore.v1beta.DestinationParallelstore other = + (com.google.cloud.parallelstore.v1beta.DestinationParallelstore) obj; + + if (!getPath().equals(other.getPath())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PATH_FIELD_NUMBER; + hash = (53 * hash) + getPath().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.parallelstore.v1beta.DestinationParallelstore parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.DestinationParallelstore parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.DestinationParallelstore parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.DestinationParallelstore parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.DestinationParallelstore parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.DestinationParallelstore parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.DestinationParallelstore parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.DestinationParallelstore parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.DestinationParallelstore parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.DestinationParallelstore parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.DestinationParallelstore parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.DestinationParallelstore parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.parallelstore.v1beta.DestinationParallelstore prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Parallelstore as a destination.
+   * 
+ * + * Protobuf type {@code google.cloud.parallelstore.v1beta.DestinationParallelstore} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.parallelstore.v1beta.DestinationParallelstore) + com.google.cloud.parallelstore.v1beta.DestinationParallelstoreOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_DestinationParallelstore_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_DestinationParallelstore_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.parallelstore.v1beta.DestinationParallelstore.class, + com.google.cloud.parallelstore.v1beta.DestinationParallelstore.Builder.class); + } + + // Construct using com.google.cloud.parallelstore.v1beta.DestinationParallelstore.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + path_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_DestinationParallelstore_descriptor; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.DestinationParallelstore + getDefaultInstanceForType() { + return com.google.cloud.parallelstore.v1beta.DestinationParallelstore.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.DestinationParallelstore build() { + com.google.cloud.parallelstore.v1beta.DestinationParallelstore result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.DestinationParallelstore buildPartial() { + com.google.cloud.parallelstore.v1beta.DestinationParallelstore result = + new com.google.cloud.parallelstore.v1beta.DestinationParallelstore(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.parallelstore.v1beta.DestinationParallelstore result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.path_ = path_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.parallelstore.v1beta.DestinationParallelstore) { + return mergeFrom((com.google.cloud.parallelstore.v1beta.DestinationParallelstore) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.parallelstore.v1beta.DestinationParallelstore other) { + if (other + == com.google.cloud.parallelstore.v1beta.DestinationParallelstore.getDefaultInstance()) + return this; + if (!other.getPath().isEmpty()) { + path_ = other.path_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + path_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object path_ = ""; + /** + * + * + *
+     * Optional. Root directory path to the Paralellstore filesystem, starting
+     * with '/'. Defaults to '/' if unset.
+     * 
+ * + * string path = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The path. + */ + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. Root directory path to the Paralellstore filesystem, starting
+     * with '/'. Defaults to '/' if unset.
+     * 
+ * + * string path = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for path. + */ + public com.google.protobuf.ByteString getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. Root directory path to the Paralellstore filesystem, starting
+     * with '/'. Defaults to '/' if unset.
+     * 
+ * + * string path = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The path to set. + * @return This builder for chaining. + */ + public Builder setPath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + path_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Root directory path to the Paralellstore filesystem, starting
+     * with '/'. Defaults to '/' if unset.
+     * 
+ * + * string path = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearPath() { + path_ = getDefaultInstance().getPath(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Root directory path to the Paralellstore filesystem, starting
+     * with '/'. Defaults to '/' if unset.
+     * 
+ * + * string path = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for path to set. + * @return This builder for chaining. + */ + public Builder setPathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.parallelstore.v1beta.DestinationParallelstore) + } + + // @@protoc_insertion_point(class_scope:google.cloud.parallelstore.v1beta.DestinationParallelstore) + private static final com.google.cloud.parallelstore.v1beta.DestinationParallelstore + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.parallelstore.v1beta.DestinationParallelstore(); + } + + public static com.google.cloud.parallelstore.v1beta.DestinationParallelstore + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DestinationParallelstore parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.DestinationParallelstore + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/DestinationParallelstoreOrBuilder.java b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/DestinationParallelstoreOrBuilder.java new file mode 100644 index 000000000000..801ea290c7a4 --- /dev/null +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/DestinationParallelstoreOrBuilder.java @@ -0,0 +1,53 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/parallelstore/v1beta/parallelstore.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.parallelstore.v1beta; + +public interface DestinationParallelstoreOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.parallelstore.v1beta.DestinationParallelstore) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Optional. Root directory path to the Paralellstore filesystem, starting
+   * with '/'. Defaults to '/' if unset.
+   * 
+ * + * string path = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The path. + */ + java.lang.String getPath(); + /** + * + * + *
+   * Optional. Root directory path to the Paralellstore filesystem, starting
+   * with '/'. Defaults to '/' if unset.
+   * 
+ * + * string path = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for path. + */ + com.google.protobuf.ByteString getPathBytes(); +} diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ExportDataRequest.java b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ExportDataRequest.java index cd6b30578149..76484334caeb 100644 --- a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ExportDataRequest.java +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ExportDataRequest.java @@ -74,7 +74,7 @@ public enum SourceCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { - SOURCE_PATH(2), + SOURCE_PARALLELSTORE(2), SOURCE_NOT_SET(0); private final int value; @@ -94,7 +94,7 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { case 2: - return SOURCE_PATH; + return SOURCE_PARALLELSTORE; case 0: return SOURCE_NOT_SET; default: @@ -120,7 +120,7 @@ public enum DestinationCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { - DESTINATION_GCS_URI(3), + DESTINATION_GCS_BUCKET(3), DESTINATION_NOT_SET(0); private final int value; @@ -140,7 +140,7 @@ public static DestinationCase valueOf(int value) { public static DestinationCase forNumber(int value) { switch (value) { case 3: - return DESTINATION_GCS_URI; + return DESTINATION_GCS_BUCKET; case 0: return DESTINATION_NOT_SET; default: @@ -157,150 +157,111 @@ public DestinationCase getDestinationCase() { return DestinationCase.forNumber(destinationCase_); } - public static final int SOURCE_PATH_FIELD_NUMBER = 2; + public static final int SOURCE_PARALLELSTORE_FIELD_NUMBER = 2; /** * * *
-   * Optional. Root directory path to the Paralellstore filesystem, starting
-   * with '/'. Sets to '/' if no value is set.
+   * Parallelstore source.
    * 
* - * string source_path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 2; * - * @return Whether the sourcePath field is set. + * @return Whether the sourceParallelstore field is set. */ - public boolean hasSourcePath() { + @java.lang.Override + public boolean hasSourceParallelstore() { return sourceCase_ == 2; } /** * * *
-   * Optional. Root directory path to the Paralellstore filesystem, starting
-   * with '/'. Sets to '/' if no value is set.
+   * Parallelstore source.
    * 
* - * string source_path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 2; * - * @return The sourcePath. + * @return The sourceParallelstore. */ - public java.lang.String getSourcePath() { - java.lang.Object ref = ""; + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.SourceParallelstore getSourceParallelstore() { if (sourceCase_ == 2) { - ref = source_; - } - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (sourceCase_ == 2) { - source_ = s; - } - return s; + return (com.google.cloud.parallelstore.v1beta.SourceParallelstore) source_; } + return com.google.cloud.parallelstore.v1beta.SourceParallelstore.getDefaultInstance(); } /** * * *
-   * Optional. Root directory path to the Paralellstore filesystem, starting
-   * with '/'. Sets to '/' if no value is set.
+   * Parallelstore source.
    * 
* - * string source_path = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for sourcePath. + * .google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 2; */ - public com.google.protobuf.ByteString getSourcePathBytes() { - java.lang.Object ref = ""; + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.SourceParallelstoreOrBuilder + getSourceParallelstoreOrBuilder() { if (sourceCase_ == 2) { - ref = source_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - if (sourceCase_ == 2) { - source_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; + return (com.google.cloud.parallelstore.v1beta.SourceParallelstore) source_; } + return com.google.cloud.parallelstore.v1beta.SourceParallelstore.getDefaultInstance(); } - public static final int DESTINATION_GCS_URI_FIELD_NUMBER = 3; + public static final int DESTINATION_GCS_BUCKET_FIELD_NUMBER = 3; /** * * *
-   * URI to a Cloud Storage object in format:
-   * 'gs://<bucket_name>/<path_inside_bucket>'.
+   * Cloud Storage destination.
    * 
* - * string destination_gcs_uri = 3; + * .google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 3; + * * - * @return Whether the destinationGcsUri field is set. + * @return Whether the destinationGcsBucket field is set. */ - public boolean hasDestinationGcsUri() { + @java.lang.Override + public boolean hasDestinationGcsBucket() { return destinationCase_ == 3; } /** * * *
-   * URI to a Cloud Storage object in format:
-   * 'gs://<bucket_name>/<path_inside_bucket>'.
+   * Cloud Storage destination.
    * 
* - * string destination_gcs_uri = 3; + * .google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 3; + * * - * @return The destinationGcsUri. + * @return The destinationGcsBucket. */ - public java.lang.String getDestinationGcsUri() { - java.lang.Object ref = ""; + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.DestinationGcsBucket getDestinationGcsBucket() { if (destinationCase_ == 3) { - ref = destination_; - } - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (destinationCase_ == 3) { - destination_ = s; - } - return s; + return (com.google.cloud.parallelstore.v1beta.DestinationGcsBucket) destination_; } + return com.google.cloud.parallelstore.v1beta.DestinationGcsBucket.getDefaultInstance(); } /** * * *
-   * URI to a Cloud Storage object in format:
-   * 'gs://<bucket_name>/<path_inside_bucket>'.
+   * Cloud Storage destination.
    * 
* - * string destination_gcs_uri = 3; - * - * @return The bytes for destinationGcsUri. + * .google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 3; + * */ - public com.google.protobuf.ByteString getDestinationGcsUriBytes() { - java.lang.Object ref = ""; + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.DestinationGcsBucketOrBuilder + getDestinationGcsBucketOrBuilder() { if (destinationCase_ == 3) { - ref = destination_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - if (destinationCase_ == 3) { - destination_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; + return (com.google.cloud.parallelstore.v1beta.DestinationGcsBucket) destination_; } + return com.google.cloud.parallelstore.v1beta.DestinationGcsBucket.getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; @@ -455,10 +416,11 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (sourceCase_ == 2) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, source_); + output.writeMessage(2, (com.google.cloud.parallelstore.v1beta.SourceParallelstore) source_); } if (destinationCase_ == 3) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, destination_); + output.writeMessage( + 3, (com.google.cloud.parallelstore.v1beta.DestinationGcsBucket) destination_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, requestId_); @@ -476,10 +438,14 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (sourceCase_ == 2) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.parallelstore.v1beta.SourceParallelstore) source_); } if (destinationCase_ == 3) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, destination_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.parallelstore.v1beta.DestinationGcsBucket) destination_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); @@ -505,7 +471,7 @@ public boolean equals(final java.lang.Object obj) { if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getSourcePath().equals(other.getSourcePath())) return false; + if (!getSourceParallelstore().equals(other.getSourceParallelstore())) return false; break; case 0: default: @@ -513,7 +479,7 @@ public boolean equals(final java.lang.Object obj) { if (!getDestinationCase().equals(other.getDestinationCase())) return false; switch (destinationCase_) { case 3: - if (!getDestinationGcsUri().equals(other.getDestinationGcsUri())) return false; + if (!getDestinationGcsBucket().equals(other.getDestinationGcsBucket())) return false; break; case 0: default: @@ -535,16 +501,16 @@ public int hashCode() { hash = (53 * hash) + getRequestId().hashCode(); switch (sourceCase_) { case 2: - hash = (37 * hash) + SOURCE_PATH_FIELD_NUMBER; - hash = (53 * hash) + getSourcePath().hashCode(); + hash = (37 * hash) + SOURCE_PARALLELSTORE_FIELD_NUMBER; + hash = (53 * hash) + getSourceParallelstore().hashCode(); break; case 0: default: } switch (destinationCase_) { case 3: - hash = (37 * hash) + DESTINATION_GCS_URI_FIELD_NUMBER; - hash = (53 * hash) + getDestinationGcsUri().hashCode(); + hash = (37 * hash) + DESTINATION_GCS_BUCKET_FIELD_NUMBER; + hash = (53 * hash) + getDestinationGcsBucket().hashCode(); break; case 0: default: @@ -690,6 +656,12 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { public Builder clear() { super.clear(); bitField0_ = 0; + if (sourceParallelstoreBuilder_ != null) { + sourceParallelstoreBuilder_.clear(); + } + if (destinationGcsBucketBuilder_ != null) { + destinationGcsBucketBuilder_.clear(); + } name_ = ""; requestId_ = ""; sourceCase_ = 0; @@ -745,8 +717,14 @@ private void buildPartialOneofs( com.google.cloud.parallelstore.v1beta.ExportDataRequest result) { result.sourceCase_ = sourceCase_; result.source_ = this.source_; + if (sourceCase_ == 2 && sourceParallelstoreBuilder_ != null) { + result.source_ = sourceParallelstoreBuilder_.build(); + } result.destinationCase_ = destinationCase_; result.destination_ = this.destination_; + if (destinationCase_ == 3 && destinationGcsBucketBuilder_ != null) { + result.destination_ = destinationGcsBucketBuilder_.build(); + } } @java.lang.Override @@ -806,11 +784,9 @@ public Builder mergeFrom(com.google.cloud.parallelstore.v1beta.ExportDataRequest onChanged(); } switch (other.getSourceCase()) { - case SOURCE_PATH: + case SOURCE_PARALLELSTORE: { - sourceCase_ = 2; - source_ = other.source_; - onChanged(); + mergeSourceParallelstore(other.getSourceParallelstore()); break; } case SOURCE_NOT_SET: @@ -819,11 +795,9 @@ public Builder mergeFrom(com.google.cloud.parallelstore.v1beta.ExportDataRequest } } switch (other.getDestinationCase()) { - case DESTINATION_GCS_URI: + case DESTINATION_GCS_BUCKET: { - destinationCase_ = 3; - destination_ = other.destination_; - onChanged(); + mergeDestinationGcsBucket(other.getDestinationGcsBucket()); break; } case DESTINATION_NOT_SET: @@ -865,16 +839,16 @@ public Builder mergeFrom( } // case 10 case 18: { - java.lang.String s = input.readStringRequireUtf8(); + input.readMessage( + getSourceParallelstoreFieldBuilder().getBuilder(), extensionRegistry); sourceCase_ = 2; - source_ = s; break; } // case 18 case 26: { - java.lang.String s = input.readStringRequireUtf8(); + input.readMessage( + getDestinationGcsBucketFieldBuilder().getBuilder(), extensionRegistry); destinationCase_ = 3; - destination_ = s; break; } // case 26 case 34: @@ -930,284 +904,443 @@ public Builder clearDestination() { private int bitField0_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.parallelstore.v1beta.SourceParallelstore, + com.google.cloud.parallelstore.v1beta.SourceParallelstore.Builder, + com.google.cloud.parallelstore.v1beta.SourceParallelstoreOrBuilder> + sourceParallelstoreBuilder_; /** * * *
-     * Optional. Root directory path to the Paralellstore filesystem, starting
-     * with '/'. Sets to '/' if no value is set.
+     * Parallelstore source.
      * 
* - * string source_path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 2; * - * @return Whether the sourcePath field is set. + * @return Whether the sourceParallelstore field is set. */ @java.lang.Override - public boolean hasSourcePath() { + public boolean hasSourceParallelstore() { return sourceCase_ == 2; } /** * * *
-     * Optional. Root directory path to the Paralellstore filesystem, starting
-     * with '/'. Sets to '/' if no value is set.
+     * Parallelstore source.
      * 
* - * string source_path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 2; * - * @return The sourcePath. + * @return The sourceParallelstore. */ @java.lang.Override - public java.lang.String getSourcePath() { - java.lang.Object ref = ""; - if (sourceCase_ == 2) { - ref = source_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); + public com.google.cloud.parallelstore.v1beta.SourceParallelstore getSourceParallelstore() { + if (sourceParallelstoreBuilder_ == null) { if (sourceCase_ == 2) { - source_ = s; + return (com.google.cloud.parallelstore.v1beta.SourceParallelstore) source_; } - return s; + return com.google.cloud.parallelstore.v1beta.SourceParallelstore.getDefaultInstance(); } else { - return (java.lang.String) ref; + if (sourceCase_ == 2) { + return sourceParallelstoreBuilder_.getMessage(); + } + return com.google.cloud.parallelstore.v1beta.SourceParallelstore.getDefaultInstance(); } } /** * * *
-     * Optional. Root directory path to the Paralellstore filesystem, starting
-     * with '/'. Sets to '/' if no value is set.
+     * Parallelstore source.
      * 
* - * string source_path = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for sourcePath. + * .google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 2; */ - @java.lang.Override - public com.google.protobuf.ByteString getSourcePathBytes() { - java.lang.Object ref = ""; - if (sourceCase_ == 2) { - ref = source_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - if (sourceCase_ == 2) { - source_ = b; + public Builder setSourceParallelstore( + com.google.cloud.parallelstore.v1beta.SourceParallelstore value) { + if (sourceParallelstoreBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); } - return b; + source_ = value; + onChanged(); } else { - return (com.google.protobuf.ByteString) ref; + sourceParallelstoreBuilder_.setMessage(value); } + sourceCase_ = 2; + return this; } /** * * *
-     * Optional. Root directory path to the Paralellstore filesystem, starting
-     * with '/'. Sets to '/' if no value is set.
+     * Parallelstore source.
      * 
* - * string source_path = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The sourcePath to set. - * @return This builder for chaining. + * .google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 2; */ - public Builder setSourcePath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); + public Builder setSourceParallelstore( + com.google.cloud.parallelstore.v1beta.SourceParallelstore.Builder builderForValue) { + if (sourceParallelstoreBuilder_ == null) { + source_ = builderForValue.build(); + onChanged(); + } else { + sourceParallelstoreBuilder_.setMessage(builderForValue.build()); } sourceCase_ = 2; - source_ = value; - onChanged(); return this; } /** * * *
-     * Optional. Root directory path to the Paralellstore filesystem, starting
-     * with '/'. Sets to '/' if no value is set.
+     * Parallelstore source.
      * 
* - * string source_path = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return This builder for chaining. + * .google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 2; */ - public Builder clearSourcePath() { - if (sourceCase_ == 2) { - sourceCase_ = 0; - source_ = null; + public Builder mergeSourceParallelstore( + com.google.cloud.parallelstore.v1beta.SourceParallelstore value) { + if (sourceParallelstoreBuilder_ == null) { + if (sourceCase_ == 2 + && source_ + != com.google.cloud.parallelstore.v1beta.SourceParallelstore.getDefaultInstance()) { + source_ = + com.google.cloud.parallelstore.v1beta.SourceParallelstore.newBuilder( + (com.google.cloud.parallelstore.v1beta.SourceParallelstore) source_) + .mergeFrom(value) + .buildPartial(); + } else { + source_ = value; + } onChanged(); + } else { + if (sourceCase_ == 2) { + sourceParallelstoreBuilder_.mergeFrom(value); + } else { + sourceParallelstoreBuilder_.setMessage(value); + } } + sourceCase_ = 2; return this; } /** * * *
-     * Optional. Root directory path to the Paralellstore filesystem, starting
-     * with '/'. Sets to '/' if no value is set.
+     * Parallelstore source.
      * 
* - * string source_path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 2; + */ + public Builder clearSourceParallelstore() { + if (sourceParallelstoreBuilder_ == null) { + if (sourceCase_ == 2) { + sourceCase_ = 0; + source_ = null; + onChanged(); + } + } else { + if (sourceCase_ == 2) { + sourceCase_ = 0; + source_ = null; + } + sourceParallelstoreBuilder_.clear(); + } + return this; + } + /** + * * - * @param value The bytes for sourcePath to set. - * @return This builder for chaining. + *
+     * Parallelstore source.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 2; */ - public Builder setSourcePathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); + public com.google.cloud.parallelstore.v1beta.SourceParallelstore.Builder + getSourceParallelstoreBuilder() { + return getSourceParallelstoreFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Parallelstore source.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 2; + */ + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.SourceParallelstoreOrBuilder + getSourceParallelstoreOrBuilder() { + if ((sourceCase_ == 2) && (sourceParallelstoreBuilder_ != null)) { + return sourceParallelstoreBuilder_.getMessageOrBuilder(); + } else { + if (sourceCase_ == 2) { + return (com.google.cloud.parallelstore.v1beta.SourceParallelstore) source_; + } + return com.google.cloud.parallelstore.v1beta.SourceParallelstore.getDefaultInstance(); + } + } + /** + * + * + *
+     * Parallelstore source.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.parallelstore.v1beta.SourceParallelstore, + com.google.cloud.parallelstore.v1beta.SourceParallelstore.Builder, + com.google.cloud.parallelstore.v1beta.SourceParallelstoreOrBuilder> + getSourceParallelstoreFieldBuilder() { + if (sourceParallelstoreBuilder_ == null) { + if (!(sourceCase_ == 2)) { + source_ = com.google.cloud.parallelstore.v1beta.SourceParallelstore.getDefaultInstance(); + } + sourceParallelstoreBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.parallelstore.v1beta.SourceParallelstore, + com.google.cloud.parallelstore.v1beta.SourceParallelstore.Builder, + com.google.cloud.parallelstore.v1beta.SourceParallelstoreOrBuilder>( + (com.google.cloud.parallelstore.v1beta.SourceParallelstore) source_, + getParentForChildren(), + isClean()); + source_ = null; } - checkByteStringIsUtf8(value); sourceCase_ = 2; - source_ = value; onChanged(); - return this; + return sourceParallelstoreBuilder_; } + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.parallelstore.v1beta.DestinationGcsBucket, + com.google.cloud.parallelstore.v1beta.DestinationGcsBucket.Builder, + com.google.cloud.parallelstore.v1beta.DestinationGcsBucketOrBuilder> + destinationGcsBucketBuilder_; /** * * *
-     * URI to a Cloud Storage object in format:
-     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * Cloud Storage destination.
      * 
* - * string destination_gcs_uri = 3; + * .google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 3; + * * - * @return Whether the destinationGcsUri field is set. + * @return Whether the destinationGcsBucket field is set. */ @java.lang.Override - public boolean hasDestinationGcsUri() { + public boolean hasDestinationGcsBucket() { return destinationCase_ == 3; } /** * * *
-     * URI to a Cloud Storage object in format:
-     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * Cloud Storage destination.
      * 
* - * string destination_gcs_uri = 3; + * .google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 3; + * * - * @return The destinationGcsUri. + * @return The destinationGcsBucket. */ @java.lang.Override - public java.lang.String getDestinationGcsUri() { - java.lang.Object ref = ""; - if (destinationCase_ == 3) { - ref = destination_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); + public com.google.cloud.parallelstore.v1beta.DestinationGcsBucket getDestinationGcsBucket() { + if (destinationGcsBucketBuilder_ == null) { if (destinationCase_ == 3) { - destination_ = s; + return (com.google.cloud.parallelstore.v1beta.DestinationGcsBucket) destination_; } - return s; + return com.google.cloud.parallelstore.v1beta.DestinationGcsBucket.getDefaultInstance(); } else { - return (java.lang.String) ref; + if (destinationCase_ == 3) { + return destinationGcsBucketBuilder_.getMessage(); + } + return com.google.cloud.parallelstore.v1beta.DestinationGcsBucket.getDefaultInstance(); } } /** * * *
-     * URI to a Cloud Storage object in format:
-     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * Cloud Storage destination.
      * 
* - * string destination_gcs_uri = 3; - * - * @return The bytes for destinationGcsUri. + * .google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 3; + * */ - @java.lang.Override - public com.google.protobuf.ByteString getDestinationGcsUriBytes() { - java.lang.Object ref = ""; - if (destinationCase_ == 3) { - ref = destination_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - if (destinationCase_ == 3) { - destination_ = b; + public Builder setDestinationGcsBucket( + com.google.cloud.parallelstore.v1beta.DestinationGcsBucket value) { + if (destinationGcsBucketBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); } - return b; + destination_ = value; + onChanged(); } else { - return (com.google.protobuf.ByteString) ref; + destinationGcsBucketBuilder_.setMessage(value); } + destinationCase_ = 3; + return this; } /** * * *
-     * URI to a Cloud Storage object in format:
-     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * Cloud Storage destination.
      * 
* - * string destination_gcs_uri = 3; - * - * @param value The destinationGcsUri to set. - * @return This builder for chaining. + * .google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 3; + * */ - public Builder setDestinationGcsUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); + public Builder setDestinationGcsBucket( + com.google.cloud.parallelstore.v1beta.DestinationGcsBucket.Builder builderForValue) { + if (destinationGcsBucketBuilder_ == null) { + destination_ = builderForValue.build(); + onChanged(); + } else { + destinationGcsBucketBuilder_.setMessage(builderForValue.build()); } destinationCase_ = 3; - destination_ = value; - onChanged(); return this; } /** * * *
-     * URI to a Cloud Storage object in format:
-     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * Cloud Storage destination.
      * 
* - * string destination_gcs_uri = 3; - * - * @return This builder for chaining. + * .google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 3; + * */ - public Builder clearDestinationGcsUri() { - if (destinationCase_ == 3) { - destinationCase_ = 0; - destination_ = null; + public Builder mergeDestinationGcsBucket( + com.google.cloud.parallelstore.v1beta.DestinationGcsBucket value) { + if (destinationGcsBucketBuilder_ == null) { + if (destinationCase_ == 3 + && destination_ + != com.google.cloud.parallelstore.v1beta.DestinationGcsBucket + .getDefaultInstance()) { + destination_ = + com.google.cloud.parallelstore.v1beta.DestinationGcsBucket.newBuilder( + (com.google.cloud.parallelstore.v1beta.DestinationGcsBucket) destination_) + .mergeFrom(value) + .buildPartial(); + } else { + destination_ = value; + } onChanged(); + } else { + if (destinationCase_ == 3) { + destinationGcsBucketBuilder_.mergeFrom(value); + } else { + destinationGcsBucketBuilder_.setMessage(value); + } } + destinationCase_ = 3; return this; } /** * * *
-     * URI to a Cloud Storage object in format:
-     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * Cloud Storage destination.
      * 
* - * string destination_gcs_uri = 3; + * .google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 3; + * + */ + public Builder clearDestinationGcsBucket() { + if (destinationGcsBucketBuilder_ == null) { + if (destinationCase_ == 3) { + destinationCase_ = 0; + destination_ = null; + onChanged(); + } + } else { + if (destinationCase_ == 3) { + destinationCase_ = 0; + destination_ = null; + } + destinationGcsBucketBuilder_.clear(); + } + return this; + } + /** + * * - * @param value The bytes for destinationGcsUri to set. - * @return This builder for chaining. + *
+     * Cloud Storage destination.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 3; + * */ - public Builder setDestinationGcsUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); + public com.google.cloud.parallelstore.v1beta.DestinationGcsBucket.Builder + getDestinationGcsBucketBuilder() { + return getDestinationGcsBucketFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Cloud Storage destination.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 3; + * + */ + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.DestinationGcsBucketOrBuilder + getDestinationGcsBucketOrBuilder() { + if ((destinationCase_ == 3) && (destinationGcsBucketBuilder_ != null)) { + return destinationGcsBucketBuilder_.getMessageOrBuilder(); + } else { + if (destinationCase_ == 3) { + return (com.google.cloud.parallelstore.v1beta.DestinationGcsBucket) destination_; + } + return com.google.cloud.parallelstore.v1beta.DestinationGcsBucket.getDefaultInstance(); + } + } + /** + * + * + *
+     * Cloud Storage destination.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 3; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.parallelstore.v1beta.DestinationGcsBucket, + com.google.cloud.parallelstore.v1beta.DestinationGcsBucket.Builder, + com.google.cloud.parallelstore.v1beta.DestinationGcsBucketOrBuilder> + getDestinationGcsBucketFieldBuilder() { + if (destinationGcsBucketBuilder_ == null) { + if (!(destinationCase_ == 3)) { + destination_ = + com.google.cloud.parallelstore.v1beta.DestinationGcsBucket.getDefaultInstance(); + } + destinationGcsBucketBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.parallelstore.v1beta.DestinationGcsBucket, + com.google.cloud.parallelstore.v1beta.DestinationGcsBucket.Builder, + com.google.cloud.parallelstore.v1beta.DestinationGcsBucketOrBuilder>( + (com.google.cloud.parallelstore.v1beta.DestinationGcsBucket) destination_, + getParentForChildren(), + isClean()); + destination_ = null; } - checkByteStringIsUtf8(value); destinationCase_ = 3; - destination_ = value; onChanged(); - return this; + return destinationGcsBucketBuilder_; } private java.lang.Object name_ = ""; diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ExportDataRequestOrBuilder.java b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ExportDataRequestOrBuilder.java index dc1661a2f21c..d6b5abd7e80c 100644 --- a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ExportDataRequestOrBuilder.java +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ExportDataRequestOrBuilder.java @@ -28,81 +28,76 @@ public interface ExportDataRequestOrBuilder * * *
-   * Optional. Root directory path to the Paralellstore filesystem, starting
-   * with '/'. Sets to '/' if no value is set.
+   * Parallelstore source.
    * 
* - * string source_path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 2; * - * @return Whether the sourcePath field is set. + * @return Whether the sourceParallelstore field is set. */ - boolean hasSourcePath(); + boolean hasSourceParallelstore(); /** * * *
-   * Optional. Root directory path to the Paralellstore filesystem, starting
-   * with '/'. Sets to '/' if no value is set.
+   * Parallelstore source.
    * 
* - * string source_path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 2; * - * @return The sourcePath. + * @return The sourceParallelstore. */ - java.lang.String getSourcePath(); + com.google.cloud.parallelstore.v1beta.SourceParallelstore getSourceParallelstore(); /** * * *
-   * Optional. Root directory path to the Paralellstore filesystem, starting
-   * with '/'. Sets to '/' if no value is set.
+   * Parallelstore source.
    * 
* - * string source_path = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for sourcePath. + * .google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 2; */ - com.google.protobuf.ByteString getSourcePathBytes(); + com.google.cloud.parallelstore.v1beta.SourceParallelstoreOrBuilder + getSourceParallelstoreOrBuilder(); /** * * *
-   * URI to a Cloud Storage object in format:
-   * 'gs://<bucket_name>/<path_inside_bucket>'.
+   * Cloud Storage destination.
    * 
* - * string destination_gcs_uri = 3; + * .google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 3; + * * - * @return Whether the destinationGcsUri field is set. + * @return Whether the destinationGcsBucket field is set. */ - boolean hasDestinationGcsUri(); + boolean hasDestinationGcsBucket(); /** * * *
-   * URI to a Cloud Storage object in format:
-   * 'gs://<bucket_name>/<path_inside_bucket>'.
+   * Cloud Storage destination.
    * 
* - * string destination_gcs_uri = 3; + * .google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 3; + * * - * @return The destinationGcsUri. + * @return The destinationGcsBucket. */ - java.lang.String getDestinationGcsUri(); + com.google.cloud.parallelstore.v1beta.DestinationGcsBucket getDestinationGcsBucket(); /** * * *
-   * URI to a Cloud Storage object in format:
-   * 'gs://<bucket_name>/<path_inside_bucket>'.
+   * Cloud Storage destination.
    * 
* - * string destination_gcs_uri = 3; - * - * @return The bytes for destinationGcsUri. + * .google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 3; + * */ - com.google.protobuf.ByteString getDestinationGcsUriBytes(); + com.google.cloud.parallelstore.v1beta.DestinationGcsBucketOrBuilder + getDestinationGcsBucketOrBuilder(); /** * diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ImportDataRequest.java b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ImportDataRequest.java index d2341d66e3f1..380808cfeb7a 100644 --- a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ImportDataRequest.java +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ImportDataRequest.java @@ -74,7 +74,7 @@ public enum SourceCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { - SOURCE_GCS_URI(2), + SOURCE_GCS_BUCKET(2), SOURCE_NOT_SET(0); private final int value; @@ -94,7 +94,7 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { case 2: - return SOURCE_GCS_URI; + return SOURCE_GCS_BUCKET; case 0: return SOURCE_NOT_SET; default: @@ -120,7 +120,7 @@ public enum DestinationCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { - DESTINATION_PATH(3), + DESTINATION_PARALLELSTORE(3), DESTINATION_NOT_SET(0); private final int value; @@ -140,7 +140,7 @@ public static DestinationCase valueOf(int value) { public static DestinationCase forNumber(int value) { switch (value) { case 3: - return DESTINATION_PATH; + return DESTINATION_PARALLELSTORE; case 0: return DESTINATION_NOT_SET; default: @@ -157,150 +157,115 @@ public DestinationCase getDestinationCase() { return DestinationCase.forNumber(destinationCase_); } - public static final int SOURCE_GCS_URI_FIELD_NUMBER = 2; + public static final int SOURCE_GCS_BUCKET_FIELD_NUMBER = 2; /** * * *
-   * URI to a Cloud Storage object in format:
-   * 'gs://<bucket_name>/<path_inside_bucket>'.
+   * Cloud Storage source.
    * 
* - * string source_gcs_uri = 2; + * .google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 2; * - * @return Whether the sourceGcsUri field is set. + * @return Whether the sourceGcsBucket field is set. */ - public boolean hasSourceGcsUri() { + @java.lang.Override + public boolean hasSourceGcsBucket() { return sourceCase_ == 2; } /** * * *
-   * URI to a Cloud Storage object in format:
-   * 'gs://<bucket_name>/<path_inside_bucket>'.
+   * Cloud Storage source.
    * 
* - * string source_gcs_uri = 2; + * .google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 2; * - * @return The sourceGcsUri. + * @return The sourceGcsBucket. */ - public java.lang.String getSourceGcsUri() { - java.lang.Object ref = ""; + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.SourceGcsBucket getSourceGcsBucket() { if (sourceCase_ == 2) { - ref = source_; - } - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (sourceCase_ == 2) { - source_ = s; - } - return s; + return (com.google.cloud.parallelstore.v1beta.SourceGcsBucket) source_; } + return com.google.cloud.parallelstore.v1beta.SourceGcsBucket.getDefaultInstance(); } /** * * *
-   * URI to a Cloud Storage object in format:
-   * 'gs://<bucket_name>/<path_inside_bucket>'.
+   * Cloud Storage source.
    * 
* - * string source_gcs_uri = 2; - * - * @return The bytes for sourceGcsUri. + * .google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 2; */ - public com.google.protobuf.ByteString getSourceGcsUriBytes() { - java.lang.Object ref = ""; + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.SourceGcsBucketOrBuilder + getSourceGcsBucketOrBuilder() { if (sourceCase_ == 2) { - ref = source_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - if (sourceCase_ == 2) { - source_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; + return (com.google.cloud.parallelstore.v1beta.SourceGcsBucket) source_; } + return com.google.cloud.parallelstore.v1beta.SourceGcsBucket.getDefaultInstance(); } - public static final int DESTINATION_PATH_FIELD_NUMBER = 3; + public static final int DESTINATION_PARALLELSTORE_FIELD_NUMBER = 3; /** * * *
-   * Optional. Root directory path to the Paralellstore filesystem, starting
-   * with '/'. Sets to '/' if no value is set.
+   * Parallelstore destination.
    * 
* - * string destination_path = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 3; + * * - * @return Whether the destinationPath field is set. + * @return Whether the destinationParallelstore field is set. */ - public boolean hasDestinationPath() { + @java.lang.Override + public boolean hasDestinationParallelstore() { return destinationCase_ == 3; } /** * * *
-   * Optional. Root directory path to the Paralellstore filesystem, starting
-   * with '/'. Sets to '/' if no value is set.
+   * Parallelstore destination.
    * 
* - * string destination_path = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 3; + * * - * @return The destinationPath. + * @return The destinationParallelstore. */ - public java.lang.String getDestinationPath() { - java.lang.Object ref = ""; + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.DestinationParallelstore + getDestinationParallelstore() { if (destinationCase_ == 3) { - ref = destination_; - } - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (destinationCase_ == 3) { - destination_ = s; - } - return s; + return (com.google.cloud.parallelstore.v1beta.DestinationParallelstore) destination_; } + return com.google.cloud.parallelstore.v1beta.DestinationParallelstore.getDefaultInstance(); } /** * * *
-   * Optional. Root directory path to the Paralellstore filesystem, starting
-   * with '/'. Sets to '/' if no value is set.
+   * Parallelstore destination.
    * 
* - * string destination_path = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for destinationPath. + * + * .google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 3; + * */ - public com.google.protobuf.ByteString getDestinationPathBytes() { - java.lang.Object ref = ""; + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.DestinationParallelstoreOrBuilder + getDestinationParallelstoreOrBuilder() { if (destinationCase_ == 3) { - ref = destination_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - if (destinationCase_ == 3) { - destination_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; + return (com.google.cloud.parallelstore.v1beta.DestinationParallelstore) destination_; } + return com.google.cloud.parallelstore.v1beta.DestinationParallelstore.getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; @@ -455,10 +420,11 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (sourceCase_ == 2) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, source_); + output.writeMessage(2, (com.google.cloud.parallelstore.v1beta.SourceGcsBucket) source_); } if (destinationCase_ == 3) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, destination_); + output.writeMessage( + 3, (com.google.cloud.parallelstore.v1beta.DestinationParallelstore) destination_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, requestId_); @@ -476,10 +442,14 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (sourceCase_ == 2) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.parallelstore.v1beta.SourceGcsBucket) source_); } if (destinationCase_ == 3) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, destination_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.parallelstore.v1beta.DestinationParallelstore) destination_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); @@ -505,7 +475,7 @@ public boolean equals(final java.lang.Object obj) { if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getSourceGcsUri().equals(other.getSourceGcsUri())) return false; + if (!getSourceGcsBucket().equals(other.getSourceGcsBucket())) return false; break; case 0: default: @@ -513,7 +483,8 @@ public boolean equals(final java.lang.Object obj) { if (!getDestinationCase().equals(other.getDestinationCase())) return false; switch (destinationCase_) { case 3: - if (!getDestinationPath().equals(other.getDestinationPath())) return false; + if (!getDestinationParallelstore().equals(other.getDestinationParallelstore())) + return false; break; case 0: default: @@ -535,16 +506,16 @@ public int hashCode() { hash = (53 * hash) + getRequestId().hashCode(); switch (sourceCase_) { case 2: - hash = (37 * hash) + SOURCE_GCS_URI_FIELD_NUMBER; - hash = (53 * hash) + getSourceGcsUri().hashCode(); + hash = (37 * hash) + SOURCE_GCS_BUCKET_FIELD_NUMBER; + hash = (53 * hash) + getSourceGcsBucket().hashCode(); break; case 0: default: } switch (destinationCase_) { case 3: - hash = (37 * hash) + DESTINATION_PATH_FIELD_NUMBER; - hash = (53 * hash) + getDestinationPath().hashCode(); + hash = (37 * hash) + DESTINATION_PARALLELSTORE_FIELD_NUMBER; + hash = (53 * hash) + getDestinationParallelstore().hashCode(); break; case 0: default: @@ -690,6 +661,12 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { public Builder clear() { super.clear(); bitField0_ = 0; + if (sourceGcsBucketBuilder_ != null) { + sourceGcsBucketBuilder_.clear(); + } + if (destinationParallelstoreBuilder_ != null) { + destinationParallelstoreBuilder_.clear(); + } name_ = ""; requestId_ = ""; sourceCase_ = 0; @@ -745,8 +722,14 @@ private void buildPartialOneofs( com.google.cloud.parallelstore.v1beta.ImportDataRequest result) { result.sourceCase_ = sourceCase_; result.source_ = this.source_; + if (sourceCase_ == 2 && sourceGcsBucketBuilder_ != null) { + result.source_ = sourceGcsBucketBuilder_.build(); + } result.destinationCase_ = destinationCase_; result.destination_ = this.destination_; + if (destinationCase_ == 3 && destinationParallelstoreBuilder_ != null) { + result.destination_ = destinationParallelstoreBuilder_.build(); + } } @java.lang.Override @@ -806,11 +789,9 @@ public Builder mergeFrom(com.google.cloud.parallelstore.v1beta.ImportDataRequest onChanged(); } switch (other.getSourceCase()) { - case SOURCE_GCS_URI: + case SOURCE_GCS_BUCKET: { - sourceCase_ = 2; - source_ = other.source_; - onChanged(); + mergeSourceGcsBucket(other.getSourceGcsBucket()); break; } case SOURCE_NOT_SET: @@ -819,11 +800,9 @@ public Builder mergeFrom(com.google.cloud.parallelstore.v1beta.ImportDataRequest } } switch (other.getDestinationCase()) { - case DESTINATION_PATH: + case DESTINATION_PARALLELSTORE: { - destinationCase_ = 3; - destination_ = other.destination_; - onChanged(); + mergeDestinationParallelstore(other.getDestinationParallelstore()); break; } case DESTINATION_NOT_SET: @@ -865,16 +844,15 @@ public Builder mergeFrom( } // case 10 case 18: { - java.lang.String s = input.readStringRequireUtf8(); + input.readMessage(getSourceGcsBucketFieldBuilder().getBuilder(), extensionRegistry); sourceCase_ = 2; - source_ = s; break; } // case 18 case 26: { - java.lang.String s = input.readStringRequireUtf8(); + input.readMessage( + getDestinationParallelstoreFieldBuilder().getBuilder(), extensionRegistry); destinationCase_ = 3; - destination_ = s; break; } // case 26 case 34: @@ -930,284 +908,452 @@ public Builder clearDestination() { private int bitField0_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.parallelstore.v1beta.SourceGcsBucket, + com.google.cloud.parallelstore.v1beta.SourceGcsBucket.Builder, + com.google.cloud.parallelstore.v1beta.SourceGcsBucketOrBuilder> + sourceGcsBucketBuilder_; /** * * *
-     * URI to a Cloud Storage object in format:
-     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * Cloud Storage source.
      * 
* - * string source_gcs_uri = 2; + * .google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 2; * - * @return Whether the sourceGcsUri field is set. + * @return Whether the sourceGcsBucket field is set. */ @java.lang.Override - public boolean hasSourceGcsUri() { + public boolean hasSourceGcsBucket() { return sourceCase_ == 2; } /** * * *
-     * URI to a Cloud Storage object in format:
-     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * Cloud Storage source.
      * 
* - * string source_gcs_uri = 2; + * .google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 2; * - * @return The sourceGcsUri. + * @return The sourceGcsBucket. */ @java.lang.Override - public java.lang.String getSourceGcsUri() { - java.lang.Object ref = ""; - if (sourceCase_ == 2) { - ref = source_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); + public com.google.cloud.parallelstore.v1beta.SourceGcsBucket getSourceGcsBucket() { + if (sourceGcsBucketBuilder_ == null) { if (sourceCase_ == 2) { - source_ = s; + return (com.google.cloud.parallelstore.v1beta.SourceGcsBucket) source_; } - return s; + return com.google.cloud.parallelstore.v1beta.SourceGcsBucket.getDefaultInstance(); } else { - return (java.lang.String) ref; + if (sourceCase_ == 2) { + return sourceGcsBucketBuilder_.getMessage(); + } + return com.google.cloud.parallelstore.v1beta.SourceGcsBucket.getDefaultInstance(); } } /** * * *
-     * URI to a Cloud Storage object in format:
-     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * Cloud Storage source.
      * 
* - * string source_gcs_uri = 2; - * - * @return The bytes for sourceGcsUri. + * .google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 2; */ - @java.lang.Override - public com.google.protobuf.ByteString getSourceGcsUriBytes() { - java.lang.Object ref = ""; - if (sourceCase_ == 2) { - ref = source_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - if (sourceCase_ == 2) { - source_ = b; + public Builder setSourceGcsBucket(com.google.cloud.parallelstore.v1beta.SourceGcsBucket value) { + if (sourceGcsBucketBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); } - return b; + source_ = value; + onChanged(); } else { - return (com.google.protobuf.ByteString) ref; + sourceGcsBucketBuilder_.setMessage(value); } + sourceCase_ = 2; + return this; } /** * * *
-     * URI to a Cloud Storage object in format:
-     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * Cloud Storage source.
      * 
* - * string source_gcs_uri = 2; - * - * @param value The sourceGcsUri to set. - * @return This builder for chaining. + * .google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 2; */ - public Builder setSourceGcsUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); + public Builder setSourceGcsBucket( + com.google.cloud.parallelstore.v1beta.SourceGcsBucket.Builder builderForValue) { + if (sourceGcsBucketBuilder_ == null) { + source_ = builderForValue.build(); + onChanged(); + } else { + sourceGcsBucketBuilder_.setMessage(builderForValue.build()); } sourceCase_ = 2; - source_ = value; - onChanged(); return this; } /** * * *
-     * URI to a Cloud Storage object in format:
-     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * Cloud Storage source.
      * 
* - * string source_gcs_uri = 2; - * - * @return This builder for chaining. + * .google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 2; */ - public Builder clearSourceGcsUri() { - if (sourceCase_ == 2) { - sourceCase_ = 0; - source_ = null; + public Builder mergeSourceGcsBucket( + com.google.cloud.parallelstore.v1beta.SourceGcsBucket value) { + if (sourceGcsBucketBuilder_ == null) { + if (sourceCase_ == 2 + && source_ + != com.google.cloud.parallelstore.v1beta.SourceGcsBucket.getDefaultInstance()) { + source_ = + com.google.cloud.parallelstore.v1beta.SourceGcsBucket.newBuilder( + (com.google.cloud.parallelstore.v1beta.SourceGcsBucket) source_) + .mergeFrom(value) + .buildPartial(); + } else { + source_ = value; + } onChanged(); + } else { + if (sourceCase_ == 2) { + sourceGcsBucketBuilder_.mergeFrom(value); + } else { + sourceGcsBucketBuilder_.setMessage(value); + } } + sourceCase_ = 2; return this; } /** * * *
-     * URI to a Cloud Storage object in format:
-     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * Cloud Storage source.
      * 
* - * string source_gcs_uri = 2; + * .google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 2; + */ + public Builder clearSourceGcsBucket() { + if (sourceGcsBucketBuilder_ == null) { + if (sourceCase_ == 2) { + sourceCase_ = 0; + source_ = null; + onChanged(); + } + } else { + if (sourceCase_ == 2) { + sourceCase_ = 0; + source_ = null; + } + sourceGcsBucketBuilder_.clear(); + } + return this; + } + /** + * * - * @param value The bytes for sourceGcsUri to set. - * @return This builder for chaining. + *
+     * Cloud Storage source.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 2; */ - public Builder setSourceGcsUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); + public com.google.cloud.parallelstore.v1beta.SourceGcsBucket.Builder + getSourceGcsBucketBuilder() { + return getSourceGcsBucketFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Cloud Storage source.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 2; + */ + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.SourceGcsBucketOrBuilder + getSourceGcsBucketOrBuilder() { + if ((sourceCase_ == 2) && (sourceGcsBucketBuilder_ != null)) { + return sourceGcsBucketBuilder_.getMessageOrBuilder(); + } else { + if (sourceCase_ == 2) { + return (com.google.cloud.parallelstore.v1beta.SourceGcsBucket) source_; + } + return com.google.cloud.parallelstore.v1beta.SourceGcsBucket.getDefaultInstance(); + } + } + /** + * + * + *
+     * Cloud Storage source.
+     * 
+ * + * .google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.parallelstore.v1beta.SourceGcsBucket, + com.google.cloud.parallelstore.v1beta.SourceGcsBucket.Builder, + com.google.cloud.parallelstore.v1beta.SourceGcsBucketOrBuilder> + getSourceGcsBucketFieldBuilder() { + if (sourceGcsBucketBuilder_ == null) { + if (!(sourceCase_ == 2)) { + source_ = com.google.cloud.parallelstore.v1beta.SourceGcsBucket.getDefaultInstance(); + } + sourceGcsBucketBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.parallelstore.v1beta.SourceGcsBucket, + com.google.cloud.parallelstore.v1beta.SourceGcsBucket.Builder, + com.google.cloud.parallelstore.v1beta.SourceGcsBucketOrBuilder>( + (com.google.cloud.parallelstore.v1beta.SourceGcsBucket) source_, + getParentForChildren(), + isClean()); + source_ = null; } - checkByteStringIsUtf8(value); sourceCase_ = 2; - source_ = value; onChanged(); - return this; + return sourceGcsBucketBuilder_; } + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.parallelstore.v1beta.DestinationParallelstore, + com.google.cloud.parallelstore.v1beta.DestinationParallelstore.Builder, + com.google.cloud.parallelstore.v1beta.DestinationParallelstoreOrBuilder> + destinationParallelstoreBuilder_; /** * * *
-     * Optional. Root directory path to the Paralellstore filesystem, starting
-     * with '/'. Sets to '/' if no value is set.
+     * Parallelstore destination.
      * 
* - * string destination_path = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 3; + * * - * @return Whether the destinationPath field is set. + * @return Whether the destinationParallelstore field is set. */ @java.lang.Override - public boolean hasDestinationPath() { + public boolean hasDestinationParallelstore() { return destinationCase_ == 3; } /** * * *
-     * Optional. Root directory path to the Paralellstore filesystem, starting
-     * with '/'. Sets to '/' if no value is set.
+     * Parallelstore destination.
      * 
* - * string destination_path = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 3; + * * - * @return The destinationPath. + * @return The destinationParallelstore. */ @java.lang.Override - public java.lang.String getDestinationPath() { - java.lang.Object ref = ""; - if (destinationCase_ == 3) { - ref = destination_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); + public com.google.cloud.parallelstore.v1beta.DestinationParallelstore + getDestinationParallelstore() { + if (destinationParallelstoreBuilder_ == null) { if (destinationCase_ == 3) { - destination_ = s; + return (com.google.cloud.parallelstore.v1beta.DestinationParallelstore) destination_; } - return s; + return com.google.cloud.parallelstore.v1beta.DestinationParallelstore.getDefaultInstance(); } else { - return (java.lang.String) ref; + if (destinationCase_ == 3) { + return destinationParallelstoreBuilder_.getMessage(); + } + return com.google.cloud.parallelstore.v1beta.DestinationParallelstore.getDefaultInstance(); } } /** * * *
-     * Optional. Root directory path to the Paralellstore filesystem, starting
-     * with '/'. Sets to '/' if no value is set.
+     * Parallelstore destination.
      * 
* - * string destination_path = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for destinationPath. + * + * .google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 3; + * */ - @java.lang.Override - public com.google.protobuf.ByteString getDestinationPathBytes() { - java.lang.Object ref = ""; - if (destinationCase_ == 3) { - ref = destination_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - if (destinationCase_ == 3) { - destination_ = b; + public Builder setDestinationParallelstore( + com.google.cloud.parallelstore.v1beta.DestinationParallelstore value) { + if (destinationParallelstoreBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); } - return b; + destination_ = value; + onChanged(); } else { - return (com.google.protobuf.ByteString) ref; + destinationParallelstoreBuilder_.setMessage(value); } + destinationCase_ = 3; + return this; } /** * * *
-     * Optional. Root directory path to the Paralellstore filesystem, starting
-     * with '/'. Sets to '/' if no value is set.
+     * Parallelstore destination.
      * 
* - * string destination_path = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The destinationPath to set. - * @return This builder for chaining. + * + * .google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 3; + * */ - public Builder setDestinationPath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); + public Builder setDestinationParallelstore( + com.google.cloud.parallelstore.v1beta.DestinationParallelstore.Builder builderForValue) { + if (destinationParallelstoreBuilder_ == null) { + destination_ = builderForValue.build(); + onChanged(); + } else { + destinationParallelstoreBuilder_.setMessage(builderForValue.build()); } destinationCase_ = 3; - destination_ = value; - onChanged(); return this; } /** * * *
-     * Optional. Root directory path to the Paralellstore filesystem, starting
-     * with '/'. Sets to '/' if no value is set.
+     * Parallelstore destination.
      * 
* - * string destination_path = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return This builder for chaining. + * + * .google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 3; + * */ - public Builder clearDestinationPath() { - if (destinationCase_ == 3) { - destinationCase_ = 0; - destination_ = null; + public Builder mergeDestinationParallelstore( + com.google.cloud.parallelstore.v1beta.DestinationParallelstore value) { + if (destinationParallelstoreBuilder_ == null) { + if (destinationCase_ == 3 + && destination_ + != com.google.cloud.parallelstore.v1beta.DestinationParallelstore + .getDefaultInstance()) { + destination_ = + com.google.cloud.parallelstore.v1beta.DestinationParallelstore.newBuilder( + (com.google.cloud.parallelstore.v1beta.DestinationParallelstore) destination_) + .mergeFrom(value) + .buildPartial(); + } else { + destination_ = value; + } onChanged(); + } else { + if (destinationCase_ == 3) { + destinationParallelstoreBuilder_.mergeFrom(value); + } else { + destinationParallelstoreBuilder_.setMessage(value); + } } + destinationCase_ = 3; return this; } /** * * *
-     * Optional. Root directory path to the Paralellstore filesystem, starting
-     * with '/'. Sets to '/' if no value is set.
+     * Parallelstore destination.
      * 
* - * string destination_path = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 3; + * + */ + public Builder clearDestinationParallelstore() { + if (destinationParallelstoreBuilder_ == null) { + if (destinationCase_ == 3) { + destinationCase_ = 0; + destination_ = null; + onChanged(); + } + } else { + if (destinationCase_ == 3) { + destinationCase_ = 0; + destination_ = null; + } + destinationParallelstoreBuilder_.clear(); + } + return this; + } + /** + * * - * @param value The bytes for destinationPath to set. - * @return This builder for chaining. + *
+     * Parallelstore destination.
+     * 
+ * + * + * .google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 3; + * */ - public Builder setDestinationPathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); + public com.google.cloud.parallelstore.v1beta.DestinationParallelstore.Builder + getDestinationParallelstoreBuilder() { + return getDestinationParallelstoreFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Parallelstore destination.
+     * 
+ * + * + * .google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 3; + * + */ + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.DestinationParallelstoreOrBuilder + getDestinationParallelstoreOrBuilder() { + if ((destinationCase_ == 3) && (destinationParallelstoreBuilder_ != null)) { + return destinationParallelstoreBuilder_.getMessageOrBuilder(); + } else { + if (destinationCase_ == 3) { + return (com.google.cloud.parallelstore.v1beta.DestinationParallelstore) destination_; + } + return com.google.cloud.parallelstore.v1beta.DestinationParallelstore.getDefaultInstance(); + } + } + /** + * + * + *
+     * Parallelstore destination.
+     * 
+ * + * + * .google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 3; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.parallelstore.v1beta.DestinationParallelstore, + com.google.cloud.parallelstore.v1beta.DestinationParallelstore.Builder, + com.google.cloud.parallelstore.v1beta.DestinationParallelstoreOrBuilder> + getDestinationParallelstoreFieldBuilder() { + if (destinationParallelstoreBuilder_ == null) { + if (!(destinationCase_ == 3)) { + destination_ = + com.google.cloud.parallelstore.v1beta.DestinationParallelstore.getDefaultInstance(); + } + destinationParallelstoreBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.parallelstore.v1beta.DestinationParallelstore, + com.google.cloud.parallelstore.v1beta.DestinationParallelstore.Builder, + com.google.cloud.parallelstore.v1beta.DestinationParallelstoreOrBuilder>( + (com.google.cloud.parallelstore.v1beta.DestinationParallelstore) destination_, + getParentForChildren(), + isClean()); + destination_ = null; } - checkByteStringIsUtf8(value); destinationCase_ = 3; - destination_ = value; onChanged(); - return this; + return destinationParallelstoreBuilder_; } private java.lang.Object name_ = ""; diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ImportDataRequestOrBuilder.java b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ImportDataRequestOrBuilder.java index 73e25c68d5d1..04d337e8f221 100644 --- a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ImportDataRequestOrBuilder.java +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ImportDataRequestOrBuilder.java @@ -28,81 +28,78 @@ public interface ImportDataRequestOrBuilder * * *
-   * URI to a Cloud Storage object in format:
-   * 'gs://<bucket_name>/<path_inside_bucket>'.
+   * Cloud Storage source.
    * 
* - * string source_gcs_uri = 2; + * .google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 2; * - * @return Whether the sourceGcsUri field is set. + * @return Whether the sourceGcsBucket field is set. */ - boolean hasSourceGcsUri(); + boolean hasSourceGcsBucket(); /** * * *
-   * URI to a Cloud Storage object in format:
-   * 'gs://<bucket_name>/<path_inside_bucket>'.
+   * Cloud Storage source.
    * 
* - * string source_gcs_uri = 2; + * .google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 2; * - * @return The sourceGcsUri. + * @return The sourceGcsBucket. */ - java.lang.String getSourceGcsUri(); + com.google.cloud.parallelstore.v1beta.SourceGcsBucket getSourceGcsBucket(); /** * * *
-   * URI to a Cloud Storage object in format:
-   * 'gs://<bucket_name>/<path_inside_bucket>'.
+   * Cloud Storage source.
    * 
* - * string source_gcs_uri = 2; - * - * @return The bytes for sourceGcsUri. + * .google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 2; */ - com.google.protobuf.ByteString getSourceGcsUriBytes(); + com.google.cloud.parallelstore.v1beta.SourceGcsBucketOrBuilder getSourceGcsBucketOrBuilder(); /** * * *
-   * Optional. Root directory path to the Paralellstore filesystem, starting
-   * with '/'. Sets to '/' if no value is set.
+   * Parallelstore destination.
    * 
* - * string destination_path = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 3; + * * - * @return Whether the destinationPath field is set. + * @return Whether the destinationParallelstore field is set. */ - boolean hasDestinationPath(); + boolean hasDestinationParallelstore(); /** * * *
-   * Optional. Root directory path to the Paralellstore filesystem, starting
-   * with '/'. Sets to '/' if no value is set.
+   * Parallelstore destination.
    * 
* - * string destination_path = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 3; + * * - * @return The destinationPath. + * @return The destinationParallelstore. */ - java.lang.String getDestinationPath(); + com.google.cloud.parallelstore.v1beta.DestinationParallelstore getDestinationParallelstore(); /** * * *
-   * Optional. Root directory path to the Paralellstore filesystem, starting
-   * with '/'. Sets to '/' if no value is set.
+   * Parallelstore destination.
    * 
* - * string destination_path = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for destinationPath. + * + * .google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 3; + * */ - com.google.protobuf.ByteString getDestinationPathBytes(); + com.google.cloud.parallelstore.v1beta.DestinationParallelstoreOrBuilder + getDestinationParallelstoreOrBuilder(); /** * diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ParallelstoreProto.java b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ParallelstoreProto.java index 0d2d4627df53..bc3be94941a8 100644 --- a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ParallelstoreProto.java +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/ParallelstoreProto.java @@ -64,6 +64,22 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_parallelstore_v1beta_OperationMetadata_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_parallelstore_v1beta_OperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_parallelstore_v1beta_SourceGcsBucket_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_parallelstore_v1beta_SourceGcsBucket_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_parallelstore_v1beta_DestinationGcsBucket_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_parallelstore_v1beta_DestinationGcsBucket_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_parallelstore_v1beta_SourceParallelstore_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_parallelstore_v1beta_SourceParallelstore_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_parallelstore_v1beta_DestinationParallelstore_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_parallelstore_v1beta_DestinationParallelstore_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_parallelstore_v1beta_ImportDataRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -164,89 +180,99 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "TimestampB\003\340A\003\022\023\n\006target\030\003 \001(\tB\003\340A\003\022\021\n\004v" + "erb\030\004 \001(\tB\003\340A\003\022\033\n\016status_message\030\005 \001(\tB\003" + "\340A\003\022#\n\026requested_cancellation\030\006 \001(\010B\003\340A\003" - + "\022\030\n\013api_version\030\007 \001(\tB\003\340A\003\"\305\001\n\021ImportDat" - + "aRequest\022\030\n\016source_gcs_uri\030\002 \001(\tH\000\022\037\n\020de" - + "stination_path\030\003 \001(\tB\003\340A\001H\001\022;\n\004name\030\001 \001(" - + "\tB-\340A\002\372A\'\n%parallelstore.googleapis.com/" - + "Instance\022\037\n\nrequest_id\030\004 \001(\tB\013\340A\001\342\214\317\327\010\002\010" - + "\001B\010\n\006sourceB\r\n\013destination\"\305\001\n\021ExportDat" - + "aRequest\022\032\n\013source_path\030\002 \001(\tB\003\340A\001H\000\022\035\n\023" - + "destination_gcs_uri\030\003 \001(\tH\001\022;\n\004name\030\001 \001(" - + "\tB-\340A\002\372A\'\n%parallelstore.googleapis.com/" - + "Instance\022\037\n\nrequest_id\030\004 \001(\tB\013\340A\001\342\214\317\327\010\002\010" - + "\001B\010\n\006sourceB\r\n\013destination\"\024\n\022ImportData" - + "Response\"n\n\022ImportDataMetadata\022X\n\022operat" - + "ion_metadata\030\001 \001(\0132<.google.cloud.parall" - + "elstore.v1beta.TransferOperationMetadata" - + "\"\024\n\022ExportDataResponse\"n\n\022ExportDataMeta" - + "data\022X\n\022operation_metadata\030\001 \001(\0132<.googl" - + "e.cloud.parallelstore.v1beta.TransferOpe" - + "rationMetadata\"\302\002\n\031TransferOperationMeta" - + "data\0224\n\013create_time\030\001 \001(\0132\032.google.proto" - + "buf.TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.g" - + "oogle.protobuf.TimestampB\003\340A\003\022E\n\010counter" - + "s\030\003 \001(\01323.google.cloud.parallelstore.v1b" - + "eta.TransferCounters\022\023\n\006source\030\004 \001(\tB\003\340A" - + "\002\022\030\n\013destination\030\005 \001(\tB\003\340A\002\022F\n\rtransfer_" - + "type\030\006 \001(\0162/.google.cloud.parallelstore." - + "v1beta.TransferType\"\234\001\n\020TransferCounters" - + "\022\025\n\robjects_found\030\001 \001(\003\022\023\n\013bytes_found\030\002" - + " \001(\003\022\027\n\017objects_skipped\030\003 \001(\003\022\025\n\rbytes_s" - + "kipped\030\004 \001(\003\022\026\n\016objects_copied\030\005 \001(\003\022\024\n\014" - + "bytes_copied\030\006 \001(\003*E\n\014TransferType\022\035\n\031TR" - + "ANSFER_TYPE_UNSPECIFIED\020\000\022\n\n\006IMPORT\020\001\022\n\n" - + "\006EXPORT\020\0022\315\014\n\rParallelstore\022\306\001\n\rListInst" - + "ances\0227.google.cloud.parallelstore.v1bet" - + "a.ListInstancesRequest\0328.google.cloud.pa" - + "rallelstore.v1beta.ListInstancesResponse" - + "\"B\332A\006parent\202\323\344\223\0023\0221/v1beta/{parent=proje" - + "cts/*/locations/*}/instances\022\263\001\n\013GetInst" - + "ance\0225.google.cloud.parallelstore.v1beta" - + ".GetInstanceRequest\032+.google.cloud.paral" - + "lelstore.v1beta.Instance\"@\332A\004name\202\323\344\223\0023\022" - + "1/v1beta/{name=projects/*/locations/*/in" - + "stances/*}\022\355\001\n\016CreateInstance\0228.google.c" - + "loud.parallelstore.v1beta.CreateInstance" - + "Request\032\035.google.longrunning.Operation\"\201" - + "\001\312A\035\n\010Instance\022\021OperationMetadata\332A\033pare" - + "nt,instance,instance_id\202\323\344\223\002=\"1/v1beta/{" - + "parent=projects/*/locations/*}/instances" - + ":\010instance\022\357\001\n\016UpdateInstance\0228.google.c" - + "loud.parallelstore.v1beta.UpdateInstance" - + "Request\032\035.google.longrunning.Operation\"\203" - + "\001\312A\035\n\010Instance\022\021OperationMetadata\332A\024inst" - + "ance,update_mask\202\323\344\223\002F2:/v1beta/{instanc" - + "e.name=projects/*/locations/*/instances/" - + "*}:\010instance\022\330\001\n\016DeleteInstance\0228.google" - + ".cloud.parallelstore.v1beta.DeleteInstan" - + "ceRequest\032\035.google.longrunning.Operation" - + "\"m\312A*\n\025google.protobuf.Empty\022\021OperationM" - + "etadata\332A\004name\202\323\344\223\0023*1/v1beta/{name=proj" - + "ects/*/locations/*/instances/*}\022\325\001\n\nImpo" - + "rtData\0224.google.cloud.parallelstore.v1be" - + "ta.ImportDataRequest\032\035.google.longrunnin" - + "g.Operation\"r\312A(\n\022ImportDataResponse\022\022Im" - + "portDataMetadata\202\323\344\223\002A\" + * Google Cloud Storage as a source. + *
+ * + * Protobuf type {@code google.cloud.parallelstore.v1beta.SourceGcsBucket} + */ +public final class SourceGcsBucket extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.parallelstore.v1beta.SourceGcsBucket) + SourceGcsBucketOrBuilder { + private static final long serialVersionUID = 0L; + // Use SourceGcsBucket.newBuilder() to construct. + private SourceGcsBucket(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private SourceGcsBucket() { + uri_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SourceGcsBucket(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_SourceGcsBucket_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_SourceGcsBucket_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.parallelstore.v1beta.SourceGcsBucket.class, + com.google.cloud.parallelstore.v1beta.SourceGcsBucket.Builder.class); + } + + public static final int URI_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object uri_ = ""; + /** + * + * + *
+   * Required. URI to a Cloud Storage object in format:
+   * 'gs://<bucket_name>/<path_inside_bucket>'.
+   * 
+ * + * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The uri. + */ + @java.lang.Override + public java.lang.String getUri() { + java.lang.Object ref = uri_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + uri_ = s; + return s; + } + } + /** + * + * + *
+   * Required. URI to a Cloud Storage object in format:
+   * 'gs://<bucket_name>/<path_inside_bucket>'.
+   * 
+ * + * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for uri. + */ + @java.lang.Override + public com.google.protobuf.ByteString getUriBytes() { + java.lang.Object ref = uri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + uri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uri_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.parallelstore.v1beta.SourceGcsBucket)) { + return super.equals(obj); + } + com.google.cloud.parallelstore.v1beta.SourceGcsBucket other = + (com.google.cloud.parallelstore.v1beta.SourceGcsBucket) obj; + + if (!getUri().equals(other.getUri())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + URI_FIELD_NUMBER; + hash = (53 * hash) + getUri().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.parallelstore.v1beta.SourceGcsBucket parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.SourceGcsBucket parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.SourceGcsBucket parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.SourceGcsBucket parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.SourceGcsBucket parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.SourceGcsBucket parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.SourceGcsBucket parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.SourceGcsBucket parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.SourceGcsBucket parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.SourceGcsBucket parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.SourceGcsBucket parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.SourceGcsBucket parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.parallelstore.v1beta.SourceGcsBucket prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Google Cloud Storage as a source.
+   * 
+ * + * Protobuf type {@code google.cloud.parallelstore.v1beta.SourceGcsBucket} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.parallelstore.v1beta.SourceGcsBucket) + com.google.cloud.parallelstore.v1beta.SourceGcsBucketOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_SourceGcsBucket_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_SourceGcsBucket_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.parallelstore.v1beta.SourceGcsBucket.class, + com.google.cloud.parallelstore.v1beta.SourceGcsBucket.Builder.class); + } + + // Construct using com.google.cloud.parallelstore.v1beta.SourceGcsBucket.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + uri_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_SourceGcsBucket_descriptor; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.SourceGcsBucket getDefaultInstanceForType() { + return com.google.cloud.parallelstore.v1beta.SourceGcsBucket.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.SourceGcsBucket build() { + com.google.cloud.parallelstore.v1beta.SourceGcsBucket result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.SourceGcsBucket buildPartial() { + com.google.cloud.parallelstore.v1beta.SourceGcsBucket result = + new com.google.cloud.parallelstore.v1beta.SourceGcsBucket(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.parallelstore.v1beta.SourceGcsBucket result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.uri_ = uri_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.parallelstore.v1beta.SourceGcsBucket) { + return mergeFrom((com.google.cloud.parallelstore.v1beta.SourceGcsBucket) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.parallelstore.v1beta.SourceGcsBucket other) { + if (other == com.google.cloud.parallelstore.v1beta.SourceGcsBucket.getDefaultInstance()) + return this; + if (!other.getUri().isEmpty()) { + uri_ = other.uri_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + uri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object uri_ = ""; + /** + * + * + *
+     * Required. URI to a Cloud Storage object in format:
+     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * 
+ * + * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The uri. + */ + public java.lang.String getUri() { + java.lang.Object ref = uri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + uri_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. URI to a Cloud Storage object in format:
+     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * 
+ * + * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for uri. + */ + public com.google.protobuf.ByteString getUriBytes() { + java.lang.Object ref = uri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + uri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. URI to a Cloud Storage object in format:
+     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * 
+ * + * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The uri to set. + * @return This builder for chaining. + */ + public Builder setUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + uri_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. URI to a Cloud Storage object in format:
+     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * 
+ * + * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearUri() { + uri_ = getDefaultInstance().getUri(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. URI to a Cloud Storage object in format:
+     * 'gs://<bucket_name>/<path_inside_bucket>'.
+     * 
+ * + * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for uri to set. + * @return This builder for chaining. + */ + public Builder setUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.parallelstore.v1beta.SourceGcsBucket) + } + + // @@protoc_insertion_point(class_scope:google.cloud.parallelstore.v1beta.SourceGcsBucket) + private static final com.google.cloud.parallelstore.v1beta.SourceGcsBucket DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.parallelstore.v1beta.SourceGcsBucket(); + } + + public static com.google.cloud.parallelstore.v1beta.SourceGcsBucket getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SourceGcsBucket parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.SourceGcsBucket getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/SourceGcsBucketOrBuilder.java b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/SourceGcsBucketOrBuilder.java new file mode 100644 index 000000000000..0a38adb92097 --- /dev/null +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/SourceGcsBucketOrBuilder.java @@ -0,0 +1,53 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/parallelstore/v1beta/parallelstore.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.parallelstore.v1beta; + +public interface SourceGcsBucketOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.parallelstore.v1beta.SourceGcsBucket) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. URI to a Cloud Storage object in format:
+   * 'gs://<bucket_name>/<path_inside_bucket>'.
+   * 
+ * + * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The uri. + */ + java.lang.String getUri(); + /** + * + * + *
+   * Required. URI to a Cloud Storage object in format:
+   * 'gs://<bucket_name>/<path_inside_bucket>'.
+   * 
+ * + * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for uri. + */ + com.google.protobuf.ByteString getUriBytes(); +} diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/SourceParallelstore.java b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/SourceParallelstore.java new file mode 100644 index 000000000000..0a00d6bdc10a --- /dev/null +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/SourceParallelstore.java @@ -0,0 +1,633 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/parallelstore/v1beta/parallelstore.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.parallelstore.v1beta; + +/** + * + * + *
+ * Pa as a source.
+ * 
+ * + * Protobuf type {@code google.cloud.parallelstore.v1beta.SourceParallelstore} + */ +public final class SourceParallelstore extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.parallelstore.v1beta.SourceParallelstore) + SourceParallelstoreOrBuilder { + private static final long serialVersionUID = 0L; + // Use SourceParallelstore.newBuilder() to construct. + private SourceParallelstore(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private SourceParallelstore() { + path_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SourceParallelstore(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_SourceParallelstore_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_SourceParallelstore_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.parallelstore.v1beta.SourceParallelstore.class, + com.google.cloud.parallelstore.v1beta.SourceParallelstore.Builder.class); + } + + public static final int PATH_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object path_ = ""; + /** + * + * + *
+   * Optional. Root directory path to the Paralellstore filesystem, starting
+   * with '/'. Defaults to '/' if unset.
+   * 
+ * + * string path = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The path. + */ + @java.lang.Override + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } + } + /** + * + * + *
+   * Optional. Root directory path to the Paralellstore filesystem, starting
+   * with '/'. Defaults to '/' if unset.
+   * 
+ * + * string path = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for path. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.parallelstore.v1beta.SourceParallelstore)) { + return super.equals(obj); + } + com.google.cloud.parallelstore.v1beta.SourceParallelstore other = + (com.google.cloud.parallelstore.v1beta.SourceParallelstore) obj; + + if (!getPath().equals(other.getPath())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PATH_FIELD_NUMBER; + hash = (53 * hash) + getPath().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.parallelstore.v1beta.SourceParallelstore parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.SourceParallelstore parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.SourceParallelstore parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.SourceParallelstore parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.SourceParallelstore parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.parallelstore.v1beta.SourceParallelstore parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.SourceParallelstore parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.SourceParallelstore parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.SourceParallelstore parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.SourceParallelstore parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.parallelstore.v1beta.SourceParallelstore parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.parallelstore.v1beta.SourceParallelstore parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.parallelstore.v1beta.SourceParallelstore prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Pa as a source.
+   * 
+ * + * Protobuf type {@code google.cloud.parallelstore.v1beta.SourceParallelstore} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.parallelstore.v1beta.SourceParallelstore) + com.google.cloud.parallelstore.v1beta.SourceParallelstoreOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_SourceParallelstore_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_SourceParallelstore_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.parallelstore.v1beta.SourceParallelstore.class, + com.google.cloud.parallelstore.v1beta.SourceParallelstore.Builder.class); + } + + // Construct using com.google.cloud.parallelstore.v1beta.SourceParallelstore.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + path_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.parallelstore.v1beta.ParallelstoreProto + .internal_static_google_cloud_parallelstore_v1beta_SourceParallelstore_descriptor; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.SourceParallelstore getDefaultInstanceForType() { + return com.google.cloud.parallelstore.v1beta.SourceParallelstore.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.SourceParallelstore build() { + com.google.cloud.parallelstore.v1beta.SourceParallelstore result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.SourceParallelstore buildPartial() { + com.google.cloud.parallelstore.v1beta.SourceParallelstore result = + new com.google.cloud.parallelstore.v1beta.SourceParallelstore(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.parallelstore.v1beta.SourceParallelstore result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.path_ = path_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.parallelstore.v1beta.SourceParallelstore) { + return mergeFrom((com.google.cloud.parallelstore.v1beta.SourceParallelstore) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.parallelstore.v1beta.SourceParallelstore other) { + if (other == com.google.cloud.parallelstore.v1beta.SourceParallelstore.getDefaultInstance()) + return this; + if (!other.getPath().isEmpty()) { + path_ = other.path_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + path_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object path_ = ""; + /** + * + * + *
+     * Optional. Root directory path to the Paralellstore filesystem, starting
+     * with '/'. Defaults to '/' if unset.
+     * 
+ * + * string path = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The path. + */ + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. Root directory path to the Paralellstore filesystem, starting
+     * with '/'. Defaults to '/' if unset.
+     * 
+ * + * string path = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for path. + */ + public com.google.protobuf.ByteString getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. Root directory path to the Paralellstore filesystem, starting
+     * with '/'. Defaults to '/' if unset.
+     * 
+ * + * string path = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The path to set. + * @return This builder for chaining. + */ + public Builder setPath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + path_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Root directory path to the Paralellstore filesystem, starting
+     * with '/'. Defaults to '/' if unset.
+     * 
+ * + * string path = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearPath() { + path_ = getDefaultInstance().getPath(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Root directory path to the Paralellstore filesystem, starting
+     * with '/'. Defaults to '/' if unset.
+     * 
+ * + * string path = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for path to set. + * @return This builder for chaining. + */ + public Builder setPathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.parallelstore.v1beta.SourceParallelstore) + } + + // @@protoc_insertion_point(class_scope:google.cloud.parallelstore.v1beta.SourceParallelstore) + private static final com.google.cloud.parallelstore.v1beta.SourceParallelstore DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.parallelstore.v1beta.SourceParallelstore(); + } + + public static com.google.cloud.parallelstore.v1beta.SourceParallelstore getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SourceParallelstore parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.parallelstore.v1beta.SourceParallelstore getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/SourceParallelstoreOrBuilder.java b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/SourceParallelstoreOrBuilder.java new file mode 100644 index 000000000000..33857a4e87ac --- /dev/null +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/java/com/google/cloud/parallelstore/v1beta/SourceParallelstoreOrBuilder.java @@ -0,0 +1,53 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/parallelstore/v1beta/parallelstore.proto + +// Protobuf Java Version: 3.25.3 +package com.google.cloud.parallelstore.v1beta; + +public interface SourceParallelstoreOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.parallelstore.v1beta.SourceParallelstore) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Optional. Root directory path to the Paralellstore filesystem, starting
+   * with '/'. Defaults to '/' if unset.
+   * 
+ * + * string path = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The path. + */ + java.lang.String getPath(); + /** + * + * + *
+   * Optional. Root directory path to the Paralellstore filesystem, starting
+   * with '/'. Defaults to '/' if unset.
+   * 
+ * + * string path = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for path. + */ + com.google.protobuf.ByteString getPathBytes(); +} diff --git a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/proto/google/cloud/parallelstore/v1beta/parallelstore.proto b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/proto/google/cloud/parallelstore/v1beta/parallelstore.proto index b971c6fc35fa..71c3ee2705cf 100644 --- a/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/proto/google/cloud/parallelstore/v1beta/parallelstore.proto +++ b/java-parallelstore/proto-google-cloud-parallelstore-v1beta/src/main/proto/google/cloud/parallelstore/v1beta/parallelstore.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -449,21 +449,47 @@ message OperationMetadata { string api_version = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; } +// Google Cloud Storage as a source. +message SourceGcsBucket { + // Required. URI to a Cloud Storage object in format: + // 'gs:///'. + string uri = 1 [(google.api.field_behavior) = REQUIRED]; +} + +// Google Cloud Storage as a destination. +message DestinationGcsBucket { + // Required. URI to a Cloud Storage object in format: + // 'gs:///'. + string uri = 1 [(google.api.field_behavior) = REQUIRED]; +} + +// Pa as a source. +message SourceParallelstore { + // Optional. Root directory path to the Paralellstore filesystem, starting + // with '/'. Defaults to '/' if unset. + string path = 1 [(google.api.field_behavior) = OPTIONAL]; +} + +// Parallelstore as a destination. +message DestinationParallelstore { + // Optional. Root directory path to the Paralellstore filesystem, starting + // with '/'. Defaults to '/' if unset. + string path = 1 [(google.api.field_behavior) = OPTIONAL]; +} + // Message representing the request importing data from parallelstore to Cloud // Storage. message ImportDataRequest { // The source of the data being imported into the parallelstore instance. oneof source { - // URI to a Cloud Storage object in format: - // 'gs:///'. - string source_gcs_uri = 2; + // Cloud Storage source. + SourceGcsBucket source_gcs_bucket = 2; } // The destination of the data being imported into the parallelstore instance. oneof destination { - // Optional. Root directory path to the Paralellstore filesystem, starting - // with '/'. Sets to '/' if no value is set. - string destination_path = 3 [(google.api.field_behavior) = OPTIONAL]; + // Parallelstore destination. + DestinationParallelstore destination_parallelstore = 3; } // Required. Name of the resource. @@ -498,16 +524,14 @@ message ImportDataRequest { message ExportDataRequest { // The source of the data exported from the parallelstore instance. oneof source { - // Optional. Root directory path to the Paralellstore filesystem, starting - // with '/'. Sets to '/' if no value is set. - string source_path = 2 [(google.api.field_behavior) = OPTIONAL]; + // Parallelstore source. + SourceParallelstore source_parallelstore = 2; } // The destination of the data exported from the parallelstore instance. oneof destination { - // URI to a Cloud Storage object in format: - // 'gs:///'. - string destination_gcs_uri = 3; + // Cloud Storage destination. + DestinationGcsBucket destination_gcs_bucket = 3; } // Required. Name of the resource.