diff --git a/java-datacatalog/README.md b/java-datacatalog/README.md index 7a0f6ce4406b..f6dfdc386cd1 100644 --- a/java-datacatalog/README.md +++ b/java-datacatalog/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.16.0 + 26.18.0 pom import @@ -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-datacatalog.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datacatalog/1.24.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datacatalog/1.26.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-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClient.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClient.java index 28a70f5fdf47..142d4c17c022 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClient.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClient.java @@ -188,7 +188,7 @@ public DataCatalogStub getStub() { * *

This is a custom method (https://cloud.google.com/apis/design/custom_methods) and does not * return the complete resource, only the resource identifier and high level fields. Clients can - * subsequentally call `Get` methods. + * subsequently call `Get` methods. * *

Note that Data Catalog search queries do not guarantee full recall. Query results that match * your query may not be returned, even in subsequent result pages. Also note that results @@ -219,8 +219,9 @@ public DataCatalogStub getStub() { * @param scope Required. The scope of this search request. A `scope` that has empty * `include_org_ids`, `include_project_ids` AND false `include_gcp_public_datasets` is * considered invalid. Data Catalog will return an error in such a case. - * @param query Required. The query string in search query syntax. The query must be non-empty. - *

Query strings can be simple as "x" or more qualified as: + * @param query Optional. The query string in search query syntax. An empty query string will + * result in all data assets (in the specified scope) that the user has access to. Query + * strings can be simple as "x" or more qualified as: *

* * @param tagTemplateField Required. The template to update. - * @param updateMask Optional. The field mask specifies the parts of the template to be updated. - * Allowed fields: + * @param updateMask Optional. Names of fields whose values to overwrite on an individual field of + * a tag template. The following fields are modifiable: *

* `display_name` * `type.enum_type` * `is_required` - *

If `update_mask` is not set or empty, all of the allowed fields above will be updated. - *

When updating an enum type, the provided values will be merged with the existing values. - * Therefore, enum values can only be added, existing enum values cannot be deleted nor - * renamed. Updating a template field from optional to required is NOT allowed. + *

If this parameter is absent or empty, all modifiable fields are overwritten. If such + * fields are non-required and omitted in the request body, their values are emptied with one + * exception: when updating an enum type, the provided values are merged with the existing + * values. Therefore, enum values can only be added, existing enum values cannot be deleted or + * renamed. + *

Additionally, updating a template field from optional to required is + *

+ * * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final TagTemplateField updateTagTemplateField( @@ -2796,13 +2805,19 @@ public final TagTemplateField updateTagTemplateField( * * * @param tagTemplateField Required. The template to update. - * @param updateMask Optional. The field mask specifies the parts of the template to be updated. - * Allowed fields: + * @param updateMask Optional. Names of fields whose values to overwrite on an individual field of + * a tag template. The following fields are modifiable: *

* `display_name` * `type.enum_type` * `is_required` - *

If `update_mask` is not set or empty, all of the allowed fields above will be updated. - *

When updating an enum type, the provided values will be merged with the existing values. - * Therefore, enum values can only be added, existing enum values cannot be deleted nor - * renamed. Updating a template field from optional to required is NOT allowed. + *

If this parameter is absent or empty, all modifiable fields are overwritten. If such + * fields are non-required and omitted in the request body, their values are emptied with one + * exception: when updating an enum type, the provided values are merged with the existing + * values. Therefore, enum values can only be added, existing enum values cannot be deleted or + * renamed. + *

Additionally, updating a template field from optional to required is + *

+ * * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final TagTemplateField updateTagTemplateField( @@ -3042,6 +3057,179 @@ public final TagTemplateField renameTagTemplateField(RenameTagTemplateFieldReque return stub.renameTagTemplateFieldCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Renames an enum value in a tag template. The enum values have to be unique within one enum + * field. Thus, an enum value cannot be renamed with a name used in any other enum value within + * the same enum field. + * + *

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 (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
+   *   TagTemplateFieldEnumValueName name =
+   *       TagTemplateFieldEnumValueName.of(
+   *           "[PROJECT]",
+   *           "[LOCATION]",
+   *           "[TAG_TEMPLATE]",
+   *           "[TAG_TEMPLATE_FIELD_ID]",
+   *           "[ENUM_VALUE_DISPLAY_NAME]");
+   *   String newEnumValueDisplayName = "newEnumValueDisplayName-1119629027";
+   *   TagTemplateField response =
+   *       dataCatalogClient.renameTagTemplateFieldEnumValue(name, newEnumValueDisplayName);
+   * }
+   * }
+ * + * @param name Required. The name of the enum field value. Example: + * + * + * @param newEnumValueDisplayName Required. The new display name of the enum value. For example, + * `my_new_enum_value`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final TagTemplateField renameTagTemplateFieldEnumValue( + TagTemplateFieldEnumValueName name, String newEnumValueDisplayName) { + RenameTagTemplateFieldEnumValueRequest request = + RenameTagTemplateFieldEnumValueRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .setNewEnumValueDisplayName(newEnumValueDisplayName) + .build(); + return renameTagTemplateFieldEnumValue(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Renames an enum value in a tag template. The enum values have to be unique within one enum + * field. Thus, an enum value cannot be renamed with a name used in any other enum value within + * the same enum field. + * + *

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 (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
+   *   String name =
+   *       TagTemplateFieldEnumValueName.of(
+   *               "[PROJECT]",
+   *               "[LOCATION]",
+   *               "[TAG_TEMPLATE]",
+   *               "[TAG_TEMPLATE_FIELD_ID]",
+   *               "[ENUM_VALUE_DISPLAY_NAME]")
+   *           .toString();
+   *   String newEnumValueDisplayName = "newEnumValueDisplayName-1119629027";
+   *   TagTemplateField response =
+   *       dataCatalogClient.renameTagTemplateFieldEnumValue(name, newEnumValueDisplayName);
+   * }
+   * }
+ * + * @param name Required. The name of the enum field value. Example: + * + * + * @param newEnumValueDisplayName Required. The new display name of the enum value. For example, + * `my_new_enum_value`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final TagTemplateField renameTagTemplateFieldEnumValue( + String name, String newEnumValueDisplayName) { + RenameTagTemplateFieldEnumValueRequest request = + RenameTagTemplateFieldEnumValueRequest.newBuilder() + .setName(name) + .setNewEnumValueDisplayName(newEnumValueDisplayName) + .build(); + return renameTagTemplateFieldEnumValue(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Renames an enum value in a tag template. The enum values have to be unique within one enum + * field. Thus, an enum value cannot be renamed with a name used in any other enum value within + * the same enum field. + * + *

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 (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
+   *   RenameTagTemplateFieldEnumValueRequest request =
+   *       RenameTagTemplateFieldEnumValueRequest.newBuilder()
+   *           .setName(
+   *               TagTemplateFieldEnumValueName.of(
+   *                       "[PROJECT]",
+   *                       "[LOCATION]",
+   *                       "[TAG_TEMPLATE]",
+   *                       "[TAG_TEMPLATE_FIELD_ID]",
+   *                       "[ENUM_VALUE_DISPLAY_NAME]")
+   *                   .toString())
+   *           .setNewEnumValueDisplayName("newEnumValueDisplayName-1119629027")
+   *           .build();
+   *   TagTemplateField response = dataCatalogClient.renameTagTemplateFieldEnumValue(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 TagTemplateField renameTagTemplateFieldEnumValue( + RenameTagTemplateFieldEnumValueRequest request) { + return renameTagTemplateFieldEnumValueCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Renames an enum value in a tag template. The enum values have to be unique within one enum + * field. Thus, an enum value cannot be renamed with a name used in any other enum value within + * the same enum field. + * + *

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 (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
+   *   RenameTagTemplateFieldEnumValueRequest request =
+   *       RenameTagTemplateFieldEnumValueRequest.newBuilder()
+   *           .setName(
+   *               TagTemplateFieldEnumValueName.of(
+   *                       "[PROJECT]",
+   *                       "[LOCATION]",
+   *                       "[TAG_TEMPLATE]",
+   *                       "[TAG_TEMPLATE_FIELD_ID]",
+   *                       "[ENUM_VALUE_DISPLAY_NAME]")
+   *                   .toString())
+   *           .setNewEnumValueDisplayName("newEnumValueDisplayName-1119629027")
+   *           .build();
+   *   ApiFuture future =
+   *       dataCatalogClient.renameTagTemplateFieldEnumValueCallable().futureCall(request);
+   *   // Do something.
+   *   TagTemplateField response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + renameTagTemplateFieldEnumValueCallable() { + return stub.renameTagTemplateFieldEnumValueCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Deletes a field in a tag template and all uses of that field. Users should enable the Data @@ -3391,8 +3579,11 @@ public final Tag updateTag(Tag tag) { * } * * @param tag Required. The updated tag. The "name" field must be set. - * @param updateMask The fields to update on the Tag. If absent or empty, all modifiable fields - * are updated. Currently the only modifiable field is the field `fields`. + * @param updateMask Note: Currently, this parameter can only take `"fields"` as value. + *

Names of fields whose values to overwrite on a tag. Currently, a tag has the only + * modifiable field with the name `fields`. + *

In general, if this parameter is absent or empty, all modifiable fields are overwritten. + * If such fields are non-required and omitted in the request body, their values are emptied. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Tag updateTag(Tag tag, FieldMask updateMask) { @@ -3578,7 +3769,8 @@ public final UnaryCallable deleteTagCallable() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists the tags on an [Entry][google.cloud.datacatalog.v1beta1.Entry]. + * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1beta1.Entry]. The + * [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response are lowercased. * *

Sample code: * @@ -3615,7 +3807,8 @@ public final ListTagsPagedResponse listTags(EntryName parent) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists the tags on an [Entry][google.cloud.datacatalog.v1beta1.Entry]. + * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1beta1.Entry]. The + * [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response are lowercased. * *

Sample code: * @@ -3652,7 +3845,8 @@ public final ListTagsPagedResponse listTags(String parent) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists the tags on an [Entry][google.cloud.datacatalog.v1beta1.Entry]. + * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1beta1.Entry]. The + * [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response are lowercased. * *

Sample code: * @@ -3685,7 +3879,8 @@ public final ListTagsPagedResponse listTags(ListTagsRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists the tags on an [Entry][google.cloud.datacatalog.v1beta1.Entry]. + * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1beta1.Entry]. The + * [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response are lowercased. * *

Sample code: * @@ -3717,7 +3912,8 @@ public final UnaryCallable listTagsPaged // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists the tags on an [Entry][google.cloud.datacatalog.v1beta1.Entry]. + * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1beta1.Entry]. The + * [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response are lowercased. * *

Sample code: * diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogSettings.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogSettings.java index a5ecd264dc4c..175b498e8d8e 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogSettings.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogSettings.java @@ -186,6 +186,12 @@ public UnaryCallSettings deleteTagTemplateSetti return ((DataCatalogStubSettings) getStubSettings()).renameTagTemplateFieldSettings(); } + /** Returns the object with the settings used for calls to renameTagTemplateFieldEnumValue. */ + public UnaryCallSettings + renameTagTemplateFieldEnumValueSettings() { + return ((DataCatalogStubSettings) getStubSettings()).renameTagTemplateFieldEnumValueSettings(); + } + /** Returns the object with the settings used for calls to deleteTagTemplateField. */ public UnaryCallSettings deleteTagTemplateFieldSettings() { return ((DataCatalogStubSettings) getStubSettings()).deleteTagTemplateFieldSettings(); @@ -450,6 +456,12 @@ public UnaryCallSettings.Builder deleteTagTempl return getStubSettingsBuilder().renameTagTemplateFieldSettings(); } + /** Returns the builder for the settings used for calls to renameTagTemplateFieldEnumValue. */ + public UnaryCallSettings.Builder + renameTagTemplateFieldEnumValueSettings() { + return getStubSettingsBuilder().renameTagTemplateFieldEnumValueSettings(); + } + /** Returns the builder for the settings used for calls to deleteTagTemplateField. */ public UnaryCallSettings.Builder deleteTagTemplateFieldSettings() { diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClient.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClient.java index 3277988d1586..cc60a1b80977 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClient.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClient.java @@ -584,6 +584,7 @@ public final ListTaxonomiesPagedResponse listTaxonomies(String parent) { * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) * .setPageSize(883849137) * .setPageToken("pageToken873572522") + * .setFilter("filter-1274492040") * .build(); * for (Taxonomy element : policyTagManagerClient.listTaxonomies(request).iterateAll()) { * // doThingsWith(element); @@ -617,6 +618,7 @@ public final ListTaxonomiesPagedResponse listTaxonomies(ListTaxonomiesRequest re * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) * .setPageSize(883849137) * .setPageToken("pageToken873572522") + * .setFilter("filter-1274492040") * .build(); * ApiFuture future = * policyTagManagerClient.listTaxonomiesPagedCallable().futureCall(request); @@ -651,6 +653,7 @@ public final ListTaxonomiesPagedResponse listTaxonomies(ListTaxonomiesRequest re * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) * .setPageSize(883849137) * .setPageToken("pageToken873572522") + * .setFilter("filter-1274492040") * .build(); * while (true) { * ListTaxonomiesResponse response = diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/gapic_metadata.json b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/gapic_metadata.json index 10b6ea149203..fd14ec3f0206 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/gapic_metadata.json +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/gapic_metadata.json @@ -67,6 +67,9 @@ "RenameTagTemplateField": { "methods": ["renameTagTemplateField", "renameTagTemplateField", "renameTagTemplateField", "renameTagTemplateFieldCallable"] }, + "RenameTagTemplateFieldEnumValue": { + "methods": ["renameTagTemplateFieldEnumValue", "renameTagTemplateFieldEnumValue", "renameTagTemplateFieldEnumValue", "renameTagTemplateFieldEnumValueCallable"] + }, "SearchCatalog": { "methods": ["searchCatalog", "searchCatalog", "searchCatalogPagedCallable", "searchCatalogCallable"] }, diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStub.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStub.java index 717e2630d5eb..804cf58aefe0 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStub.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStub.java @@ -46,6 +46,7 @@ import com.google.cloud.datacatalog.v1beta1.ListTagsRequest; import com.google.cloud.datacatalog.v1beta1.ListTagsResponse; import com.google.cloud.datacatalog.v1beta1.LookupEntryRequest; +import com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest; import com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest; import com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest; import com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse; @@ -168,6 +169,12 @@ public UnaryCallable deleteTagTemplateCallable( throw new UnsupportedOperationException("Not implemented: renameTagTemplateFieldCallable()"); } + public UnaryCallable + renameTagTemplateFieldEnumValueCallable() { + throw new UnsupportedOperationException( + "Not implemented: renameTagTemplateFieldEnumValueCallable()"); + } + public UnaryCallable deleteTagTemplateFieldCallable() { throw new UnsupportedOperationException("Not implemented: deleteTagTemplateFieldCallable()"); } diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStubSettings.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStubSettings.java index 7dda2a51f384..c47984e23c00 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStubSettings.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStubSettings.java @@ -68,6 +68,7 @@ import com.google.cloud.datacatalog.v1beta1.ListTagsRequest; import com.google.cloud.datacatalog.v1beta1.ListTagsResponse; import com.google.cloud.datacatalog.v1beta1.LookupEntryRequest; +import com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest; import com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest; import com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest; import com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse; @@ -166,6 +167,8 @@ public class DataCatalogStubSettings extends StubSettings renameTagTemplateFieldSettings; + private final UnaryCallSettings + renameTagTemplateFieldEnumValueSettings; private final UnaryCallSettings deleteTagTemplateFieldSettings; private final UnaryCallSettings createTagSettings; @@ -497,6 +500,12 @@ public UnaryCallSettings deleteTagTemplateSetti return renameTagTemplateFieldSettings; } + /** Returns the object with the settings used for calls to renameTagTemplateFieldEnumValue. */ + public UnaryCallSettings + renameTagTemplateFieldEnumValueSettings() { + return renameTagTemplateFieldEnumValueSettings; + } + /** Returns the object with the settings used for calls to deleteTagTemplateField. */ public UnaryCallSettings deleteTagTemplateFieldSettings() { return deleteTagTemplateFieldSettings; @@ -664,6 +673,8 @@ protected DataCatalogStubSettings(Builder settingsBuilder) throws IOException { createTagTemplateFieldSettings = settingsBuilder.createTagTemplateFieldSettings().build(); updateTagTemplateFieldSettings = settingsBuilder.updateTagTemplateFieldSettings().build(); renameTagTemplateFieldSettings = settingsBuilder.renameTagTemplateFieldSettings().build(); + renameTagTemplateFieldEnumValueSettings = + settingsBuilder.renameTagTemplateFieldEnumValueSettings().build(); deleteTagTemplateFieldSettings = settingsBuilder.deleteTagTemplateFieldSettings().build(); createTagSettings = settingsBuilder.createTagSettings().build(); updateTagSettings = settingsBuilder.updateTagSettings().build(); @@ -712,6 +723,9 @@ public static class Builder extends StubSettings.Builder renameTagTemplateFieldSettings; + private final UnaryCallSettings.Builder< + RenameTagTemplateFieldEnumValueRequest, TagTemplateField> + renameTagTemplateFieldEnumValueSettings; private final UnaryCallSettings.Builder deleteTagTemplateFieldSettings; private final UnaryCallSettings.Builder createTagSettings; @@ -731,12 +745,12 @@ public static class Builder extends StubSettings.Builder> definitions = ImmutableMap.builder(); definitions.put( - "no_retry_0_codes", ImmutableSet.copyOf(Lists.newArrayList())); - definitions.put( - "retry_policy_1_codes", + "retry_policy_0_codes", ImmutableSet.copyOf( Lists.newArrayList( - StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE))); + StatusCode.Code.UNAVAILABLE, + StatusCode.Code.RESOURCE_EXHAUSTED, + StatusCode.Code.INTERNAL))); RETRYABLE_CODE_DEFINITIONS = definitions.build(); } @@ -745,14 +759,6 @@ public static class Builder extends StubSettings.Builder definitions = ImmutableMap.builder(); RetrySettings settings = null; - settings = - RetrySettings.newBuilder() - .setInitialRpcTimeout(Duration.ofMillis(60000L)) - .setRpcTimeoutMultiplier(1.0) - .setMaxRpcTimeout(Duration.ofMillis(60000L)) - .setTotalTimeout(Duration.ofMillis(60000L)) - .build(); - definitions.put("no_retry_0_params", settings); settings = RetrySettings.newBuilder() .setInitialRetryDelay(Duration.ofMillis(100L)) @@ -763,7 +769,7 @@ public static class Builder extends StubSettings.Builder deleteTagTempl return renameTagTemplateFieldSettings; } + /** Returns the builder for the settings used for calls to renameTagTemplateFieldEnumValue. */ + public UnaryCallSettings.Builder + renameTagTemplateFieldEnumValueSettings() { + return renameTagTemplateFieldEnumValueSettings; + } + /** Returns the builder for the settings used for calls to deleteTagTemplateField. */ public UnaryCallSettings.Builder deleteTagTemplateFieldSettings() { diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcDataCatalogStub.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcDataCatalogStub.java index 91d2d2ea74e0..7e0d6a053fcb 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcDataCatalogStub.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/GrpcDataCatalogStub.java @@ -51,6 +51,7 @@ import com.google.cloud.datacatalog.v1beta1.ListTagsRequest; import com.google.cloud.datacatalog.v1beta1.ListTagsResponse; import com.google.cloud.datacatalog.v1beta1.LookupEntryRequest; +import com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest; import com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest; import com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest; import com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse; @@ -269,6 +270,18 @@ public class GrpcDataCatalogStub extends DataCatalogStub { .setResponseMarshaller(ProtoUtils.marshaller(TagTemplateField.getDefaultInstance())) .build(); + private static final MethodDescriptor + renameTagTemplateFieldEnumValueMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.cloud.datacatalog.v1beta1.DataCatalog/RenameTagTemplateFieldEnumValue") + .setRequestMarshaller( + ProtoUtils.marshaller( + RenameTagTemplateFieldEnumValueRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(TagTemplateField.getDefaultInstance())) + .build(); + private static final MethodDescriptor deleteTagTemplateFieldMethodDescriptor = MethodDescriptor.newBuilder() @@ -369,6 +382,8 @@ public class GrpcDataCatalogStub extends DataCatalogStub { updateTagTemplateFieldCallable; private final UnaryCallable renameTagTemplateFieldCallable; + private final UnaryCallable + renameTagTemplateFieldEnumValueCallable; private final UnaryCallable deleteTagTemplateFieldCallable; private final UnaryCallable createTagCallable; private final UnaryCallable updateTagCallable; @@ -606,6 +621,17 @@ protected GrpcDataCatalogStub( return builder.build(); }) .build(); + GrpcCallSettings + renameTagTemplateFieldEnumValueTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(renameTagTemplateFieldEnumValueMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); GrpcCallSettings deleteTagTemplateFieldTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(deleteTagTemplateFieldMethodDescriptor) @@ -766,6 +792,11 @@ protected GrpcDataCatalogStub( renameTagTemplateFieldTransportSettings, settings.renameTagTemplateFieldSettings(), clientContext); + this.renameTagTemplateFieldEnumValueCallable = + callableFactory.createUnaryCallable( + renameTagTemplateFieldEnumValueTransportSettings, + settings.renameTagTemplateFieldEnumValueSettings(), + clientContext); this.deleteTagTemplateFieldCallable = callableFactory.createUnaryCallable( deleteTagTemplateFieldTransportSettings, @@ -921,6 +952,12 @@ public UnaryCallable deleteTagTemplateCallable( return renameTagTemplateFieldCallable; } + @Override + public UnaryCallable + renameTagTemplateFieldEnumValueCallable() { + return renameTagTemplateFieldEnumValueCallable; + } + @Override public UnaryCallable deleteTagTemplateFieldCallable() { return deleteTagTemplateFieldCallable; diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonDataCatalogStub.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonDataCatalogStub.java index 1cfcf8413ddb..4cdba3bb9ca4 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonDataCatalogStub.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonDataCatalogStub.java @@ -56,6 +56,7 @@ import com.google.cloud.datacatalog.v1beta1.ListTagsRequest; import com.google.cloud.datacatalog.v1beta1.ListTagsResponse; import com.google.cloud.datacatalog.v1beta1.LookupEntryRequest; +import com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest; import com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest; import com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest; import com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse; @@ -768,6 +769,43 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub { .build()) .build(); + private static final ApiMethodDescriptor + renameTagTemplateFieldEnumValueMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.datacatalog.v1beta1.DataCatalog/RenameTagTemplateFieldEnumValue") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{name=projects/*/locations/*/tagTemplates/*/fields/*/enumValues/*}:rename", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build(), false)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(TagTemplateField.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + private static final ApiMethodDescriptor deleteTagTemplateFieldMethodDescriptor = ApiMethodDescriptor.newBuilder() @@ -1090,6 +1128,8 @@ public class HttpJsonDataCatalogStub extends DataCatalogStub { updateTagTemplateFieldCallable; private final UnaryCallable renameTagTemplateFieldCallable; + private final UnaryCallable + renameTagTemplateFieldEnumValueCallable; private final UnaryCallable deleteTagTemplateFieldCallable; private final UnaryCallable createTagCallable; private final UnaryCallable updateTagCallable; @@ -1347,6 +1387,19 @@ protected HttpJsonDataCatalogStub( return builder.build(); }) .build(); + HttpJsonCallSettings + renameTagTemplateFieldEnumValueTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(renameTagTemplateFieldEnumValueMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); HttpJsonCallSettings deleteTagTemplateFieldTransportSettings = HttpJsonCallSettings.newBuilder() @@ -1516,6 +1569,11 @@ protected HttpJsonDataCatalogStub( renameTagTemplateFieldTransportSettings, settings.renameTagTemplateFieldSettings(), clientContext); + this.renameTagTemplateFieldEnumValueCallable = + callableFactory.createUnaryCallable( + renameTagTemplateFieldEnumValueTransportSettings, + settings.renameTagTemplateFieldEnumValueSettings(), + clientContext); this.deleteTagTemplateFieldCallable = callableFactory.createUnaryCallable( deleteTagTemplateFieldTransportSettings, @@ -1574,6 +1632,7 @@ public static List getMethodDescriptors() { methodDescriptors.add(createTagTemplateFieldMethodDescriptor); methodDescriptors.add(updateTagTemplateFieldMethodDescriptor); methodDescriptors.add(renameTagTemplateFieldMethodDescriptor); + methodDescriptors.add(renameTagTemplateFieldEnumValueMethodDescriptor); methodDescriptors.add(deleteTagTemplateFieldMethodDescriptor); methodDescriptors.add(createTagMethodDescriptor); methodDescriptors.add(updateTagMethodDescriptor); @@ -1700,6 +1759,12 @@ public UnaryCallable deleteTagTemplateCallable( return renameTagTemplateFieldCallable; } + @Override + public UnaryCallable + renameTagTemplateFieldEnumValueCallable() { + return renameTagTemplateFieldEnumValueCallable; + } + @Override public UnaryCallable deleteTagTemplateFieldCallable() { return deleteTagTemplateFieldCallable; diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerStub.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerStub.java index 7c180c580976..797b47f4c146 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerStub.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/HttpJsonPolicyTagManagerStub.java @@ -201,6 +201,7 @@ public class HttpJsonPolicyTagManagerStub extends PolicyTagManagerStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "filter", request.getFilter()); serializer.putQueryParam(fields, "pageSize", request.getPageSize()); serializer.putQueryParam(fields, "pageToken", request.getPageToken()); return fields; diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerSerializationStubSettings.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerSerializationStubSettings.java index 0caa82495d60..8458a18a0e13 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerSerializationStubSettings.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerSerializationStubSettings.java @@ -45,6 +45,7 @@ import java.io.IOException; import java.util.List; import javax.annotation.Generated; +import org.threeten.bp.Duration; // AUTO-GENERATED DOCUMENTATION AND CLASS. /** @@ -235,7 +236,8 @@ public static class Builder static { ImmutableMap.Builder> definitions = ImmutableMap.builder(); - definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put( + "no_retry_2_codes", ImmutableSet.copyOf(Lists.newArrayList())); RETRYABLE_CODE_DEFINITIONS = definitions.build(); } @@ -244,8 +246,14 @@ public static class Builder static { ImmutableMap.Builder definitions = ImmutableMap.builder(); RetrySettings settings = null; - settings = RetrySettings.newBuilder().setRpcTimeoutMultiplier(1.0).build(); - definitions.put("no_retry_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(60000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(60000L)) + .setTotalTimeout(Duration.ofMillis(60000L)) + .build(); + definitions.put("no_retry_2_params", settings); RETRY_PARAM_DEFINITIONS = definitions.build(); } @@ -305,13 +313,13 @@ private static Builder createHttpJsonDefault() { private static Builder initDefaults(Builder builder) { builder .importTaxonomiesSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params")); builder .exportTaxonomiesSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params")); return builder; } diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStubSettings.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStubSettings.java index f0f3cc791182..9dd57324be31 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStubSettings.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStubSettings.java @@ -71,6 +71,7 @@ import java.io.IOException; import java.util.List; import javax.annotation.Generated; +import org.threeten.bp.Duration; // AUTO-GENERATED DOCUMENTATION AND CLASS. /** @@ -463,7 +464,8 @@ public static class Builder extends StubSettings.Builder> definitions = ImmutableMap.builder(); - definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put( + "no_retry_1_codes", ImmutableSet.copyOf(Lists.newArrayList())); RETRYABLE_CODE_DEFINITIONS = definitions.build(); } @@ -472,8 +474,14 @@ public static class Builder extends StubSettings.Builder definitions = ImmutableMap.builder(); RetrySettings settings = null; - settings = RetrySettings.newBuilder().setRpcTimeoutMultiplier(1.0).build(); - definitions.put("no_retry_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(60000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(60000L)) + .setTotalTimeout(Duration.ofMillis(60000L)) + .build(); + definitions.put("no_retry_1_params", settings); RETRY_PARAM_DEFINITIONS = definitions.build(); } @@ -579,68 +587,68 @@ private static Builder createHttpJsonDefault() { private static Builder initDefaults(Builder builder) { builder .createTaxonomySettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .deleteTaxonomySettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .updateTaxonomySettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .listTaxonomiesSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .getTaxonomySettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .createPolicyTagSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .deletePolicyTagSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .updatePolicyTagSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .listPolicyTagsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .getPolicyTagSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .getIamPolicySettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .setIamPolicySettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); builder .testIamPermissionsSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); return builder; } diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientHttpJsonTest.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientHttpJsonTest.java index a007bce03094..8a669e25c673 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientHttpJsonTest.java +++ b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientHttpJsonTest.java @@ -745,6 +745,7 @@ public void createEntryTest() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -798,6 +799,7 @@ public void createEntryTest2() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -851,6 +853,7 @@ public void updateEntryTest() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -862,6 +865,7 @@ public void updateEntryTest() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); Entry actualResponse = client.updateEntry(entry); @@ -898,6 +902,7 @@ public void updateEntryExceptionTest() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); client.updateEntry(entry); Assert.fail("No exception raised"); @@ -916,6 +921,7 @@ public void updateEntryTest2() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -927,6 +933,7 @@ public void updateEntryTest2() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); @@ -964,6 +971,7 @@ public void updateEntryExceptionTest2() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); client.updateEntry(entry, updateMask); @@ -1065,6 +1073,7 @@ public void getEntryTest() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -1114,6 +1123,7 @@ public void getEntryTest2() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -1165,6 +1175,7 @@ public void lookupEntryTest() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -1704,6 +1715,7 @@ public void createTagTemplateFieldTest() throws Exception { .setDisplayName("displayName1714148973") .setType(FieldType.newBuilder().build()) .setIsRequired(true) + .setDescription("description-1724546052") .setOrder(106006350) .build(); mockService.addResponse(expectedResponse); @@ -1759,6 +1771,7 @@ public void createTagTemplateFieldTest2() throws Exception { .setDisplayName("displayName1714148973") .setType(FieldType.newBuilder().build()) .setIsRequired(true) + .setDescription("description-1724546052") .setOrder(106006350) .build(); mockService.addResponse(expectedResponse); @@ -1814,6 +1827,7 @@ public void updateTagTemplateFieldTest() throws Exception { .setDisplayName("displayName1714148973") .setType(FieldType.newBuilder().build()) .setIsRequired(true) + .setDescription("description-1724546052") .setOrder(106006350) .build(); mockService.addResponse(expectedResponse); @@ -1868,6 +1882,7 @@ public void updateTagTemplateFieldTest2() throws Exception { .setDisplayName("displayName1714148973") .setType(FieldType.newBuilder().build()) .setIsRequired(true) + .setDescription("description-1724546052") .setOrder(106006350) .build(); mockService.addResponse(expectedResponse); @@ -1922,6 +1937,7 @@ public void updateTagTemplateFieldTest3() throws Exception { .setDisplayName("displayName1714148973") .setType(FieldType.newBuilder().build()) .setIsRequired(true) + .setDescription("description-1724546052") .setOrder(106006350) .build(); mockService.addResponse(expectedResponse); @@ -1979,6 +1995,7 @@ public void updateTagTemplateFieldTest4() throws Exception { .setDisplayName("displayName1714148973") .setType(FieldType.newBuilder().build()) .setIsRequired(true) + .setDescription("description-1724546052") .setOrder(106006350) .build(); mockService.addResponse(expectedResponse); @@ -2036,6 +2053,7 @@ public void renameTagTemplateFieldTest() throws Exception { .setDisplayName("displayName1714148973") .setType(FieldType.newBuilder().build()) .setIsRequired(true) + .setDescription("description-1724546052") .setOrder(106006350) .build(); mockService.addResponse(expectedResponse); @@ -2090,6 +2108,7 @@ public void renameTagTemplateFieldTest2() throws Exception { .setDisplayName("displayName1714148973") .setType(FieldType.newBuilder().build()) .setIsRequired(true) + .setDescription("description-1724546052") .setOrder(106006350) .build(); mockService.addResponse(expectedResponse); @@ -2134,6 +2153,128 @@ public void renameTagTemplateFieldExceptionTest2() throws Exception { } } + @Test + public void renameTagTemplateFieldEnumValueTest() throws Exception { + TagTemplateField expectedResponse = + TagTemplateField.newBuilder() + .setName( + TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]") + .toString()) + .setDisplayName("displayName1714148973") + .setType(FieldType.newBuilder().build()) + .setIsRequired(true) + .setDescription("description-1724546052") + .setOrder(106006350) + .build(); + mockService.addResponse(expectedResponse); + + TagTemplateFieldEnumValueName name = + TagTemplateFieldEnumValueName.of( + "[PROJECT]", + "[LOCATION]", + "[TAG_TEMPLATE]", + "[TAG_TEMPLATE_FIELD_ID]", + "[ENUM_VALUE_DISPLAY_NAME]"); + String newEnumValueDisplayName = "newEnumValueDisplayName-1119629027"; + + TagTemplateField actualResponse = + client.renameTagTemplateFieldEnumValue(name, newEnumValueDisplayName); + 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 renameTagTemplateFieldEnumValueExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + TagTemplateFieldEnumValueName name = + TagTemplateFieldEnumValueName.of( + "[PROJECT]", + "[LOCATION]", + "[TAG_TEMPLATE]", + "[TAG_TEMPLATE_FIELD_ID]", + "[ENUM_VALUE_DISPLAY_NAME]"); + String newEnumValueDisplayName = "newEnumValueDisplayName-1119629027"; + client.renameTagTemplateFieldEnumValue(name, newEnumValueDisplayName); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void renameTagTemplateFieldEnumValueTest2() throws Exception { + TagTemplateField expectedResponse = + TagTemplateField.newBuilder() + .setName( + TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]") + .toString()) + .setDisplayName("displayName1714148973") + .setType(FieldType.newBuilder().build()) + .setIsRequired(true) + .setDescription("description-1724546052") + .setOrder(106006350) + .build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-9639/locations/location-9639/tagTemplates/tagTemplate-9639/fields/field-9639/enumValues/enumValue-9639"; + String newEnumValueDisplayName = "newEnumValueDisplayName-1119629027"; + + TagTemplateField actualResponse = + client.renameTagTemplateFieldEnumValue(name, newEnumValueDisplayName); + 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 renameTagTemplateFieldEnumValueExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-9639/locations/location-9639/tagTemplates/tagTemplate-9639/fields/field-9639/enumValues/enumValue-9639"; + String newEnumValueDisplayName = "newEnumValueDisplayName-1119629027"; + client.renameTagTemplateFieldEnumValue(name, newEnumValueDisplayName); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void deleteTagTemplateFieldTest() throws Exception { Empty expectedResponse = Empty.newBuilder().build(); diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientTest.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientTest.java index 0d472cc45ffc..ebe244111194 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientTest.java +++ b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientTest.java @@ -59,6 +59,7 @@ @Generated("by gapic-generator-java") public class DataCatalogClientTest { private static MockDataCatalog mockDataCatalog; + private static MockIAMPolicy mockIAMPolicy; private static MockServiceHelper mockServiceHelper; private LocalChannelProvider channelProvider; private DataCatalogClient client; @@ -66,9 +67,11 @@ public class DataCatalogClientTest { @BeforeClass public static void startStaticServer() { mockDataCatalog = new MockDataCatalog(); + mockIAMPolicy = new MockIAMPolicy(); mockServiceHelper = new MockServiceHelper( - UUID.randomUUID().toString(), Arrays.asList(mockDataCatalog)); + UUID.randomUUID().toString(), + Arrays.asList(mockDataCatalog, mockIAMPolicy)); mockServiceHelper.start(); } @@ -656,6 +659,7 @@ public void createEntryTest() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); mockDataCatalog.addResponse(expectedResponse); @@ -705,6 +709,7 @@ public void createEntryTest2() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); mockDataCatalog.addResponse(expectedResponse); @@ -754,6 +759,7 @@ public void updateEntryTest() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); mockDataCatalog.addResponse(expectedResponse); @@ -797,6 +803,7 @@ public void updateEntryTest2() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); mockDataCatalog.addResponse(expectedResponse); @@ -911,6 +918,7 @@ public void getEntryTest() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); mockDataCatalog.addResponse(expectedResponse); @@ -954,6 +962,7 @@ public void getEntryTest2() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); mockDataCatalog.addResponse(expectedResponse); @@ -997,6 +1006,7 @@ public void lookupEntryTest() throws Exception { .setDescription("description-1724546052") .setSchema(Schema.newBuilder().build()) .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build()) + .setUsageSignal(UsageSignal.newBuilder().build()) .build(); mockDataCatalog.addResponse(expectedResponse); @@ -1458,6 +1468,7 @@ public void createTagTemplateFieldTest() throws Exception { .setDisplayName("displayName1714148973") .setType(FieldType.newBuilder().build()) .setIsRequired(true) + .setDescription("description-1724546052") .setOrder(106006350) .build(); mockDataCatalog.addResponse(expectedResponse); @@ -1510,6 +1521,7 @@ public void createTagTemplateFieldTest2() throws Exception { .setDisplayName("displayName1714148973") .setType(FieldType.newBuilder().build()) .setIsRequired(true) + .setDescription("description-1724546052") .setOrder(106006350) .build(); mockDataCatalog.addResponse(expectedResponse); @@ -1562,6 +1574,7 @@ public void updateTagTemplateFieldTest() throws Exception { .setDisplayName("displayName1714148973") .setType(FieldType.newBuilder().build()) .setIsRequired(true) + .setDescription("description-1724546052") .setOrder(106006350) .build(); mockDataCatalog.addResponse(expectedResponse); @@ -1612,6 +1625,7 @@ public void updateTagTemplateFieldTest2() throws Exception { .setDisplayName("displayName1714148973") .setType(FieldType.newBuilder().build()) .setIsRequired(true) + .setDescription("description-1724546052") .setOrder(106006350) .build(); mockDataCatalog.addResponse(expectedResponse); @@ -1660,6 +1674,7 @@ public void updateTagTemplateFieldTest3() throws Exception { .setDisplayName("displayName1714148973") .setType(FieldType.newBuilder().build()) .setIsRequired(true) + .setDescription("description-1724546052") .setOrder(106006350) .build(); mockDataCatalog.addResponse(expectedResponse); @@ -1714,6 +1729,7 @@ public void updateTagTemplateFieldTest4() throws Exception { .setDisplayName("displayName1714148973") .setType(FieldType.newBuilder().build()) .setIsRequired(true) + .setDescription("description-1724546052") .setOrder(106006350) .build(); mockDataCatalog.addResponse(expectedResponse); @@ -1766,6 +1782,7 @@ public void renameTagTemplateFieldTest() throws Exception { .setDisplayName("displayName1714148973") .setType(FieldType.newBuilder().build()) .setIsRequired(true) + .setDescription("description-1724546052") .setOrder(106006350) .build(); mockDataCatalog.addResponse(expectedResponse); @@ -1816,6 +1833,7 @@ public void renameTagTemplateFieldTest2() throws Exception { .setDisplayName("displayName1714148973") .setType(FieldType.newBuilder().build()) .setIsRequired(true) + .setDescription("description-1724546052") .setOrder(106006350) .build(); mockDataCatalog.addResponse(expectedResponse); @@ -1854,6 +1872,118 @@ public void renameTagTemplateFieldExceptionTest2() throws Exception { } } + @Test + public void renameTagTemplateFieldEnumValueTest() throws Exception { + TagTemplateField expectedResponse = + TagTemplateField.newBuilder() + .setName( + TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]") + .toString()) + .setDisplayName("displayName1714148973") + .setType(FieldType.newBuilder().build()) + .setIsRequired(true) + .setDescription("description-1724546052") + .setOrder(106006350) + .build(); + mockDataCatalog.addResponse(expectedResponse); + + TagTemplateFieldEnumValueName name = + TagTemplateFieldEnumValueName.of( + "[PROJECT]", + "[LOCATION]", + "[TAG_TEMPLATE]", + "[TAG_TEMPLATE_FIELD_ID]", + "[ENUM_VALUE_DISPLAY_NAME]"); + String newEnumValueDisplayName = "newEnumValueDisplayName-1119629027"; + + TagTemplateField actualResponse = + client.renameTagTemplateFieldEnumValue(name, newEnumValueDisplayName); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDataCatalog.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + RenameTagTemplateFieldEnumValueRequest actualRequest = + ((RenameTagTemplateFieldEnumValueRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertEquals(newEnumValueDisplayName, actualRequest.getNewEnumValueDisplayName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void renameTagTemplateFieldEnumValueExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataCatalog.addException(exception); + + try { + TagTemplateFieldEnumValueName name = + TagTemplateFieldEnumValueName.of( + "[PROJECT]", + "[LOCATION]", + "[TAG_TEMPLATE]", + "[TAG_TEMPLATE_FIELD_ID]", + "[ENUM_VALUE_DISPLAY_NAME]"); + String newEnumValueDisplayName = "newEnumValueDisplayName-1119629027"; + client.renameTagTemplateFieldEnumValue(name, newEnumValueDisplayName); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void renameTagTemplateFieldEnumValueTest2() throws Exception { + TagTemplateField expectedResponse = + TagTemplateField.newBuilder() + .setName( + TagTemplateFieldName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]", "[FIELD]") + .toString()) + .setDisplayName("displayName1714148973") + .setType(FieldType.newBuilder().build()) + .setIsRequired(true) + .setDescription("description-1724546052") + .setOrder(106006350) + .build(); + mockDataCatalog.addResponse(expectedResponse); + + String name = "name3373707"; + String newEnumValueDisplayName = "newEnumValueDisplayName-1119629027"; + + TagTemplateField actualResponse = + client.renameTagTemplateFieldEnumValue(name, newEnumValueDisplayName); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDataCatalog.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + RenameTagTemplateFieldEnumValueRequest actualRequest = + ((RenameTagTemplateFieldEnumValueRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertEquals(newEnumValueDisplayName, actualRequest.getNewEnumValueDisplayName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void renameTagTemplateFieldEnumValueExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataCatalog.addException(exception); + + try { + String name = "name3373707"; + String newEnumValueDisplayName = "newEnumValueDisplayName-1119629027"; + client.renameTagTemplateFieldEnumValue(name, newEnumValueDisplayName); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void deleteTagTemplateFieldTest() throws Exception { Empty expectedResponse = Empty.newBuilder().build(); diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockDataCatalogImpl.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockDataCatalogImpl.java index 9ba58f5fb1a5..11516c84c67e 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockDataCatalogImpl.java +++ b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockDataCatalogImpl.java @@ -458,6 +458,28 @@ public void renameTagTemplateField( } } + @Override + public void renameTagTemplateFieldEnumValue( + RenameTagTemplateFieldEnumValueRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof TagTemplateField) { + requests.add(request); + responseObserver.onNext(((TagTemplateField) 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 RenameTagTemplateFieldEnumValue, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + TagTemplateField.class.getName(), + Exception.class.getName()))); + } + } + @Override public void deleteTagTemplateField( DeleteTagTemplateFieldRequest request, StreamObserver responseObserver) { diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockIAMPolicy.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockIAMPolicy.java new file mode 100644 index 000000000000..451d5f87fe5b --- /dev/null +++ b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockIAMPolicy.java @@ -0,0 +1,59 @@ +/* + * Copyright 2023 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.datacatalog.v1beta1; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.protobuf.AbstractMessage; +import io.grpc.ServerServiceDefinition; +import java.util.List; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockIAMPolicy implements MockGrpcService { + private final MockIAMPolicyImpl serviceImpl; + + public MockIAMPolicy() { + serviceImpl = new MockIAMPolicyImpl(); + } + + @Override + public List getRequests() { + return serviceImpl.getRequests(); + } + + @Override + public void addResponse(AbstractMessage response) { + serviceImpl.addResponse(response); + } + + @Override + public void addException(Exception exception) { + serviceImpl.addException(exception); + } + + @Override + public ServerServiceDefinition getServiceDefinition() { + return serviceImpl.bindService(); + } + + @Override + public void reset() { + serviceImpl.reset(); + } +} diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockIAMPolicyImpl.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockIAMPolicyImpl.java new file mode 100644 index 000000000000..ece139dddc1d --- /dev/null +++ b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/MockIAMPolicyImpl.java @@ -0,0 +1,59 @@ +/* + * Copyright 2023 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.datacatalog.v1beta1; + +import com.google.api.core.BetaApi; +import com.google.iam.v1.IAMPolicyGrpc.IAMPolicyImplBase; +import com.google.protobuf.AbstractMessage; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; +import java.util.Queue; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockIAMPolicyImpl extends IAMPolicyImplBase { + private List requests; + private Queue responses; + + public MockIAMPolicyImpl() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + public List getRequests() { + return requests; + } + + public void addResponse(AbstractMessage response) { + responses.add(response); + } + + public void setResponses(List responses) { + this.responses = new LinkedList(responses); + } + + public void addException(Exception exception) { + responses.add(exception); + } + + public void reset() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } +} diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientHttpJsonTest.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientHttpJsonTest.java index 8b4d27f27a63..514ecc671053 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientHttpJsonTest.java +++ b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientHttpJsonTest.java @@ -95,7 +95,10 @@ public void createTaxonomyTest() throws Exception { .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString()) .setDisplayName("displayName1714148973") .setDescription("description-1724546052") + .setPolicyTagCount(1074340189) + .setTaxonomyTimestamps(SystemTimestamps.newBuilder().build()) .addAllActivatedPolicyTypes(new ArrayList()) + .setService(Taxonomy.Service.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -144,7 +147,10 @@ public void createTaxonomyTest2() throws Exception { .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString()) .setDisplayName("displayName1714148973") .setDescription("description-1724546052") + .setPolicyTagCount(1074340189) + .setTaxonomyTimestamps(SystemTimestamps.newBuilder().build()) .addAllActivatedPolicyTypes(new ArrayList()) + .setService(Taxonomy.Service.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -273,7 +279,10 @@ public void updateTaxonomyTest() throws Exception { .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString()) .setDisplayName("displayName1714148973") .setDescription("description-1724546052") + .setPolicyTagCount(1074340189) + .setTaxonomyTimestamps(SystemTimestamps.newBuilder().build()) .addAllActivatedPolicyTypes(new ArrayList()) + .setService(Taxonomy.Service.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -282,7 +291,10 @@ public void updateTaxonomyTest() throws Exception { .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString()) .setDisplayName("displayName1714148973") .setDescription("description-1724546052") + .setPolicyTagCount(1074340189) + .setTaxonomyTimestamps(SystemTimestamps.newBuilder().build()) .addAllActivatedPolicyTypes(new ArrayList()) + .setService(Taxonomy.Service.newBuilder().build()) .build(); Taxonomy actualResponse = client.updateTaxonomy(taxonomy); @@ -316,7 +328,10 @@ public void updateTaxonomyExceptionTest() throws Exception { .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString()) .setDisplayName("displayName1714148973") .setDescription("description-1724546052") + .setPolicyTagCount(1074340189) + .setTaxonomyTimestamps(SystemTimestamps.newBuilder().build()) .addAllActivatedPolicyTypes(new ArrayList()) + .setService(Taxonomy.Service.newBuilder().build()) .build(); client.updateTaxonomy(taxonomy); Assert.fail("No exception raised"); @@ -432,7 +447,10 @@ public void getTaxonomyTest() throws Exception { .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString()) .setDisplayName("displayName1714148973") .setDescription("description-1724546052") + .setPolicyTagCount(1074340189) + .setTaxonomyTimestamps(SystemTimestamps.newBuilder().build()) .addAllActivatedPolicyTypes(new ArrayList()) + .setService(Taxonomy.Service.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -479,7 +497,10 @@ public void getTaxonomyTest2() throws Exception { .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString()) .setDisplayName("displayName1714148973") .setDescription("description-1724546052") + .setPolicyTagCount(1074340189) + .setTaxonomyTimestamps(SystemTimestamps.newBuilder().build()) .addAllActivatedPolicyTypes(new ArrayList()) + .setService(Taxonomy.Service.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientTest.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientTest.java index 7e2c5f2a3793..9c084e91d9e9 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientTest.java +++ b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerClientTest.java @@ -55,6 +55,7 @@ @Generated("by gapic-generator-java") public class PolicyTagManagerClientTest { + private static MockIAMPolicy mockIAMPolicy; private static MockPolicyTagManager mockPolicyTagManager; private static MockServiceHelper mockServiceHelper; private LocalChannelProvider channelProvider; @@ -63,9 +64,11 @@ public class PolicyTagManagerClientTest { @BeforeClass public static void startStaticServer() { mockPolicyTagManager = new MockPolicyTagManager(); + mockIAMPolicy = new MockIAMPolicy(); mockServiceHelper = new MockServiceHelper( - UUID.randomUUID().toString(), Arrays.asList(mockPolicyTagManager)); + UUID.randomUUID().toString(), + Arrays.asList(mockPolicyTagManager, mockIAMPolicy)); mockServiceHelper.start(); } @@ -98,7 +101,10 @@ public void createTaxonomyTest() throws Exception { .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString()) .setDisplayName("displayName1714148973") .setDescription("description-1724546052") + .setPolicyTagCount(1074340189) + .setTaxonomyTimestamps(SystemTimestamps.newBuilder().build()) .addAllActivatedPolicyTypes(new ArrayList()) + .setService(Taxonomy.Service.newBuilder().build()) .build(); mockPolicyTagManager.addResponse(expectedResponse); @@ -142,7 +148,10 @@ public void createTaxonomyTest2() throws Exception { .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString()) .setDisplayName("displayName1714148973") .setDescription("description-1724546052") + .setPolicyTagCount(1074340189) + .setTaxonomyTimestamps(SystemTimestamps.newBuilder().build()) .addAllActivatedPolicyTypes(new ArrayList()) + .setService(Taxonomy.Service.newBuilder().build()) .build(); mockPolicyTagManager.addResponse(expectedResponse); @@ -254,7 +263,10 @@ public void updateTaxonomyTest() throws Exception { .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString()) .setDisplayName("displayName1714148973") .setDescription("description-1724546052") + .setPolicyTagCount(1074340189) + .setTaxonomyTimestamps(SystemTimestamps.newBuilder().build()) .addAllActivatedPolicyTypes(new ArrayList()) + .setService(Taxonomy.Service.newBuilder().build()) .build(); mockPolicyTagManager.addResponse(expectedResponse); @@ -383,7 +395,10 @@ public void getTaxonomyTest() throws Exception { .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString()) .setDisplayName("displayName1714148973") .setDescription("description-1724546052") + .setPolicyTagCount(1074340189) + .setTaxonomyTimestamps(SystemTimestamps.newBuilder().build()) .addAllActivatedPolicyTypes(new ArrayList()) + .setService(Taxonomy.Service.newBuilder().build()) .build(); mockPolicyTagManager.addResponse(expectedResponse); @@ -424,7 +439,10 @@ public void getTaxonomyTest2() throws Exception { .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString()) .setDisplayName("displayName1714148973") .setDescription("description-1724546052") + .setPolicyTagCount(1074340189) + .setTaxonomyTimestamps(SystemTimestamps.newBuilder().build()) .addAllActivatedPolicyTypes(new ArrayList()) + .setService(Taxonomy.Service.newBuilder().build()) .build(); mockPolicyTagManager.addResponse(expectedResponse); diff --git a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientTest.java b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientTest.java index 97ec15c0137b..6ce0e6a05caa 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientTest.java +++ b/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationClientTest.java @@ -40,6 +40,7 @@ @Generated("by gapic-generator-java") public class PolicyTagManagerSerializationClientTest { + private static MockIAMPolicy mockIAMPolicy; private static MockPolicyTagManagerSerialization mockPolicyTagManagerSerialization; private static MockServiceHelper mockServiceHelper; private LocalChannelProvider channelProvider; @@ -48,10 +49,11 @@ public class PolicyTagManagerSerializationClientTest { @BeforeClass public static void startStaticServer() { mockPolicyTagManagerSerialization = new MockPolicyTagManagerSerialization(); + mockIAMPolicy = new MockIAMPolicy(); mockServiceHelper = new MockServiceHelper( UUID.randomUUID().toString(), - Arrays.asList(mockPolicyTagManagerSerialization)); + Arrays.asList(mockPolicyTagManagerSerialization, mockIAMPolicy)); mockServiceHelper.start(); } diff --git a/java-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java b/java-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java index 6113099d650b..0c16d4fbfc23 100644 --- a/java-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java +++ b/java-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java b/java-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java index f86bb672ccd4..49972fdd3a9b 100644 --- a/java-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java +++ b/java-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationGrpc.java b/java-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationGrpc.java index 151bbede89a4..c4f72ec56987 100644 --- a/java-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationGrpc.java +++ b/java-datacatalog/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationGrpc.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogGrpc.java b/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogGrpc.java index bfb1920a23cd..266903c68db2 100644 --- a/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogGrpc.java +++ b/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogGrpc.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -912,6 +912,60 @@ private DataCatalogGrpc() {} return getRenameTagTemplateFieldMethod; } + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplateField> + getRenameTagTemplateFieldEnumValueMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RenameTagTemplateFieldEnumValue", + requestType = + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest.class, + responseType = com.google.cloud.datacatalog.v1beta1.TagTemplateField.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplateField> + getRenameTagTemplateFieldEnumValueMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplateField> + getRenameTagTemplateFieldEnumValueMethod; + if ((getRenameTagTemplateFieldEnumValueMethod = + DataCatalogGrpc.getRenameTagTemplateFieldEnumValueMethod) + == null) { + synchronized (DataCatalogGrpc.class) { + if ((getRenameTagTemplateFieldEnumValueMethod = + DataCatalogGrpc.getRenameTagTemplateFieldEnumValueMethod) + == null) { + DataCatalogGrpc.getRenameTagTemplateFieldEnumValueMethod = + getRenameTagTemplateFieldEnumValueMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "RenameTagTemplateFieldEnumValue")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1 + .RenameTagTemplateFieldEnumValueRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1beta1.TagTemplateField + .getDefaultInstance())) + .setSchemaDescriptor( + new DataCatalogMethodDescriptorSupplier( + "RenameTagTemplateFieldEnumValue")) + .build(); + } + } + } + return getRenameTagTemplateFieldEnumValueMethod; + } + private static volatile io.grpc.MethodDescriptor< com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest, com.google.protobuf.Empty> @@ -1317,7 +1371,7 @@ public interface AsyncService { * This is a custom method * (https://cloud.google.com/apis/design/custom_methods) and does not return * the complete resource, only the resource identifier and high level - * fields. Clients can subsequentally call `Get` methods. + * fields. Clients can subsequently call `Get` methods. * Note that Data Catalog search queries do not guarantee full recall. Query * results that match your query may not be returned, even in subsequent * result pages. Also note that results returned (and not returned) can vary @@ -1654,6 +1708,23 @@ default void renameTagTemplateField( getRenameTagTemplateFieldMethod(), responseObserver); } + /** + * + * + *
+     * Renames an enum value in a tag template. The enum values have to be unique
+     * within one enum field. Thus, an enum value cannot be renamed with a name
+     * used in any other enum value within the same enum field.
+     * 
+ */ + default void renameTagTemplateFieldEnumValue( + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRenameTagTemplateFieldEnumValueMethod(), responseObserver); + } + /** * * @@ -1721,7 +1792,9 @@ default void deleteTag( * * *
-     * Lists the tags on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+     * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+     * The [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response
+     * are lowercased.
      * 
*/ default void listTags( @@ -1855,7 +1928,7 @@ protected DataCatalogStub build(io.grpc.Channel channel, io.grpc.CallOptions cal * This is a custom method * (https://cloud.google.com/apis/design/custom_methods) and does not return * the complete resource, only the resource identifier and high level - * fields. Clients can subsequentally call `Get` methods. + * fields. Clients can subsequently call `Get` methods. * Note that Data Catalog search queries do not guarantee full recall. Query * results that match your query may not be returned, even in subsequent * result pages. Also note that results returned (and not returned) can vary @@ -2229,6 +2302,25 @@ public void renameTagTemplateField( responseObserver); } + /** + * + * + *
+     * Renames an enum value in a tag template. The enum values have to be unique
+     * within one enum field. Thus, an enum value cannot be renamed with a name
+     * used in any other enum value within the same enum field.
+     * 
+ */ + public void renameTagTemplateFieldEnumValue( + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRenameTagTemplateFieldEnumValueMethod(), getCallOptions()), + request, + responseObserver); + } + /** * * @@ -2301,7 +2393,9 @@ public void deleteTag( * * *
-     * Lists the tags on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+     * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+     * The [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response
+     * are lowercased.
      * 
*/ public void listTags( @@ -2426,7 +2520,7 @@ protected DataCatalogBlockingStub build( * This is a custom method * (https://cloud.google.com/apis/design/custom_methods) and does not return * the complete resource, only the resource identifier and high level - * fields. Clients can subsequentally call `Get` methods. + * fields. Clients can subsequently call `Get` methods. * Note that Data Catalog search queries do not guarantee full recall. Query * results that match your query may not be returned, even in subsequent * result pages. Also note that results returned (and not returned) can vary @@ -2733,6 +2827,21 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateField renameTagTemplateFi getChannel(), getRenameTagTemplateFieldMethod(), getCallOptions(), request); } + /** + * + * + *
+     * Renames an enum value in a tag template. The enum values have to be unique
+     * within one enum field. Thus, an enum value cannot be renamed with a name
+     * used in any other enum value within the same enum field.
+     * 
+ */ + public com.google.cloud.datacatalog.v1beta1.TagTemplateField renameTagTemplateFieldEnumValue( + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRenameTagTemplateFieldEnumValueMethod(), getCallOptions(), request); + } + /** * * @@ -2799,7 +2908,9 @@ public com.google.protobuf.Empty deleteTag( * * *
-     * Lists the tags on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+     * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+     * The [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response
+     * are lowercased.
      * 
*/ public com.google.cloud.datacatalog.v1beta1.ListTagsResponse listTags( @@ -2910,7 +3021,7 @@ protected DataCatalogFutureStub build( * This is a custom method * (https://cloud.google.com/apis/design/custom_methods) and does not return * the complete resource, only the resource identifier and high level - * fields. Clients can subsequentally call `Get` methods. + * fields. Clients can subsequently call `Get` methods. * Note that Data Catalog search queries do not guarantee full recall. Query * results that match your query may not be returned, even in subsequent * result pages. Also note that results returned (and not returned) can vary @@ -3236,6 +3347,24 @@ protected DataCatalogFutureStub build( getChannel().newCall(getRenameTagTemplateFieldMethod(), getCallOptions()), request); } + /** + * + * + *
+     * Renames an enum value in a tag template. The enum values have to be unique
+     * within one enum field. Thus, an enum value cannot be renamed with a name
+     * used in any other enum value within the same enum field.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1beta1.TagTemplateField> + renameTagTemplateFieldEnumValue( + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRenameTagTemplateFieldEnumValueMethod(), getCallOptions()), + request); + } + /** * * @@ -3305,7 +3434,9 @@ public com.google.common.util.concurrent.ListenableFuture - * Lists the tags on an [Entry][google.cloud.datacatalog.v1beta1.Entry]. + * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1beta1.Entry]. + * The [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response + * are lowercased. * */ public com.google.common.util.concurrent.ListenableFuture< @@ -3410,14 +3541,15 @@ public com.google.common.util.concurrent.ListenableFuture implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -3550,6 +3682,12 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_RENAME_TAG_TEMPLATE_FIELD_ENUM_VALUE: + serviceImpl.renameTagTemplateFieldEnumValue( + (com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; case METHODID_DELETE_TAG_TEMPLATE_FIELD: serviceImpl.deleteTagTemplateField( (com.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest) request, @@ -3738,6 +3876,13 @@ public static final io.grpc.ServerServiceDefinition bindService(AsyncService ser com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest, com.google.cloud.datacatalog.v1beta1.TagTemplateField>( service, METHODID_RENAME_TAG_TEMPLATE_FIELD))) + .addMethod( + getRenameTagTemplateFieldEnumValueMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest, + com.google.cloud.datacatalog.v1beta1.TagTemplateField>( + service, METHODID_RENAME_TAG_TEMPLATE_FIELD_ENUM_VALUE))) .addMethod( getDeleteTagTemplateFieldMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( @@ -3856,6 +4001,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getCreateTagTemplateFieldMethod()) .addMethod(getUpdateTagTemplateFieldMethod()) .addMethod(getRenameTagTemplateFieldMethod()) + .addMethod(getRenameTagTemplateFieldEnumValueMethod()) .addMethod(getDeleteTagTemplateFieldMethod()) .addMethod(getCreateTagMethod()) .addMethod(getUpdateTagMethod()) diff --git a/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerGrpc.java b/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerGrpc.java index 65948b7a2f75..a24eee4da69f 100644 --- a/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerGrpc.java +++ b/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerGrpc.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationGrpc.java b/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationGrpc.java index 43efe324d07b..aa7ff5d7c92d 100644 --- a/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationGrpc.java +++ b/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationGrpc.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpec.java index 1b5204a2a220..e955ddceb307 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpec.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpecOrBuilder.java index 325b3c6a28c5..5d6ee6a51a92 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpecOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpec.java index 14698ed5024e..c38e61c80f63 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpec.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpecOrBuilder.java index 48a87b3466eb..8d7abf2d6ead 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpecOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryProto.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryProto.java index 09104ec4dbed..3178fc484d41 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryProto.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpec.java index bae901d7fde9..3191731ab501 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpec.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpecOrBuilder.java index d170dc9cd366..ff0033280899 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpecOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpec.java index 4bb6303361fc..a4b540547201 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpec.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpecOrBuilder.java index 1b5567ad76e5..d0090852bcfc 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpecOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContext.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContext.java index 874ca66b9e11..b0ec66afecbc 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContext.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContext.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContextOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContextOrBuilder.java index b2e2d06119da..146652f84263 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContextOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BusinessContextOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpec.java index 9b30644da92c..be1610cfbdbf 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpec.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpecOrBuilder.java index 33c13fee087e..ab20ba9ad32f 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableInstanceSpecOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpec.java index 81572b5e830d..218ae61db708 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpec.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpecOrBuilder.java index af262b877519..2f37f1059d9e 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudBigtableSystemSpecOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpec.java index 94be8550ec4f..dd69535127ab 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpec.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpecOrBuilder.java index cbeb5b3b8cc9..766065f3a75e 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpecOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchema.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchema.java index 4f6fea887a77..e91b08ea4937 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchema.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchema.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchemaOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchemaOrBuilder.java index 5c53d6a4cb16..64cd0e3b7aee 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchemaOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchemaOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Common.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Common.java index 31302799e666..73385d50e707 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Common.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Common.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStats.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStats.java index 9e497c8dfcd5..16fd7207bba9 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStats.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStats.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStatsOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStatsOrBuilder.java index dd27f74d63c7..f4137c6fba89 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStatsOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CommonUsageStatsOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Contacts.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Contacts.java index d28d6a228af3..b57f9a4e8a2c 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Contacts.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Contacts.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ContactsOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ContactsOrBuilder.java index f2a1211c7024..bd9174acc785 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ContactsOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ContactsOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequest.java index 137ed5d905bf..d2d8f0515428 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequestOrBuilder.java index 33f3f54a0ead..ed595745f8ce 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequest.java index 78bc95a0ff0b..2f5867c319e4 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequestOrBuilder.java index 329e067529ab..9ccc1c224eff 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequest.java index 0aa468bdbc2a..01ef7999b08d 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequestOrBuilder.java index c459a713475c..05f66ebff0b2 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequest.java index cb8f6eae0146..bf232538634f 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequestOrBuilder.java index e95385139f4b..72bb52baa242 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequest.java index a991d3c19831..29d424b433f5 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequestOrBuilder.java index 8769233aa5b3..a4e76454f8c1 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequest.java index 86892e9d889c..14b30523121a 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequestOrBuilder.java index b1fc5b5bab15..40df450ff8af 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequest.java index 91ca6651248a..3eeaf0fa714d 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequestOrBuilder.java index f6370896a7f7..f49978151765 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSource.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSource.java index 6d10d1fadfe1..72ad447ee710 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSource.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSource.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSourceOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSourceOrBuilder.java index 093b6b5b8a9e..f26fa2d873de 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSourceOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSourceOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSource.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSource.java index f07d1d8fe73b..4beaaddebc3e 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSource.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSource.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpec.java index e8e43c0cfb44..8a595a41a4a9 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpec.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpecOrBuilder.java index 3dd6040e4de3..061e7a65e6c0 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpecOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceOrBuilder.java index e88579a03dae..600fca0f45ed 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceProto.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceProto.java index 3ae8e32af98b..e90344541e6e 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceProto.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpec.java index 180d2397ecc1..b4b7254bab49 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpec.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpecOrBuilder.java index d78413928dd7..37b719521c3e 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpecOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Datacatalog.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Datacatalog.java index c56d06e58db3..e9abf2e87e5a 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Datacatalog.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Datacatalog.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTable.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTable.java index 37137ed73ce0..7495f1b1468f 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTable.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTable.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTableOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTableOrBuilder.java index 8f34c2d90397..8b6e5b480785 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTableOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexExternalTableOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpec.java index 290097434274..f7c00d3bd881 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpec.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpecOrBuilder.java index 2c297ed2c80a..f3705ed41c51 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexFilesetSpecOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpec.java index 46caf875e6a0..4af7a31cfa63 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpec.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecOrBuilder.java index d923dec3297b..956de6b2d557 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecProto.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecProto.java index b7a18ff4c4f8..c4c8720c3ab2 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecProto.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpec.java index 57d3369da818..e293816e6fbd 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpec.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpecOrBuilder.java index dd73c3d609d5..90e1deb82d5c 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexTableSpecOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequest.java index ed77e58d0ded..750b1a7074cf 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequestOrBuilder.java index 1257cc04319a..409c39282d54 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequest.java index d5de9434cb5d..b8a20f86eeaa 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequestOrBuilder.java index f69fc193743b..dc2bd85e2ce3 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequest.java index 79b7265cc5da..c930bfff3c41 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequestOrBuilder.java index f769889fd786..4093af26dee7 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequest.java index 9e4b6933a697..09f9a075d235 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequestOrBuilder.java index f215e3a73315..30a5a0784fb5 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequest.java index e8d2b3261f0d..b474b525b416 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequestOrBuilder.java index 867819710b6b..82ef09b88ed9 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequest.java index ce2c1465efd4..e6c6feced0c2 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequestOrBuilder.java index cffbb48f3240..f835cb1f59d9 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequest.java index 69a9e4373ac1..589b95b4a374 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequestOrBuilder.java index 2f3239c935b3..75bffaaefa69 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpContentProto.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpContentProto.java index 1650e43b7485..34e22213284c 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpContentProto.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpContentProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItem.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItem.java index e5a036c7fa51..5b1e7b6c1a66 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItem.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItem.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItemOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItemOrBuilder.java index ddc50a2b0ca5..3e34ecbcff73 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItemOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DumpItemOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Entry.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Entry.java index 27de47faf43d..c13c7951e611 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Entry.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Entry.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -557,10 +557,8 @@ public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { * *
    * The type of the entry.
-   * Only used for entries with types listed in the `EntryType` enum.
    *
-   * Currently, only `FILESET` enum value is allowed. All other entries
-   * created in Data Catalog must use the `user_specified_type`.
+   * For details, see [`EntryType`](#entrytype).
    * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; @@ -575,10 +573,8 @@ public boolean hasType() { * *
    * The type of the entry.
-   * Only used for entries with types listed in the `EntryType` enum.
    *
-   * Currently, only `FILESET` enum value is allowed. All other entries
-   * created in Data Catalog must use the `user_specified_type`.
+   * For details, see [`EntryType`](#entrytype).
    * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; @@ -596,10 +592,8 @@ public int getTypeValue() { * *
    * The type of the entry.
-   * Only used for entries with types listed in the `EntryType` enum.
    *
-   * Currently, only `FILESET` enum value is allowed. All other entries
-   * created in Data Catalog must use the `user_specified_type`.
+   * For details, see [`EntryType`](#entrytype).
    * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; @@ -3853,10 +3847,8 @@ public Builder setFullyQualifiedNameBytes(com.google.protobuf.ByteString value) * *
      * The type of the entry.
-     * Only used for entries with types listed in the `EntryType` enum.
      *
-     * Currently, only `FILESET` enum value is allowed. All other entries
-     * created in Data Catalog must use the `user_specified_type`.
+     * For details, see [`EntryType`](#entrytype).
      * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; @@ -3872,10 +3864,8 @@ public boolean hasType() { * *
      * The type of the entry.
-     * Only used for entries with types listed in the `EntryType` enum.
      *
-     * Currently, only `FILESET` enum value is allowed. All other entries
-     * created in Data Catalog must use the `user_specified_type`.
+     * For details, see [`EntryType`](#entrytype).
      * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; @@ -3894,10 +3884,8 @@ public int getTypeValue() { * *
      * The type of the entry.
-     * Only used for entries with types listed in the `EntryType` enum.
      *
-     * Currently, only `FILESET` enum value is allowed. All other entries
-     * created in Data Catalog must use the `user_specified_type`.
+     * For details, see [`EntryType`](#entrytype).
      * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; @@ -3916,10 +3904,8 @@ public Builder setTypeValue(int value) { * *
      * The type of the entry.
-     * Only used for entries with types listed in the `EntryType` enum.
      *
-     * Currently, only `FILESET` enum value is allowed. All other entries
-     * created in Data Catalog must use the `user_specified_type`.
+     * For details, see [`EntryType`](#entrytype).
      * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; @@ -3940,10 +3926,8 @@ public com.google.cloud.datacatalog.v1.EntryType getType() { * *
      * The type of the entry.
-     * Only used for entries with types listed in the `EntryType` enum.
      *
-     * Currently, only `FILESET` enum value is allowed. All other entries
-     * created in Data Catalog must use the `user_specified_type`.
+     * For details, see [`EntryType`](#entrytype).
      * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; @@ -3965,10 +3949,8 @@ public Builder setType(com.google.cloud.datacatalog.v1.EntryType value) { * *
      * The type of the entry.
-     * Only used for entries with types listed in the `EntryType` enum.
      *
-     * Currently, only `FILESET` enum value is allowed. All other entries
-     * created in Data Catalog must use the `user_specified_type`.
+     * For details, see [`EntryType`](#entrytype).
      * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroup.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroup.java index 19f06c1e3c60..b4edad13e085 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroup.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroup.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupOrBuilder.java index 32a08960388b..0e33f1773ec7 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOrBuilder.java index 7cd4977b6850..21e779efc643 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -155,10 +155,8 @@ public interface EntryOrBuilder * *
    * The type of the entry.
-   * Only used for entries with types listed in the `EntryType` enum.
    *
-   * Currently, only `FILESET` enum value is allowed. All other entries
-   * created in Data Catalog must use the `user_specified_type`.
+   * For details, see [`EntryType`](#entrytype).
    * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; @@ -171,10 +169,8 @@ public interface EntryOrBuilder * *
    * The type of the entry.
-   * Only used for entries with types listed in the `EntryType` enum.
    *
-   * Currently, only `FILESET` enum value is allowed. All other entries
-   * created in Data Catalog must use the `user_specified_type`.
+   * For details, see [`EntryType`](#entrytype).
    * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; @@ -187,10 +183,8 @@ public interface EntryOrBuilder * *
    * The type of the entry.
-   * Only used for entries with types listed in the `EntryType` enum.
    *
-   * Currently, only `FILESET` enum value is allowed. All other entries
-   * created in Data Catalog must use the `user_specified_type`.
+   * For details, see [`EntryType`](#entrytype).
    * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverview.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverview.java index ad65c99121e6..4c6fa9a8998d 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverview.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverview.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverviewOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverviewOrBuilder.java index d245a2ad1429..6f87e0c4e303 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverviewOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOverviewOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryType.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryType.java index 821ef5378bf5..c682eefbecce 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryType.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryType.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,8 +22,18 @@ * * *
- * The enum field that lists all the types of entry resources in Data
- * Catalog. For example, a BigQuery table entry has the `TABLE` type.
+ * Metadata automatically ingested from Google Cloud resources like BigQuery
+ * tables or Pub/Sub topics always uses enum values from `EntryType` as the type
+ * of entry.
+ *
+ * Other sources of metadata like Hive or Oracle databases can identify the type
+ * by either using one of the enum values from `EntryType` (for example,
+ * `FILESET` for a Cloud Storage fileset) or specifying a custom value using
+ * the [`Entry`](#resource:-entry) field `user_specified_type`. For more
+ * information, see
+ * [Surface files from Cloud Storage with fileset
+ * entries](/data-catalog/docs/how-to/filesets) or [Create custom entries for
+ * your data sources](/data-catalog/docs/how-to/custom-entries).
  * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.EntryType} @@ -54,10 +64,10 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { * * *
-   * Output only. The type of models.
+   * The type of models.
    *
-   * For more information, see [Supported models in BigQuery ML]
-   * (https://cloud.google.com/bigquery-ml/docs/introduction#supported_models_in).
+   * For more information, see [Supported models in BigQuery
+   * ML](/bigquery/docs/bqml-introduction#supported_models).
    * 
* * MODEL = 5; @@ -108,7 +118,7 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { * * *
-   * Output only. Connection to a data source. For example, a BigQuery
+   * Connection to a data source. For example, a BigQuery
    * connection.
    * 
* @@ -119,7 +129,7 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { * * *
-   * Output only. Routine, for example, a BigQuery routine.
+   * Routine, for example, a BigQuery routine.
    * 
* * ROUTINE = 9; @@ -229,10 +239,10 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { * * *
-   * Output only. The type of models.
+   * The type of models.
    *
-   * For more information, see [Supported models in BigQuery ML]
-   * (https://cloud.google.com/bigquery-ml/docs/introduction#supported_models_in).
+   * For more information, see [Supported models in BigQuery
+   * ML](/bigquery/docs/bqml-introduction#supported_models).
    * 
* * MODEL = 5; @@ -283,7 +293,7 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { * * *
-   * Output only. Connection to a data source. For example, a BigQuery
+   * Connection to a data source. For example, a BigQuery
    * connection.
    * 
* @@ -294,7 +304,7 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { * * *
-   * Output only. Routine, for example, a BigQuery routine.
+   * Routine, for example, a BigQuery routine.
    * 
* * ROUTINE = 9; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequest.java index 521fa1be362d..c89097d18b46 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequestOrBuilder.java index 2e17347b425c..da837eb07b48 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponse.java index 1eb4e4ea64a2..0bf54faf3771 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponseOrBuilder.java index 5ab817d544dc..286aafe5ac6a 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldType.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldType.java index a0e6df7d02ff..2db984043454 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldType.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldType.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldTypeOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldTypeOrBuilder.java index 3cd8d24a511b..84a899982cff 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldTypeOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldTypeOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpec.java index 998c7c29ae81..e9b691146b43 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpec.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpecOrBuilder.java index b53fd9ae7427..7af32755af5d 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FilesetSpecOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpec.java index 7be75317d2da..a2e0d96d00ca 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpec.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpecOrBuilder.java index 0eaa3ac6200f..4d1489f61f0b 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpecOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpec.java index a3559ee7eb47..984d8a54dc5c 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpec.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOrBuilder.java index d25e304dcad5..4ef1af398796 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOuterClass.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOuterClass.java index 8dd9ec429ea8..3dbd70a9a378 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOuterClass.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOuterClass.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequest.java index 25f28474f52a..0312845c302a 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequestOrBuilder.java index 5693a4c7e396..5f215f2ef185 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequest.java index 8626d2ca845c..e2aca446c31c 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequestOrBuilder.java index 0dacd7288e50..d31422b29231 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequest.java index 9ad79e1fd14e..1cf69cf798d3 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequestOrBuilder.java index 20df6f0aaf86..955484eb5ec5 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequest.java index 06700b6f0b39..2fe68c142ca0 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequestOrBuilder.java index fdc955d4dddf..c37223a2dfdd 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequest.java index 2ff8876bd0f7..5790c85e3a38 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequestOrBuilder.java index 87380030f13e..d577ffaa3cf6 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadata.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadata.java index bc0c20651e10..440110a2a908 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadata.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadata.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadataOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadataOrBuilder.java index b1d6d670549b..ad834cf7cff4 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadataOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesMetadataOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequest.java index 6d239935bc5d..936628d8f8a8 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequestOrBuilder.java index 0beef7044ab5..c01aa1170345 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponse.java index 8f57edc075fc..542a6e10c7c6 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponseOrBuilder.java index c943d1311175..4b76466cf4fb 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportEntriesResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequest.java index d890b4694d73..aab91b138b8a 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequestOrBuilder.java index e7b63966c41b..cd4ee592af42 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponse.java index f0d1287788b1..02ac2467da3a 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponseOrBuilder.java index f87b9b49cf2a..2eac46704179 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSource.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSource.java index c137eb3fcbca..f53d578b305d 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSource.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSource.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSourceOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSourceOrBuilder.java index 04c5d1cc6c8f..47a8ba2d9310 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSourceOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSourceOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/IntegratedSystem.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/IntegratedSystem.java index f44af24be6f8..7cbe4c8c1a3d 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/IntegratedSystem.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/IntegratedSystem.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequest.java index f35020d303f5..7d6dccc700d3 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequestOrBuilder.java index afa3825182c8..8e751a7b682b 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponse.java index 09adeb79bfaa..8b27dbeb0ad4 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponseOrBuilder.java index 32c64d5971a0..958b4c0d34c3 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequest.java index cc54af07a894..bd83c7ff9681 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequestOrBuilder.java index cd7747f259e8..06005e56f455 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponse.java index 12cda4bae68c..0b237a113343 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponseOrBuilder.java index bfb6b8501ad0..021ffce6839d 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequest.java index 7c4ff61d5298..f33725a33295 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequestOrBuilder.java index 102c2d77ff8c..0cdb0ceebd33 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponse.java index e02214f66fd7..6c38112ed708 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponseOrBuilder.java index f8999959c582..e353fddf1ff5 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequest.java index ab435a981813..c4bb62b502fb 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequestOrBuilder.java index 0d97f3dc0403..68f6ffd63f6b 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponse.java index 101869c48f8b..825dcc649aad 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponseOrBuilder.java index 3594b50f47f9..a8177c786dfb 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequest.java index a1e5781e9645..ab5a95ce82a2 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequestOrBuilder.java index 2fb802f7cdd9..5cf1b2b264fb 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponse.java index 24a5f013cbe6..5eb5868715ad 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponseOrBuilder.java index ff8be78bfc8a..f8b150b20979 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpec.java index b2d499928dc9..de807f5e577d 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpec.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpecOrBuilder.java index 733779f124d7..13055f5a1a59 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookerSystemSpecOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequest.java index 431d50ee8f57..ce7d2da9a4d8 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequestOrBuilder.java index 6c436dfeb8c2..801d3f85e0f7 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ManagingSystem.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ManagingSystem.java index 2162cf739d9a..fe82c6a9f687 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ManagingSystem.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ManagingSystem.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequest.java index 11a92befd2c7..d00b5dcfb1b4 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequestOrBuilder.java index a0196c7468ac..c585ba87f333 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryContactsRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequest.java index a6f426210ade..5f7381d0f6fe 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequestOrBuilder.java index 51caae7cd389..f54cd2391c3f 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ModifyEntryOverviewRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetails.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetails.java index 6bfd5b288bbf..a6e3d630ff5d 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetails.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetails.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetailsOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetailsOrBuilder.java index 9ecd76aafd75..9032ba0c35e1 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetailsOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PersonalDetailsOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchema.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchema.java index 7e971388855a..1dba976a28b4 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchema.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchema.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaOrBuilder.java index 9c7160ec1eea..b0becdb54ff4 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaProto.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaProto.java index 6678b0988d00..21279465e591 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaProto.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTag.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTag.java index 34f53c2132c2..aa50b3761086 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTag.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTag.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerProto.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerProto.java index 2ab1c3278505..cea193eb84aa 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerProto.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationProto.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationProto.java index 23960d59f0fa..48c84d1e0cfc 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationProto.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagOrBuilder.java index 40d959b420b4..14101711c368 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadata.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadata.java index 502ecdfff2da..91ff8cd295bb 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadata.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadata.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadataOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadataOrBuilder.java index 2d706401f35f..29b9c0082c27 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadataOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsMetadataOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequest.java index ba24bb232805..68010c4da572 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequestOrBuilder.java index d473ed1d8e76..8a41be95f6b6 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponse.java index bbb41a9c9564..d15fddf29a6a 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponseOrBuilder.java index 9aca49dda771..f6d7593b2439 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReconcileTagsResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequest.java index 3ecede5c3ffd..c63877c79990 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java index e5c40c9769c6..f6cf558a7dfb 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequest.java index c77f5c560960..1a9dbd6f11c9 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequestOrBuilder.java index b751cb516c94..0214c8cd25a3 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequest.java index 482468242733..eae8637053e7 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequestOrBuilder.java index d49ecc1f6d9e..8ac435f11b5c 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpec.java index 5a8915016ccc..c0aeb9fa1c93 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpec.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpecOrBuilder.java index aaddafbf4a51..09807bb7e3e5 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpecOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Schema.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Schema.java index 1a5b3c5ef043..933952bc2ae5 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Schema.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Schema.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOrBuilder.java index 8a28de958595..1acd97924791 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOuterClass.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOuterClass.java index 1cb2888b5792..e69cf8a2a026 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOuterClass.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOuterClass.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Search.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Search.java index dee61cdb91dc..a97086a9dbda 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Search.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Search.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequest.java index 165558cc5205..6a88fc7c0c16 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -2309,7 +2309,7 @@ public com.google.protobuf.ByteString getQueryBytes() { * * *
-   * Number of results to return in a single search page.
+   * Upper bound on the number of results you can get in a single response.
    *
    * Can't be negative or 0, defaults to 10 in this case.
    * The maximum number is 1000. If exceeded, throws an "invalid argument"
@@ -2406,6 +2406,13 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default
    * * `default` that can only be descending
    *
+   * Search queries don't guarantee full recall. Results that match your query
+   * might not be returned, even in subsequent result pages. Additionally,
+   * returned (and not returned) results can vary if you repeat search queries.
+   * If you are experiencing recall issues and you don't have to fetch the
+   * results in any specific order, consider setting this parameter to
+   * `default`.
+   *
    * If this parameter is omitted, it defaults to the descending `relevance`.
    * 
* @@ -2437,6 +2444,13 @@ public java.lang.String getOrderBy() { * * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default * * `default` that can only be descending * + * Search queries don't guarantee full recall. Results that match your query + * might not be returned, even in subsequent result pages. Additionally, + * returned (and not returned) results can vary if you repeat search queries. + * If you are experiencing recall issues and you don't have to fetch the + * results in any specific order, consider setting this parameter to + * `default`. + * * If this parameter is omitted, it defaults to the descending `relevance`. * * @@ -3307,7 +3321,7 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) { * * *
-     * Number of results to return in a single search page.
+     * Upper bound on the number of results you can get in a single response.
      *
      * Can't be negative or 0, defaults to 10 in this case.
      * The maximum number is 1000. If exceeded, throws an "invalid argument"
@@ -3326,7 +3340,7 @@ public int getPageSize() {
      *
      *
      * 
-     * Number of results to return in a single search page.
+     * Upper bound on the number of results you can get in a single response.
      *
      * Can't be negative or 0, defaults to 10 in this case.
      * The maximum number is 1000. If exceeded, throws an "invalid argument"
@@ -3349,7 +3363,7 @@ public Builder setPageSize(int value) {
      *
      *
      * 
-     * Number of results to return in a single search page.
+     * Upper bound on the number of results you can get in a single response.
      *
      * Can't be negative or 0, defaults to 10 in this case.
      * The maximum number is 1000. If exceeded, throws an "invalid argument"
@@ -3521,6 +3535,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default
      * * `default` that can only be descending
      *
+     * Search queries don't guarantee full recall. Results that match your query
+     * might not be returned, even in subsequent result pages. Additionally,
+     * returned (and not returned) results can vary if you repeat search queries.
+     * If you are experiencing recall issues and you don't have to fetch the
+     * results in any specific order, consider setting this parameter to
+     * `default`.
+     *
      * If this parameter is omitted, it defaults to the descending `relevance`.
      * 
* @@ -3551,6 +3572,13 @@ public java.lang.String getOrderBy() { * * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default * * `default` that can only be descending * + * Search queries don't guarantee full recall. Results that match your query + * might not be returned, even in subsequent result pages. Additionally, + * returned (and not returned) results can vary if you repeat search queries. + * If you are experiencing recall issues and you don't have to fetch the + * results in any specific order, consider setting this parameter to + * `default`. + * * If this parameter is omitted, it defaults to the descending `relevance`. *
* @@ -3581,6 +3609,13 @@ public com.google.protobuf.ByteString getOrderByBytes() { * * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default * * `default` that can only be descending * + * Search queries don't guarantee full recall. Results that match your query + * might not be returned, even in subsequent result pages. Additionally, + * returned (and not returned) results can vary if you repeat search queries. + * If you are experiencing recall issues and you don't have to fetch the + * results in any specific order, consider setting this parameter to + * `default`. + * * If this parameter is omitted, it defaults to the descending `relevance`. *
* @@ -3610,6 +3645,13 @@ public Builder setOrderBy(java.lang.String value) { * * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default * * `default` that can only be descending * + * Search queries don't guarantee full recall. Results that match your query + * might not be returned, even in subsequent result pages. Additionally, + * returned (and not returned) results can vary if you repeat search queries. + * If you are experiencing recall issues and you don't have to fetch the + * results in any specific order, consider setting this parameter to + * `default`. + * * If this parameter is omitted, it defaults to the descending `relevance`. * * @@ -3635,6 +3677,13 @@ public Builder clearOrderBy() { * * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default * * `default` that can only be descending * + * Search queries don't guarantee full recall. Results that match your query + * might not be returned, even in subsequent result pages. Additionally, + * returned (and not returned) results can vary if you repeat search queries. + * If you are experiencing recall issues and you don't have to fetch the + * results in any specific order, consider setting this parameter to + * `default`. + * * If this parameter is omitted, it defaults to the descending `relevance`. * * diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequestOrBuilder.java index 74073b0a1882..1e7cb97948d6 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -127,7 +127,7 @@ public interface SearchCatalogRequestOrBuilder * * *
-   * Number of results to return in a single search page.
+   * Upper bound on the number of results you can get in a single response.
    *
    * Can't be negative or 0, defaults to 10 in this case.
    * The maximum number is 1000. If exceeded, throws an "invalid argument"
@@ -191,6 +191,13 @@ public interface SearchCatalogRequestOrBuilder
    * * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default
    * * `default` that can only be descending
    *
+   * Search queries don't guarantee full recall. Results that match your query
+   * might not be returned, even in subsequent result pages. Additionally,
+   * returned (and not returned) results can vary if you repeat search queries.
+   * If you are experiencing recall issues and you don't have to fetch the
+   * results in any specific order, consider setting this parameter to
+   * `default`.
+   *
    * If this parameter is omitted, it defaults to the descending `relevance`.
    * 
* @@ -211,6 +218,13 @@ public interface SearchCatalogRequestOrBuilder * * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default * * `default` that can only be descending * + * Search queries don't guarantee full recall. Results that match your query + * might not be returned, even in subsequent result pages. Additionally, + * returned (and not returned) results can vary if you repeat search queries. + * If you are experiencing recall issues and you don't have to fetch the + * results in any specific order, consider setting this parameter to + * `default`. + * * If this parameter is omitted, it defaults to the descending `relevance`. * * diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponse.java index 545995d9d7d6..84b1c16f1904 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponseOrBuilder.java index 5c0356b43e6b..7f3bf62b4e6f 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResult.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResult.java index 1127a1ebf6e6..7697117c1e00 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResult.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResultOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResultOrBuilder.java index 963f6a9faad3..b9891b87cb22 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResultOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResultOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchResultType.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchResultType.java index de81477e35d2..9ca873108b4f 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchResultType.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchResultType.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTag.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTag.java index cbdd9516b2c4..203c1b29a54f 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTag.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTag.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTagOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTagOrBuilder.java index dce84e76e74a..360b21bef1aa 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTagOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTagOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomy.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomy.java index dcdedfb84d64..2a0157d2a54c 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomy.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomy.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomyOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomyOrBuilder.java index 612036600685..426f6a27bced 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomyOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomyOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpec.java index d45f0289b3f6..f72352337697 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpec.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpecOrBuilder.java index 0af6134dc834..6107e1c7e10d 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ServiceSpecOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpec.java index 8c5f1291e05b..9027b72f6e8b 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpec.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpecOrBuilder.java index ed854cb54ddc..ded1434dcffe 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SqlDatabaseSystemSpecOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequest.java index a3d70ad4f0b8..16d65c21f9e4 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequestOrBuilder.java index d02bb5305637..193a12f3727d 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponse.java index 2bc24755f960..1b3e2f597ab7 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponseOrBuilder.java index 28c8b511dfe2..1f655b2b4fe5 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StarEntryResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StorageProperties.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StorageProperties.java index b156bdb4c623..e816e275d1a0 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StorageProperties.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StorageProperties.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StoragePropertiesOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StoragePropertiesOrBuilder.java index 57c7870cc0a2..8d7df9a38f34 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StoragePropertiesOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/StoragePropertiesOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestamps.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestamps.java index 3a6b7a35e672..0bf4e99477a8 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestamps.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestamps.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestampsOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestampsOrBuilder.java index 55a88348d282..b6b83410bee7 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestampsOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestampsOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSourceType.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSourceType.java index 23271a76e299..8d5cd97ad36f 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSourceType.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSourceType.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpec.java index 9db1a2d1b829..0aa92b72cb8d 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpec.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOrBuilder.java index 8cbecb295fca..f5620d0fff9b 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOuterClass.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOuterClass.java index d1413bfe9b71..c23b7acd882f 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOuterClass.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOuterClass.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tag.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tag.java index bebc724a18b6..1c2a67ecd99c 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tag.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tag.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagField.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagField.java index b3fc37e4a477..e8b0ccdc2e52 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagField.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagField.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagFieldOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagFieldOrBuilder.java index 839fbe00c427..15ad6570d7de 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagFieldOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagFieldOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagOrBuilder.java index 04ace379b0f5..a1de0e94bc7c 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplate.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplate.java index b5972b2d9fa5..2ba61615d7d6 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplate.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplate.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateField.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateField.java index 85478b5c365e..aae1064e8fac 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateField.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateField.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldOrBuilder.java index 3ca640eda3b0..7f11e9290393 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateOrBuilder.java index 36275d72af92..034b66dae2a7 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntry.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntry.java index 655a27aa7f6f..31bc9383925e 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntry.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntry.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntryOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntryOrBuilder.java index c411ee37c342..d3986a52a678 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntryOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaggedEntryOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tags.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tags.java index ab053299edff..54ff514c81d2 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tags.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tags.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Taxonomy.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Taxonomy.java index a121a8901c04..d08e320ca0f9 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Taxonomy.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Taxonomy.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyOrBuilder.java index d796bf1ae32b..af1b1c20a823 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Timestamps.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Timestamps.java index f1d50a3d268e..c53dbd8ecd29 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Timestamps.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Timestamps.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequest.java index f686600a1572..45464c76ce52 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequestOrBuilder.java index eae8a3ff0ec1..dee7d031bc76 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponse.java index c2fc41ff003d..e8908a016450 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponseOrBuilder.java index d4c286b005dc..ca9c88ec7590 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UnstarEntryResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequest.java index d903b1d6781c..0f829f1dec03 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequestOrBuilder.java index 4dbb2931711d..5ac738d615c6 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequest.java index c128929f1ccf..45708fa4a6b7 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequestOrBuilder.java index b2f30b198854..3089c276b616 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequest.java index b36ab6f13210..27c02216431e 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequestOrBuilder.java index 910ebb82c54a..ee77eae9d954 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequest.java index cd2db9235b7e..8dfa2e3ecbf5 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequestOrBuilder.java index 0611189fe20e..2cb41a4fc7b1 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequest.java index 08070860999d..0b6ee9818050 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequestOrBuilder.java index 7af3932cb709..d4959d8fc56a 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequest.java index 1f8ee12cf5f8..3ae38a3890e3 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequestOrBuilder.java index b236d3595c9c..dc88ef690735 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequest.java index a51476662373..2d1495c40b3a 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequestOrBuilder.java index 5a723936505c..2157be1c3b2a 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Usage.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Usage.java index 4605e2f9ade0..a317227dec9c 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Usage.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Usage.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignal.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignal.java index 507909a61d43..4500742374a3 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignal.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignal.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignalOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignalOrBuilder.java index 6b64b3163ac6..967bc6c8e0bf 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignalOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignalOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStats.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStats.java index 22ee52e4cc73..fb07ca3f3dc7 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStats.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStats.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStatsOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStatsOrBuilder.java index 4efe538e3bf1..9b127be12471 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStatsOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStatsOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpec.java index d3b5035e7c28..06e5f969de93 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpec.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpecOrBuilder.java index 7af36b73a265..cd4a0194f03b 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpecOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto index 34957c4cd0e1..242f980a2c2a 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto @@ -700,7 +700,7 @@ message SearchCatalogRequest { // * `description:z` string query = 1 [(google.api.field_behavior) = OPTIONAL]; - // Number of results to return in a single search page. + // Upper bound on the number of results you can get in a single response. // // Can't be negative or 0, defaults to 10 in this case. // The maximum number is 1000. If exceeded, throws an "invalid argument" @@ -725,6 +725,13 @@ message SearchCatalogRequest { // * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default // * `default` that can only be descending // + // Search queries don't guarantee full recall. Results that match your query + // might not be returned, even in subsequent result pages. Additionally, + // returned (and not returned) results can vary if you repeat search queries. + // If you are experiencing recall issues and you don't have to fetch the + // results in any specific order, consider setting this parameter to + // `default`. + // // If this parameter is omitted, it defaults to the descending `relevance`. string order_by = 5; } @@ -1063,10 +1070,8 @@ message Entry { // Required. Entry type. oneof entry_type { // The type of the entry. - // Only used for entries with types listed in the `EntryType` enum. // - // Currently, only `FILESET` enum value is allowed. All other entries - // created in Data Catalog must use the `user_specified_type`. + // For details, see [`EntryType`](#entrytype). EntryType type = 2; // Custom entry type that doesn't match any of the values allowed for input @@ -2030,8 +2035,18 @@ message ModifyEntryContactsRequest { Contacts contacts = 2 [(google.api.field_behavior) = REQUIRED]; } -// The enum field that lists all the types of entry resources in Data -// Catalog. For example, a BigQuery table entry has the `TABLE` type. +// Metadata automatically ingested from Google Cloud resources like BigQuery +// tables or Pub/Sub topics always uses enum values from `EntryType` as the type +// of entry. +// +// Other sources of metadata like Hive or Oracle databases can identify the type +// by either using one of the enum values from `EntryType` (for example, +// `FILESET` for a Cloud Storage fileset) or specifying a custom value using +// the [`Entry`](#resource:-entry) field `user_specified_type`. For more +// information, see +// [Surface files from Cloud Storage with fileset +// entries](/data-catalog/docs/how-to/filesets) or [Create custom entries for +// your data sources](/data-catalog/docs/how-to/custom-entries). enum EntryType { // Default unknown type. ENTRY_TYPE_UNSPECIFIED = 0; @@ -2040,10 +2055,10 @@ enum EntryType { // logical views. TABLE = 2; - // Output only. The type of models. + // The type of models. // - // For more information, see [Supported models in BigQuery ML] - // (https://cloud.google.com/bigquery-ml/docs/introduction#supported_models_in). + // For more information, see [Supported models in BigQuery + // ML](/bigquery/docs/bqml-introduction#supported_models). MODEL = 5; // An entry type for streaming entries. For example, a Pub/Sub topic. @@ -2059,11 +2074,11 @@ enum EntryType { // A database. DATABASE = 7; - // Output only. Connection to a data source. For example, a BigQuery + // Connection to a data source. For example, a BigQuery // connection. DATA_SOURCE_CONNECTION = 8; - // Output only. Routine, for example, a BigQuery routine. + // Routine, for example, a BigQuery routine. ROUTINE = 9; // A Dataplex lake. diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpec.java index 9637e120daad..0e640a9d8922 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpec.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -73,8 +73,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Output only. The Data Catalog resource name of the dataset entry the current table
-   * belongs to, for example,
+   * Output only. The Data Catalog resource name of the dataset entry the
+   * current table belongs to, for example,
    * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
    * 
* @@ -100,8 +100,8 @@ public java.lang.String getDataset() { * * *
-   * Output only. The Data Catalog resource name of the dataset entry the current table
-   * belongs to, for example,
+   * Output only. The Data Catalog resource name of the dataset entry the
+   * current table belongs to, for example,
    * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
    * 
* @@ -132,7 +132,8 @@ public com.google.protobuf.ByteString getDatasetBytes() { * * *
-   * Output only. The table name prefix of the shards. The name of any given shard is
+   * Output only. The table name prefix of the shards. The name of any given
+   * shard is
    * `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the
    * `table_prefix` is `MyTable`.
    * 
@@ -157,7 +158,8 @@ public java.lang.String getTablePrefix() { * * *
-   * Output only. The table name prefix of the shards. The name of any given shard is
+   * Output only. The table name prefix of the shards. The name of any given
+   * shard is
    * `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the
    * `table_prefix` is `MyTable`.
    * 
@@ -596,8 +598,8 @@ public Builder mergeFrom( * * *
-     * Output only. The Data Catalog resource name of the dataset entry the current table
-     * belongs to, for example,
+     * Output only. The Data Catalog resource name of the dataset entry the
+     * current table belongs to, for example,
      * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
      * 
* @@ -622,8 +624,8 @@ public java.lang.String getDataset() { * * *
-     * Output only. The Data Catalog resource name of the dataset entry the current table
-     * belongs to, for example,
+     * Output only. The Data Catalog resource name of the dataset entry the
+     * current table belongs to, for example,
      * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
      * 
* @@ -648,8 +650,8 @@ public com.google.protobuf.ByteString getDatasetBytes() { * * *
-     * Output only. The Data Catalog resource name of the dataset entry the current table
-     * belongs to, for example,
+     * Output only. The Data Catalog resource name of the dataset entry the
+     * current table belongs to, for example,
      * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
      * 
* @@ -673,8 +675,8 @@ public Builder setDataset(java.lang.String value) { * * *
-     * Output only. The Data Catalog resource name of the dataset entry the current table
-     * belongs to, for example,
+     * Output only. The Data Catalog resource name of the dataset entry the
+     * current table belongs to, for example,
      * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
      * 
* @@ -694,8 +696,8 @@ public Builder clearDataset() { * * *
-     * Output only. The Data Catalog resource name of the dataset entry the current table
-     * belongs to, for example,
+     * Output only. The Data Catalog resource name of the dataset entry the
+     * current table belongs to, for example,
      * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
      * 
* @@ -722,7 +724,8 @@ public Builder setDatasetBytes(com.google.protobuf.ByteString value) { * * *
-     * Output only. The table name prefix of the shards. The name of any given shard is
+     * Output only. The table name prefix of the shards. The name of any given
+     * shard is
      * `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the
      * `table_prefix` is `MyTable`.
      * 
@@ -746,7 +749,8 @@ public java.lang.String getTablePrefix() { * * *
-     * Output only. The table name prefix of the shards. The name of any given shard is
+     * Output only. The table name prefix of the shards. The name of any given
+     * shard is
      * `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the
      * `table_prefix` is `MyTable`.
      * 
@@ -770,7 +774,8 @@ public com.google.protobuf.ByteString getTablePrefixBytes() { * * *
-     * Output only. The table name prefix of the shards. The name of any given shard is
+     * Output only. The table name prefix of the shards. The name of any given
+     * shard is
      * `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the
      * `table_prefix` is `MyTable`.
      * 
@@ -793,7 +798,8 @@ public Builder setTablePrefix(java.lang.String value) { * * *
-     * Output only. The table name prefix of the shards. The name of any given shard is
+     * Output only. The table name prefix of the shards. The name of any given
+     * shard is
      * `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the
      * `table_prefix` is `MyTable`.
      * 
@@ -812,7 +818,8 @@ public Builder clearTablePrefix() { * * *
-     * Output only. The table name prefix of the shards. The name of any given shard is
+     * Output only. The table name prefix of the shards. The name of any given
+     * shard is
      * `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the
      * `table_prefix` is `MyTable`.
      * 
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpecOrBuilder.java index 764aaa4b428a..9070fd1ea0bd 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpecOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,8 +27,8 @@ public interface BigQueryDateShardedSpecOrBuilder * * *
-   * Output only. The Data Catalog resource name of the dataset entry the current table
-   * belongs to, for example,
+   * Output only. The Data Catalog resource name of the dataset entry the
+   * current table belongs to, for example,
    * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
    * 
* @@ -43,8 +43,8 @@ public interface BigQueryDateShardedSpecOrBuilder * * *
-   * Output only. The Data Catalog resource name of the dataset entry the current table
-   * belongs to, for example,
+   * Output only. The Data Catalog resource name of the dataset entry the
+   * current table belongs to, for example,
    * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
    * 
* @@ -60,7 +60,8 @@ public interface BigQueryDateShardedSpecOrBuilder * * *
-   * Output only. The table name prefix of the shards. The name of any given shard is
+   * Output only. The table name prefix of the shards. The name of any given
+   * shard is
    * `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the
    * `table_prefix` is `MyTable`.
    * 
@@ -74,7 +75,8 @@ public interface BigQueryDateShardedSpecOrBuilder * * *
-   * Output only. The table name prefix of the shards. The name of any given shard is
+   * Output only. The table name prefix of the shards. The name of any given
+   * shard is
    * `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the
    * `table_prefix` is `MyTable`.
    * 
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpec.java index 60b3991428ba..1235b44b8d2a 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpec.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpecOrBuilder.java index 7403731b437f..6095deacfd7e 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpecOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchema.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchema.java index 217ad5f8780e..e9cce0ab07db 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchema.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchema.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -228,9 +228,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * *
-   * Optional. A column's mode indicates whether the values in this column are required,
-   * nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are supported.
-   * Default mode is `NULLABLE`.
+   * Optional. A column's mode indicates whether the values in this column are
+   * required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are
+   * supported. Default mode is `NULLABLE`.
    * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -253,9 +253,9 @@ public java.lang.String getMode() { * * *
-   * Optional. A column's mode indicates whether the values in this column are required,
-   * nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are supported.
-   * Default mode is `NULLABLE`.
+   * Optional. A column's mode indicates whether the values in this column are
+   * required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are
+   * supported. Default mode is `NULLABLE`.
    * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -283,7 +283,8 @@ public com.google.protobuf.ByteString getModeBytes() { * * *
-   * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+   * Optional. Schema of sub-columns. A column can have zero or more
+   * sub-columns.
    * 
* * @@ -298,7 +299,8 @@ public java.util.List getSubc * * *
-   * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+   * Optional. Schema of sub-columns. A column can have zero or more
+   * sub-columns.
    * 
* * @@ -314,7 +316,8 @@ public java.util.List getSubc * * *
-   * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+   * Optional. Schema of sub-columns. A column can have zero or more
+   * sub-columns.
    * 
* * @@ -329,7 +332,8 @@ public int getSubcolumnsCount() { * * *
-   * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+   * Optional. Schema of sub-columns. A column can have zero or more
+   * sub-columns.
    * 
* * @@ -344,7 +348,8 @@ public com.google.cloud.datacatalog.v1beta1.ColumnSchema getSubcolumns(int index * * *
-   * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+   * Optional. Schema of sub-columns. A column can have zero or more
+   * sub-columns.
    * 
* * @@ -1168,9 +1173,9 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. A column's mode indicates whether the values in this column are required,
-     * nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are supported.
-     * Default mode is `NULLABLE`.
+     * Optional. A column's mode indicates whether the values in this column are
+     * required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are
+     * supported. Default mode is `NULLABLE`.
      * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1192,9 +1197,9 @@ public java.lang.String getMode() { * * *
-     * Optional. A column's mode indicates whether the values in this column are required,
-     * nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are supported.
-     * Default mode is `NULLABLE`.
+     * Optional. A column's mode indicates whether the values in this column are
+     * required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are
+     * supported. Default mode is `NULLABLE`.
      * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1216,9 +1221,9 @@ public com.google.protobuf.ByteString getModeBytes() { * * *
-     * Optional. A column's mode indicates whether the values in this column are required,
-     * nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are supported.
-     * Default mode is `NULLABLE`.
+     * Optional. A column's mode indicates whether the values in this column are
+     * required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are
+     * supported. Default mode is `NULLABLE`.
      * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1239,9 +1244,9 @@ public Builder setMode(java.lang.String value) { * * *
-     * Optional. A column's mode indicates whether the values in this column are required,
-     * nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are supported.
-     * Default mode is `NULLABLE`.
+     * Optional. A column's mode indicates whether the values in this column are
+     * required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are
+     * supported. Default mode is `NULLABLE`.
      * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1258,9 +1263,9 @@ public Builder clearMode() { * * *
-     * Optional. A column's mode indicates whether the values in this column are required,
-     * nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are supported.
-     * Default mode is `NULLABLE`.
+     * Optional. A column's mode indicates whether the values in this column are
+     * required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are
+     * supported. Default mode is `NULLABLE`.
      * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1300,7 +1305,8 @@ private void ensureSubcolumnsIsMutable() { * * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* * @@ -1318,7 +1324,8 @@ public java.util.List getSubc * * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* * @@ -1336,7 +1343,8 @@ public int getSubcolumnsCount() { * * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* * @@ -1354,7 +1362,8 @@ public com.google.cloud.datacatalog.v1beta1.ColumnSchema getSubcolumns(int index * * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* * @@ -1379,7 +1388,8 @@ public Builder setSubcolumns( * * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* * @@ -1401,7 +1411,8 @@ public Builder setSubcolumns( * * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* * @@ -1425,7 +1436,8 @@ public Builder addSubcolumns(com.google.cloud.datacatalog.v1beta1.ColumnSchema v * * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* * @@ -1450,7 +1462,8 @@ public Builder addSubcolumns( * * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* * @@ -1472,7 +1485,8 @@ public Builder addSubcolumns( * * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* * @@ -1494,7 +1508,8 @@ public Builder addSubcolumns( * * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* * @@ -1516,7 +1531,8 @@ public Builder addAllSubcolumns( * * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* * @@ -1537,7 +1553,8 @@ public Builder clearSubcolumns() { * * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* * @@ -1558,7 +1575,8 @@ public Builder removeSubcolumns(int index) { * * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* * @@ -1573,7 +1591,8 @@ public com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder getSubcolumnsBu * * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* * @@ -1592,7 +1611,8 @@ public com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder getSubcolumnsO * * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* * @@ -1611,7 +1631,8 @@ public com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder getSubcolumnsO * * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* * @@ -1626,7 +1647,8 @@ public com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder addSubcolumnsBu * * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* * @@ -1643,7 +1665,8 @@ public com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder addSubcolumnsBu * * *
-     * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+     * Optional. Schema of sub-columns. A column can have zero or more
+     * sub-columns.
      * 
* * diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchemaOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchemaOrBuilder.java index 242df568b6ba..d17eeebb7c4a 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchemaOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ColumnSchemaOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -102,9 +102,9 @@ public interface ColumnSchemaOrBuilder * * *
-   * Optional. A column's mode indicates whether the values in this column are required,
-   * nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are supported.
-   * Default mode is `NULLABLE`.
+   * Optional. A column's mode indicates whether the values in this column are
+   * required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are
+   * supported. Default mode is `NULLABLE`.
    * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -116,9 +116,9 @@ public interface ColumnSchemaOrBuilder * * *
-   * Optional. A column's mode indicates whether the values in this column are required,
-   * nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are supported.
-   * Default mode is `NULLABLE`.
+   * Optional. A column's mode indicates whether the values in this column are
+   * required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are
+   * supported. Default mode is `NULLABLE`.
    * 
* * string mode = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -131,7 +131,8 @@ public interface ColumnSchemaOrBuilder * * *
-   * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+   * Optional. Schema of sub-columns. A column can have zero or more
+   * sub-columns.
    * 
* * @@ -143,7 +144,8 @@ public interface ColumnSchemaOrBuilder * * *
-   * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+   * Optional. Schema of sub-columns. A column can have zero or more
+   * sub-columns.
    * 
* * @@ -155,7 +157,8 @@ public interface ColumnSchemaOrBuilder * * *
-   * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+   * Optional. Schema of sub-columns. A column can have zero or more
+   * sub-columns.
    * 
* * @@ -167,7 +170,8 @@ public interface ColumnSchemaOrBuilder * * *
-   * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+   * Optional. Schema of sub-columns. A column can have zero or more
+   * sub-columns.
    * 
* * @@ -180,7 +184,8 @@ public interface ColumnSchemaOrBuilder * * *
-   * Optional. Schema of sub-columns. A column can have zero or more sub-columns.
+   * Optional. Schema of sub-columns. A column can have zero or more
+   * sub-columns.
    * 
* * diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Common.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Common.java index 44cf294d5d35..654bd7c26b27 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Common.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Common.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -39,13 +39,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "n.proto\022 google.cloud.datacatalog.v1beta" + "1*U\n\020IntegratedSystem\022!\n\035INTEGRATED_SYST" + "EM_UNSPECIFIED\020\000\022\014\n\010BIGQUERY\020\001\022\020\n\014CLOUD_" - + "PUBSUB\020\002B\337\001\n$com.google.cloud.datacatalo" - + "g.v1beta1P\001ZFcloud.google.com/go/datacat" - + "alog/apiv1beta1/datacatalogpb;datacatalo" - + "gpb\370\001\001\252\002 Google.Cloud.DataCatalog.V1Beta" - + "1\312\002 Google\\Cloud\\DataCatalog\\V1beta1\352\002#G" - + "oogle::Cloud::DataCatalog::V1beta1b\006prot" - + "o3" + + "PUBSUB\020\002*j\n\016ManagingSystem\022\037\n\033MANAGING_S" + + "YSTEM_UNSPECIFIED\020\000\022\034\n\030MANAGING_SYSTEM_D" + + "ATAPLEX\020\001\022\031\n\025MANAGING_SYSTEM_OTHER\020\002B\337\001\n" + + "$com.google.cloud.datacatalog.v1beta1P\001Z" + + "Fcloud.google.com/go/datacatalog/apiv1be" + + "ta1/datacatalogpb;datacatalogpb\370\001\001\252\002 Goo" + + "gle.Cloud.DataCatalog.V1Beta1\312\002 Google\\C" + + "loud\\DataCatalog\\V1beta1\352\002#Google::Cloud" + + "::DataCatalog::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequest.java index ae7c53e453ae..502273b2f037 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequestOrBuilder.java index 316f7f377eee..da619e83d4a9 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryGroupRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequest.java index 36a6be71c791..3ac34f05d392 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequestOrBuilder.java index 5e45fb568154..520de5aa4be1 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateEntryRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequest.java index 2227ee7508b9..889ce4955384 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequestOrBuilder.java index c69938fd270a..c8eb9c4d0216 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreatePolicyTagRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequest.java index f7cd4ac362db..0cc54bd06eaf 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -71,8 +71,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The name of the resource to attach this tag to. Tags can be attached to
-   * Entries. Example:
+   * Required. The name of the resource to attach this tag to. Tags can be
+   * attached to Entries. Example:
    *
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
    *
@@ -102,8 +102,8 @@ public java.lang.String getParent() {
    *
    *
    * 
-   * Required. The name of the resource to attach this tag to. Tags can be attached to
-   * Entries. Example:
+   * Required. The name of the resource to attach this tag to. Tags can be
+   * attached to Entries. Example:
    *
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
    *
@@ -559,8 +559,8 @@ public Builder mergeFrom(
      *
      *
      * 
-     * Required. The name of the resource to attach this tag to. Tags can be attached to
-     * Entries. Example:
+     * Required. The name of the resource to attach this tag to. Tags can be
+     * attached to Entries. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      *
@@ -589,8 +589,8 @@ public java.lang.String getParent() {
      *
      *
      * 
-     * Required. The name of the resource to attach this tag to. Tags can be attached to
-     * Entries. Example:
+     * Required. The name of the resource to attach this tag to. Tags can be
+     * attached to Entries. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      *
@@ -619,8 +619,8 @@ public com.google.protobuf.ByteString getParentBytes() {
      *
      *
      * 
-     * Required. The name of the resource to attach this tag to. Tags can be attached to
-     * Entries. Example:
+     * Required. The name of the resource to attach this tag to. Tags can be
+     * attached to Entries. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      *
@@ -648,8 +648,8 @@ public Builder setParent(java.lang.String value) {
      *
      *
      * 
-     * Required. The name of the resource to attach this tag to. Tags can be attached to
-     * Entries. Example:
+     * Required. The name of the resource to attach this tag to. Tags can be
+     * attached to Entries. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      *
@@ -673,8 +673,8 @@ public Builder clearParent() {
      *
      *
      * 
-     * Required. The name of the resource to attach this tag to. Tags can be attached to
-     * Entries. Example:
+     * Required. The name of the resource to attach this tag to. Tags can be
+     * attached to Entries. Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      *
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequestOrBuilder.java
index e55e7935f1cd..dedc2610aa27 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequestOrBuilder.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequestOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -27,8 +27,8 @@ public interface CreateTagRequestOrBuilder
    *
    *
    * 
-   * Required. The name of the resource to attach this tag to. Tags can be attached to
-   * Entries. Example:
+   * Required. The name of the resource to attach this tag to. Tags can be
+   * attached to Entries. Example:
    *
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
    *
@@ -47,8 +47,8 @@ public interface CreateTagRequestOrBuilder
    *
    *
    * 
-   * Required. The name of the resource to attach this tag to. Tags can be attached to
-   * Entries. Example:
+   * Required. The name of the resource to attach this tag to. Tags can be
+   * attached to Entries. Example:
    *
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
    *
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequest.java
index 4a091a899de6..b5145660e3d5 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequest.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequestOrBuilder.java
index c55288aac144..c2f414050823 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequestOrBuilder.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequestOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequest.java
index 7e6f93b3c9b9..d181906c676b 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequest.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequestOrBuilder.java
index f9d0352b3209..b7ef124c92d5 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequestOrBuilder.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequestOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequest.java
index 9147d573b81f..5052cd1c6618 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequest.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequestOrBuilder.java
index c4010039c650..11cc70688fcc 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequestOrBuilder.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTaxonomyRequestOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Datacatalog.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Datacatalog.java
index 13d0765f0eb5..b500bcdcc972 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Datacatalog.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Datacatalog.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -131,6 +131,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
       internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_descriptor;
   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable;
   static final com.google.protobuf.Descriptors.Descriptor
       internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_descriptor;
   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -173,308 +177,329 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "1google/cloud/datacatalog/v1beta1/table_"
           + "spec.proto\032+google/cloud/datacatalog/v1b"
           + "eta1/tags.proto\0321google/cloud/datacatalo"
-          + "g/v1beta1/timestamps.proto\032\036google/iam/v"
-          + "1/iam_policy.proto\032\032google/iam/v1/policy"
-          + ".proto\032\033google/protobuf/empty.proto\032 goo"
-          + "gle/protobuf/field_mask.proto\"\241\002\n\024Search"
-          + "CatalogRequest\022Q\n\005scope\030\006 \001(\0132<.google.c"
-          + "loud.datacatalog.v1beta1.SearchCatalogRe"
-          + "quest.ScopeB\004\342A\001\002\022\023\n\005query\030\001 \001(\tB\004\342A\001\002\022\021"
-          + "\n\tpage_size\030\002 \001(\005\022\030\n\npage_token\030\003 \001(\tB\004\342"
-          + "A\001\001\022\020\n\010order_by\030\005 \001(\t\032b\n\005Scope\022\027\n\017includ"
-          + "e_org_ids\030\002 \003(\t\022\033\n\023include_project_ids\030\003"
-          + " \003(\t\022#\n\033include_gcp_public_datasets\030\007 \001("
-          + "\010\"x\n\025SearchCatalogResponse\022F\n\007results\030\001 "
-          + "\003(\01325.google.cloud.datacatalog.v1beta1.S"
-          + "earchCatalogResult\022\027\n\017next_page_token\030\003 "
-          + "\001(\t\"\272\001\n\027CreateEntryGroupRequest\022>\n\006paren"
-          + "t\030\001 \001(\tB.\342A\001\002\372A\'\022%datacatalog.googleapis"
-          + ".com/EntryGroup\022\034\n\016entry_group_id\030\003 \001(\tB"
-          + "\004\342A\001\002\022A\n\013entry_group\030\002 \001(\0132,.google.clou"
-          + "d.datacatalog.v1beta1.EntryGroup\"\223\001\n\027Upd"
-          + "ateEntryGroupRequest\022G\n\013entry_group\030\001 \001("
-          + "\0132,.google.cloud.datacatalog.v1beta1.Ent"
-          + "ryGroupB\004\342A\001\002\022/\n\013update_mask\030\002 \001(\0132\032.goo"
-          + "gle.protobuf.FieldMask\"\203\001\n\024GetEntryGroup"
-          + "Request\022<\n\004name\030\001 \001(\tB.\342A\001\002\372A\'\n%datacata"
-          + "log.googleapis.com/EntryGroup\022-\n\tread_ma"
-          + "sk\030\002 \001(\0132\032.google.protobuf.FieldMask\"l\n\027"
-          + "DeleteEntryGroupRequest\022<\n\004name\030\001 \001(\tB.\342"
-          + "A\001\002\372A\'\n%datacatalog.googleapis.com/Entry"
-          + "Group\022\023\n\005force\030\002 \001(\010B\004\342A\001\001\"\213\001\n\026ListEntry"
-          + "GroupsRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\022%"
-          + "datacatalog.googleapis.com/EntryGroup\022\027\n"
-          + "\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001"
-          + "(\tB\004\342A\001\001\"v\n\027ListEntryGroupsResponse\022B\n\014e"
-          + "ntry_groups\030\001 \003(\0132,.google.cloud.datacat"
-          + "alog.v1beta1.EntryGroup\022\027\n\017next_page_tok"
-          + "en\030\002 \001(\t\"\252\001\n\022CreateEntryRequest\022>\n\006paren"
-          + "t\030\001 \001(\tB.\342A\001\002\372A\'\n%datacatalog.googleapis"
-          + ".com/EntryGroup\022\026\n\010entry_id\030\003 \001(\tB\004\342A\001\002\022"
-          + "<\n\005entry\030\002 \001(\0132\'.google.cloud.datacatalo"
-          + "g.v1beta1.EntryB\004\342A\001\002\"\203\001\n\022UpdateEntryReq"
-          + "uest\022<\n\005entry\030\001 \001(\0132\'.google.cloud.datac"
-          + "atalog.v1beta1.EntryB\004\342A\001\002\022/\n\013update_mas"
-          + "k\030\002 \001(\0132\032.google.protobuf.FieldMask\"M\n\022D"
-          + "eleteEntryRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\""
-          + "\n datacatalog.googleapis.com/Entry\"J\n\017Ge"
-          + "tEntryRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A\"\n da"
-          + "tacatalog.googleapis.com/Entry\"V\n\022Lookup"
-          + "EntryRequest\022\031\n\017linked_resource\030\001 \001(\tH\000\022"
-          + "\026\n\014sql_resource\030\003 \001(\tH\000B\r\n\013target_name\"\221"
-          + "\007\n\005Entry\0228\n\004name\030\001 \001(\tB*\372A\'\n%datacatalog"
-          + ".googleapis.com/EntryGroup\022\027\n\017linked_res"
-          + "ource\030\t \001(\t\022;\n\004type\030\002 \001(\0162+.google.cloud"
-          + ".datacatalog.v1beta1.EntryTypeH\000\022\035\n\023user"
-          + "_specified_type\030\020 \001(\tH\000\022U\n\021integrated_sy"
-          + "stem\030\021 \001(\01622.google.cloud.datacatalog.v1"
-          + "beta1.IntegratedSystemB\004\342A\001\003H\001\022\037\n\025user_s"
-          + "pecified_system\030\022 \001(\tH\001\022L\n\020gcs_fileset_s"
-          + "pec\030\006 \001(\01320.google.cloud.datacatalog.v1b"
-          + "eta1.GcsFilesetSpecH\002\022R\n\023bigquery_table_"
-          + "spec\030\014 \001(\01323.google.cloud.datacatalog.v1"
-          + "beta1.BigQueryTableSpecH\002\022_\n\032bigquery_da"
-          + "te_sharded_spec\030\017 \001(\01329.google.cloud.dat"
-          + "acatalog.v1beta1.BigQueryDateShardedSpec"
-          + "H\002\022\024\n\014display_name\030\003 \001(\t\022\023\n\013description\030"
-          + "\004 \001(\t\0228\n\006schema\030\005 \001(\0132(.google.cloud.dat"
-          + "acatalog.v1beta1.Schema\022Z\n\030source_system"
-          + "_timestamps\030\007 \001(\01322.google.cloud.datacat"
-          + "alog.v1beta1.SystemTimestampsB\004\342A\001\003:x\352Au"
-          + "\n datacatalog.googleapis.com/Entry\022Qproj"
-          + "ects/{project}/locations/{location}/entr"
-          + "yGroups/{entry_group}/entries/{entry}B\014\n"
-          + "\nentry_typeB\010\n\006systemB\013\n\ttype_spec\"\217\002\n\nE"
-          + "ntryGroup\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030"
-          + "\002 \001(\t\022\023\n\013description\030\003 \001(\t\022Y\n\027data_catal"
-          + "og_timestamps\030\004 \001(\01322.google.cloud.datac"
-          + "atalog.v1beta1.SystemTimestampsB\004\342A\001\003:m\352"
-          + "Aj\n%datacatalog.googleapis.com/EntryGrou"
-          + "p\022Aprojects/{project}/locations/{locatio"
-          + "n}/entryGroups/{entry_group}\"\305\001\n\030CreateT"
-          + "agTemplateRequest\022?\n\006parent\030\001 \001(\tB/\342A\001\002\372"
-          + "A(\022&datacatalog.googleapis.com/TagTempla"
-          + "te\022\035\n\017tag_template_id\030\003 \001(\tB\004\342A\001\002\022I\n\014tag"
-          + "_template\030\002 \001(\0132-.google.cloud.datacatal"
-          + "og.v1beta1.TagTemplateB\004\342A\001\002\"V\n\025GetTagTe"
-          + "mplateRequest\022=\n\004name\030\001 \001(\tB/\342A\001\002\372A(\n&da"
-          + "tacatalog.googleapis.com/TagTemplate\"\226\001\n"
-          + "\030UpdateTagTemplateRequest\022I\n\014tag_templat"
-          + "e\030\001 \001(\0132-.google.cloud.datacatalog.v1bet"
-          + "a1.TagTemplateB\004\342A\001\002\022/\n\013update_mask\030\002 \001("
-          + "\0132\032.google.protobuf.FieldMask\"n\n\030DeleteT"
+          + "g/v1beta1/timestamps.proto\032,google/cloud"
+          + "/datacatalog/v1beta1/usage.proto\032\036google"
+          + "/iam/v1/iam_policy.proto\032\032google/iam/v1/"
+          + "policy.proto\032\033google/protobuf/empty.prot"
+          + "o\032 google/protobuf/field_mask.proto\"\306\002\n\024"
+          + "SearchCatalogRequest\022Q\n\005scope\030\006 \001(\0132<.go"
+          + "ogle.cloud.datacatalog.v1beta1.SearchCat"
+          + "alogRequest.ScopeB\004\342A\001\002\022\023\n\005query\030\001 \001(\tB\004"
+          + "\342A\001\001\022\021\n\tpage_size\030\002 \001(\005\022\030\n\npage_token\030\003 "
+          + "\001(\tB\004\342A\001\001\022\020\n\010order_by\030\005 \001(\t\032\206\001\n\005Scope\022\027\n"
+          + "\017include_org_ids\030\002 \003(\t\022\033\n\023include_projec"
+          + "t_ids\030\003 \003(\t\022#\n\033include_gcp_public_datase"
+          + "ts\030\007 \001(\010\022\"\n\024restricted_locations\030\020 \003(\tB\004"
+          + "\342A\001\001\"\241\001\n\025SearchCatalogResponse\022F\n\007result"
+          + "s\030\001 \003(\01325.google.cloud.datacatalog.v1bet"
+          + "a1.SearchCatalogResult\022\022\n\ntotal_size\030\002 \001"
+          + "(\005\022\027\n\017next_page_token\030\003 \001(\t\022\023\n\013unreachab"
+          + "le\030\006 \003(\t\"\272\001\n\027CreateEntryGroupRequest\022>\n\006"
+          + "parent\030\001 \001(\tB.\342A\001\002\372A\'\022%datacatalog.googl"
+          + "eapis.com/EntryGroup\022\034\n\016entry_group_id\030\003"
+          + " \001(\tB\004\342A\001\002\022A\n\013entry_group\030\002 \001(\0132,.google"
+          + ".cloud.datacatalog.v1beta1.EntryGroup\"\223\001"
+          + "\n\027UpdateEntryGroupRequest\022G\n\013entry_group"
+          + "\030\001 \001(\0132,.google.cloud.datacatalog.v1beta"
+          + "1.EntryGroupB\004\342A\001\002\022/\n\013update_mask\030\002 \001(\0132"
+          + "\032.google.protobuf.FieldMask\"\203\001\n\024GetEntry"
+          + "GroupRequest\022<\n\004name\030\001 \001(\tB.\342A\001\002\372A\'\n%dat"
+          + "acatalog.googleapis.com/EntryGroup\022-\n\tre"
+          + "ad_mask\030\002 \001(\0132\032.google.protobuf.FieldMas"
+          + "k\"l\n\027DeleteEntryGroupRequest\022<\n\004name\030\001 \001"
+          + "(\tB.\342A\001\002\372A\'\n%datacatalog.googleapis.com/"
+          + "EntryGroup\022\023\n\005force\030\002 \001(\010B\004\342A\001\001\"\213\001\n\026List"
+          + "EntryGroupsRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002"
+          + "\372A\'\022%datacatalog.googleapis.com/EntryGro"
+          + "up\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_toke"
+          + "n\030\003 \001(\tB\004\342A\001\001\"v\n\027ListEntryGroupsResponse"
+          + "\022B\n\014entry_groups\030\001 \003(\0132,.google.cloud.da"
+          + "tacatalog.v1beta1.EntryGroup\022\027\n\017next_pag"
+          + "e_token\030\002 \001(\t\"\252\001\n\022CreateEntryRequest\022>\n\006"
+          + "parent\030\001 \001(\tB.\342A\001\002\372A\'\n%datacatalog.googl"
+          + "eapis.com/EntryGroup\022\026\n\010entry_id\030\003 \001(\tB\004"
+          + "\342A\001\002\022<\n\005entry\030\002 \001(\0132\'.google.cloud.datac"
+          + "atalog.v1beta1.EntryB\004\342A\001\002\"\203\001\n\022UpdateEnt"
+          + "ryRequest\022<\n\005entry\030\001 \001(\0132\'.google.cloud."
+          + "datacatalog.v1beta1.EntryB\004\342A\001\002\022/\n\013updat"
+          + "e_mask\030\002 \001(\0132\032.google.protobuf.FieldMask"
+          + "\"M\n\022DeleteEntryRequest\0227\n\004name\030\001 \001(\tB)\342A"
+          + "\001\002\372A\"\n datacatalog.googleapis.com/Entry\""
+          + "J\n\017GetEntryRequest\0227\n\004name\030\001 \001(\tB)\342A\001\002\372A"
+          + "\"\n datacatalog.googleapis.com/Entry\"V\n\022L"
+          + "ookupEntryRequest\022\031\n\017linked_resource\030\001 \001"
+          + "(\tH\000\022\026\n\014sql_resource\030\003 \001(\tH\000B\r\n\013target_n"
+          + "ame\"\340\007\n\005Entry\022<\n\004name\030\001 \001(\tB.\342A\001\003\372A\'\n%da"
+          + "tacatalog.googleapis.com/EntryGroup\022\027\n\017l"
+          + "inked_resource\030\t \001(\t\022;\n\004type\030\002 \001(\0162+.goo"
+          + "gle.cloud.datacatalog.v1beta1.EntryTypeH"
+          + "\000\022\035\n\023user_specified_type\030\020 \001(\tH\000\022U\n\021inte"
+          + "grated_system\030\021 \001(\01622.google.cloud.datac"
+          + "atalog.v1beta1.IntegratedSystemB\004\342A\001\003H\001\022"
+          + "\037\n\025user_specified_system\030\022 \001(\tH\001\022L\n\020gcs_"
+          + "fileset_spec\030\006 \001(\01320.google.cloud.dataca"
+          + "talog.v1beta1.GcsFilesetSpecH\002\022R\n\023bigque"
+          + "ry_table_spec\030\014 \001(\01323.google.cloud.datac"
+          + "atalog.v1beta1.BigQueryTableSpecH\002\022_\n\032bi"
+          + "gquery_date_sharded_spec\030\017 \001(\01329.google."
+          + "cloud.datacatalog.v1beta1.BigQueryDateSh"
+          + "ardedSpecH\002\022\024\n\014display_name\030\003 \001(\t\022\023\n\013des"
+          + "cription\030\004 \001(\t\0228\n\006schema\030\005 \001(\0132(.google."
+          + "cloud.datacatalog.v1beta1.Schema\022Z\n\030sour"
+          + "ce_system_timestamps\030\007 \001(\01322.google.clou"
+          + "d.datacatalog.v1beta1.SystemTimestampsB\004"
+          + "\342A\001\003\022I\n\014usage_signal\030\r \001(\0132-.google.clou"
+          + "d.datacatalog.v1beta1.UsageSignalB\004\342A\001\003:"
+          + "x\352Au\n datacatalog.googleapis.com/Entry\022Q"
+          + "projects/{project}/locations/{location}/"
+          + "entryGroups/{entry_group}/entries/{entry"
+          + "}B\014\n\nentry_typeB\010\n\006systemB\013\n\ttype_spec\"\217"
+          + "\002\n\nEntryGroup\022\014\n\004name\030\001 \001(\t\022\024\n\014display_n"
+          + "ame\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022Y\n\027data_c"
+          + "atalog_timestamps\030\004 \001(\01322.google.cloud.d"
+          + "atacatalog.v1beta1.SystemTimestampsB\004\342A\001"
+          + "\003:m\352Aj\n%datacatalog.googleapis.com/Entry"
+          + "Group\022Aprojects/{project}/locations/{loc"
+          + "ation}/entryGroups/{entry_group}\"\305\001\n\030Cre"
+          + "ateTagTemplateRequest\022?\n\006parent\030\001 \001(\tB/\342"
+          + "A\001\002\372A(\022&datacatalog.googleapis.com/TagTe"
+          + "mplate\022\035\n\017tag_template_id\030\003 \001(\tB\004\342A\001\002\022I\n"
+          + "\014tag_template\030\002 \001(\0132-.google.cloud.datac"
+          + "atalog.v1beta1.TagTemplateB\004\342A\001\002\"V\n\025GetT"
           + "agTemplateRequest\022=\n\004name\030\001 \001(\tB/\342A\001\002\372A("
           + "\n&datacatalog.googleapis.com/TagTemplate"
-          + "\022\023\n\005force\030\002 \001(\010B\004\342A\001\002\"\205\001\n\020CreateTagReque"
-          + "st\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036datacatalog"
-          + ".googleapis.com/Tag\0228\n\003tag\030\002 \001(\0132%.googl"
-          + "e.cloud.datacatalog.v1beta1.TagB\004\342A\001\002\"}\n"
-          + "\020UpdateTagRequest\0228\n\003tag\030\001 \001(\0132%.google."
-          + "cloud.datacatalog.v1beta1.TagB\004\342A\001\002\022/\n\013u"
-          + "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field"
-          + "Mask\"I\n\020DeleteTagRequest\0225\n\004name\030\001 \001(\tB\'"
-          + "\342A\001\002\372A \022\036datacatalog.googleapis.com/Tag\""
-          + "\333\001\n\035CreateTagTemplateFieldRequest\022?\n\006par"
-          + "ent\030\001 \001(\tB/\342A\001\002\372A(\n&datacatalog.googleap"
-          + "is.com/TagTemplate\022#\n\025tag_template_field"
-          + "_id\030\002 \001(\tB\004\342A\001\002\022T\n\022tag_template_field\030\003 "
-          + "\001(\01322.google.cloud.datacatalog.v1beta1.T"
-          + "agTemplateFieldB\004\342A\001\002\"\360\001\n\035UpdateTagTempl"
-          + "ateFieldRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+"
-          + "datacatalog.googleapis.com/TagTemplateFi"
-          + "eld\022T\n\022tag_template_field\030\002 \001(\01322.google"
-          + ".cloud.datacatalog.v1beta1.TagTemplateFi"
-          + "eldB\004\342A\001\002\0225\n\013update_mask\030\003 \001(\0132\032.google."
-          + "protobuf.FieldMaskB\004\342A\001\001\"\214\001\n\035RenameTagTe"
-          + "mplateFieldRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A"
-          + "-\n+datacatalog.googleapis.com/TagTemplat"
-          + "eField\022\'\n\031new_tag_template_field_id\030\002 \001("
-          + "\tB\004\342A\001\002\"x\n\035DeleteTagTemplateFieldRequest"
-          + "\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+datacatalog.goo"
-          + "gleapis.com/TagTemplateField\022\023\n\005force\030\002 "
-          + "\001(\010B\004\342A\001\002\"q\n\017ListTagsRequest\0227\n\006parent\030\001"
-          + " \001(\tB\'\342A\001\002\372A \022\036datacatalog.googleapis.co"
-          + "m/Tag\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003"
-          + " \001(\t\"`\n\020ListTagsResponse\0223\n\004tags\030\001 \003(\0132%"
-          + ".google.cloud.datacatalog.v1beta1.Tag\022\027\n"
-          + "\017next_page_token\030\002 \001(\t\"\252\001\n\022ListEntriesRe"
-          + "quest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n%datacata"
-          + "log.googleapis.com/EntryGroup\022\021\n\tpage_si"
-          + "ze\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022-\n\tread_mas"
-          + "k\030\004 \001(\0132\032.google.protobuf.FieldMask\"h\n\023L"
-          + "istEntriesResponse\0228\n\007entries\030\001 \003(\0132\'.go"
-          + "ogle.cloud.datacatalog.v1beta1.Entry\022\027\n\017"
-          + "next_page_token\030\002 \001(\t*[\n\tEntryType\022\032\n\026EN"
-          + "TRY_TYPE_UNSPECIFIED\020\000\022\t\n\005TABLE\020\002\022\t\n\005MOD"
-          + "EL\020\005\022\017\n\013DATA_STREAM\020\003\022\013\n\007FILESET\020\0042\2742\n\013D"
-          + "ataCatalog\022\262\001\n\rSearchCatalog\0226.google.cl"
-          + "oud.datacatalog.v1beta1.SearchCatalogReq"
-          + "uest\0327.google.cloud.datacatalog.v1beta1."
-          + "SearchCatalogResponse\"0\332A\013scope,query\202\323\344"
-          + "\223\002\034\"\027/v1beta1/catalog:search:\001*\022\352\001\n\020Crea"
-          + "teEntryGroup\0229.google.cloud.datacatalog."
-          + "v1beta1.CreateEntryGroupRequest\032,.google"
-          + ".cloud.datacatalog.v1beta1.EntryGroup\"m\332"
-          + "A!parent,entry_group_id,entry_group\202\323\344\223\002"
-          + "C\"4/v1beta1/{parent=projects/*/locations"
-          + "/*}/entryGroups:\013entry_group\022\372\001\n\020UpdateE"
-          + "ntryGroup\0229.google.cloud.datacatalog.v1b"
-          + "eta1.UpdateEntryGroupRequest\032,.google.cl"
-          + "oud.datacatalog.v1beta1.EntryGroup\"}\332A\013e"
-          + "ntry_group\332A\027entry_group,update_mask\202\323\344\223"
-          + "\002O2@/v1beta1/{entry_group.name=projects/"
-          + "*/locations/*/entryGroups/*}:\013entry_grou"
-          + "p\022\313\001\n\rGetEntryGroup\0226.google.cloud.datac"
-          + "atalog.v1beta1.GetEntryGroupRequest\032,.go"
+          + "\"\226\001\n\030UpdateTagTemplateRequest\022I\n\014tag_tem"
+          + "plate\030\001 \001(\0132-.google.cloud.datacatalog.v"
+          + "1beta1.TagTemplateB\004\342A\001\002\022/\n\013update_mask\030"
+          + "\002 \001(\0132\032.google.protobuf.FieldMask\"n\n\030Del"
+          + "eteTagTemplateRequest\022=\n\004name\030\001 \001(\tB/\342A\001"
+          + "\002\372A(\n&datacatalog.googleapis.com/TagTemp"
+          + "late\022\023\n\005force\030\002 \001(\010B\004\342A\001\002\"\205\001\n\020CreateTagR"
+          + "equest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036datacat"
+          + "alog.googleapis.com/Tag\0228\n\003tag\030\002 \001(\0132%.g"
+          + "oogle.cloud.datacatalog.v1beta1.TagB\004\342A\001"
+          + "\002\"}\n\020UpdateTagRequest\0228\n\003tag\030\001 \001(\0132%.goo"
+          + "gle.cloud.datacatalog.v1beta1.TagB\004\342A\001\002\022"
+          + "/\n\013update_mask\030\002 \001(\0132\032.google.protobuf.F"
+          + "ieldMask\"I\n\020DeleteTagRequest\0225\n\004name\030\001 \001"
+          + "(\tB\'\342A\001\002\372A \022\036datacatalog.googleapis.com/"
+          + "Tag\"\333\001\n\035CreateTagTemplateFieldRequest\022?\n"
+          + "\006parent\030\001 \001(\tB/\342A\001\002\372A(\n&datacatalog.goog"
+          + "leapis.com/TagTemplate\022#\n\025tag_template_f"
+          + "ield_id\030\002 \001(\tB\004\342A\001\002\022T\n\022tag_template_fiel"
+          + "d\030\003 \001(\01322.google.cloud.datacatalog.v1bet"
+          + "a1.TagTemplateFieldB\004\342A\001\002\"\360\001\n\035UpdateTagT"
+          + "emplateFieldRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372"
+          + "A-\n+datacatalog.googleapis.com/TagTempla"
+          + "teField\022T\n\022tag_template_field\030\002 \001(\01322.go"
+          + "ogle.cloud.datacatalog.v1beta1.TagTempla"
+          + "teFieldB\004\342A\001\002\0225\n\013update_mask\030\003 \001(\0132\032.goo"
+          + "gle.protobuf.FieldMaskB\004\342A\001\001\"\214\001\n\035RenameT"
+          + "agTemplateFieldRequest\022B\n\004name\030\001 \001(\tB4\342A"
+          + "\001\002\372A-\n+datacatalog.googleapis.com/TagTem"
+          + "plateField\022\'\n\031new_tag_template_field_id\030"
+          + "\002 \001(\tB\004\342A\001\002\"\240\001\n&RenameTagTemplateFieldEn"
+          + "umValueRequest\022K\n\004name\030\001 \001(\tB=\342A\001\002\372A6\n4d"
+          + "atacatalog.googleapis.com/TagTemplateFie"
+          + "ldEnumValue\022)\n\033new_enum_value_display_na"
+          + "me\030\002 \001(\tB\004\342A\001\002\"x\n\035DeleteTagTemplateField"
+          + "Request\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+datacata"
+          + "log.googleapis.com/TagTemplateField\022\023\n\005f"
+          + "orce\030\002 \001(\010B\004\342A\001\002\"q\n\017ListTagsRequest\0227\n\006p"
+          + "arent\030\001 \001(\tB\'\342A\001\002\372A \022\036datacatalog.google"
+          + "apis.com/Tag\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_"
+          + "token\030\003 \001(\t\"`\n\020ListTagsResponse\0223\n\004tags\030"
+          + "\001 \003(\0132%.google.cloud.datacatalog.v1beta1"
+          + ".Tag\022\027\n\017next_page_token\030\002 \001(\t\"\252\001\n\022ListEn"
+          + "triesRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n%d"
+          + "atacatalog.googleapis.com/EntryGroup\022\021\n\t"
+          + "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022-\n\tr"
+          + "ead_mask\030\004 \001(\0132\032.google.protobuf.FieldMa"
+          + "sk\"h\n\023ListEntriesResponse\0228\n\007entries\030\001 \003"
+          + "(\0132\'.google.cloud.datacatalog.v1beta1.En"
+          + "try\022\027\n\017next_page_token\030\002 \001(\t*[\n\tEntryTyp"
+          + "e\022\032\n\026ENTRY_TYPE_UNSPECIFIED\020\000\022\t\n\005TABLE\020\002"
+          + "\022\t\n\005MODEL\020\005\022\017\n\013DATA_STREAM\020\003\022\013\n\007FILESET\020"
+          + "\0042\3414\n\013DataCatalog\022\262\001\n\rSearchCatalog\0226.go"
+          + "ogle.cloud.datacatalog.v1beta1.SearchCat"
+          + "alogRequest\0327.google.cloud.datacatalog.v"
+          + "1beta1.SearchCatalogResponse\"0\332A\013scope,q"
+          + "uery\202\323\344\223\002\034\"\027/v1beta1/catalog:search:\001*\022\352"
+          + "\001\n\020CreateEntryGroup\0229.google.cloud.datac"
+          + "atalog.v1beta1.CreateEntryGroupRequest\032,"
+          + ".google.cloud.datacatalog.v1beta1.EntryG"
+          + "roup\"m\332A!parent,entry_group_id,entry_gro"
+          + "up\202\323\344\223\002C\"4/v1beta1/{parent=projects/*/lo"
+          + "cations/*}/entryGroups:\013entry_group\022\372\001\n\020"
+          + "UpdateEntryGroup\0229.google.cloud.datacata"
+          + "log.v1beta1.UpdateEntryGroupRequest\032,.go"
           + "ogle.cloud.datacatalog.v1beta1.EntryGrou"
-          + "p\"T\332A\004name\332A\016name,read_mask\202\323\344\223\0026\0224/v1be"
-          + "ta1/{name=projects/*/locations/*/entryGr"
-          + "oups/*}\022\252\001\n\020DeleteEntryGroup\0229.google.cl"
-          + "oud.datacatalog.v1beta1.DeleteEntryGroup"
-          + "Request\032\026.google.protobuf.Empty\"C\332A\004name"
-          + "\202\323\344\223\0026*4/v1beta1/{name=projects/*/locati"
-          + "ons/*/entryGroups/*}\022\315\001\n\017ListEntryGroups"
-          + "\0228.google.cloud.datacatalog.v1beta1.List"
-          + "EntryGroupsRequest\0329.google.cloud.dataca"
-          + "talog.v1beta1.ListEntryGroupsResponse\"E\332"
-          + "A\006parent\202\323\344\223\0026\0224/v1beta1/{parent=project"
-          + "s/*/locations/*}/entryGroups\022\323\001\n\013CreateE"
-          + "ntry\0224.google.cloud.datacatalog.v1beta1."
-          + "CreateEntryRequest\032\'.google.cloud.dataca"
-          + "talog.v1beta1.Entry\"e\332A\025parent,entry_id,"
-          + "entry\202\323\344\223\002G\">/v1beta1/{parent=projects/*"
-          + "/locations/*/entryGroups/*}/entries:\005ent"
-          + "ry\022\335\001\n\013UpdateEntry\0224.google.cloud.dataca"
-          + "talog.v1beta1.UpdateEntryRequest\032\'.googl"
-          + "e.cloud.datacatalog.v1beta1.Entry\"o\332A\005en"
-          + "try\332A\021entry,update_mask\202\323\344\223\002M2D/v1beta1/"
-          + "{entry.name=projects/*/locations/*/entry"
-          + "Groups/*/entries/*}:\005entry\022\252\001\n\013DeleteEnt"
-          + "ry\0224.google.cloud.datacatalog.v1beta1.De"
-          + "leteEntryRequest\032\026.google.protobuf.Empty"
-          + "\"M\332A\004name\202\323\344\223\002@*>/v1beta1/{name=projects"
-          + "/*/locations/*/entryGroups/*/entries/*}\022"
-          + "\265\001\n\010GetEntry\0221.google.cloud.datacatalog."
-          + "v1beta1.GetEntryRequest\032\'.google.cloud.d"
-          + "atacatalog.v1beta1.Entry\"M\332A\004name\202\323\344\223\002@\022"
-          + ">/v1beta1/{name=projects/*/locations/*/e"
-          + "ntryGroups/*/entries/*}\022\215\001\n\013LookupEntry\022"
-          + "4.google.cloud.datacatalog.v1beta1.Looku"
-          + "pEntryRequest\032\'.google.cloud.datacatalog"
-          + ".v1beta1.Entry\"\037\202\323\344\223\002\031\022\027/v1beta1/entries"
-          + ":lookup\022\313\001\n\013ListEntries\0224.google.cloud.d"
-          + "atacatalog.v1beta1.ListEntriesRequest\0325."
-          + "google.cloud.datacatalog.v1beta1.ListEnt"
-          + "riesResponse\"O\332A\006parent\202\323\344\223\002@\022>/v1beta1/"
-          + "{parent=projects/*/locations/*/entryGrou"
-          + "ps/*}/entries\022\361\001\n\021CreateTagTemplate\022:.go"
-          + "ogle.cloud.datacatalog.v1beta1.CreateTag"
-          + "TemplateRequest\032-.google.cloud.datacatal"
-          + "og.v1beta1.TagTemplate\"q\332A#parent,tag_te"
-          + "mplate_id,tag_template\202\323\344\223\002E\"5/v1beta1/{"
-          + "parent=projects/*/locations/*}/tagTempla"
-          + "tes:\014tag_template\022\276\001\n\016GetTagTemplate\0227.g"
-          + "oogle.cloud.datacatalog.v1beta1.GetTagTe"
-          + "mplateRequest\032-.google.cloud.datacatalog"
-          + ".v1beta1.TagTemplate\"D\332A\004name\202\323\344\223\0027\0225/v1"
-          + "beta1/{name=projects/*/locations/*/tagTe"
-          + "mplates/*}\022\203\002\n\021UpdateTagTemplate\022:.googl"
-          + "e.cloud.datacatalog.v1beta1.UpdateTagTem"
-          + "plateRequest\032-.google.cloud.datacatalog."
-          + "v1beta1.TagTemplate\"\202\001\332A\014tag_template\332A\030"
-          + "tag_template,update_mask\202\323\344\223\002R2B/v1beta1"
-          + "/{tag_template.name=projects/*/locations"
-          + "/*/tagTemplates/*}:\014tag_template\022\263\001\n\021Del"
-          + "eteTagTemplate\022:.google.cloud.datacatalo"
-          + "g.v1beta1.DeleteTagTemplateRequest\032\026.goo"
-          + "gle.protobuf.Empty\"J\332A\nname,force\202\323\344\223\0027*"
-          + "5/v1beta1/{name=projects/*/locations/*/t"
-          + "agTemplates/*}\022\234\002\n\026CreateTagTemplateFiel"
-          + "d\022?.google.cloud.datacatalog.v1beta1.Cre"
-          + "ateTagTemplateFieldRequest\0322.google.clou"
-          + "d.datacatalog.v1beta1.TagTemplateField\"\214"
-          + "\001\332A/parent,tag_template_field_id,tag_tem"
-          + "plate_field\202\323\344\223\002T\">/v1beta1/{parent=proj"
-          + "ects/*/locations/*/tagTemplates/*}/field"
-          + "s:\022tag_template_field\022\252\002\n\026UpdateTagTempl"
+          + "p\"}\332A\013entry_group\332A\027entry_group,update_m"
+          + "ask\202\323\344\223\002O2@/v1beta1/{entry_group.name=pr"
+          + "ojects/*/locations/*/entryGroups/*}:\013ent"
+          + "ry_group\022\313\001\n\rGetEntryGroup\0226.google.clou"
+          + "d.datacatalog.v1beta1.GetEntryGroupReque"
+          + "st\032,.google.cloud.datacatalog.v1beta1.En"
+          + "tryGroup\"T\332A\004name\332A\016name,read_mask\202\323\344\223\0026"
+          + "\0224/v1beta1/{name=projects/*/locations/*/"
+          + "entryGroups/*}\022\252\001\n\020DeleteEntryGroup\0229.go"
+          + "ogle.cloud.datacatalog.v1beta1.DeleteEnt"
+          + "ryGroupRequest\032\026.google.protobuf.Empty\"C"
+          + "\332A\004name\202\323\344\223\0026*4/v1beta1/{name=projects/*"
+          + "/locations/*/entryGroups/*}\022\315\001\n\017ListEntr"
+          + "yGroups\0228.google.cloud.datacatalog.v1bet"
+          + "a1.ListEntryGroupsRequest\0329.google.cloud"
+          + ".datacatalog.v1beta1.ListEntryGroupsResp"
+          + "onse\"E\332A\006parent\202\323\344\223\0026\0224/v1beta1/{parent="
+          + "projects/*/locations/*}/entryGroups\022\323\001\n\013"
+          + "CreateEntry\0224.google.cloud.datacatalog.v"
+          + "1beta1.CreateEntryRequest\032\'.google.cloud"
+          + ".datacatalog.v1beta1.Entry\"e\332A\025parent,en"
+          + "try_id,entry\202\323\344\223\002G\">/v1beta1/{parent=pro"
+          + "jects/*/locations/*/entryGroups/*}/entri"
+          + "es:\005entry\022\335\001\n\013UpdateEntry\0224.google.cloud"
+          + ".datacatalog.v1beta1.UpdateEntryRequest\032"
+          + "\'.google.cloud.datacatalog.v1beta1.Entry"
+          + "\"o\332A\005entry\332A\021entry,update_mask\202\323\344\223\002M2D/v"
+          + "1beta1/{entry.name=projects/*/locations/"
+          + "*/entryGroups/*/entries/*}:\005entry\022\252\001\n\013De"
+          + "leteEntry\0224.google.cloud.datacatalog.v1b"
+          + "eta1.DeleteEntryRequest\032\026.google.protobu"
+          + "f.Empty\"M\332A\004name\202\323\344\223\002@*>/v1beta1/{name=p"
+          + "rojects/*/locations/*/entryGroups/*/entr"
+          + "ies/*}\022\265\001\n\010GetEntry\0221.google.cloud.datac"
+          + "atalog.v1beta1.GetEntryRequest\032\'.google."
+          + "cloud.datacatalog.v1beta1.Entry\"M\332A\004name"
+          + "\202\323\344\223\002@\022>/v1beta1/{name=projects/*/locati"
+          + "ons/*/entryGroups/*/entries/*}\022\215\001\n\013Looku"
+          + "pEntry\0224.google.cloud.datacatalog.v1beta"
+          + "1.LookupEntryRequest\032\'.google.cloud.data"
+          + "catalog.v1beta1.Entry\"\037\202\323\344\223\002\031\022\027/v1beta1/"
+          + "entries:lookup\022\313\001\n\013ListEntries\0224.google."
+          + "cloud.datacatalog.v1beta1.ListEntriesReq"
+          + "uest\0325.google.cloud.datacatalog.v1beta1."
+          + "ListEntriesResponse\"O\332A\006parent\202\323\344\223\002@\022>/v"
+          + "1beta1/{parent=projects/*/locations/*/en"
+          + "tryGroups/*}/entries\022\361\001\n\021CreateTagTempla"
+          + "te\022:.google.cloud.datacatalog.v1beta1.Cr"
+          + "eateTagTemplateRequest\032-.google.cloud.da"
+          + "tacatalog.v1beta1.TagTemplate\"q\332A#parent"
+          + ",tag_template_id,tag_template\202\323\344\223\002E\"5/v1"
+          + "beta1/{parent=projects/*/locations/*}/ta"
+          + "gTemplates:\014tag_template\022\276\001\n\016GetTagTempl"
+          + "ate\0227.google.cloud.datacatalog.v1beta1.G"
+          + "etTagTemplateRequest\032-.google.cloud.data"
+          + "catalog.v1beta1.TagTemplate\"D\332A\004name\202\323\344\223"
+          + "\0027\0225/v1beta1/{name=projects/*/locations/"
+          + "*/tagTemplates/*}\022\203\002\n\021UpdateTagTemplate\022"
+          + ":.google.cloud.datacatalog.v1beta1.Updat"
+          + "eTagTemplateRequest\032-.google.cloud.datac"
+          + "atalog.v1beta1.TagTemplate\"\202\001\332A\014tag_temp"
+          + "late\332A\030tag_template,update_mask\202\323\344\223\002R2B/"
+          + "v1beta1/{tag_template.name=projects/*/lo"
+          + "cations/*/tagTemplates/*}:\014tag_template\022"
+          + "\263\001\n\021DeleteTagTemplate\022:.google.cloud.dat"
+          + "acatalog.v1beta1.DeleteTagTemplateReques"
+          + "t\032\026.google.protobuf.Empty\"J\332A\nname,force"
+          + "\202\323\344\223\0027*5/v1beta1/{name=projects/*/locati"
+          + "ons/*/tagTemplates/*}\022\234\002\n\026CreateTagTempl"
           + "ateField\022?.google.cloud.datacatalog.v1be"
-          + "ta1.UpdateTagTemplateFieldRequest\0322.goog"
+          + "ta1.CreateTagTemplateFieldRequest\0322.goog"
           + "le.cloud.datacatalog.v1beta1.TagTemplate"
-          + "Field\"\232\001\332A\027name,tag_template_field\332A#nam"
-          + "e,tag_template_field,update_mask\202\323\344\223\002T2>"
-          + "/v1beta1/{name=projects/*/locations/*/ta"
-          + "gTemplates/*/fields/*}:\022tag_template_fie"
-          + "ld\022\200\002\n\026RenameTagTemplateField\022?.google.c"
-          + "loud.datacatalog.v1beta1.RenameTagTempla"
-          + "teFieldRequest\0322.google.cloud.datacatalo"
-          + "g.v1beta1.TagTemplateField\"q\332A\036name,new_"
-          + "tag_template_field_id\202\323\344\223\002J\"E/v1beta1/{n"
-          + "ame=projects/*/locations/*/tagTemplates/"
-          + "*/fields/*}:rename:\001*\022\306\001\n\026DeleteTagTempl"
-          + "ateField\022?.google.cloud.datacatalog.v1be"
-          + "ta1.DeleteTagTemplateFieldRequest\032\026.goog"
-          + "le.protobuf.Empty\"S\332A\nname,force\202\323\344\223\002@*>"
-          + "/v1beta1/{name=projects/*/locations/*/ta"
-          + "gTemplates/*/fields/*}\022\215\002\n\tCreateTag\0222.g"
-          + "oogle.cloud.datacatalog.v1beta1.CreateTa"
-          + "gRequest\032%.google.cloud.datacatalog.v1be"
-          + "ta1.Tag\"\244\001\332A\nparent,tag\202\323\344\223\002\220\001\"E/v1beta1"
-          + "/{parent=projects/*/locations/*/entryGro"
-          + "ups/*/entries/*}/tags:\003tagZB\";/v1beta1/{"
-          + "parent=projects/*/locations/*/entryGroup"
-          + "s/*}/tags:\003tag\022\240\002\n\tUpdateTag\0222.google.cl"
-          + "oud.datacatalog.v1beta1.UpdateTagRequest"
-          + "\032%.google.cloud.datacatalog.v1beta1.Tag\""
-          + "\267\001\332A\003tag\332A\017tag,update_mask\202\323\344\223\002\230\0012I/v1be"
-          + "ta1/{tag.name=projects/*/locations/*/ent"
-          + "ryGroups/*/entries/*/tags/*}:\003tagZF2?/v1"
-          + "beta1/{tag.name=projects/*/locations/*/e"
-          + "ntryGroups/*/tags/*}:\003tag\022\356\001\n\tDeleteTag\022"
-          + "2.google.cloud.datacatalog.v1beta1.Delet"
-          + "eTagRequest\032\026.google.protobuf.Empty\"\224\001\332A"
-          + "\004name\202\323\344\223\002\206\001*E/v1beta1/{name=projects/*/"
-          + "locations/*/entryGroups/*/entries/*/tags"
-          + "/*}Z=*;/v1beta1/{name=projects/*/locatio"
-          + "ns/*/entryGroups/*/tags/*}\022\212\002\n\010ListTags\022"
-          + "1.google.cloud.datacatalog.v1beta1.ListT"
-          + "agsRequest\0322.google.cloud.datacatalog.v1"
-          + "beta1.ListTagsResponse\"\226\001\332A\006parent\202\323\344\223\002\206"
-          + "\001\022E/v1beta1/{parent=projects/*/locations"
-          + "/*/entryGroups/*/entries/*}/tagsZ=\022;/v1b"
-          + "eta1/{parent=projects/*/locations/*/entr"
-          + "yGroups/*}/tags\022\374\001\n\014SetIamPolicy\022\".googl"
-          + "e.iam.v1.SetIamPolicyRequest\032\025.google.ia"
-          + "m.v1.Policy\"\260\001\332A\017resource,policy\202\323\344\223\002\227\001\""
-          + "F/v1beta1/{resource=projects/*/locations"
-          + "/*/tagTemplates/*}:setIamPolicy:\001*ZJ\"E/v"
-          + "1beta1/{resource=projects/*/locations/*/"
-          + "entryGroups/*}:setIamPolicy:\001*\022\313\002\n\014GetIa"
-          + "mPolicy\022\".google.iam.v1.GetIamPolicyRequ"
-          + "est\032\025.google.iam.v1.Policy\"\377\001\332A\010resource"
-          + "\202\323\344\223\002\355\001\"F/v1beta1/{resource=projects/*/l"
-          + "ocations/*/tagTemplates/*}:getIamPolicy:"
-          + "\001*ZJ\"E/v1beta1/{resource=projects/*/loca"
-          + "tions/*/entryGroups/*}:getIamPolicy:\001*ZT"
-          + "\"O/v1beta1/{resource=projects/*/location"
-          + "s/*/entryGroups/*/entries/*}:getIamPolic"
-          + "y:\001*\022\362\002\n\022TestIamPermissions\022(.google.iam"
-          + ".v1.TestIamPermissionsRequest\032).google.i"
-          + "am.v1.TestIamPermissionsResponse\"\206\002\202\323\344\223\002"
-          + "\377\001\"L/v1beta1/{resource=projects/*/locati"
-          + "ons/*/tagTemplates/*}:testIamPermissions"
-          + ":\001*ZP\"K/v1beta1/{resource=projects/*/loc"
-          + "ations/*/entryGroups/*}:testIamPermissio"
-          + "ns:\001*ZZ\"U/v1beta1/{resource=projects/*/l"
-          + "ocations/*/entryGroups/*/entries/*}:test"
-          + "IamPermissions:\001*\032N\312A\032datacatalog.google"
-          + "apis.com\322A.https://www.googleapis.com/au"
-          + "th/cloud-platformB\337\001\n$com.google.cloud.d"
-          + "atacatalog.v1beta1P\001ZFcloud.google.com/g"
-          + "o/datacatalog/apiv1beta1/datacatalogpb;d"
-          + "atacatalogpb\370\001\001\252\002 Google.Cloud.DataCatal"
-          + "og.V1Beta1\312\002 Google\\Cloud\\DataCatalog\\V1"
-          + "beta1\352\002#Google::Cloud::DataCatalog::V1be"
-          + "ta1b\006proto3"
+          + "Field\"\214\001\332A/parent,tag_template_field_id,"
+          + "tag_template_field\202\323\344\223\002T\">/v1beta1/{pare"
+          + "nt=projects/*/locations/*/tagTemplates/*"
+          + "}/fields:\022tag_template_field\022\252\002\n\026UpdateT"
+          + "agTemplateField\022?.google.cloud.datacatal"
+          + "og.v1beta1.UpdateTagTemplateFieldRequest"
+          + "\0322.google.cloud.datacatalog.v1beta1.TagT"
+          + "emplateField\"\232\001\332A\027name,tag_template_fiel"
+          + "d\332A#name,tag_template_field,update_mask\202"
+          + "\323\344\223\002T2>/v1beta1/{name=projects/*/locatio"
+          + "ns/*/tagTemplates/*/fields/*}:\022tag_templ"
+          + "ate_field\022\200\002\n\026RenameTagTemplateField\022?.g"
+          + "oogle.cloud.datacatalog.v1beta1.RenameTa"
+          + "gTemplateFieldRequest\0322.google.cloud.dat"
+          + "acatalog.v1beta1.TagTemplateField\"q\332A\036na"
+          + "me,new_tag_template_field_id\202\323\344\223\002J\"E/v1b"
+          + "eta1/{name=projects/*/locations/*/tagTem"
+          + "plates/*/fields/*}:rename:\001*\022\242\002\n\037RenameT"
+          + "agTemplateFieldEnumValue\022H.google.cloud."
+          + "datacatalog.v1beta1.RenameTagTemplateFie"
+          + "ldEnumValueRequest\0322.google.cloud.dataca"
+          + "talog.v1beta1.TagTemplateField\"\200\001\332A name"
+          + ",new_enum_value_display_name\202\323\344\223\002W\"R/v1b"
+          + "eta1/{name=projects/*/locations/*/tagTem"
+          + "plates/*/fields/*/enumValues/*}:rename:\001"
+          + "*\022\306\001\n\026DeleteTagTemplateField\022?.google.cl"
+          + "oud.datacatalog.v1beta1.DeleteTagTemplat"
+          + "eFieldRequest\032\026.google.protobuf.Empty\"S\332"
+          + "A\nname,force\202\323\344\223\002@*>/v1beta1/{name=proje"
+          + "cts/*/locations/*/tagTemplates/*/fields/"
+          + "*}\022\215\002\n\tCreateTag\0222.google.cloud.datacata"
+          + "log.v1beta1.CreateTagRequest\032%.google.cl"
+          + "oud.datacatalog.v1beta1.Tag\"\244\001\332A\nparent,"
+          + "tag\202\323\344\223\002\220\001\"E/v1beta1/{parent=projects/*/"
+          + "locations/*/entryGroups/*/entries/*}/tag"
+          + "s:\003tagZB\";/v1beta1/{parent=projects/*/lo"
+          + "cations/*/entryGroups/*}/tags:\003tag\022\240\002\n\tU"
+          + "pdateTag\0222.google.cloud.datacatalog.v1be"
+          + "ta1.UpdateTagRequest\032%.google.cloud.data"
+          + "catalog.v1beta1.Tag\"\267\001\332A\003tag\332A\017tag,updat"
+          + "e_mask\202\323\344\223\002\230\0012I/v1beta1/{tag.name=projec"
+          + "ts/*/locations/*/entryGroups/*/entries/*"
+          + "/tags/*}:\003tagZF2?/v1beta1/{tag.name=proj"
+          + "ects/*/locations/*/entryGroups/*/tags/*}"
+          + ":\003tag\022\356\001\n\tDeleteTag\0222.google.cloud.datac"
+          + "atalog.v1beta1.DeleteTagRequest\032\026.google"
+          + ".protobuf.Empty\"\224\001\332A\004name\202\323\344\223\002\206\001*E/v1bet"
+          + "a1/{name=projects/*/locations/*/entryGro"
+          + "ups/*/entries/*/tags/*}Z=*;/v1beta1/{nam"
+          + "e=projects/*/locations/*/entryGroups/*/t"
+          + "ags/*}\022\212\002\n\010ListTags\0221.google.cloud.datac"
+          + "atalog.v1beta1.ListTagsRequest\0322.google."
+          + "cloud.datacatalog.v1beta1.ListTagsRespon"
+          + "se\"\226\001\332A\006parent\202\323\344\223\002\206\001\022E/v1beta1/{parent="
+          + "projects/*/locations/*/entryGroups/*/ent"
+          + "ries/*}/tagsZ=\022;/v1beta1/{parent=project"
+          + "s/*/locations/*/entryGroups/*}/tags\022\374\001\n\014"
+          + "SetIamPolicy\022\".google.iam.v1.SetIamPolic"
+          + "yRequest\032\025.google.iam.v1.Policy\"\260\001\332A\017res"
+          + "ource,policy\202\323\344\223\002\227\001\"F/v1beta1/{resource="
+          + "projects/*/locations/*/tagTemplates/*}:s"
+          + "etIamPolicy:\001*ZJ\"E/v1beta1/{resource=pro"
+          + "jects/*/locations/*/entryGroups/*}:setIa"
+          + "mPolicy:\001*\022\313\002\n\014GetIamPolicy\022\".google.iam"
+          + ".v1.GetIamPolicyRequest\032\025.google.iam.v1."
+          + "Policy\"\377\001\332A\010resource\202\323\344\223\002\355\001\"F/v1beta1/{r"
+          + "esource=projects/*/locations/*/tagTempla"
+          + "tes/*}:getIamPolicy:\001*ZJ\"E/v1beta1/{reso"
+          + "urce=projects/*/locations/*/entryGroups/"
+          + "*}:getIamPolicy:\001*ZT\"O/v1beta1/{resource"
+          + "=projects/*/locations/*/entryGroups/*/en"
+          + "tries/*}:getIamPolicy:\001*\022\362\002\n\022TestIamPerm"
+          + "issions\022(.google.iam.v1.TestIamPermissio"
+          + "nsRequest\032).google.iam.v1.TestIamPermiss"
+          + "ionsResponse\"\206\002\202\323\344\223\002\377\001\"L/v1beta1/{resour"
+          + "ce=projects/*/locations/*/tagTemplates/*"
+          + "}:testIamPermissions:\001*ZP\"K/v1beta1/{res"
+          + "ource=projects/*/locations/*/entryGroups"
+          + "/*}:testIamPermissions:\001*ZZ\"U/v1beta1/{r"
+          + "esource=projects/*/locations/*/entryGrou"
+          + "ps/*/entries/*}:testIamPermissions:\001*\032N\312"
+          + "A\032datacatalog.googleapis.com\322A.https://w"
+          + "ww.googleapis.com/auth/cloud-platformB\243\003"
+          + "\n$com.google.cloud.datacatalog.v1beta1P\001"
+          + "ZFcloud.google.com/go/datacatalog/apiv1b"
+          + "eta1/datacatalogpb;datacatalogpb\370\001\001\252\002 Go"
+          + "ogle.Cloud.DataCatalog.V1Beta1\312\002 Google\\"
+          + "Cloud\\DataCatalog\\V1beta1\352\002#Google::Clou"
+          + "d::DataCatalog::V1beta1\352A\300\001\n4datacatalog"
+          + ".googleapis.com/TagTemplateFieldEnumValu"
+          + "e\022\207\001projects/{project}/locations/{locati"
+          + "on}/tagTemplates/{tag_template}/fields/{"
+          + "tag_template_field_id}/enumValues/{enum_"
+          + "value_display_name}b\006proto3"
     };
     descriptor =
         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -491,6 +516,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.getDescriptor(),
               com.google.cloud.datacatalog.v1beta1.Tags.getDescriptor(),
               com.google.cloud.datacatalog.v1beta1.Timestamps.getDescriptor(),
+              com.google.cloud.datacatalog.v1beta1.Usage.getDescriptor(),
               com.google.iam.v1.IamPolicyProto.getDescriptor(),
               com.google.iam.v1.PolicyProto.getDescriptor(),
               com.google.protobuf.EmptyProto.getDescriptor(),
@@ -512,7 +538,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogRequest_Scope_descriptor,
             new java.lang.String[] {
-              "IncludeOrgIds", "IncludeProjectIds", "IncludeGcpPublicDatasets",
+              "IncludeOrgIds",
+              "IncludeProjectIds",
+              "IncludeGcpPublicDatasets",
+              "RestrictedLocations",
             });
     internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_descriptor =
         getDescriptor().getMessageTypes().get(1);
@@ -520,7 +549,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResponse_descriptor,
             new java.lang.String[] {
-              "Results", "NextPageToken",
+              "Results", "TotalSize", "NextPageToken", "Unreachable",
             });
     internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_descriptor =
         getDescriptor().getMessageTypes().get(2);
@@ -629,6 +658,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               "Description",
               "Schema",
               "SourceSystemTimestamps",
+              "UsageSignal",
               "EntryType",
               "System",
               "TypeSpec",
@@ -721,8 +751,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
             new java.lang.String[] {
               "Name", "NewTagTemplateFieldId",
             });
-    internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_descriptor =
+    internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_descriptor =
         getDescriptor().getMessageTypes().get(25);
+    internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "NewEnumValueDisplayName",
+            });
+    internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_descriptor =
+        getDescriptor().getMessageTypes().get(26);
     internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_descriptor,
@@ -730,7 +768,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               "Name", "Force",
             });
     internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_descriptor =
-        getDescriptor().getMessageTypes().get(26);
+        getDescriptor().getMessageTypes().get(27);
     internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_descriptor,
@@ -738,7 +776,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               "Parent", "PageSize", "PageToken",
             });
     internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_descriptor =
-        getDescriptor().getMessageTypes().get(27);
+        getDescriptor().getMessageTypes().get(28);
     internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_descriptor,
@@ -746,7 +784,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               "Tags", "NextPageToken",
             });
     internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_descriptor =
-        getDescriptor().getMessageTypes().get(28);
+        getDescriptor().getMessageTypes().get(29);
     internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_descriptor,
@@ -754,7 +792,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
               "Parent", "PageSize", "PageToken", "ReadMask",
             });
     internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_descriptor =
-        getDescriptor().getMessageTypes().get(29);
+        getDescriptor().getMessageTypes().get(30);
     internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_fieldAccessorTable =
         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_descriptor,
@@ -769,6 +807,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
     registry.add(com.google.api.ClientProto.methodSignature);
     registry.add(com.google.api.ClientProto.oauthScopes);
     registry.add(com.google.api.ResourceProto.resource);
+    registry.add(com.google.api.ResourceProto.resourceDefinition);
     registry.add(com.google.api.ResourceProto.resourceReference);
     com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
         descriptor, registry);
@@ -783,6 +822,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
     com.google.cloud.datacatalog.v1beta1.TableSpecOuterClass.getDescriptor();
     com.google.cloud.datacatalog.v1beta1.Tags.getDescriptor();
     com.google.cloud.datacatalog.v1beta1.Timestamps.getDescriptor();
+    com.google.cloud.datacatalog.v1beta1.Usage.getDescriptor();
     com.google.iam.v1.IamPolicyProto.getDescriptor();
     com.google.iam.v1.PolicyProto.getDescriptor();
     com.google.protobuf.EmptyProto.getDescriptor();
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequest.java
index b923bc0b6ccf..1a4ecb61b441 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequest.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequestOrBuilder.java
index d82381cd933a..69f3d759b503 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequestOrBuilder.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequestOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequest.java
index d75afad8e627..0780d20143bb 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequest.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequestOrBuilder.java
index daa3c4b1a66d..283a4042336e 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequestOrBuilder.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryRequestOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequest.java
index 6639888923b7..1d77e5a6353c 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequest.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -71,8 +71,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    *
    * 
-   * Required. Resource name of the policy tag to be deleted. All of its descendant
-   * policy tags will also be deleted.
+   * Required. Resource name of the policy tag to be deleted. All of its
+   * descendant policy tags will also be deleted.
    * 
* * @@ -97,8 +97,8 @@ public java.lang.String getName() { * * *
-   * Required. Resource name of the policy tag to be deleted. All of its descendant
-   * policy tags will also be deleted.
+   * Required. Resource name of the policy tag to be deleted. All of its
+   * descendant policy tags will also be deleted.
    * 
* * @@ -469,8 +469,8 @@ public Builder mergeFrom( * * *
-     * Required. Resource name of the policy tag to be deleted. All of its descendant
-     * policy tags will also be deleted.
+     * Required. Resource name of the policy tag to be deleted. All of its
+     * descendant policy tags will also be deleted.
      * 
* * @@ -494,8 +494,8 @@ public java.lang.String getName() { * * *
-     * Required. Resource name of the policy tag to be deleted. All of its descendant
-     * policy tags will also be deleted.
+     * Required. Resource name of the policy tag to be deleted. All of its
+     * descendant policy tags will also be deleted.
      * 
* * @@ -519,8 +519,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. Resource name of the policy tag to be deleted. All of its descendant
-     * policy tags will also be deleted.
+     * Required. Resource name of the policy tag to be deleted. All of its
+     * descendant policy tags will also be deleted.
      * 
* * @@ -543,8 +543,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. Resource name of the policy tag to be deleted. All of its descendant
-     * policy tags will also be deleted.
+     * Required. Resource name of the policy tag to be deleted. All of its
+     * descendant policy tags will also be deleted.
      * 
* * @@ -563,8 +563,8 @@ public Builder clearName() { * * *
-     * Required. Resource name of the policy tag to be deleted. All of its descendant
-     * policy tags will also be deleted.
+     * Required. Resource name of the policy tag to be deleted. All of its
+     * descendant policy tags will also be deleted.
      * 
* * diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequestOrBuilder.java index 0590d3711502..4d159415e702 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeletePolicyTagRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,8 +27,8 @@ public interface DeletePolicyTagRequestOrBuilder * * *
-   * Required. Resource name of the policy tag to be deleted. All of its descendant
-   * policy tags will also be deleted.
+   * Required. Resource name of the policy tag to be deleted. All of its
+   * descendant policy tags will also be deleted.
    * 
* * @@ -42,8 +42,8 @@ public interface DeletePolicyTagRequestOrBuilder * * *
-   * Required. Resource name of the policy tag to be deleted. All of its descendant
-   * policy tags will also be deleted.
+   * Required. Resource name of the policy tag to be deleted. All of its
+   * descendant policy tags will also be deleted.
    * 
* * diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequest.java index a60daba8ad95..e51d2da20d2d 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequestOrBuilder.java index b06f730cbbd3..e4731e657346 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequest.java index e58f8fef5906..dbddf18c8459 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequestOrBuilder.java index 13dd0b232b3d..e0b7518596d8 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateFieldRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequest.java index de86735c7c34..35acc364df54 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequestOrBuilder.java index edcdb8721d36..a423d41ca8ee 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTagTemplateRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequest.java index 0594d2fa5d21..d78014a70aa3 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequestOrBuilder.java index 17bbf3fd94f9..0b0fc4767c8a 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteTaxonomyRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Entry.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Entry.java index 6f37b291d97f..1132272bcc11 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Entry.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Entry.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -232,7 +232,8 @@ public TypeSpecCase getTypeSpecCase() { * * *
-   * The Data Catalog resource name of the entry in URL format. Example:
+   * Output only. The Data Catalog resource name of the entry in URL format.
+   * Example:
    *
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
    *
@@ -240,7 +241,9 @@ public TypeSpecCase getTypeSpecCase() {
    * the location in this name.
    * 
* - * string name = 1 [(.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -260,7 +263,8 @@ public java.lang.String getName() { * * *
-   * The Data Catalog resource name of the entry in URL format. Example:
+   * Output only. The Data Catalog resource name of the entry in URL format.
+   * Example:
    *
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
    *
@@ -268,7 +272,9 @@ public java.lang.String getName() {
    * the location in this name.
    * 
* - * string name = 1 [(.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -515,8 +521,8 @@ public com.google.protobuf.ByteString getUserSpecifiedTypeBytes() { * * *
-   * Output only. This field indicates the entry's source system that Data Catalog
-   * integrates with, such as BigQuery or Pub/Sub.
+   * Output only. This field indicates the entry's source system that Data
+   * Catalog integrates with, such as BigQuery or Pub/Sub.
    * 
* * @@ -532,8 +538,8 @@ public boolean hasIntegratedSystem() { * * *
-   * Output only. This field indicates the entry's source system that Data Catalog
-   * integrates with, such as BigQuery or Pub/Sub.
+   * Output only. This field indicates the entry's source system that Data
+   * Catalog integrates with, such as BigQuery or Pub/Sub.
    * 
* * @@ -552,8 +558,8 @@ public int getIntegratedSystemValue() { * * *
-   * Output only. This field indicates the entry's source system that Data Catalog
-   * integrates with, such as BigQuery or Pub/Sub.
+   * Output only. This field indicates the entry's source system that Data
+   * Catalog integrates with, such as BigQuery or Pub/Sub.
    * 
* * @@ -993,10 +999,10 @@ public com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder getSchemaOrBuilder() * * *
-   * Output only. Timestamps about the underlying resource, not about this Data Catalog
-   * entry. Output only when Entry is of type in the EntryType enum. For entries
-   * with user_specified_type, this field is optional and defaults to an empty
-   * timestamp.
+   * Output only. Timestamps about the underlying resource, not about this Data
+   * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+   * entries with user_specified_type, this field is optional and defaults to an
+   * empty timestamp.
    * 
* * @@ -1013,10 +1019,10 @@ public boolean hasSourceSystemTimestamps() { * * *
-   * Output only. Timestamps about the underlying resource, not about this Data Catalog
-   * entry. Output only when Entry is of type in the EntryType enum. For entries
-   * with user_specified_type, this field is optional and defaults to an empty
-   * timestamp.
+   * Output only. Timestamps about the underlying resource, not about this Data
+   * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+   * entries with user_specified_type, this field is optional and defaults to an
+   * empty timestamp.
    * 
* * @@ -1035,10 +1041,10 @@ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getSourceSystemTime * * *
-   * Output only. Timestamps about the underlying resource, not about this Data Catalog
-   * entry. Output only when Entry is of type in the EntryType enum. For entries
-   * with user_specified_type, this field is optional and defaults to an empty
-   * timestamp.
+   * Output only. Timestamps about the underlying resource, not about this Data
+   * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+   * entries with user_specified_type, this field is optional and defaults to an
+   * empty timestamp.
    * 
* * @@ -1053,6 +1059,62 @@ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getSourceSystemTime : sourceSystemTimestamps_; } + public static final int USAGE_SIGNAL_FIELD_NUMBER = 13; + private com.google.cloud.datacatalog.v1beta1.UsageSignal usageSignal_; + /** + * + * + *
+   * Output only. Statistics on the usage level of the resource.
+   * 
+ * + * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the usageSignal field is set. + */ + @java.lang.Override + public boolean hasUsageSignal() { + return usageSignal_ != null; + } + /** + * + * + *
+   * Output only. Statistics on the usage level of the resource.
+   * 
+ * + * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The usageSignal. + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.UsageSignal getUsageSignal() { + return usageSignal_ == null + ? com.google.cloud.datacatalog.v1beta1.UsageSignal.getDefaultInstance() + : usageSignal_; + } + /** + * + * + *
+   * Output only. Statistics on the usage level of the resource.
+   * 
+ * + * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.UsageSignalOrBuilder getUsageSignalOrBuilder() { + return usageSignal_ == null + ? com.google.cloud.datacatalog.v1beta1.UsageSignal.getDefaultInstance() + : usageSignal_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -1094,6 +1156,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (typeSpecCase_ == 12) { output.writeMessage(12, (com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec) typeSpec_); } + if (usageSignal_ != null) { + output.writeMessage(13, getUsageSignal()); + } if (typeSpecCase_ == 15) { output.writeMessage( 15, (com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) typeSpec_); @@ -1150,6 +1215,9 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 12, (com.google.cloud.datacatalog.v1beta1.BigQueryTableSpec) typeSpec_); } + if (usageSignal_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getUsageSignal()); + } if (typeSpecCase_ == 15) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( @@ -1193,6 +1261,10 @@ public boolean equals(final java.lang.Object obj) { if (hasSourceSystemTimestamps()) { if (!getSourceSystemTimestamps().equals(other.getSourceSystemTimestamps())) return false; } + if (hasUsageSignal() != other.hasUsageSignal()) return false; + if (hasUsageSignal()) { + if (!getUsageSignal().equals(other.getUsageSignal())) return false; + } if (!getEntryTypeCase().equals(other.getEntryTypeCase())) return false; switch (entryTypeCase_) { case 2: @@ -1256,6 +1328,10 @@ public int hashCode() { hash = (37 * hash) + SOURCE_SYSTEM_TIMESTAMPS_FIELD_NUMBER; hash = (53 * hash) + getSourceSystemTimestamps().hashCode(); } + if (hasUsageSignal()) { + hash = (37 * hash) + USAGE_SIGNAL_FIELD_NUMBER; + hash = (53 * hash) + getUsageSignal().hashCode(); + } switch (entryTypeCase_) { case 2: hash = (37 * hash) + TYPE_FIELD_NUMBER; @@ -1467,6 +1543,11 @@ public Builder clear() { sourceSystemTimestampsBuilder_.dispose(); sourceSystemTimestampsBuilder_ = null; } + usageSignal_ = null; + if (usageSignalBuilder_ != null) { + usageSignalBuilder_.dispose(); + usageSignalBuilder_ = null; + } entryTypeCase_ = 0; entryType_ = null; systemCase_ = 0; @@ -1531,6 +1612,10 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.Entry result) { ? sourceSystemTimestamps_ : sourceSystemTimestampsBuilder_.build(); } + if (((from_bitField0_ & 0x00002000) != 0)) { + result.usageSignal_ = + usageSignalBuilder_ == null ? usageSignal_ : usageSignalBuilder_.build(); + } } private void buildPartialOneofs(com.google.cloud.datacatalog.v1beta1.Entry result) { @@ -1622,6 +1707,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.Entry other) { if (other.hasSourceSystemTimestamps()) { mergeSourceSystemTimestamps(other.getSourceSystemTimestamps()); } + if (other.hasUsageSignal()) { + mergeUsageSignal(other.getUsageSignal()); + } switch (other.getEntryTypeCase()) { case TYPE: { @@ -1762,6 +1850,12 @@ public Builder mergeFrom( typeSpecCase_ = 12; break; } // case 98 + case 106: + { + input.readMessage(getUsageSignalFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00002000; + break; + } // case 106 case 122: { input.readMessage( @@ -1856,7 +1950,8 @@ public Builder clearTypeSpec() { * * *
-     * The Data Catalog resource name of the entry in URL format. Example:
+     * Output only. The Data Catalog resource name of the entry in URL format.
+     * Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      *
@@ -1864,7 +1959,9 @@ public Builder clearTypeSpec() {
      * the location in this name.
      * 
* - * string name = 1 [(.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -1883,7 +1980,8 @@ public java.lang.String getName() { * * *
-     * The Data Catalog resource name of the entry in URL format. Example:
+     * Output only. The Data Catalog resource name of the entry in URL format.
+     * Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      *
@@ -1891,7 +1989,9 @@ public java.lang.String getName() {
      * the location in this name.
      * 
* - * string name = 1 [(.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -1910,7 +2010,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The Data Catalog resource name of the entry in URL format. Example:
+     * Output only. The Data Catalog resource name of the entry in URL format.
+     * Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      *
@@ -1918,7 +2019,9 @@ public com.google.protobuf.ByteString getNameBytes() {
      * the location in this name.
      * 
* - * string name = 1 [(.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -1936,7 +2039,8 @@ public Builder setName(java.lang.String value) { * * *
-     * The Data Catalog resource name of the entry in URL format. Example:
+     * Output only. The Data Catalog resource name of the entry in URL format.
+     * Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      *
@@ -1944,7 +2048,9 @@ public Builder setName(java.lang.String value) {
      * the location in this name.
      * 
* - * string name = 1 [(.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -1958,7 +2064,8 @@ public Builder clearName() { * * *
-     * The Data Catalog resource name of the entry in URL format. Example:
+     * Output only. The Data Catalog resource name of the entry in URL format.
+     * Example:
      *
      * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
      *
@@ -1966,7 +2073,9 @@ public Builder clearName() {
      * the location in this name.
      * 
* - * string name = 1 [(.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. @@ -2456,8 +2565,8 @@ public Builder setUserSpecifiedTypeBytes(com.google.protobuf.ByteString value) { * * *
-     * Output only. This field indicates the entry's source system that Data Catalog
-     * integrates with, such as BigQuery or Pub/Sub.
+     * Output only. This field indicates the entry's source system that Data
+     * Catalog integrates with, such as BigQuery or Pub/Sub.
      * 
* * @@ -2474,8 +2583,8 @@ public boolean hasIntegratedSystem() { * * *
-     * Output only. This field indicates the entry's source system that Data Catalog
-     * integrates with, such as BigQuery or Pub/Sub.
+     * Output only. This field indicates the entry's source system that Data
+     * Catalog integrates with, such as BigQuery or Pub/Sub.
      * 
* * @@ -2495,8 +2604,8 @@ public int getIntegratedSystemValue() { * * *
-     * Output only. This field indicates the entry's source system that Data Catalog
-     * integrates with, such as BigQuery or Pub/Sub.
+     * Output only. This field indicates the entry's source system that Data
+     * Catalog integrates with, such as BigQuery or Pub/Sub.
      * 
* * @@ -2516,8 +2625,8 @@ public Builder setIntegratedSystemValue(int value) { * * *
-     * Output only. This field indicates the entry's source system that Data Catalog
-     * integrates with, such as BigQuery or Pub/Sub.
+     * Output only. This field indicates the entry's source system that Data
+     * Catalog integrates with, such as BigQuery or Pub/Sub.
      * 
* * @@ -2542,8 +2651,8 @@ public com.google.cloud.datacatalog.v1beta1.IntegratedSystem getIntegratedSystem * * *
-     * Output only. This field indicates the entry's source system that Data Catalog
-     * integrates with, such as BigQuery or Pub/Sub.
+     * Output only. This field indicates the entry's source system that Data
+     * Catalog integrates with, such as BigQuery or Pub/Sub.
      * 
* * @@ -2567,8 +2676,8 @@ public Builder setIntegratedSystem( * * *
-     * Output only. This field indicates the entry's source system that Data Catalog
-     * integrates with, such as BigQuery or Pub/Sub.
+     * Output only. This field indicates the entry's source system that Data
+     * Catalog integrates with, such as BigQuery or Pub/Sub.
      * 
* * @@ -3860,10 +3969,10 @@ public com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder getSchemaOrBuilder() * * *
-     * Output only. Timestamps about the underlying resource, not about this Data Catalog
-     * entry. Output only when Entry is of type in the EntryType enum. For entries
-     * with user_specified_type, this field is optional and defaults to an empty
-     * timestamp.
+     * Output only. Timestamps about the underlying resource, not about this Data
+     * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+     * entries with user_specified_type, this field is optional and defaults to an
+     * empty timestamp.
      * 
* * @@ -3879,10 +3988,10 @@ public boolean hasSourceSystemTimestamps() { * * *
-     * Output only. Timestamps about the underlying resource, not about this Data Catalog
-     * entry. Output only when Entry is of type in the EntryType enum. For entries
-     * with user_specified_type, this field is optional and defaults to an empty
-     * timestamp.
+     * Output only. Timestamps about the underlying resource, not about this Data
+     * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+     * entries with user_specified_type, this field is optional and defaults to an
+     * empty timestamp.
      * 
* * @@ -3904,10 +4013,10 @@ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getSourceSystemTime * * *
-     * Output only. Timestamps about the underlying resource, not about this Data Catalog
-     * entry. Output only when Entry is of type in the EntryType enum. For entries
-     * with user_specified_type, this field is optional and defaults to an empty
-     * timestamp.
+     * Output only. Timestamps about the underlying resource, not about this Data
+     * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+     * entries with user_specified_type, this field is optional and defaults to an
+     * empty timestamp.
      * 
* * @@ -3932,10 +4041,10 @@ public Builder setSourceSystemTimestamps( * * *
-     * Output only. Timestamps about the underlying resource, not about this Data Catalog
-     * entry. Output only when Entry is of type in the EntryType enum. For entries
-     * with user_specified_type, this field is optional and defaults to an empty
-     * timestamp.
+     * Output only. Timestamps about the underlying resource, not about this Data
+     * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+     * entries with user_specified_type, this field is optional and defaults to an
+     * empty timestamp.
      * 
* * @@ -3957,10 +4066,10 @@ public Builder setSourceSystemTimestamps( * * *
-     * Output only. Timestamps about the underlying resource, not about this Data Catalog
-     * entry. Output only when Entry is of type in the EntryType enum. For entries
-     * with user_specified_type, this field is optional and defaults to an empty
-     * timestamp.
+     * Output only. Timestamps about the underlying resource, not about this Data
+     * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+     * entries with user_specified_type, this field is optional and defaults to an
+     * empty timestamp.
      * 
* * @@ -3989,10 +4098,10 @@ public Builder mergeSourceSystemTimestamps( * * *
-     * Output only. Timestamps about the underlying resource, not about this Data Catalog
-     * entry. Output only when Entry is of type in the EntryType enum. For entries
-     * with user_specified_type, this field is optional and defaults to an empty
-     * timestamp.
+     * Output only. Timestamps about the underlying resource, not about this Data
+     * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+     * entries with user_specified_type, this field is optional and defaults to an
+     * empty timestamp.
      * 
* * @@ -4013,10 +4122,10 @@ public Builder clearSourceSystemTimestamps() { * * *
-     * Output only. Timestamps about the underlying resource, not about this Data Catalog
-     * entry. Output only when Entry is of type in the EntryType enum. For entries
-     * with user_specified_type, this field is optional and defaults to an empty
-     * timestamp.
+     * Output only. Timestamps about the underlying resource, not about this Data
+     * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+     * entries with user_specified_type, this field is optional and defaults to an
+     * empty timestamp.
      * 
* * @@ -4033,10 +4142,10 @@ public Builder clearSourceSystemTimestamps() { * * *
-     * Output only. Timestamps about the underlying resource, not about this Data Catalog
-     * entry. Output only when Entry is of type in the EntryType enum. For entries
-     * with user_specified_type, this field is optional and defaults to an empty
-     * timestamp.
+     * Output only. Timestamps about the underlying resource, not about this Data
+     * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+     * entries with user_specified_type, this field is optional and defaults to an
+     * empty timestamp.
      * 
* * @@ -4057,10 +4166,10 @@ public Builder clearSourceSystemTimestamps() { * * *
-     * Output only. Timestamps about the underlying resource, not about this Data Catalog
-     * entry. Output only when Entry is of type in the EntryType enum. For entries
-     * with user_specified_type, this field is optional and defaults to an empty
-     * timestamp.
+     * Output only. Timestamps about the underlying resource, not about this Data
+     * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+     * entries with user_specified_type, this field is optional and defaults to an
+     * empty timestamp.
      * 
* * @@ -4084,6 +4193,209 @@ public Builder clearSourceSystemTimestamps() { return sourceSystemTimestampsBuilder_; } + private com.google.cloud.datacatalog.v1beta1.UsageSignal usageSignal_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.UsageSignal, + com.google.cloud.datacatalog.v1beta1.UsageSignal.Builder, + com.google.cloud.datacatalog.v1beta1.UsageSignalOrBuilder> + usageSignalBuilder_; + /** + * + * + *
+     * Output only. Statistics on the usage level of the resource.
+     * 
+ * + * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the usageSignal field is set. + */ + public boolean hasUsageSignal() { + return ((bitField0_ & 0x00002000) != 0); + } + /** + * + * + *
+     * Output only. Statistics on the usage level of the resource.
+     * 
+ * + * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The usageSignal. + */ + public com.google.cloud.datacatalog.v1beta1.UsageSignal getUsageSignal() { + if (usageSignalBuilder_ == null) { + return usageSignal_ == null + ? com.google.cloud.datacatalog.v1beta1.UsageSignal.getDefaultInstance() + : usageSignal_; + } else { + return usageSignalBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. Statistics on the usage level of the resource.
+     * 
+ * + * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setUsageSignal(com.google.cloud.datacatalog.v1beta1.UsageSignal value) { + if (usageSignalBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + usageSignal_ = value; + } else { + usageSignalBuilder_.setMessage(value); + } + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Statistics on the usage level of the resource.
+     * 
+ * + * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setUsageSignal( + com.google.cloud.datacatalog.v1beta1.UsageSignal.Builder builderForValue) { + if (usageSignalBuilder_ == null) { + usageSignal_ = builderForValue.build(); + } else { + usageSignalBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Statistics on the usage level of the resource.
+     * 
+ * + * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeUsageSignal(com.google.cloud.datacatalog.v1beta1.UsageSignal value) { + if (usageSignalBuilder_ == null) { + if (((bitField0_ & 0x00002000) != 0) + && usageSignal_ != null + && usageSignal_ + != com.google.cloud.datacatalog.v1beta1.UsageSignal.getDefaultInstance()) { + getUsageSignalBuilder().mergeFrom(value); + } else { + usageSignal_ = value; + } + } else { + usageSignalBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Statistics on the usage level of the resource.
+     * 
+ * + * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearUsageSignal() { + bitField0_ = (bitField0_ & ~0x00002000); + usageSignal_ = null; + if (usageSignalBuilder_ != null) { + usageSignalBuilder_.dispose(); + usageSignalBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Statistics on the usage level of the resource.
+     * 
+ * + * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.datacatalog.v1beta1.UsageSignal.Builder getUsageSignalBuilder() { + bitField0_ |= 0x00002000; + onChanged(); + return getUsageSignalFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. Statistics on the usage level of the resource.
+     * 
+ * + * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.datacatalog.v1beta1.UsageSignalOrBuilder getUsageSignalOrBuilder() { + if (usageSignalBuilder_ != null) { + return usageSignalBuilder_.getMessageOrBuilder(); + } else { + return usageSignal_ == null + ? com.google.cloud.datacatalog.v1beta1.UsageSignal.getDefaultInstance() + : usageSignal_; + } + } + /** + * + * + *
+     * Output only. Statistics on the usage level of the resource.
+     * 
+ * + * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.UsageSignal, + com.google.cloud.datacatalog.v1beta1.UsageSignal.Builder, + com.google.cloud.datacatalog.v1beta1.UsageSignalOrBuilder> + getUsageSignalFieldBuilder() { + if (usageSignalBuilder_ == null) { + usageSignalBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.UsageSignal, + com.google.cloud.datacatalog.v1beta1.UsageSignal.Builder, + com.google.cloud.datacatalog.v1beta1.UsageSignalOrBuilder>( + getUsageSignal(), getParentForChildren(), isClean()); + usageSignal_ = null; + } + return usageSignalBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroup.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroup.java index c449d2d6df08..e39039f79047 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroup.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroup.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -241,7 +241,8 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * *
-   * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+   * Output only. Timestamps about this EntryGroup. Default value is empty
+   * timestamps.
    * 
* * @@ -258,7 +259,8 @@ public boolean hasDataCatalogTimestamps() { * * *
-   * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+   * Output only. Timestamps about this EntryGroup. Default value is empty
+   * timestamps.
    * 
* * @@ -277,7 +279,8 @@ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getDataCatalogTimes * * *
-   * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+   * Output only. Timestamps about this EntryGroup. Default value is empty
+   * timestamps.
    * 
* * @@ -1088,7 +1091,8 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * * *
-     * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+     * Output only. Timestamps about this EntryGroup. Default value is empty
+     * timestamps.
      * 
* * @@ -1104,7 +1108,8 @@ public boolean hasDataCatalogTimestamps() { * * *
-     * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+     * Output only. Timestamps about this EntryGroup. Default value is empty
+     * timestamps.
      * 
* * @@ -1126,7 +1131,8 @@ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getDataCatalogTimes * * *
-     * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+     * Output only. Timestamps about this EntryGroup. Default value is empty
+     * timestamps.
      * 
* * @@ -1151,7 +1157,8 @@ public Builder setDataCatalogTimestamps( * * *
-     * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+     * Output only. Timestamps about this EntryGroup. Default value is empty
+     * timestamps.
      * 
* * @@ -1173,7 +1180,8 @@ public Builder setDataCatalogTimestamps( * * *
-     * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+     * Output only. Timestamps about this EntryGroup. Default value is empty
+     * timestamps.
      * 
* * @@ -1202,7 +1210,8 @@ public Builder mergeDataCatalogTimestamps( * * *
-     * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+     * Output only. Timestamps about this EntryGroup. Default value is empty
+     * timestamps.
      * 
* * @@ -1223,7 +1232,8 @@ public Builder clearDataCatalogTimestamps() { * * *
-     * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+     * Output only. Timestamps about this EntryGroup. Default value is empty
+     * timestamps.
      * 
* * @@ -1240,7 +1250,8 @@ public Builder clearDataCatalogTimestamps() { * * *
-     * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+     * Output only. Timestamps about this EntryGroup. Default value is empty
+     * timestamps.
      * 
* * @@ -1261,7 +1272,8 @@ public Builder clearDataCatalogTimestamps() { * * *
-     * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+     * Output only. Timestamps about this EntryGroup. Default value is empty
+     * timestamps.
      * 
* * diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroupOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroupOrBuilder.java index c2ce2cb12f87..11dc7c7fec16 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroupOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroupOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -118,7 +118,8 @@ public interface EntryGroupOrBuilder * * *
-   * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+   * Output only. Timestamps about this EntryGroup. Default value is empty
+   * timestamps.
    * 
* * @@ -132,7 +133,8 @@ public interface EntryGroupOrBuilder * * *
-   * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+   * Output only. Timestamps about this EntryGroup. Default value is empty
+   * timestamps.
    * 
* * @@ -146,7 +148,8 @@ public interface EntryGroupOrBuilder * * *
-   * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+   * Output only. Timestamps about this EntryGroup. Default value is empty
+   * timestamps.
    * 
* * diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryOrBuilder.java index 4cd035ea8275..d9c477a7d06f 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,7 +27,8 @@ public interface EntryOrBuilder * * *
-   * The Data Catalog resource name of the entry in URL format. Example:
+   * Output only. The Data Catalog resource name of the entry in URL format.
+   * Example:
    *
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
    *
@@ -35,7 +36,9 @@ public interface EntryOrBuilder
    * the location in this name.
    * 
* - * string name = 1 [(.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -44,7 +47,8 @@ public interface EntryOrBuilder * * *
-   * The Data Catalog resource name of the entry in URL format. Example:
+   * Output only. The Data Catalog resource name of the entry in URL format.
+   * Example:
    *
    * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
    *
@@ -52,7 +56,9 @@ public interface EntryOrBuilder
    * the location in this name.
    * 
* - * string name = 1 [(.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -213,8 +219,8 @@ public interface EntryOrBuilder * * *
-   * Output only. This field indicates the entry's source system that Data Catalog
-   * integrates with, such as BigQuery or Pub/Sub.
+   * Output only. This field indicates the entry's source system that Data
+   * Catalog integrates with, such as BigQuery or Pub/Sub.
    * 
* * @@ -228,8 +234,8 @@ public interface EntryOrBuilder * * *
-   * Output only. This field indicates the entry's source system that Data Catalog
-   * integrates with, such as BigQuery or Pub/Sub.
+   * Output only. This field indicates the entry's source system that Data
+   * Catalog integrates with, such as BigQuery or Pub/Sub.
    * 
* * @@ -243,8 +249,8 @@ public interface EntryOrBuilder * * *
-   * Output only. This field indicates the entry's source system that Data Catalog
-   * integrates with, such as BigQuery or Pub/Sub.
+   * Output only. This field indicates the entry's source system that Data
+   * Catalog integrates with, such as BigQuery or Pub/Sub.
    * 
* * @@ -523,10 +529,10 @@ public interface EntryOrBuilder * * *
-   * Output only. Timestamps about the underlying resource, not about this Data Catalog
-   * entry. Output only when Entry is of type in the EntryType enum. For entries
-   * with user_specified_type, this field is optional and defaults to an empty
-   * timestamp.
+   * Output only. Timestamps about the underlying resource, not about this Data
+   * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+   * entries with user_specified_type, this field is optional and defaults to an
+   * empty timestamp.
    * 
* * @@ -540,10 +546,10 @@ public interface EntryOrBuilder * * *
-   * Output only. Timestamps about the underlying resource, not about this Data Catalog
-   * entry. Output only when Entry is of type in the EntryType enum. For entries
-   * with user_specified_type, this field is optional and defaults to an empty
-   * timestamp.
+   * Output only. Timestamps about the underlying resource, not about this Data
+   * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+   * entries with user_specified_type, this field is optional and defaults to an
+   * empty timestamp.
    * 
* * @@ -557,10 +563,10 @@ public interface EntryOrBuilder * * *
-   * Output only. Timestamps about the underlying resource, not about this Data Catalog
-   * entry. Output only when Entry is of type in the EntryType enum. For entries
-   * with user_specified_type, this field is optional and defaults to an empty
-   * timestamp.
+   * Output only. Timestamps about the underlying resource, not about this Data
+   * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+   * entries with user_specified_type, this field is optional and defaults to an
+   * empty timestamp.
    * 
* * @@ -570,6 +576,47 @@ public interface EntryOrBuilder com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder getSourceSystemTimestampsOrBuilder(); + /** + * + * + *
+   * Output only. Statistics on the usage level of the resource.
+   * 
+ * + * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the usageSignal field is set. + */ + boolean hasUsageSignal(); + /** + * + * + *
+   * Output only. Statistics on the usage level of the resource.
+   * 
+ * + * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The usageSignal. + */ + com.google.cloud.datacatalog.v1beta1.UsageSignal getUsageSignal(); + /** + * + * + *
+   * Output only. Statistics on the usage level of the resource.
+   * 
+ * + * + * .google.cloud.datacatalog.v1beta1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.datacatalog.v1beta1.UsageSignalOrBuilder getUsageSignalOrBuilder(); + com.google.cloud.datacatalog.v1beta1.Entry.EntryTypeCase getEntryTypeCase(); com.google.cloud.datacatalog.v1beta1.Entry.SystemCase getSystemCase(); diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryType.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryType.java index 5897f1b1f061..b2db61bdeaef 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryType.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryType.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequest.java index d79b8303f47a..46306377d823 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequestOrBuilder.java index b640c88b76d9..516f06ae8a57 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponse.java index f455d0bcfdb1..96a8f799c9f8 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponseOrBuilder.java index b67be4be6f8a..eb3fa6f2f340 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldType.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldType.java index 15078ddd832d..e3ad20b5f3e0 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldType.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldType.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -251,17 +251,6 @@ public interface EnumTypeOrBuilder com.google.protobuf.MessageOrBuilder { /** - * - * - *
-     * Required on create; optional on update. The set of allowed values for
-     * this enum. This set must not be empty, the display names of the values in
-     * this set must not be empty and the display names of the values must be
-     * case-insensitively unique within this set. Currently, enum values can
-     * only be added to the list of allowed values. Deletion and renaming of
-     * enum values are not supported. Can have up to 500 allowed values.
-     * 
- * * * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; * @@ -269,51 +258,18 @@ public interface EnumTypeOrBuilder java.util.List getAllowedValuesList(); /** - * - * - *
-     * Required on create; optional on update. The set of allowed values for
-     * this enum. This set must not be empty, the display names of the values in
-     * this set must not be empty and the display names of the values must be
-     * case-insensitively unique within this set. Currently, enum values can
-     * only be added to the list of allowed values. Deletion and renaming of
-     * enum values are not supported. Can have up to 500 allowed values.
-     * 
- * * * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; * */ com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue getAllowedValues(int index); /** - * - * - *
-     * Required on create; optional on update. The set of allowed values for
-     * this enum. This set must not be empty, the display names of the values in
-     * this set must not be empty and the display names of the values must be
-     * case-insensitively unique within this set. Currently, enum values can
-     * only be added to the list of allowed values. Deletion and renaming of
-     * enum values are not supported. Can have up to 500 allowed values.
-     * 
- * * * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; * */ int getAllowedValuesCount(); /** - * - * - *
-     * Required on create; optional on update. The set of allowed values for
-     * this enum. This set must not be empty, the display names of the values in
-     * this set must not be empty and the display names of the values must be
-     * case-insensitively unique within this set. Currently, enum values can
-     * only be added to the list of allowed values. Deletion and renaming of
-     * enum values are not supported. Can have up to 500 allowed values.
-     * 
- * * * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; * @@ -322,17 +278,6 @@ public interface EnumTypeOrBuilder ? extends com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder> getAllowedValuesOrBuilderList(); /** - * - * - *
-     * Required on create; optional on update. The set of allowed values for
-     * this enum. This set must not be empty, the display names of the values in
-     * this set must not be empty and the display names of the values must be
-     * case-insensitively unique within this set. Currently, enum values can
-     * only be added to the list of allowed values. Deletion and renaming of
-     * enum values are not supported. Can have up to 500 allowed values.
-     * 
- * * * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; * @@ -385,7 +330,8 @@ public interface EnumValueOrBuilder * * *
-       * Required. The display name of the enum value. Must not be an empty string.
+       * Required. The display name of the enum value. Must not be an empty
+       * string.
        * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -397,7 +343,8 @@ public interface EnumValueOrBuilder * * *
-       * Required. The display name of the enum value. Must not be an empty string.
+       * Required. The display name of the enum value. Must not be an empty
+       * string.
        * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -450,7 +397,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-       * Required. The display name of the enum value. Must not be an empty string.
+       * Required. The display name of the enum value. Must not be an empty
+       * string.
        * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -473,7 +421,8 @@ public java.lang.String getDisplayName() { * * *
-       * Required. The display name of the enum value. Must not be an empty string.
+       * Required. The display name of the enum value. Must not be an empty
+       * string.
        * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -846,7 +795,8 @@ public Builder mergeFrom( * * *
-         * Required. The display name of the enum value. Must not be an empty string.
+         * Required. The display name of the enum value. Must not be an empty
+         * string.
          * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -868,7 +818,8 @@ public java.lang.String getDisplayName() { * * *
-         * Required. The display name of the enum value. Must not be an empty string.
+         * Required. The display name of the enum value. Must not be an empty
+         * string.
          * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -890,7 +841,8 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * * *
-         * Required. The display name of the enum value. Must not be an empty string.
+         * Required. The display name of the enum value. Must not be an empty
+         * string.
          * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -911,7 +863,8 @@ public Builder setDisplayName(java.lang.String value) { * * *
-         * Required. The display name of the enum value. Must not be an empty string.
+         * Required. The display name of the enum value. Must not be an empty
+         * string.
          * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -928,7 +881,8 @@ public Builder clearDisplayName() { * * *
-         * Required. The display name of the enum value. Must not be an empty string.
+         * Required. The display name of the enum value. Must not be an empty
+         * string.
          * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1020,17 +974,6 @@ public com.google.protobuf.Parser getParserForType() { private java.util.List allowedValues_; /** - * - * - *
-     * Required on create; optional on update. The set of allowed values for
-     * this enum. This set must not be empty, the display names of the values in
-     * this set must not be empty and the display names of the values must be
-     * case-insensitively unique within this set. Currently, enum values can
-     * only be added to the list of allowed values. Deletion and renaming of
-     * enum values are not supported. Can have up to 500 allowed values.
-     * 
- * * * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; * @@ -1041,17 +984,6 @@ public com.google.protobuf.Parser getParserForType() { return allowedValues_; } /** - * - * - *
-     * Required on create; optional on update. The set of allowed values for
-     * this enum. This set must not be empty, the display names of the values in
-     * this set must not be empty and the display names of the values must be
-     * case-insensitively unique within this set. Currently, enum values can
-     * only be added to the list of allowed values. Deletion and renaming of
-     * enum values are not supported. Can have up to 500 allowed values.
-     * 
- * * * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; * @@ -1063,17 +995,6 @@ public com.google.protobuf.Parser getParserForType() { return allowedValues_; } /** - * - * - *
-     * Required on create; optional on update. The set of allowed values for
-     * this enum. This set must not be empty, the display names of the values in
-     * this set must not be empty and the display names of the values must be
-     * case-insensitively unique within this set. Currently, enum values can
-     * only be added to the list of allowed values. Deletion and renaming of
-     * enum values are not supported. Can have up to 500 allowed values.
-     * 
- * * * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; * @@ -1083,17 +1004,6 @@ public int getAllowedValuesCount() { return allowedValues_.size(); } /** - * - * - *
-     * Required on create; optional on update. The set of allowed values for
-     * this enum. This set must not be empty, the display names of the values in
-     * this set must not be empty and the display names of the values must be
-     * case-insensitively unique within this set. Currently, enum values can
-     * only be added to the list of allowed values. Deletion and renaming of
-     * enum values are not supported. Can have up to 500 allowed values.
-     * 
- * * * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; * @@ -1104,17 +1014,6 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue getAllo return allowedValues_.get(index); } /** - * - * - *
-     * Required on create; optional on update. The set of allowed values for
-     * this enum. This set must not be empty, the display names of the values in
-     * this set must not be empty and the display names of the values must be
-     * case-insensitively unique within this set. Currently, enum values can
-     * only be added to the list of allowed values. Deletion and renaming of
-     * enum values are not supported. Can have up to 500 allowed values.
-     * 
- * * * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; * @@ -1534,17 +1433,6 @@ private void ensureAllowedValuesIsMutable() { allowedValuesBuilder_; /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * * * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; * @@ -1558,17 +1446,6 @@ private void ensureAllowedValuesIsMutable() { } } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * * * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; * @@ -1581,17 +1458,6 @@ public int getAllowedValuesCount() { } } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * * * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; * @@ -1605,17 +1471,6 @@ public com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue getAllo } } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * * * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; * @@ -1635,17 +1490,6 @@ public Builder setAllowedValues( return this; } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * * * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; * @@ -1664,17 +1508,6 @@ public Builder setAllowedValues( return this; } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * * * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; * @@ -1694,17 +1527,6 @@ public Builder addAllowedValues( return this; } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * * * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; * @@ -1724,17 +1546,6 @@ public Builder addAllowedValues( return this; } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * * * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; * @@ -1752,17 +1563,6 @@ public Builder addAllowedValues( return this; } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * * * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; * @@ -1781,17 +1581,6 @@ public Builder addAllowedValues( return this; } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * * * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; * @@ -1810,17 +1599,6 @@ public Builder addAllAllowedValues( return this; } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * * * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; * @@ -1836,17 +1614,6 @@ public Builder clearAllowedValues() { return this; } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * * * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; * @@ -1862,17 +1629,6 @@ public Builder removeAllowedValues(int index) { return this; } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * * * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; * @@ -1882,17 +1638,6 @@ public Builder removeAllowedValues(int index) { return getAllowedValuesFieldBuilder().getBuilder(index); } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * * * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; * @@ -1906,17 +1651,6 @@ public Builder removeAllowedValues(int index) { } } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * * * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; * @@ -1931,17 +1665,6 @@ public Builder removeAllowedValues(int index) { } } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * * * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; * @@ -1954,17 +1677,6 @@ public Builder removeAllowedValues(int index) { .getDefaultInstance()); } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * * * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; * @@ -1978,17 +1690,6 @@ public Builder removeAllowedValues(int index) { .getDefaultInstance()); } /** - * - * - *
-       * Required on create; optional on update. The set of allowed values for
-       * this enum. This set must not be empty, the display names of the values in
-       * this set must not be empty and the display names of the values must be
-       * case-insensitively unique within this set. Currently, enum values can
-       * only be added to the list of allowed values. Deletion and renaming of
-       * enum values are not supported. Can have up to 500 allowed values.
-       * 
- * * * repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1; * diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldTypeOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldTypeOrBuilder.java index 6bc2b9be96a6..6f09d9034235 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldTypeOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldTypeOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpec.java index cabff0c236b6..c258761cffec 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpec.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpecOrBuilder.java index 0e1efbc23636..91d5ebccccc9 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFileSpecOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpec.java index 6660e52585ec..8f3de3b15527 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpec.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -243,8 +243,8 @@ public com.google.protobuf.ByteString getFilePatternsBytes(int index) { * * *
-   * Output only. Sample files contained in this fileset, not all files contained in this
-   * fileset are represented here.
+   * Output only. Sample files contained in this fileset, not all files
+   * contained in this fileset are represented here.
    * 
* * @@ -260,8 +260,8 @@ public com.google.protobuf.ByteString getFilePatternsBytes(int index) { * * *
-   * Output only. Sample files contained in this fileset, not all files contained in this
-   * fileset are represented here.
+   * Output only. Sample files contained in this fileset, not all files
+   * contained in this fileset are represented here.
    * 
* * @@ -277,8 +277,8 @@ public com.google.protobuf.ByteString getFilePatternsBytes(int index) { * * *
-   * Output only. Sample files contained in this fileset, not all files contained in this
-   * fileset are represented here.
+   * Output only. Sample files contained in this fileset, not all files
+   * contained in this fileset are represented here.
    * 
* * @@ -293,8 +293,8 @@ public int getSampleGcsFileSpecsCount() { * * *
-   * Output only. Sample files contained in this fileset, not all files contained in this
-   * fileset are represented here.
+   * Output only. Sample files contained in this fileset, not all files
+   * contained in this fileset are represented here.
    * 
* * @@ -309,8 +309,8 @@ public com.google.cloud.datacatalog.v1beta1.GcsFileSpec getSampleGcsFileSpecs(in * * *
-   * Output only. Sample files contained in this fileset, not all files contained in this
-   * fileset are represented here.
+   * Output only. Sample files contained in this fileset, not all files
+   * contained in this fileset are represented here.
    * 
* * @@ -1192,8 +1192,8 @@ private void ensureSampleGcsFileSpecsIsMutable() { * * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* * @@ -1212,8 +1212,8 @@ private void ensureSampleGcsFileSpecsIsMutable() { * * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* * @@ -1231,8 +1231,8 @@ public int getSampleGcsFileSpecsCount() { * * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* * @@ -1250,8 +1250,8 @@ public com.google.cloud.datacatalog.v1beta1.GcsFileSpec getSampleGcsFileSpecs(in * * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* * @@ -1276,8 +1276,8 @@ public Builder setSampleGcsFileSpecs( * * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* * @@ -1299,8 +1299,8 @@ public Builder setSampleGcsFileSpecs( * * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* * @@ -1324,8 +1324,8 @@ public Builder addSampleGcsFileSpecs(com.google.cloud.datacatalog.v1beta1.GcsFil * * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* * @@ -1350,8 +1350,8 @@ public Builder addSampleGcsFileSpecs( * * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* * @@ -1373,8 +1373,8 @@ public Builder addSampleGcsFileSpecs( * * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* * @@ -1396,8 +1396,8 @@ public Builder addSampleGcsFileSpecs( * * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* * @@ -1419,8 +1419,8 @@ public Builder addAllSampleGcsFileSpecs( * * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* * @@ -1441,8 +1441,8 @@ public Builder clearSampleGcsFileSpecs() { * * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* * @@ -1463,8 +1463,8 @@ public Builder removeSampleGcsFileSpecs(int index) { * * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* * @@ -1479,8 +1479,8 @@ public com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder getSampleGcsFile * * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* * @@ -1499,8 +1499,8 @@ public com.google.cloud.datacatalog.v1beta1.GcsFileSpecOrBuilder getSampleGcsFil * * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* * @@ -1519,8 +1519,8 @@ public com.google.cloud.datacatalog.v1beta1.GcsFileSpecOrBuilder getSampleGcsFil * * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* * @@ -1535,8 +1535,8 @@ public com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder addSampleGcsFile * * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* * @@ -1552,8 +1552,8 @@ public com.google.cloud.datacatalog.v1beta1.GcsFileSpec.Builder addSampleGcsFile * * *
-     * Output only. Sample files contained in this fileset, not all files contained in this
-     * fileset are represented here.
+     * Output only. Sample files contained in this fileset, not all files
+     * contained in this fileset are represented here.
      * 
* * diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOrBuilder.java index 93ecadbb01f2..7aef4aad51b7 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -186,8 +186,8 @@ public interface GcsFilesetSpecOrBuilder * * *
-   * Output only. Sample files contained in this fileset, not all files contained in this
-   * fileset are represented here.
+   * Output only. Sample files contained in this fileset, not all files
+   * contained in this fileset are represented here.
    * 
* * @@ -199,8 +199,8 @@ public interface GcsFilesetSpecOrBuilder * * *
-   * Output only. Sample files contained in this fileset, not all files contained in this
-   * fileset are represented here.
+   * Output only. Sample files contained in this fileset, not all files
+   * contained in this fileset are represented here.
    * 
* * @@ -212,8 +212,8 @@ public interface GcsFilesetSpecOrBuilder * * *
-   * Output only. Sample files contained in this fileset, not all files contained in this
-   * fileset are represented here.
+   * Output only. Sample files contained in this fileset, not all files
+   * contained in this fileset are represented here.
    * 
* * @@ -225,8 +225,8 @@ public interface GcsFilesetSpecOrBuilder * * *
-   * Output only. Sample files contained in this fileset, not all files contained in this
-   * fileset are represented here.
+   * Output only. Sample files contained in this fileset, not all files
+   * contained in this fileset are represented here.
    * 
* * @@ -239,8 +239,8 @@ public interface GcsFilesetSpecOrBuilder * * *
-   * Output only. Sample files contained in this fileset, not all files contained in this
-   * fileset are represented here.
+   * Output only. Sample files contained in this fileset, not all files
+   * contained in this fileset are represented here.
    * 
* * diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOuterClass.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOuterClass.java index 9353ff53c6b0..38b2d6705dab 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOuterClass.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOuterClass.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequest.java index 086c9e21dd71..caee37c3f41e 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequestOrBuilder.java index 6730c6d500c4..69d8a26c54ef 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryGroupRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequest.java index c31bc37bd936..3edb620e3a3e 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequestOrBuilder.java index c507142bd64d..50e4f6f4eeaa 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequest.java index 670a8bd71513..a465a3528d21 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequestOrBuilder.java index 87fe836c4e10..fdd5a684dac7 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetPolicyTagRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequest.java index 965c4d2a4be8..23217e145cc9 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequestOrBuilder.java index c0f596173433..ddb7cbb448ff 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTagTemplateRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequest.java index b31df4522aa3..d01451b62b33 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequestOrBuilder.java index 29d70364bf00..4c6b802e443f 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetTaxonomyRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequest.java index d9e87ebf3e56..f2925368deb4 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -117,8 +117,8 @@ public SourceCase getSourceCase() { * * *
-   * Required. Resource name of project that the newly created taxonomies will
-   * belong to.
+   * Required. Resource name of project that the imported taxonomies will belong
+   * to.
    * 
* * @@ -143,8 +143,8 @@ public java.lang.String getParent() { * * *
-   * Required. Resource name of project that the newly created taxonomies will
-   * belong to.
+   * Required. Resource name of project that the imported taxonomies will belong
+   * to.
    * 
* * @@ -171,7 +171,7 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * Inline source used for taxonomies import
+   * Inline source used for taxonomies to be imported.
    * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; @@ -186,7 +186,7 @@ public boolean hasInlineSource() { * * *
-   * Inline source used for taxonomies import
+   * Inline source used for taxonomies to be imported.
    * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; @@ -204,7 +204,7 @@ public com.google.cloud.datacatalog.v1beta1.InlineSource getInlineSource() { * * *
-   * Inline source used for taxonomies import
+   * Inline source used for taxonomies to be imported.
    * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; @@ -639,8 +639,8 @@ public Builder clearSource() { * * *
-     * Required. Resource name of project that the newly created taxonomies will
-     * belong to.
+     * Required. Resource name of project that the imported taxonomies will belong
+     * to.
      * 
* * @@ -664,8 +664,8 @@ public java.lang.String getParent() { * * *
-     * Required. Resource name of project that the newly created taxonomies will
-     * belong to.
+     * Required. Resource name of project that the imported taxonomies will belong
+     * to.
      * 
* * @@ -689,8 +689,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required. Resource name of project that the newly created taxonomies will
-     * belong to.
+     * Required. Resource name of project that the imported taxonomies will belong
+     * to.
      * 
* * @@ -713,8 +713,8 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required. Resource name of project that the newly created taxonomies will
-     * belong to.
+     * Required. Resource name of project that the imported taxonomies will belong
+     * to.
      * 
* * @@ -733,8 +733,8 @@ public Builder clearParent() { * * *
-     * Required. Resource name of project that the newly created taxonomies will
-     * belong to.
+     * Required. Resource name of project that the imported taxonomies will belong
+     * to.
      * 
* * @@ -764,7 +764,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * Inline source used for taxonomies import
+     * Inline source used for taxonomies to be imported.
      * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; @@ -779,7 +779,7 @@ public boolean hasInlineSource() { * * *
-     * Inline source used for taxonomies import
+     * Inline source used for taxonomies to be imported.
      * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; @@ -804,7 +804,7 @@ public com.google.cloud.datacatalog.v1beta1.InlineSource getInlineSource() { * * *
-     * Inline source used for taxonomies import
+     * Inline source used for taxonomies to be imported.
      * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; @@ -826,7 +826,7 @@ public Builder setInlineSource(com.google.cloud.datacatalog.v1beta1.InlineSource * * *
-     * Inline source used for taxonomies import
+     * Inline source used for taxonomies to be imported.
      * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; @@ -846,7 +846,7 @@ public Builder setInlineSource( * * *
-     * Inline source used for taxonomies import
+     * Inline source used for taxonomies to be imported.
      * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; @@ -878,7 +878,7 @@ public Builder mergeInlineSource(com.google.cloud.datacatalog.v1beta1.InlineSour * * *
-     * Inline source used for taxonomies import
+     * Inline source used for taxonomies to be imported.
      * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; @@ -903,7 +903,7 @@ public Builder clearInlineSource() { * * *
-     * Inline source used for taxonomies import
+     * Inline source used for taxonomies to be imported.
      * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; @@ -915,7 +915,7 @@ public com.google.cloud.datacatalog.v1beta1.InlineSource.Builder getInlineSource * * *
-     * Inline source used for taxonomies import
+     * Inline source used for taxonomies to be imported.
      * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; @@ -935,7 +935,7 @@ public com.google.cloud.datacatalog.v1beta1.InlineSourceOrBuilder getInlineSourc * * *
-     * Inline source used for taxonomies import
+     * Inline source used for taxonomies to be imported.
      * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequestOrBuilder.java index 8524634460be..0d2f9f037218 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,8 +27,8 @@ public interface ImportTaxonomiesRequestOrBuilder * * *
-   * Required. Resource name of project that the newly created taxonomies will
-   * belong to.
+   * Required. Resource name of project that the imported taxonomies will belong
+   * to.
    * 
* * @@ -42,8 +42,8 @@ public interface ImportTaxonomiesRequestOrBuilder * * *
-   * Required. Resource name of project that the newly created taxonomies will
-   * belong to.
+   * Required. Resource name of project that the imported taxonomies will belong
+   * to.
    * 
* * @@ -58,7 +58,7 @@ public interface ImportTaxonomiesRequestOrBuilder * * *
-   * Inline source used for taxonomies import
+   * Inline source used for taxonomies to be imported.
    * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; @@ -70,7 +70,7 @@ public interface ImportTaxonomiesRequestOrBuilder * * *
-   * Inline source used for taxonomies import
+   * Inline source used for taxonomies to be imported.
    * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; @@ -82,7 +82,7 @@ public interface ImportTaxonomiesRequestOrBuilder * * *
-   * Inline source used for taxonomies import
+   * Inline source used for taxonomies to be imported.
    * 
* * .google.cloud.datacatalog.v1beta1.InlineSource inline_source = 2; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponse.java index 22b13bf4bcd4..671fdc3113b8 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponseOrBuilder.java index 057967288e51..acff24178101 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ImportTaxonomiesResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSource.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSource.java index 0e16f1b4251f..b6a2c2a496fa 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSource.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSource.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSourceOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSourceOrBuilder.java index f95d8c6f3107..a891618a8a34 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSourceOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/InlineSourceOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/IntegratedSystem.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/IntegratedSystem.java index 9d76441b88ff..30ecb0647eab 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/IntegratedSystem.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/IntegratedSystem.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequest.java index 81715329f26b..ee554854d861 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequestOrBuilder.java index 64d750259d89..354a3f8b4b10 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponse.java index 871747aca271..1f40c4da08d5 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponseOrBuilder.java index e72d0809f5b2..f076837c2236 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequest.java index 686ab5319828..a276d533ff9f 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -72,8 +72,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The name of the location that contains the entry groups, which can be
-   * provided in URL format. Example:
+   * Required. The name of the location that contains the entry groups, which
+   * can be provided in URL format. Example:
    *
    * * projects/{project_id}/locations/{location}
    * 
@@ -100,8 +100,8 @@ public java.lang.String getParent() { * * *
-   * Required. The name of the location that contains the entry groups, which can be
-   * provided in URL format. Example:
+   * Required. The name of the location that contains the entry groups, which
+   * can be provided in URL format. Example:
    *
    * * projects/{project_id}/locations/{location}
    * 
@@ -131,8 +131,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * Optional. The maximum number of items to return. Default is 10. Max limit is 1000.
-   * Throws an invalid argument for `page_size > 1000`.
+   * Optional. The maximum number of items to return. Default is 10. Max limit
+   * is 1000. Throws an invalid argument for `page_size > 1000`.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -152,8 +152,8 @@ public int getPageSize() { * * *
-   * Optional. Token that specifies which page is requested. If empty, the first page is
-   * returned.
+   * Optional. Token that specifies which page is requested. If empty, the first
+   * page is returned.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -176,8 +176,8 @@ public java.lang.String getPageToken() { * * *
-   * Optional. Token that specifies which page is requested. If empty, the first page is
-   * returned.
+   * Optional. Token that specifies which page is requested. If empty, the first
+   * page is returned.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -592,8 +592,8 @@ public Builder mergeFrom( * * *
-     * Required. The name of the location that contains the entry groups, which can be
-     * provided in URL format. Example:
+     * Required. The name of the location that contains the entry groups, which
+     * can be provided in URL format. Example:
      *
      * * projects/{project_id}/locations/{location}
      * 
@@ -619,8 +619,8 @@ public java.lang.String getParent() { * * *
-     * Required. The name of the location that contains the entry groups, which can be
-     * provided in URL format. Example:
+     * Required. The name of the location that contains the entry groups, which
+     * can be provided in URL format. Example:
      *
      * * projects/{project_id}/locations/{location}
      * 
@@ -646,8 +646,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required. The name of the location that contains the entry groups, which can be
-     * provided in URL format. Example:
+     * Required. The name of the location that contains the entry groups, which
+     * can be provided in URL format. Example:
      *
      * * projects/{project_id}/locations/{location}
      * 
@@ -672,8 +672,8 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required. The name of the location that contains the entry groups, which can be
-     * provided in URL format. Example:
+     * Required. The name of the location that contains the entry groups, which
+     * can be provided in URL format. Example:
      *
      * * projects/{project_id}/locations/{location}
      * 
@@ -694,8 +694,8 @@ public Builder clearParent() { * * *
-     * Required. The name of the location that contains the entry groups, which can be
-     * provided in URL format. Example:
+     * Required. The name of the location that contains the entry groups, which
+     * can be provided in URL format. Example:
      *
      * * projects/{project_id}/locations/{location}
      * 
@@ -723,8 +723,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. The maximum number of items to return. Default is 10. Max limit is 1000.
-     * Throws an invalid argument for `page_size > 1000`.
+     * Optional. The maximum number of items to return. Default is 10. Max limit
+     * is 1000. Throws an invalid argument for `page_size > 1000`.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -739,8 +739,8 @@ public int getPageSize() { * * *
-     * Optional. The maximum number of items to return. Default is 10. Max limit is 1000.
-     * Throws an invalid argument for `page_size > 1000`.
+     * Optional. The maximum number of items to return. Default is 10. Max limit
+     * is 1000. Throws an invalid argument for `page_size > 1000`.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -759,8 +759,8 @@ public Builder setPageSize(int value) { * * *
-     * Optional. The maximum number of items to return. Default is 10. Max limit is 1000.
-     * Throws an invalid argument for `page_size > 1000`.
+     * Optional. The maximum number of items to return. Default is 10. Max limit
+     * is 1000. Throws an invalid argument for `page_size > 1000`.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -779,8 +779,8 @@ public Builder clearPageSize() { * * *
-     * Optional. Token that specifies which page is requested. If empty, the first page is
-     * returned.
+     * Optional. Token that specifies which page is requested. If empty, the first
+     * page is returned.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -802,8 +802,8 @@ public java.lang.String getPageToken() { * * *
-     * Optional. Token that specifies which page is requested. If empty, the first page is
-     * returned.
+     * Optional. Token that specifies which page is requested. If empty, the first
+     * page is returned.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -825,8 +825,8 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * *
-     * Optional. Token that specifies which page is requested. If empty, the first page is
-     * returned.
+     * Optional. Token that specifies which page is requested. If empty, the first
+     * page is returned.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -847,8 +847,8 @@ public Builder setPageToken(java.lang.String value) { * * *
-     * Optional. Token that specifies which page is requested. If empty, the first page is
-     * returned.
+     * Optional. Token that specifies which page is requested. If empty, the first
+     * page is returned.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -865,8 +865,8 @@ public Builder clearPageToken() { * * *
-     * Optional. Token that specifies which page is requested. If empty, the first page is
-     * returned.
+     * Optional. Token that specifies which page is requested. If empty, the first
+     * page is returned.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequestOrBuilder.java index 085322ff6699..c8f937dff214 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,8 +27,8 @@ public interface ListEntryGroupsRequestOrBuilder * * *
-   * Required. The name of the location that contains the entry groups, which can be
-   * provided in URL format. Example:
+   * Required. The name of the location that contains the entry groups, which
+   * can be provided in URL format. Example:
    *
    * * projects/{project_id}/locations/{location}
    * 
@@ -44,8 +44,8 @@ public interface ListEntryGroupsRequestOrBuilder * * *
-   * Required. The name of the location that contains the entry groups, which can be
-   * provided in URL format. Example:
+   * Required. The name of the location that contains the entry groups, which
+   * can be provided in URL format. Example:
    *
    * * projects/{project_id}/locations/{location}
    * 
@@ -62,8 +62,8 @@ public interface ListEntryGroupsRequestOrBuilder * * *
-   * Optional. The maximum number of items to return. Default is 10. Max limit is 1000.
-   * Throws an invalid argument for `page_size > 1000`.
+   * Optional. The maximum number of items to return. Default is 10. Max limit
+   * is 1000. Throws an invalid argument for `page_size > 1000`.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -76,8 +76,8 @@ public interface ListEntryGroupsRequestOrBuilder * * *
-   * Optional. Token that specifies which page is requested. If empty, the first page is
-   * returned.
+   * Optional. Token that specifies which page is requested. If empty, the first
+   * page is returned.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -89,8 +89,8 @@ public interface ListEntryGroupsRequestOrBuilder * * *
-   * Optional. Token that specifies which page is requested. If empty, the first page is
-   * returned.
+   * Optional. Token that specifies which page is requested. If empty, the first
+   * page is returned.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponse.java index b79c73335ddb..22fceeb240a9 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponseOrBuilder.java index 3efe7d0f23b3..ed0673b8034f 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequest.java index addbe295cda3..4d1367d106a5 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequestOrBuilder.java index 515bbccd9ba2..2f2b6e491b24 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponse.java index 12f7f9213bd7..5bb0905f5e6a 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponseOrBuilder.java index f0eeddae9b19..618e880c2c1c 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListPolicyTagsResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequest.java index 779f1035707a..7602885c5e38 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -72,8 +72,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The name of the Data Catalog resource to list the tags of. The resource
-   * could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
+   * Required. The name of the Data Catalog resource to list the tags of. The
+   * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
    * [EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup].
    *
    * Examples:
@@ -104,8 +104,8 @@ public java.lang.String getParent() {
    *
    *
    * 
-   * Required. The name of the Data Catalog resource to list the tags of. The resource
-   * could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
+   * Required. The name of the Data Catalog resource to list the tags of. The
+   * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
    * [EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup].
    *
    * Examples:
@@ -598,8 +598,8 @@ public Builder mergeFrom(
      *
      *
      * 
-     * Required. The name of the Data Catalog resource to list the tags of. The resource
-     * could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
+     * Required. The name of the Data Catalog resource to list the tags of. The
+     * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
      * [EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup].
      *
      * Examples:
@@ -629,8 +629,8 @@ public java.lang.String getParent() {
      *
      *
      * 
-     * Required. The name of the Data Catalog resource to list the tags of. The resource
-     * could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
+     * Required. The name of the Data Catalog resource to list the tags of. The
+     * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
      * [EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup].
      *
      * Examples:
@@ -660,8 +660,8 @@ public com.google.protobuf.ByteString getParentBytes() {
      *
      *
      * 
-     * Required. The name of the Data Catalog resource to list the tags of. The resource
-     * could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
+     * Required. The name of the Data Catalog resource to list the tags of. The
+     * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
      * [EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup].
      *
      * Examples:
@@ -690,8 +690,8 @@ public Builder setParent(java.lang.String value) {
      *
      *
      * 
-     * Required. The name of the Data Catalog resource to list the tags of. The resource
-     * could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
+     * Required. The name of the Data Catalog resource to list the tags of. The
+     * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
      * [EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup].
      *
      * Examples:
@@ -716,8 +716,8 @@ public Builder clearParent() {
      *
      *
      * 
-     * Required. The name of the Data Catalog resource to list the tags of. The resource
-     * could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
+     * Required. The name of the Data Catalog resource to list the tags of. The
+     * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
      * [EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup].
      *
      * Examples:
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequestOrBuilder.java
index a2f85ee46260..9df991e2d94f 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequestOrBuilder.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequestOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -27,8 +27,8 @@ public interface ListTagsRequestOrBuilder
    *
    *
    * 
-   * Required. The name of the Data Catalog resource to list the tags of. The resource
-   * could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
+   * Required. The name of the Data Catalog resource to list the tags of. The
+   * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
    * [EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup].
    *
    * Examples:
@@ -48,8 +48,8 @@ public interface ListTagsRequestOrBuilder
    *
    *
    * 
-   * Required. The name of the Data Catalog resource to list the tags of. The resource
-   * could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
+   * Required. The name of the Data Catalog resource to list the tags of. The
+   * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
    * [EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup].
    *
    * Examples:
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponse.java
index 9a24e6f2af61..c0578fd8f63c 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponse.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponse.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponseOrBuilder.java
index 03ad58c32fc1..32736e8a55ba 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponseOrBuilder.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsResponseOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequest.java
index 592ff9326df4..e5594cbe1667 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequest.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -41,6 +41,7 @@ private ListTaxonomiesRequest(com.google.protobuf.GeneratedMessageV3.Builder
   private ListTaxonomiesRequest() {
     parent_ = "";
     pageToken_ = "";
+    filter_ = "";
   }
 
   @java.lang.Override
@@ -191,6 +192,59 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
     }
   }
 
+  public static final int FILTER_FIELD_NUMBER = 4;
+
+  @SuppressWarnings("serial")
+  private volatile java.lang.Object filter_ = "";
+  /**
+   *
+   *
+   * 
+   * Supported field for filter is 'service' and value is 'dataplex'.
+   * Eg: service=dataplex.
+   * 
+ * + * string filter = 4; + * + * @return The filter. + */ + @java.lang.Override + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + 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(); + filter_ = s; + return s; + } + } + /** + * + * + *
+   * Supported field for filter is 'service' and value is 'dataplex'.
+   * Eg: service=dataplex.
+   * 
+ * + * string filter = 4; + * + * @return The bytes for filter. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFilterBytes() { + java.lang.Object ref = filter_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -214,6 +268,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_); + } getUnknownFields().writeTo(output); } @@ -232,6 +289,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -251,6 +311,7 @@ public boolean equals(final java.lang.Object obj) { if (!getParent().equals(other.getParent())) return false; if (getPageSize() != other.getPageSize()) return false; if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -268,6 +329,8 @@ public int hashCode() { hash = (53 * hash) + getPageSize(); hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); + hash = (37 * hash) + FILTER_FIELD_NUMBER; + hash = (53 * hash) + getFilter().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -412,6 +475,7 @@ public Builder clear() { parent_ = ""; pageSize_ = 0; pageToken_ = ""; + filter_ = ""; return this; } @@ -457,6 +521,9 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRe if (((from_bitField0_ & 0x00000004) != 0)) { result.pageToken_ = pageToken_; } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.filter_ = filter_; + } } @java.lang.Override @@ -518,6 +585,11 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequ bitField0_ |= 0x00000004; onChanged(); } + if (!other.getFilter().isEmpty()) { + filter_ = other.filter_; + bitField0_ |= 0x00000008; + onChanged(); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -562,6 +634,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000004; break; } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -864,6 +942,117 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object filter_ = ""; + /** + * + * + *
+     * Supported field for filter is 'service' and value is 'dataplex'.
+     * Eg: service=dataplex.
+     * 
+ * + * string filter = 4; + * + * @return The filter. + */ + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filter_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Supported field for filter is 'service' and value is 'dataplex'.
+     * Eg: service=dataplex.
+     * 
+ * + * string filter = 4; + * + * @return The bytes for filter. + */ + public com.google.protobuf.ByteString getFilterBytes() { + java.lang.Object ref = filter_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Supported field for filter is 'service' and value is 'dataplex'.
+     * Eg: service=dataplex.
+     * 
+ * + * string filter = 4; + * + * @param value The filter to set. + * @return This builder for chaining. + */ + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + filter_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Supported field for filter is 'service' and value is 'dataplex'.
+     * Eg: service=dataplex.
+     * 
+ * + * string filter = 4; + * + * @return This builder for chaining. + */ + public Builder clearFilter() { + filter_ = getDefaultInstance().getFilter(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * Supported field for filter is 'service' and value is 'dataplex'.
+     * Eg: service=dataplex.
+     * 
+ * + * string filter = 4; + * + * @param value The bytes for filter to set. + * @return This builder for chaining. + */ + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequestOrBuilder.java index ce78ea68922d..c7ca4bfdcac1 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -92,4 +92,31 @@ public interface ListTaxonomiesRequestOrBuilder * @return The bytes for pageToken. */ com.google.protobuf.ByteString getPageTokenBytes(); + + /** + * + * + *
+   * Supported field for filter is 'service' and value is 'dataplex'.
+   * Eg: service=dataplex.
+   * 
+ * + * string filter = 4; + * + * @return The filter. + */ + java.lang.String getFilter(); + /** + * + * + *
+   * Supported field for filter is 'service' and value is 'dataplex'.
+   * Eg: service=dataplex.
+   * 
+ * + * string filter = 4; + * + * @return The bytes for filter. + */ + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponse.java index 4136fa93badb..054df8ec0985 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponseOrBuilder.java index 5349e97c3944..21b34cac6a85 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTaxonomiesResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequest.java index 12f2eb6f1c9b..17affff08b1a 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -219,7 +219,7 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { * * `bigquery.dataset.project_id.dataset_id` * * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id` * - * `*_id`s shoud satisfy the standard SQL rules for identifiers. + * `*_id`s should satisfy the standard SQL rules for identifiers. * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical. *
* @@ -244,7 +244,7 @@ public boolean hasSqlResource() { * * `bigquery.dataset.project_id.dataset_id` * * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id` * - * `*_id`s shoud satisfy the standard SQL rules for identifiers. + * `*_id`s should satisfy the standard SQL rules for identifiers. * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical. *
* @@ -282,7 +282,7 @@ public java.lang.String getSqlResource() { * * `bigquery.dataset.project_id.dataset_id` * * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id` * - * `*_id`s shoud satisfy the standard SQL rules for identifiers. + * `*_id`s should satisfy the standard SQL rules for identifiers. * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical. *
* @@ -915,7 +915,7 @@ public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { * * `bigquery.dataset.project_id.dataset_id` * * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id` * - * `*_id`s shoud satisfy the standard SQL rules for identifiers. + * `*_id`s should satisfy the standard SQL rules for identifiers. * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical. *
* @@ -941,7 +941,7 @@ public boolean hasSqlResource() { * * `bigquery.dataset.project_id.dataset_id` * * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id` * - * `*_id`s shoud satisfy the standard SQL rules for identifiers. + * `*_id`s should satisfy the standard SQL rules for identifiers. * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical. *
* @@ -980,7 +980,7 @@ public java.lang.String getSqlResource() { * * `bigquery.dataset.project_id.dataset_id` * * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id` * - * `*_id`s shoud satisfy the standard SQL rules for identifiers. + * `*_id`s should satisfy the standard SQL rules for identifiers. * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical. *
* @@ -1019,7 +1019,7 @@ public com.google.protobuf.ByteString getSqlResourceBytes() { * * `bigquery.dataset.project_id.dataset_id` * * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id` * - * `*_id`s shoud satisfy the standard SQL rules for identifiers. + * `*_id`s should satisfy the standard SQL rules for identifiers. * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical. *
* @@ -1051,7 +1051,7 @@ public Builder setSqlResource(java.lang.String value) { * * `bigquery.dataset.project_id.dataset_id` * * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id` * - * `*_id`s shoud satisfy the standard SQL rules for identifiers. + * `*_id`s should satisfy the standard SQL rules for identifiers. * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical. *
* @@ -1081,7 +1081,7 @@ public Builder clearSqlResource() { * * `bigquery.dataset.project_id.dataset_id` * * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id` * - * `*_id`s shoud satisfy the standard SQL rules for identifiers. + * `*_id`s should satisfy the standard SQL rules for identifiers. * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical. *
* diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequestOrBuilder.java index ae56d05c6518..3a6d5bbe9af1 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -98,7 +98,7 @@ public interface LookupEntryRequestOrBuilder * * `bigquery.dataset.project_id.dataset_id` * * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id` * - * `*_id`s shoud satisfy the standard SQL rules for identifiers. + * `*_id`s should satisfy the standard SQL rules for identifiers. * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical. *
* @@ -121,7 +121,7 @@ public interface LookupEntryRequestOrBuilder * * `bigquery.dataset.project_id.dataset_id` * * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id` * - * `*_id`s shoud satisfy the standard SQL rules for identifiers. + * `*_id`s should satisfy the standard SQL rules for identifiers. * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical. *
* @@ -144,7 +144,7 @@ public interface LookupEntryRequestOrBuilder * * `bigquery.dataset.project_id.dataset_id` * * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id` * - * `*_id`s shoud satisfy the standard SQL rules for identifiers. + * `*_id`s should satisfy the standard SQL rules for identifiers. * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical. *
* diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ManagingSystem.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ManagingSystem.java new file mode 100644 index 000000000000..3a466312c682 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ManagingSystem.java @@ -0,0 +1,177 @@ +/* + * Copyright 2023 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/datacatalog/v1beta1/common.proto + +package com.google.cloud.datacatalog.v1beta1; + +/** + * + * + *
+ * This enum describes all the systems that manage
+ * Taxonomy and PolicyTag resources in DataCatalog.
+ * 
+ * + * Protobuf enum {@code google.cloud.datacatalog.v1beta1.ManagingSystem} + */ +public enum ManagingSystem implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+   * Default value
+   * 
+ * + * MANAGING_SYSTEM_UNSPECIFIED = 0; + */ + MANAGING_SYSTEM_UNSPECIFIED(0), + /** + * + * + *
+   * Dataplex.
+   * 
+ * + * MANAGING_SYSTEM_DATAPLEX = 1; + */ + MANAGING_SYSTEM_DATAPLEX(1), + /** + * + * + *
+   * Other
+   * 
+ * + * MANAGING_SYSTEM_OTHER = 2; + */ + MANAGING_SYSTEM_OTHER(2), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+   * Default value
+   * 
+ * + * MANAGING_SYSTEM_UNSPECIFIED = 0; + */ + public static final int MANAGING_SYSTEM_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+   * Dataplex.
+   * 
+ * + * MANAGING_SYSTEM_DATAPLEX = 1; + */ + public static final int MANAGING_SYSTEM_DATAPLEX_VALUE = 1; + /** + * + * + *
+   * Other
+   * 
+ * + * MANAGING_SYSTEM_OTHER = 2; + */ + public static final int MANAGING_SYSTEM_OTHER_VALUE = 2; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ManagingSystem valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ManagingSystem forNumber(int value) { + switch (value) { + case 0: + return MANAGING_SYSTEM_UNSPECIFIED; + case 1: + return MANAGING_SYSTEM_DATAPLEX; + case 2: + return MANAGING_SYSTEM_OTHER; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ManagingSystem findValueByNumber(int number) { + return ManagingSystem.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Common.getDescriptor().getEnumTypes().get(1); + } + + private static final ManagingSystem[] VALUES = values(); + + public static ManagingSystem valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private ManagingSystem(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1beta1.ManagingSystem) +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTag.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTag.java index 519706bacbc2..cf844844c102 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTag.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTag.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -130,10 +130,10 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Required. User defined name of this policy tag. It must: be unique within the parent
-   * taxonomy; contain only unicode letters, numbers, underscores, dashes and
-   * spaces; not start or end with spaces; and be at most 200 bytes long when
-   * encoded in UTF-8.
+   * Required. User defined name of this policy tag. It must: be unique within
+   * the parent taxonomy; contain only unicode letters, numbers, underscores,
+   * dashes and spaces; not start or end with spaces; and be at most 200 bytes
+   * long when encoded in UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -156,10 +156,10 @@ public java.lang.String getDisplayName() { * * *
-   * Required. User defined name of this policy tag. It must: be unique within the parent
-   * taxonomy; contain only unicode letters, numbers, underscores, dashes and
-   * spaces; not start or end with spaces; and be at most 200 bytes long when
-   * encoded in UTF-8.
+   * Required. User defined name of this policy tag. It must: be unique within
+   * the parent taxonomy; contain only unicode letters, numbers, underscores,
+   * dashes and spaces; not start or end with spaces; and be at most 200 bytes
+   * long when encoded in UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -935,10 +935,10 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. User defined name of this policy tag. It must: be unique within the parent
-     * taxonomy; contain only unicode letters, numbers, underscores, dashes and
-     * spaces; not start or end with spaces; and be at most 200 bytes long when
-     * encoded in UTF-8.
+     * Required. User defined name of this policy tag. It must: be unique within
+     * the parent taxonomy; contain only unicode letters, numbers, underscores,
+     * dashes and spaces; not start or end with spaces; and be at most 200 bytes
+     * long when encoded in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -960,10 +960,10 @@ public java.lang.String getDisplayName() { * * *
-     * Required. User defined name of this policy tag. It must: be unique within the parent
-     * taxonomy; contain only unicode letters, numbers, underscores, dashes and
-     * spaces; not start or end with spaces; and be at most 200 bytes long when
-     * encoded in UTF-8.
+     * Required. User defined name of this policy tag. It must: be unique within
+     * the parent taxonomy; contain only unicode letters, numbers, underscores,
+     * dashes and spaces; not start or end with spaces; and be at most 200 bytes
+     * long when encoded in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -985,10 +985,10 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * * *
-     * Required. User defined name of this policy tag. It must: be unique within the parent
-     * taxonomy; contain only unicode letters, numbers, underscores, dashes and
-     * spaces; not start or end with spaces; and be at most 200 bytes long when
-     * encoded in UTF-8.
+     * Required. User defined name of this policy tag. It must: be unique within
+     * the parent taxonomy; contain only unicode letters, numbers, underscores,
+     * dashes and spaces; not start or end with spaces; and be at most 200 bytes
+     * long when encoded in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1009,10 +1009,10 @@ public Builder setDisplayName(java.lang.String value) { * * *
-     * Required. User defined name of this policy tag. It must: be unique within the parent
-     * taxonomy; contain only unicode letters, numbers, underscores, dashes and
-     * spaces; not start or end with spaces; and be at most 200 bytes long when
-     * encoded in UTF-8.
+     * Required. User defined name of this policy tag. It must: be unique within
+     * the parent taxonomy; contain only unicode letters, numbers, underscores,
+     * dashes and spaces; not start or end with spaces; and be at most 200 bytes
+     * long when encoded in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1029,10 +1029,10 @@ public Builder clearDisplayName() { * * *
-     * Required. User defined name of this policy tag. It must: be unique within the parent
-     * taxonomy; contain only unicode letters, numbers, underscores, dashes and
-     * spaces; not start or end with spaces; and be at most 200 bytes long when
-     * encoded in UTF-8.
+     * Required. User defined name of this policy tag. It must: be unique within
+     * the parent taxonomy; contain only unicode letters, numbers, underscores,
+     * dashes and spaces; not start or end with spaces; and be at most 200 bytes
+     * long when encoded in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerProto.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerProto.java index 46a214627cde..33c1da93bf29 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerProto.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -31,6 +31,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_Service_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_Service_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_datacatalog_v1beta1_PolicyTag_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -97,141 +101,150 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "log.v1beta1\032\034google/api/annotations.prot" + "o\032\027google/api/client.proto\032\037google/api/f" + "ield_behavior.proto\032\031google/api/resource" - + ".proto\0321google/cloud/datacatalog/v1beta1" - + "/timestamps.proto\032\036google/iam/v1/iam_pol" - + "icy.proto\032\032google/iam/v1/policy.proto\032\033g" - + "oogle/protobuf/empty.proto\032 google/proto" - + "buf/field_mask.proto\"\347\002\n\010Taxonomy\022\022\n\004nam" - + "e\030\001 \001(\tB\004\342A\001\003\022\032\n\014display_name\030\002 \001(\tB\004\342A\001" - + "\002\022\031\n\013description\030\003 \001(\tB\004\342A\001\001\022[\n\026activate" - + "d_policy_types\030\006 \003(\01625.google.cloud.data" - + "catalog.v1beta1.Taxonomy.PolicyTypeB\004\342A\001" - + "\001\"J\n\nPolicyType\022\033\n\027POLICY_TYPE_UNSPECIFI" - + "ED\020\000\022\037\n\033FINE_GRAINED_ACCESS_CONTROL\020\001:g\352" - + "Ad\n#datacatalog.googleapis.com/Taxonomy\022" - + "=projects/{project}/locations/{location}" - + "/taxonomies/{taxonomy}\"\217\002\n\tPolicyTag\022\022\n\004" - + "name\030\001 \001(\tB\004\342A\001\003\022\032\n\014display_name\030\002 \001(\tB\004" - + "\342A\001\002\022\023\n\013description\030\003 \001(\t\022\031\n\021parent_poli" - + "cy_tag\030\004 \001(\t\022\037\n\021child_policy_tags\030\005 \003(\tB" - + "\004\342A\001\003:\200\001\352A}\n$datacatalog.googleapis.com/" - + "PolicyTag\022Uprojects/{project}/locations/" - + "{location}/taxonomies/{taxonomy}/policyT" - + "ags/{policy_tag}\"\223\001\n\025CreateTaxonomyReque" - + "st\022<\n\006parent\030\001 \001(\tB,\342A\001\002\372A%\022#datacatalog" - + ".googleapis.com/Taxonomy\022<\n\010taxonomy\030\002 \001" - + "(\0132*.google.cloud.datacatalog.v1beta1.Ta" - + "xonomy\"S\n\025DeleteTaxonomyRequest\022:\n\004name\030" - + "\001 \001(\tB,\342A\001\002\372A%\n#datacatalog.googleapis.c" - + "om/Taxonomy\"\206\001\n\025UpdateTaxonomyRequest\022<\n" - + "\010taxonomy\030\001 \001(\0132*.google.cloud.datacatal" - + "og.v1beta1.Taxonomy\022/\n\013update_mask\030\002 \001(\013" - + "2\032.google.protobuf.FieldMask\"|\n\025ListTaxo" - + "nomiesRequest\022<\n\006parent\030\001 \001(\tB,\342A\001\002\372A%\022#" - + "datacatalog.googleapis.com/Taxonomy\022\021\n\tp" - + "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"q\n\026Li" - + "stTaxonomiesResponse\022>\n\ntaxonomies\030\001 \003(\013" - + "2*.google.cloud.datacatalog.v1beta1.Taxo" - + "nomy\022\027\n\017next_page_token\030\002 \001(\t\"P\n\022GetTaxo" - + "nomyRequest\022:\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#data" - + "catalog.googleapis.com/Taxonomy\"\230\001\n\026Crea" - + "tePolicyTagRequest\022=\n\006parent\030\001 \001(\tB-\342A\001\002" - + "\372A&\022$datacatalog.googleapis.com/PolicyTa" - + "g\022?\n\npolicy_tag\030\002 \001(\0132+.google.cloud.dat" - + "acatalog.v1beta1.PolicyTag\"U\n\026DeletePoli" - + "cyTagRequest\022;\n\004name\030\001 \001(\tB-\342A\001\002\372A&\n$dat" - + "acatalog.googleapis.com/PolicyTag\"\212\001\n\026Up" - + "datePolicyTagRequest\022?\n\npolicy_tag\030\001 \001(\013" - + "2+.google.cloud.datacatalog.v1beta1.Poli" - + "cyTag\022/\n\013update_mask\030\002 \001(\0132\032.google.prot" - + "obuf.FieldMask\"}\n\025ListPolicyTagsRequest\022" - + "=\n\006parent\030\001 \001(\tB-\342A\001\002\372A&\022$datacatalog.go" - + "ogleapis.com/PolicyTag\022\021\n\tpage_size\030\002 \001(" - + "\005\022\022\n\npage_token\030\003 \001(\t\"s\n\026ListPolicyTagsR" - + "esponse\022@\n\013policy_tags\030\001 \003(\0132+.google.cl" - + "oud.datacatalog.v1beta1.PolicyTag\022\027\n\017nex" - + "t_page_token\030\002 \001(\t\"R\n\023GetPolicyTagReques" - + "t\022;\n\004name\030\001 \001(\tB-\342A\001\002\372A&\n$datacatalog.go" - + "ogleapis.com/PolicyTag2\345\026\n\020PolicyTagMana" - + "ger\022\316\001\n\016CreateTaxonomy\0227.google.cloud.da" - + "tacatalog.v1beta1.CreateTaxonomyRequest\032" - + "*.google.cloud.datacatalog.v1beta1.Taxon" - + "omy\"W\332A\017parent,taxonomy\202\323\344\223\002?\"3/v1beta1/" - + "{parent=projects/*/locations/*}/taxonomi" - + "es:\010taxonomy\022\245\001\n\016DeleteTaxonomy\0227.google" - + ".cloud.datacatalog.v1beta1.DeleteTaxonom" - + "yRequest\032\026.google.protobuf.Empty\"B\332A\004nam" - + "e\202\323\344\223\0025*3/v1beta1/{name=projects/*/locat" - + "ions/*/taxonomies/*}\022\320\001\n\016UpdateTaxonomy\022" - + "7.google.cloud.datacatalog.v1beta1.Updat" - + "eTaxonomyRequest\032*.google.cloud.datacata" - + "log.v1beta1.Taxonomy\"Y\332A\010taxonomy\202\323\344\223\002H2" - + "\n\004name\030\001 \001(\01620.google.clo" + + "ud.datacatalog.v1beta1.ManagingSystem\022\020\n" + + "\010identity\030\002 \001(\t\"J\n\nPolicyType\022\033\n\027POLICY_" + + "TYPE_UNSPECIFIED\020\000\022\037\n\033FINE_GRAINED_ACCES" + + "S_CONTROL\020\001:g\352Ad\n#datacatalog.googleapis" + + ".com/Taxonomy\022=projects/{project}/locati" + + "ons/{location}/taxonomies/{taxonomy}\"\217\002\n" + + "\tPolicyTag\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\032\n\014displa" + + "y_name\030\002 \001(\tB\004\342A\001\002\022\023\n\013description\030\003 \001(\t\022" + + "\031\n\021parent_policy_tag\030\004 \001(\t\022\037\n\021child_poli" + + "cy_tags\030\005 \003(\tB\004\342A\001\003:\200\001\352A}\n$datacatalog.g" + + "oogleapis.com/PolicyTag\022Uprojects/{proje" + + "ct}/locations/{location}/taxonomies/{tax" + + "onomy}/policyTags/{policy_tag}\"\223\001\n\025Creat" + + "eTaxonomyRequest\022<\n\006parent\030\001 \001(\tB,\342A\001\002\372A" + + "%\022#datacatalog.googleapis.com/Taxonomy\022<" + + "\n\010taxonomy\030\002 \001(\0132*.google.cloud.datacata" + + "log.v1beta1.Taxonomy\"S\n\025DeleteTaxonomyRe" + + "quest\022:\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#datacatalo" + + "g.googleapis.com/Taxonomy\"\206\001\n\025UpdateTaxo" + + "nomyRequest\022<\n\010taxonomy\030\001 \001(\0132*.google.c" + + "loud.datacatalog.v1beta1.Taxonomy\022/\n\013upd" + + "ate_mask\030\002 \001(\0132\032.google.protobuf.FieldMa" + + "sk\"\214\001\n\025ListTaxonomiesRequest\022<\n\006parent\030\001" + + " \001(\tB,\342A\001\002\372A%\022#datacatalog.googleapis.co" + + "m/Taxonomy\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" + + "ken\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"q\n\026ListTaxonom" + + "iesResponse\022>\n\ntaxonomies\030\001 \003(\0132*.google" + + ".cloud.datacatalog.v1beta1.Taxonomy\022\027\n\017n" + + "ext_page_token\030\002 \001(\t\"P\n\022GetTaxonomyReque" + + "st\022:\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#datacatalog.g" + + "oogleapis.com/Taxonomy\"\230\001\n\026CreatePolicyT" + + "agRequest\022=\n\006parent\030\001 \001(\tB-\342A\001\002\372A&\022$data" + + "catalog.googleapis.com/PolicyTag\022?\n\npoli" + + "cy_tag\030\002 \001(\0132+.google.cloud.datacatalog." + + "v1beta1.PolicyTag\"U\n\026DeletePolicyTagRequ" + + "est\022;\n\004name\030\001 \001(\tB-\342A\001\002\372A&\n$datacatalog." + + "googleapis.com/PolicyTag\"\212\001\n\026UpdatePolic" + + "yTagRequest\022?\n\npolicy_tag\030\001 \001(\0132+.google" + + ".cloud.datacatalog.v1beta1.PolicyTag\022/\n\013" + + "update_mask\030\002 \001(\0132\032.google.protobuf.Fiel" + + "dMask\"}\n\025ListPolicyTagsRequest\022=\n\006parent" + + "\030\001 \001(\tB-\342A\001\002\372A&\022$datacatalog.googleapis." + + "com/PolicyTag\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage" + + "_token\030\003 \001(\t\"s\n\026ListPolicyTagsResponse\022@" + + "\n\013policy_tags\030\001 \003(\0132+.google.cloud.datac" + + "atalog.v1beta1.PolicyTag\022\027\n\017next_page_to" + + "ken\030\002 \001(\t\"R\n\023GetPolicyTagRequest\022;\n\004name" + + "\030\001 \001(\tB-\342A\001\002\372A&\n$datacatalog.googleapis." + + "com/PolicyTag2\345\026\n\020PolicyTagManager\022\316\001\n\016C" + + "reateTaxonomy\0227.google.cloud.datacatalog" + + ".v1beta1.CreateTaxonomyRequest\032*.google." + + "cloud.datacatalog.v1beta1.Taxonomy\"W\332A\017p" + + "arent,taxonomy\202\323\344\223\002?\"3/v1beta1/{parent=p" + + "rojects/*/locations/*}/taxonomies:\010taxon" + + "omy\022\245\001\n\016DeleteTaxonomy\0227.google.cloud.da" + + "tacatalog.v1beta1.DeleteTaxonomyRequest\032" + + "\026.google.protobuf.Empty\"B\332A\004name\202\323\344\223\0025*3" + + "/v1beta1/{name=projects/*/locations/*/ta" + + "xonomies/*}\022\320\001\n\016UpdateTaxonomy\0227.google." + + "cloud.datacatalog.v1beta1.UpdateTaxonomy" + + "Request\032*.google.cloud.datacatalog.v1bet" + + "a1.Taxonomy\"Y\332A\010taxonomy\202\323\344\223\002H2\n\ntaxonomies\030\001 " + + "\003(\0132*.google.cloud.datacatalog.v1beta1.T" + + "axonomy\"\311\001\n\027ExportTaxonomiesRequest\022<\n\006p" + "arent\030\001 \001(\tB,\342A\001\002\372A%\022#datacatalog.google" - + "apis.com/Taxonomy\022G\n\rinline_source\030\002 \001(\013" - + "2..google.cloud.datacatalog.v1beta1.Inli" - + "neSourceH\000B\010\n\006source\"^\n\014InlineSource\022N\n\n" - + "taxonomies\030\001 \003(\01324.google.cloud.datacata" - + "log.v1beta1.SerializedTaxonomyB\004\342A\001\002\"Z\n\030" - + "ImportTaxonomiesResponse\022>\n\ntaxonomies\030\001" - + " \003(\0132*.google.cloud.datacatalog.v1beta1." - + "Taxonomy\"\311\001\n\027ExportTaxonomiesRequest\022<\n\006" - + "parent\030\001 \001(\tB,\342A\001\002\372A%\022#datacatalog.googl" - + "eapis.com/Taxonomy\022@\n\ntaxonomies\030\002 \003(\tB," - + "\342A\001\002\372A%\n#datacatalog.googleapis.com/Taxo" - + "nomy\022\037\n\025serialized_taxonomies\030\003 \001(\010H\000B\r\n" - + "\013destination\"d\n\030ExportTaxonomiesResponse" - + "\022H\n\ntaxonomies\030\001 \003(\01324.google.cloud.data" - + "catalog.v1beta1.SerializedTaxonomy2\222\004\n\035P" - + "olicyTagManagerSerialization\022\320\001\n\020ImportT" - + "axonomies\0229.google.cloud.datacatalog.v1b" - + "eta1.ImportTaxonomiesRequest\032:.google.cl" - + "oud.datacatalog.v1beta1.ImportTaxonomies" - + "Response\"E\202\323\344\223\002?\":/v1beta1/{parent=proje" - + "cts/*/locations/*}/taxonomies:import:\001*\022" - + "\315\001\n\020ExportTaxonomies\0229.google.cloud.data" - + "catalog.v1beta1.ExportTaxonomiesRequest\032" - + ":.google.cloud.datacatalog.v1beta1.Expor" - + "tTaxonomiesResponse\"B\202\323\344\223\002<\022:/v1beta1/{p" - + "arent=projects/*/locations/*}/taxonomies" - + ":export\032N\312A\032datacatalog.googleapis.com\322A" - + ".https://www.googleapis.com/auth/cloud-p" - + "latformB\203\002\n$com.google.cloud.datacatalog" - + ".v1beta1B\"PolicyTagManagerSerializationP" - + "rotoP\001ZFcloud.google.com/go/datacatalog/" - + "apiv1beta1/datacatalogpb;datacatalogpb\370\001" - + "\001\252\002 Google.Cloud.DataCatalog.V1Beta1\312\002 G" - + "oogle\\Cloud\\DataCatalog\\V1beta1\352\002#Google" - + "::Cloud::DataCatalog::V1beta1b\006proto3" + + "apis.com/Taxonomy\022@\n\ntaxonomies\030\002 \003(\tB,\342" + + "A\001\002\372A%\n#datacatalog.googleapis.com/Taxon" + + "omy\022\037\n\025serialized_taxonomies\030\003 \001(\010H\000B\r\n\013" + + "destination\"d\n\030ExportTaxonomiesResponse\022" + + "H\n\ntaxonomies\030\001 \003(\01324.google.cloud.datac" + + "atalog.v1beta1.SerializedTaxonomy2\222\004\n\035Po" + + "licyTagManagerSerialization\022\320\001\n\020ImportTa" + + "xonomies\0229.google.cloud.datacatalog.v1be" + + "ta1.ImportTaxonomiesRequest\032:.google.clo" + + "ud.datacatalog.v1beta1.ImportTaxonomiesR" + + "esponse\"E\202\323\344\223\002?\":/v1beta1/{parent=projec" + + "ts/*/locations/*}/taxonomies:import:\001*\022\315" + + "\001\n\020ExportTaxonomies\0229.google.cloud.datac" + + "atalog.v1beta1.ExportTaxonomiesRequest\032:" + + ".google.cloud.datacatalog.v1beta1.Export" + + "TaxonomiesResponse\"B\202\323\344\223\002<\022:/v1beta1/{pa" + + "rent=projects/*/locations/*}/taxonomies:" + + "export\032N\312A\032datacatalog.googleapis.com\322A." + + "https://www.googleapis.com/auth/cloud-pl" + + "atformB\203\002\n$com.google.cloud.datacatalog." + + "v1beta1B\"PolicyTagManagerSerializationPr" + + "otoP\001ZFcloud.google.com/go/datacatalog/a" + + "piv1beta1/datacatalogpb;datacatalogpb\370\001\001" + + "\252\002 Google.Cloud.DataCatalog.V1Beta1\312\002 Go" + + "ogle\\Cloud\\DataCatalog\\V1beta1\352\002#Google:" + + ":Cloud::DataCatalog::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), }); internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_descriptor = getDescriptor().getMessageTypes().get(0); @@ -134,7 +135,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_datacatalog_v1beta1_SerializedTaxonomy_descriptor, new java.lang.String[] { - "DisplayName", "Description", "PolicyTags", + "DisplayName", "Description", "PolicyTags", "ActivatedPolicyTypes", }); internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_descriptor = getDescriptor().getMessageTypes().get(1); @@ -142,7 +143,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_datacatalog_v1beta1_SerializedPolicyTag_descriptor, new java.lang.String[] { - "DisplayName", "Description", "ChildPolicyTags", + "PolicyTag", "DisplayName", "Description", "ChildPolicyTags", }); internal_static_google_cloud_datacatalog_v1beta1_ImportTaxonomiesRequest_descriptor = getDescriptor().getMessageTypes().get(2); @@ -194,11 +195,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagOrBuilder.java index 81e8bbae80c8..14c5e54713ae 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -54,10 +54,10 @@ public interface PolicyTagOrBuilder * * *
-   * Required. User defined name of this policy tag. It must: be unique within the parent
-   * taxonomy; contain only unicode letters, numbers, underscores, dashes and
-   * spaces; not start or end with spaces; and be at most 200 bytes long when
-   * encoded in UTF-8.
+   * Required. User defined name of this policy tag. It must: be unique within
+   * the parent taxonomy; contain only unicode letters, numbers, underscores,
+   * dashes and spaces; not start or end with spaces; and be at most 200 bytes
+   * long when encoded in UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -69,10 +69,10 @@ public interface PolicyTagOrBuilder * * *
-   * Required. User defined name of this policy tag. It must: be unique within the parent
-   * taxonomy; contain only unicode letters, numbers, underscores, dashes and
-   * spaces; not start or end with spaces; and be at most 200 bytes long when
-   * encoded in UTF-8.
+   * Required. User defined name of this policy tag. It must: be unique within
+   * the parent taxonomy; contain only unicode letters, numbers, underscores,
+   * dashes and spaces; not start or end with spaces; and be at most 200 bytes
+   * long when encoded in UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldEnumValueRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldEnumValueRequest.java new file mode 100644 index 000000000000..04f6b088fb3c --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldEnumValueRequest.java @@ -0,0 +1,874 @@ +/* + * Copyright 2023 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/datacatalog/v1beta1/datacatalog.proto + +package com.google.cloud.datacatalog.v1beta1; + +/** + * + * + *
+ * Request message for
+ * [RenameTagTemplateFieldEnumValue][google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateFieldEnumValue].
+ * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest} + */ +public final class RenameTagTemplateFieldEnumValueRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest) + RenameTagTemplateFieldEnumValueRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use RenameTagTemplateFieldEnumValueRequest.newBuilder() to construct. + private RenameTagTemplateFieldEnumValueRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private RenameTagTemplateFieldEnumValueRequest() { + name_ = ""; + newEnumValueDisplayName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RenameTagTemplateFieldEnumValueRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Datacatalog + .internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1beta1.Datacatalog + .internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest.class, + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest.Builder + .class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Required. The name of the enum field value. Example:
+   *
+   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The name of the enum field value. Example:
+   *
+   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NEW_ENUM_VALUE_DISPLAY_NAME_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object newEnumValueDisplayName_ = ""; + /** + * + * + *
+   * Required. The new display name of the enum value. For example,
+   * `my_new_enum_value`.
+   * 
+ * + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The newEnumValueDisplayName. + */ + @java.lang.Override + public java.lang.String getNewEnumValueDisplayName() { + java.lang.Object ref = newEnumValueDisplayName_; + 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(); + newEnumValueDisplayName_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The new display name of the enum value. For example,
+   * `my_new_enum_value`.
+   * 
+ * + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for newEnumValueDisplayName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNewEnumValueDisplayNameBytes() { + java.lang.Object ref = newEnumValueDisplayName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + newEnumValueDisplayName_ = 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(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newEnumValueDisplayName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, newEnumValueDisplayName_); + } + 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(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newEnumValueDisplayName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, newEnumValueDisplayName_); + } + 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.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest)) { + return super.equals(obj); + } + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest other = + (com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getNewEnumValueDisplayName().equals(other.getNewEnumValueDisplayName())) 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) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + NEW_ENUM_VALUE_DISPLAY_NAME_FIELD_NUMBER; + hash = (53 * hash) + getNewEnumValueDisplayName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + 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.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + 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.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + 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.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + 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.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + 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.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest 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; + } + /** + * + * + *
+   * Request message for
+   * [RenameTagTemplateFieldEnumValue][google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateFieldEnumValue].
+   * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest) + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Datacatalog + .internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1beta1.Datacatalog + .internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest.class, + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest.Builder + .class); + } + + // Construct using + // com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + newEnumValueDisplayName_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.Datacatalog + .internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldEnumValueRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + getDefaultInstanceForType() { + return com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest build() { + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + buildPartial() { + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest result = + new com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.newEnumValueDisplayName_ = newEnumValueDisplayName_; + } + } + + @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.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest) { + return mergeFrom( + (com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest other) { + if (other + == com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + .getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getNewEnumValueDisplayName().isEmpty()) { + newEnumValueDisplayName_ = other.newEnumValueDisplayName_; + bitField0_ |= 0x00000002; + 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: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + newEnumValueDisplayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + 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 name_ = ""; + /** + * + * + *
+     * Required. The name of the enum field value. Example:
+     *
+     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The name of the enum field value. Example:
+     *
+     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The name of the enum field value. Example:
+     *
+     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the enum field value. Example:
+     *
+     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The name of the enum field value. Example:
+     *
+     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object newEnumValueDisplayName_ = ""; + /** + * + * + *
+     * Required. The new display name of the enum value. For example,
+     * `my_new_enum_value`.
+     * 
+ * + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The newEnumValueDisplayName. + */ + public java.lang.String getNewEnumValueDisplayName() { + java.lang.Object ref = newEnumValueDisplayName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + newEnumValueDisplayName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The new display name of the enum value. For example,
+     * `my_new_enum_value`.
+     * 
+ * + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The bytes for newEnumValueDisplayName. + */ + public com.google.protobuf.ByteString getNewEnumValueDisplayNameBytes() { + java.lang.Object ref = newEnumValueDisplayName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + newEnumValueDisplayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The new display name of the enum value. For example,
+     * `my_new_enum_value`.
+     * 
+ * + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The newEnumValueDisplayName to set. + * @return This builder for chaining. + */ + public Builder setNewEnumValueDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + newEnumValueDisplayName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The new display name of the enum value. For example,
+     * `my_new_enum_value`.
+     * 
+ * + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return This builder for chaining. + */ + public Builder clearNewEnumValueDisplayName() { + newEnumValueDisplayName_ = getDefaultInstance().getNewEnumValueDisplayName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The new display name of the enum value. For example,
+     * `my_new_enum_value`.
+     * 
+ * + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The bytes for newEnumValueDisplayName to set. + * @return This builder for chaining. + */ + public Builder setNewEnumValueDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + newEnumValueDisplayName_ = value; + bitField0_ |= 0x00000002; + 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.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest) + private static final com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest(); + } + + public static com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RenameTagTemplateFieldEnumValueRequest 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.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java new file mode 100644 index 000000000000..8ede07bc3493 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java @@ -0,0 +1,85 @@ +/* + * Copyright 2023 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/datacatalog/v1beta1/datacatalog.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface RenameTagTemplateFieldEnumValueRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the enum field value. Example:
+   *
+   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the enum field value. Example:
+   *
+   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Required. The new display name of the enum value. For example,
+   * `my_new_enum_value`.
+   * 
+ * + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The newEnumValueDisplayName. + */ + java.lang.String getNewEnumValueDisplayName(); + /** + * + * + *
+   * Required. The new display name of the enum value. For example,
+   * `my_new_enum_value`.
+   * 
+ * + * string new_enum_value_display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for newEnumValueDisplayName. + */ + com.google.protobuf.ByteString getNewEnumValueDisplayNameBytes(); +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequest.java index bb71af64eb30..aee17750d55e 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -131,7 +131,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Required. The new ID of this tag template field. For example, `my_new_field`.
+   * Required. The new ID of this tag template field. For example,
+   * `my_new_field`.
    * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -154,7 +155,8 @@ public java.lang.String getNewTagTemplateFieldId() { * * *
-   * Required. The new ID of this tag template field. For example, `my_new_field`.
+   * Required. The new ID of this tag template field. For example,
+   * `my_new_field`.
    * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -681,7 +683,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. The new ID of this tag template field. For example, `my_new_field`.
+     * Required. The new ID of this tag template field. For example,
+     * `my_new_field`.
      * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -703,7 +706,8 @@ public java.lang.String getNewTagTemplateFieldId() { * * *
-     * Required. The new ID of this tag template field. For example, `my_new_field`.
+     * Required. The new ID of this tag template field. For example,
+     * `my_new_field`.
      * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -725,7 +729,8 @@ public com.google.protobuf.ByteString getNewTagTemplateFieldIdBytes() { * * *
-     * Required. The new ID of this tag template field. For example, `my_new_field`.
+     * Required. The new ID of this tag template field. For example,
+     * `my_new_field`.
      * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -746,7 +751,8 @@ public Builder setNewTagTemplateFieldId(java.lang.String value) { * * *
-     * Required. The new ID of this tag template field. For example, `my_new_field`.
+     * Required. The new ID of this tag template field. For example,
+     * `my_new_field`.
      * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -763,7 +769,8 @@ public Builder clearNewTagTemplateFieldId() { * * *
-     * Required. The new ID of this tag template field. For example, `my_new_field`.
+     * Required. The new ID of this tag template field. For example,
+     * `my_new_field`.
      * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequestOrBuilder.java index 366f93ba4bba..ff995ecfc89c 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -60,7 +60,8 @@ public interface RenameTagTemplateFieldRequestOrBuilder * * *
-   * Required. The new ID of this tag template field. For example, `my_new_field`.
+   * Required. The new ID of this tag template field. For example,
+   * `my_new_field`.
    * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -72,7 +73,8 @@ public interface RenameTagTemplateFieldRequestOrBuilder * * *
-   * Required. The new ID of this tag template field. For example, `my_new_field`.
+   * Required. The new ID of this tag template field. For example,
+   * `my_new_field`.
    * 
* * string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Schema.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Schema.java index 2efc645a52dc..7fd00d9397ca 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Schema.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Schema.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,8 +70,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-   * specified.
+   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+   * can be specified.
    * 
* * @@ -86,8 +86,8 @@ public java.util.List getColu * * *
-   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-   * specified.
+   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+   * can be specified.
    * 
* * @@ -103,8 +103,8 @@ public java.util.List getColu * * *
-   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-   * specified.
+   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+   * can be specified.
    * 
* * @@ -119,8 +119,8 @@ public int getColumnsCount() { * * *
-   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-   * specified.
+   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+   * can be specified.
    * 
* * @@ -135,8 +135,8 @@ public com.google.cloud.datacatalog.v1beta1.ColumnSchema getColumns(int index) { * * *
-   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-   * specified.
+   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+   * can be specified.
    * 
* * @@ -558,8 +558,8 @@ private void ensureColumnsIsMutable() { * * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* * @@ -577,8 +577,8 @@ public java.util.List getColu * * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* * @@ -596,8 +596,8 @@ public int getColumnsCount() { * * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* * @@ -615,8 +615,8 @@ public com.google.cloud.datacatalog.v1beta1.ColumnSchema getColumns(int index) { * * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* * @@ -640,8 +640,8 @@ public Builder setColumns(int index, com.google.cloud.datacatalog.v1beta1.Column * * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* * @@ -663,8 +663,8 @@ public Builder setColumns( * * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* * @@ -688,8 +688,8 @@ public Builder addColumns(com.google.cloud.datacatalog.v1beta1.ColumnSchema valu * * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* * @@ -713,8 +713,8 @@ public Builder addColumns(int index, com.google.cloud.datacatalog.v1beta1.Column * * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* * @@ -736,8 +736,8 @@ public Builder addColumns( * * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* * @@ -759,8 +759,8 @@ public Builder addColumns( * * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* * @@ -782,8 +782,8 @@ public Builder addAllColumns( * * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* * @@ -804,8 +804,8 @@ public Builder clearColumns() { * * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* * @@ -826,8 +826,8 @@ public Builder removeColumns(int index) { * * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* * @@ -841,8 +841,8 @@ public com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder getColumnsBuild * * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* * @@ -861,8 +861,8 @@ public com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder getColumnsOrBu * * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* * @@ -881,8 +881,8 @@ public com.google.cloud.datacatalog.v1beta1.ColumnSchemaOrBuilder getColumnsOrBu * * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* * @@ -897,8 +897,8 @@ public com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder addColumnsBuild * * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* * @@ -914,8 +914,8 @@ public com.google.cloud.datacatalog.v1beta1.ColumnSchema.Builder addColumnsBuild * * *
-     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-     * specified.
+     * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+     * can be specified.
      * 
* * diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOrBuilder.java index 5dacc743a461..97f8a17707a6 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,8 +27,8 @@ public interface SchemaOrBuilder * * *
-   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-   * specified.
+   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+   * can be specified.
    * 
* * @@ -40,8 +40,8 @@ public interface SchemaOrBuilder * * *
-   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-   * specified.
+   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+   * can be specified.
    * 
* * @@ -53,8 +53,8 @@ public interface SchemaOrBuilder * * *
-   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-   * specified.
+   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+   * can be specified.
    * 
* * @@ -66,8 +66,8 @@ public interface SchemaOrBuilder * * *
-   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-   * specified.
+   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+   * can be specified.
    * 
* * @@ -80,8 +80,8 @@ public interface SchemaOrBuilder * * *
-   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be
-   * specified.
+   * Required. Schema of columns. A maximum of 10,000 columns and sub-columns
+   * can be specified.
    * 
* * diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOuterClass.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOuterClass.java index 621c30909297..3bf144039da2 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOuterClass.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOuterClass.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Search.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Search.java index c1e8f2bfc640..55edae3d270c 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Search.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Search.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -42,27 +42,30 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n-google/cloud/datacatalog/v1beta1/searc" + "h.proto\022 google.cloud.datacatalog.v1beta" - + "1\032-google/cloud/datacatalog/v1beta1/comm" - + "on.proto\"\275\001\n\023SearchCatalogResult\022N\n\022sear" - + "ch_result_type\030\001 \001(\01622.google.cloud.data" - + "catalog.v1beta1.SearchResultType\022\035\n\025sear" - + "ch_result_subtype\030\002 \001(\t\022\036\n\026relative_reso" - + "urce_name\030\003 \001(\t\022\027\n\017linked_resource\030\004 \001(\t" - + "*d\n\020SearchResultType\022\"\n\036SEARCH_RESULT_TY" - + "PE_UNSPECIFIED\020\000\022\t\n\005ENTRY\020\001\022\020\n\014TAG_TEMPL" - + "ATE\020\002\022\017\n\013ENTRY_GROUP\020\003B\337\001\n$com.google.cl" - + "oud.datacatalog.v1beta1P\001ZFcloud.google." - + "com/go/datacatalog/apiv1beta1/datacatalo" - + "gpb;datacatalogpb\370\001\001\252\002 Google.Cloud.Data" - + "Catalog.V1Beta1\312\002 Google\\Cloud\\DataCatal" - + "og\\V1beta1\352\002#Google::Cloud::DataCatalog:" - + ":V1beta1b\006proto3" + + "1\032\037google/api/field_behavior.proto\032\037goog" + + "le/protobuf/timestamp.proto\"\356\001\n\023SearchCa" + + "talogResult\022N\n\022search_result_type\030\001 \001(\0162" + + "2.google.cloud.datacatalog.v1beta1.Searc" + + "hResultType\022\035\n\025search_result_subtype\030\002 \001" + + "(\t\022\036\n\026relative_resource_name\030\003 \001(\t\022\027\n\017li" + + "nked_resource\030\004 \001(\t\022/\n\013modify_time\030\007 \001(\013" + + "2\032.google.protobuf.Timestamp*d\n\020SearchRe" + + "sultType\022\"\n\036SEARCH_RESULT_TYPE_UNSPECIFI" + + "ED\020\000\022\t\n\005ENTRY\020\001\022\020\n\014TAG_TEMPLATE\020\002\022\017\n\013ENT" + + "RY_GROUP\020\003B\337\001\n$com.google.cloud.datacata" + + "log.v1beta1P\001ZFcloud.google.com/go/datac" + + "atalog/apiv1beta1/datacatalogpb;datacata" + + "logpb\370\001\001\252\002 Google.Cloud.DataCatalog.V1Be" + + "ta1\312\002 Google\\Cloud\\DataCatalog\\V1beta1\352\002" + + "#Google::Cloud::DataCatalog::V1beta1b\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.cloud.datacatalog.v1beta1.Common.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), }); internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_descriptor = getDescriptor().getMessageTypes().get(0); @@ -70,9 +73,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_descriptor, new java.lang.String[] { - "SearchResultType", "SearchResultSubtype", "RelativeResourceName", "LinkedResource", + "SearchResultType", + "SearchResultSubtype", + "RelativeResourceName", + "LinkedResource", + "ModifyTime", }); - com.google.cloud.datacatalog.v1beta1.Common.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequest.java index 88970d8aa6c1..5f7d1ee80d9e 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -192,10 +192,10 @@ public interface ScopeOrBuilder * * *
-     * If `true`, include Google Cloud Platform (GCP) public datasets in the
-     * search results. Info on GCP public datasets is available at
-     * https://cloud.google.com/public-datasets/. By default, GCP public
-     * datasets are excluded.
+     * If `true`, include Google Cloud public datasets in the
+     * search results. Info on Google Cloud public datasets is available at
+     * https://cloud.google.com/public-datasets/. By default, Google Cloud
+     * public datasets are excluded.
      * 
* * bool include_gcp_public_datasets = 7; @@ -203,6 +203,197 @@ public interface ScopeOrBuilder * @return The includeGcpPublicDatasets. */ boolean getIncludeGcpPublicDatasets(); + + /** + * + * + *
+     * Optional. The list of locations to search within.
+     * 1. If empty, search will be performed in all locations;
+     * 2. If any of the locations are NOT in the valid locations list, error
+     * will be returned;
+     * 3. Otherwise, search only the given locations for matching results.
+     * Typical usage is to leave this field empty. When a location is
+     * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+     * users can repeat the search request with this parameter set to get
+     * additional information on the error.
+     *
+     * Valid locations:
+     *  * asia-east1
+     *  * asia-east2
+     *  * asia-northeast1
+     *  * asia-northeast2
+     *  * asia-northeast3
+     *  * asia-south1
+     *  * asia-southeast1
+     *  * australia-southeast1
+     *  * eu
+     *  * europe-north1
+     *  * europe-west1
+     *  * europe-west2
+     *  * europe-west3
+     *  * europe-west4
+     *  * europe-west6
+     *  * global
+     *  * northamerica-northeast1
+     *  * southamerica-east1
+     *  * us
+     *  * us-central1
+     *  * us-east1
+     *  * us-east4
+     *  * us-west1
+     *  * us-west2
+     * 
+ * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return A list containing the restrictedLocations. + */ + java.util.List getRestrictedLocationsList(); + /** + * + * + *
+     * Optional. The list of locations to search within.
+     * 1. If empty, search will be performed in all locations;
+     * 2. If any of the locations are NOT in the valid locations list, error
+     * will be returned;
+     * 3. Otherwise, search only the given locations for matching results.
+     * Typical usage is to leave this field empty. When a location is
+     * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+     * users can repeat the search request with this parameter set to get
+     * additional information on the error.
+     *
+     * Valid locations:
+     *  * asia-east1
+     *  * asia-east2
+     *  * asia-northeast1
+     *  * asia-northeast2
+     *  * asia-northeast3
+     *  * asia-south1
+     *  * asia-southeast1
+     *  * australia-southeast1
+     *  * eu
+     *  * europe-north1
+     *  * europe-west1
+     *  * europe-west2
+     *  * europe-west3
+     *  * europe-west4
+     *  * europe-west6
+     *  * global
+     *  * northamerica-northeast1
+     *  * southamerica-east1
+     *  * us
+     *  * us-central1
+     *  * us-east1
+     *  * us-east4
+     *  * us-west1
+     *  * us-west2
+     * 
+ * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The count of restrictedLocations. + */ + int getRestrictedLocationsCount(); + /** + * + * + *
+     * Optional. The list of locations to search within.
+     * 1. If empty, search will be performed in all locations;
+     * 2. If any of the locations are NOT in the valid locations list, error
+     * will be returned;
+     * 3. Otherwise, search only the given locations for matching results.
+     * Typical usage is to leave this field empty. When a location is
+     * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+     * users can repeat the search request with this parameter set to get
+     * additional information on the error.
+     *
+     * Valid locations:
+     *  * asia-east1
+     *  * asia-east2
+     *  * asia-northeast1
+     *  * asia-northeast2
+     *  * asia-northeast3
+     *  * asia-south1
+     *  * asia-southeast1
+     *  * australia-southeast1
+     *  * eu
+     *  * europe-north1
+     *  * europe-west1
+     *  * europe-west2
+     *  * europe-west3
+     *  * europe-west4
+     *  * europe-west6
+     *  * global
+     *  * northamerica-northeast1
+     *  * southamerica-east1
+     *  * us
+     *  * us-central1
+     *  * us-east1
+     *  * us-east4
+     *  * us-west1
+     *  * us-west2
+     * 
+ * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index of the element to return. + * @return The restrictedLocations at the given index. + */ + java.lang.String getRestrictedLocations(int index); + /** + * + * + *
+     * Optional. The list of locations to search within.
+     * 1. If empty, search will be performed in all locations;
+     * 2. If any of the locations are NOT in the valid locations list, error
+     * will be returned;
+     * 3. Otherwise, search only the given locations for matching results.
+     * Typical usage is to leave this field empty. When a location is
+     * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+     * users can repeat the search request with this parameter set to get
+     * additional information on the error.
+     *
+     * Valid locations:
+     *  * asia-east1
+     *  * asia-east2
+     *  * asia-northeast1
+     *  * asia-northeast2
+     *  * asia-northeast3
+     *  * asia-south1
+     *  * asia-southeast1
+     *  * australia-southeast1
+     *  * eu
+     *  * europe-north1
+     *  * europe-west1
+     *  * europe-west2
+     *  * europe-west3
+     *  * europe-west4
+     *  * europe-west6
+     *  * global
+     *  * northamerica-northeast1
+     *  * southamerica-east1
+     *  * us
+     *  * us-central1
+     *  * us-east1
+     *  * us-east4
+     *  * us-west1
+     *  * us-west2
+     * 
+ * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index of the value to return. + * @return The bytes of the restrictedLocations at the given index. + */ + com.google.protobuf.ByteString getRestrictedLocationsBytes(int index); } /** * @@ -226,6 +417,7 @@ private Scope(com.google.protobuf.GeneratedMessageV3.Builder builder) { private Scope() { includeOrgIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); includeProjectIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + restrictedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @@ -399,10 +591,10 @@ public com.google.protobuf.ByteString getIncludeProjectIdsBytes(int index) { * * *
-     * If `true`, include Google Cloud Platform (GCP) public datasets in the
-     * search results. Info on GCP public datasets is available at
-     * https://cloud.google.com/public-datasets/. By default, GCP public
-     * datasets are excluded.
+     * If `true`, include Google Cloud public datasets in the
+     * search results. Info on Google Cloud public datasets is available at
+     * https://cloud.google.com/public-datasets/. By default, Google Cloud
+     * public datasets are excluded.
      * 
* * bool include_gcp_public_datasets = 7; @@ -414,6 +606,210 @@ public boolean getIncludeGcpPublicDatasets() { return includeGcpPublicDatasets_; } + public static final int RESTRICTED_LOCATIONS_FIELD_NUMBER = 16; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList restrictedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * + * + *
+     * Optional. The list of locations to search within.
+     * 1. If empty, search will be performed in all locations;
+     * 2. If any of the locations are NOT in the valid locations list, error
+     * will be returned;
+     * 3. Otherwise, search only the given locations for matching results.
+     * Typical usage is to leave this field empty. When a location is
+     * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+     * users can repeat the search request with this parameter set to get
+     * additional information on the error.
+     *
+     * Valid locations:
+     *  * asia-east1
+     *  * asia-east2
+     *  * asia-northeast1
+     *  * asia-northeast2
+     *  * asia-northeast3
+     *  * asia-south1
+     *  * asia-southeast1
+     *  * australia-southeast1
+     *  * eu
+     *  * europe-north1
+     *  * europe-west1
+     *  * europe-west2
+     *  * europe-west3
+     *  * europe-west4
+     *  * europe-west6
+     *  * global
+     *  * northamerica-northeast1
+     *  * southamerica-east1
+     *  * us
+     *  * us-central1
+     *  * us-east1
+     *  * us-east4
+     *  * us-west1
+     *  * us-west2
+     * 
+ * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return A list containing the restrictedLocations. + */ + public com.google.protobuf.ProtocolStringList getRestrictedLocationsList() { + return restrictedLocations_; + } + /** + * + * + *
+     * Optional. The list of locations to search within.
+     * 1. If empty, search will be performed in all locations;
+     * 2. If any of the locations are NOT in the valid locations list, error
+     * will be returned;
+     * 3. Otherwise, search only the given locations for matching results.
+     * Typical usage is to leave this field empty. When a location is
+     * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+     * users can repeat the search request with this parameter set to get
+     * additional information on the error.
+     *
+     * Valid locations:
+     *  * asia-east1
+     *  * asia-east2
+     *  * asia-northeast1
+     *  * asia-northeast2
+     *  * asia-northeast3
+     *  * asia-south1
+     *  * asia-southeast1
+     *  * australia-southeast1
+     *  * eu
+     *  * europe-north1
+     *  * europe-west1
+     *  * europe-west2
+     *  * europe-west3
+     *  * europe-west4
+     *  * europe-west6
+     *  * global
+     *  * northamerica-northeast1
+     *  * southamerica-east1
+     *  * us
+     *  * us-central1
+     *  * us-east1
+     *  * us-east4
+     *  * us-west1
+     *  * us-west2
+     * 
+ * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The count of restrictedLocations. + */ + public int getRestrictedLocationsCount() { + return restrictedLocations_.size(); + } + /** + * + * + *
+     * Optional. The list of locations to search within.
+     * 1. If empty, search will be performed in all locations;
+     * 2. If any of the locations are NOT in the valid locations list, error
+     * will be returned;
+     * 3. Otherwise, search only the given locations for matching results.
+     * Typical usage is to leave this field empty. When a location is
+     * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+     * users can repeat the search request with this parameter set to get
+     * additional information on the error.
+     *
+     * Valid locations:
+     *  * asia-east1
+     *  * asia-east2
+     *  * asia-northeast1
+     *  * asia-northeast2
+     *  * asia-northeast3
+     *  * asia-south1
+     *  * asia-southeast1
+     *  * australia-southeast1
+     *  * eu
+     *  * europe-north1
+     *  * europe-west1
+     *  * europe-west2
+     *  * europe-west3
+     *  * europe-west4
+     *  * europe-west6
+     *  * global
+     *  * northamerica-northeast1
+     *  * southamerica-east1
+     *  * us
+     *  * us-central1
+     *  * us-east1
+     *  * us-east4
+     *  * us-west1
+     *  * us-west2
+     * 
+ * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index of the element to return. + * @return The restrictedLocations at the given index. + */ + public java.lang.String getRestrictedLocations(int index) { + return restrictedLocations_.get(index); + } + /** + * + * + *
+     * Optional. The list of locations to search within.
+     * 1. If empty, search will be performed in all locations;
+     * 2. If any of the locations are NOT in the valid locations list, error
+     * will be returned;
+     * 3. Otherwise, search only the given locations for matching results.
+     * Typical usage is to leave this field empty. When a location is
+     * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+     * users can repeat the search request with this parameter set to get
+     * additional information on the error.
+     *
+     * Valid locations:
+     *  * asia-east1
+     *  * asia-east2
+     *  * asia-northeast1
+     *  * asia-northeast2
+     *  * asia-northeast3
+     *  * asia-south1
+     *  * asia-southeast1
+     *  * australia-southeast1
+     *  * eu
+     *  * europe-north1
+     *  * europe-west1
+     *  * europe-west2
+     *  * europe-west3
+     *  * europe-west4
+     *  * europe-west6
+     *  * global
+     *  * northamerica-northeast1
+     *  * southamerica-east1
+     *  * us
+     *  * us-central1
+     *  * us-east1
+     *  * us-east4
+     *  * us-west1
+     *  * us-west2
+     * 
+ * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index of the value to return. + * @return The bytes of the restrictedLocations at the given index. + */ + public com.google.protobuf.ByteString getRestrictedLocationsBytes(int index) { + return restrictedLocations_.getByteString(index); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -437,6 +833,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (includeGcpPublicDatasets_ != false) { output.writeBool(7, includeGcpPublicDatasets_); } + for (int i = 0; i < restrictedLocations_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 16, restrictedLocations_.getRaw(i)); + } getUnknownFields().writeTo(output); } @@ -465,6 +865,14 @@ public int getSerializedSize() { if (includeGcpPublicDatasets_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, includeGcpPublicDatasets_); } + { + int dataSize = 0; + for (int i = 0; i < restrictedLocations_.size(); i++) { + dataSize += computeStringSizeNoTag(restrictedLocations_.getRaw(i)); + } + size += dataSize; + size += 2 * getRestrictedLocationsList().size(); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -484,6 +892,7 @@ public boolean equals(final java.lang.Object obj) { if (!getIncludeOrgIdsList().equals(other.getIncludeOrgIdsList())) return false; if (!getIncludeProjectIdsList().equals(other.getIncludeProjectIdsList())) return false; if (getIncludeGcpPublicDatasets() != other.getIncludeGcpPublicDatasets()) return false; + if (!getRestrictedLocationsList().equals(other.getRestrictedLocationsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -505,6 +914,10 @@ public int hashCode() { } hash = (37 * hash) + INCLUDE_GCP_PUBLIC_DATASETS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeGcpPublicDatasets()); + if (getRestrictedLocationsCount() > 0) { + hash = (37 * hash) + RESTRICTED_LOCATIONS_FIELD_NUMBER; + hash = (53 * hash) + getRestrictedLocationsList().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -652,6 +1065,7 @@ public Builder clear() { includeOrgIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); includeProjectIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); includeGcpPublicDatasets_ = false; + restrictedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @@ -701,6 +1115,10 @@ private void buildPartial0( if (((from_bitField0_ & 0x00000004) != 0)) { result.includeGcpPublicDatasets_ = includeGcpPublicDatasets_; } + if (((from_bitField0_ & 0x00000008) != 0)) { + restrictedLocations_.makeImmutable(); + result.restrictedLocations_ = restrictedLocations_; + } } @java.lang.Override @@ -776,6 +1194,16 @@ public Builder mergeFrom( if (other.getIncludeGcpPublicDatasets() != false) { setIncludeGcpPublicDatasets(other.getIncludeGcpPublicDatasets()); } + if (!other.restrictedLocations_.isEmpty()) { + if (restrictedLocations_.isEmpty()) { + restrictedLocations_ = other.restrictedLocations_; + bitField0_ |= 0x00000008; + } else { + ensureRestrictedLocationsIsMutable(); + restrictedLocations_.addAll(other.restrictedLocations_); + } + onChanged(); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -822,6 +1250,13 @@ public Builder mergeFrom( bitField0_ |= 0x00000004; break; } // case 56 + case 130: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureRestrictedLocationsIsMutable(); + restrictedLocations_.add(s); + break; + } // case 130 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1230,10 +1665,10 @@ public Builder addIncludeProjectIdsBytes(com.google.protobuf.ByteString value) { * * *
-       * If `true`, include Google Cloud Platform (GCP) public datasets in the
-       * search results. Info on GCP public datasets is available at
-       * https://cloud.google.com/public-datasets/. By default, GCP public
-       * datasets are excluded.
+       * If `true`, include Google Cloud public datasets in the
+       * search results. Info on Google Cloud public datasets is available at
+       * https://cloud.google.com/public-datasets/. By default, Google Cloud
+       * public datasets are excluded.
        * 
* * bool include_gcp_public_datasets = 7; @@ -1248,10 +1683,10 @@ public boolean getIncludeGcpPublicDatasets() { * * *
-       * If `true`, include Google Cloud Platform (GCP) public datasets in the
-       * search results. Info on GCP public datasets is available at
-       * https://cloud.google.com/public-datasets/. By default, GCP public
-       * datasets are excluded.
+       * If `true`, include Google Cloud public datasets in the
+       * search results. Info on Google Cloud public datasets is available at
+       * https://cloud.google.com/public-datasets/. By default, Google Cloud
+       * public datasets are excluded.
        * 
* * bool include_gcp_public_datasets = 7; @@ -1270,10 +1705,10 @@ public Builder setIncludeGcpPublicDatasets(boolean value) { * * *
-       * If `true`, include Google Cloud Platform (GCP) public datasets in the
-       * search results. Info on GCP public datasets is available at
-       * https://cloud.google.com/public-datasets/. By default, GCP public
-       * datasets are excluded.
+       * If `true`, include Google Cloud public datasets in the
+       * search results. Info on Google Cloud public datasets is available at
+       * https://cloud.google.com/public-datasets/. By default, Google Cloud
+       * public datasets are excluded.
        * 
* * bool include_gcp_public_datasets = 7; @@ -1287,6 +1722,495 @@ public Builder clearIncludeGcpPublicDatasets() { return this; } + private com.google.protobuf.LazyStringArrayList restrictedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureRestrictedLocationsIsMutable() { + if (!restrictedLocations_.isModifiable()) { + restrictedLocations_ = new com.google.protobuf.LazyStringArrayList(restrictedLocations_); + } + bitField0_ |= 0x00000008; + } + /** + * + * + *
+       * Optional. The list of locations to search within.
+       * 1. If empty, search will be performed in all locations;
+       * 2. If any of the locations are NOT in the valid locations list, error
+       * will be returned;
+       * 3. Otherwise, search only the given locations for matching results.
+       * Typical usage is to leave this field empty. When a location is
+       * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+       * users can repeat the search request with this parameter set to get
+       * additional information on the error.
+       *
+       * Valid locations:
+       *  * asia-east1
+       *  * asia-east2
+       *  * asia-northeast1
+       *  * asia-northeast2
+       *  * asia-northeast3
+       *  * asia-south1
+       *  * asia-southeast1
+       *  * australia-southeast1
+       *  * eu
+       *  * europe-north1
+       *  * europe-west1
+       *  * europe-west2
+       *  * europe-west3
+       *  * europe-west4
+       *  * europe-west6
+       *  * global
+       *  * northamerica-northeast1
+       *  * southamerica-east1
+       *  * us
+       *  * us-central1
+       *  * us-east1
+       *  * us-east4
+       *  * us-west1
+       *  * us-west2
+       * 
+ * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return A list containing the restrictedLocations. + */ + public com.google.protobuf.ProtocolStringList getRestrictedLocationsList() { + restrictedLocations_.makeImmutable(); + return restrictedLocations_; + } + /** + * + * + *
+       * Optional. The list of locations to search within.
+       * 1. If empty, search will be performed in all locations;
+       * 2. If any of the locations are NOT in the valid locations list, error
+       * will be returned;
+       * 3. Otherwise, search only the given locations for matching results.
+       * Typical usage is to leave this field empty. When a location is
+       * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+       * users can repeat the search request with this parameter set to get
+       * additional information on the error.
+       *
+       * Valid locations:
+       *  * asia-east1
+       *  * asia-east2
+       *  * asia-northeast1
+       *  * asia-northeast2
+       *  * asia-northeast3
+       *  * asia-south1
+       *  * asia-southeast1
+       *  * australia-southeast1
+       *  * eu
+       *  * europe-north1
+       *  * europe-west1
+       *  * europe-west2
+       *  * europe-west3
+       *  * europe-west4
+       *  * europe-west6
+       *  * global
+       *  * northamerica-northeast1
+       *  * southamerica-east1
+       *  * us
+       *  * us-central1
+       *  * us-east1
+       *  * us-east4
+       *  * us-west1
+       *  * us-west2
+       * 
+ * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The count of restrictedLocations. + */ + public int getRestrictedLocationsCount() { + return restrictedLocations_.size(); + } + /** + * + * + *
+       * Optional. The list of locations to search within.
+       * 1. If empty, search will be performed in all locations;
+       * 2. If any of the locations are NOT in the valid locations list, error
+       * will be returned;
+       * 3. Otherwise, search only the given locations for matching results.
+       * Typical usage is to leave this field empty. When a location is
+       * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+       * users can repeat the search request with this parameter set to get
+       * additional information on the error.
+       *
+       * Valid locations:
+       *  * asia-east1
+       *  * asia-east2
+       *  * asia-northeast1
+       *  * asia-northeast2
+       *  * asia-northeast3
+       *  * asia-south1
+       *  * asia-southeast1
+       *  * australia-southeast1
+       *  * eu
+       *  * europe-north1
+       *  * europe-west1
+       *  * europe-west2
+       *  * europe-west3
+       *  * europe-west4
+       *  * europe-west6
+       *  * global
+       *  * northamerica-northeast1
+       *  * southamerica-east1
+       *  * us
+       *  * us-central1
+       *  * us-east1
+       *  * us-east4
+       *  * us-west1
+       *  * us-west2
+       * 
+ * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index of the element to return. + * @return The restrictedLocations at the given index. + */ + public java.lang.String getRestrictedLocations(int index) { + return restrictedLocations_.get(index); + } + /** + * + * + *
+       * Optional. The list of locations to search within.
+       * 1. If empty, search will be performed in all locations;
+       * 2. If any of the locations are NOT in the valid locations list, error
+       * will be returned;
+       * 3. Otherwise, search only the given locations for matching results.
+       * Typical usage is to leave this field empty. When a location is
+       * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+       * users can repeat the search request with this parameter set to get
+       * additional information on the error.
+       *
+       * Valid locations:
+       *  * asia-east1
+       *  * asia-east2
+       *  * asia-northeast1
+       *  * asia-northeast2
+       *  * asia-northeast3
+       *  * asia-south1
+       *  * asia-southeast1
+       *  * australia-southeast1
+       *  * eu
+       *  * europe-north1
+       *  * europe-west1
+       *  * europe-west2
+       *  * europe-west3
+       *  * europe-west4
+       *  * europe-west6
+       *  * global
+       *  * northamerica-northeast1
+       *  * southamerica-east1
+       *  * us
+       *  * us-central1
+       *  * us-east1
+       *  * us-east4
+       *  * us-west1
+       *  * us-west2
+       * 
+ * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index of the value to return. + * @return The bytes of the restrictedLocations at the given index. + */ + public com.google.protobuf.ByteString getRestrictedLocationsBytes(int index) { + return restrictedLocations_.getByteString(index); + } + /** + * + * + *
+       * Optional. The list of locations to search within.
+       * 1. If empty, search will be performed in all locations;
+       * 2. If any of the locations are NOT in the valid locations list, error
+       * will be returned;
+       * 3. Otherwise, search only the given locations for matching results.
+       * Typical usage is to leave this field empty. When a location is
+       * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+       * users can repeat the search request with this parameter set to get
+       * additional information on the error.
+       *
+       * Valid locations:
+       *  * asia-east1
+       *  * asia-east2
+       *  * asia-northeast1
+       *  * asia-northeast2
+       *  * asia-northeast3
+       *  * asia-south1
+       *  * asia-southeast1
+       *  * australia-southeast1
+       *  * eu
+       *  * europe-north1
+       *  * europe-west1
+       *  * europe-west2
+       *  * europe-west3
+       *  * europe-west4
+       *  * europe-west6
+       *  * global
+       *  * northamerica-northeast1
+       *  * southamerica-east1
+       *  * us
+       *  * us-central1
+       *  * us-east1
+       *  * us-east4
+       *  * us-west1
+       *  * us-west2
+       * 
+ * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param index The index to set the value at. + * @param value The restrictedLocations to set. + * @return This builder for chaining. + */ + public Builder setRestrictedLocations(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureRestrictedLocationsIsMutable(); + restrictedLocations_.set(index, value); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+       * Optional. The list of locations to search within.
+       * 1. If empty, search will be performed in all locations;
+       * 2. If any of the locations are NOT in the valid locations list, error
+       * will be returned;
+       * 3. Otherwise, search only the given locations for matching results.
+       * Typical usage is to leave this field empty. When a location is
+       * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+       * users can repeat the search request with this parameter set to get
+       * additional information on the error.
+       *
+       * Valid locations:
+       *  * asia-east1
+       *  * asia-east2
+       *  * asia-northeast1
+       *  * asia-northeast2
+       *  * asia-northeast3
+       *  * asia-south1
+       *  * asia-southeast1
+       *  * australia-southeast1
+       *  * eu
+       *  * europe-north1
+       *  * europe-west1
+       *  * europe-west2
+       *  * europe-west3
+       *  * europe-west4
+       *  * europe-west6
+       *  * global
+       *  * northamerica-northeast1
+       *  * southamerica-east1
+       *  * us
+       *  * us-central1
+       *  * us-east1
+       *  * us-east4
+       *  * us-west1
+       *  * us-west2
+       * 
+ * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The restrictedLocations to add. + * @return This builder for chaining. + */ + public Builder addRestrictedLocations(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureRestrictedLocationsIsMutable(); + restrictedLocations_.add(value); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+       * Optional. The list of locations to search within.
+       * 1. If empty, search will be performed in all locations;
+       * 2. If any of the locations are NOT in the valid locations list, error
+       * will be returned;
+       * 3. Otherwise, search only the given locations for matching results.
+       * Typical usage is to leave this field empty. When a location is
+       * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+       * users can repeat the search request with this parameter set to get
+       * additional information on the error.
+       *
+       * Valid locations:
+       *  * asia-east1
+       *  * asia-east2
+       *  * asia-northeast1
+       *  * asia-northeast2
+       *  * asia-northeast3
+       *  * asia-south1
+       *  * asia-southeast1
+       *  * australia-southeast1
+       *  * eu
+       *  * europe-north1
+       *  * europe-west1
+       *  * europe-west2
+       *  * europe-west3
+       *  * europe-west4
+       *  * europe-west6
+       *  * global
+       *  * northamerica-northeast1
+       *  * southamerica-east1
+       *  * us
+       *  * us-central1
+       *  * us-east1
+       *  * us-east4
+       *  * us-west1
+       *  * us-west2
+       * 
+ * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param values The restrictedLocations to add. + * @return This builder for chaining. + */ + public Builder addAllRestrictedLocations(java.lang.Iterable values) { + ensureRestrictedLocationsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, restrictedLocations_); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+       * Optional. The list of locations to search within.
+       * 1. If empty, search will be performed in all locations;
+       * 2. If any of the locations are NOT in the valid locations list, error
+       * will be returned;
+       * 3. Otherwise, search only the given locations for matching results.
+       * Typical usage is to leave this field empty. When a location is
+       * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+       * users can repeat the search request with this parameter set to get
+       * additional information on the error.
+       *
+       * Valid locations:
+       *  * asia-east1
+       *  * asia-east2
+       *  * asia-northeast1
+       *  * asia-northeast2
+       *  * asia-northeast3
+       *  * asia-south1
+       *  * asia-southeast1
+       *  * australia-southeast1
+       *  * eu
+       *  * europe-north1
+       *  * europe-west1
+       *  * europe-west2
+       *  * europe-west3
+       *  * europe-west4
+       *  * europe-west6
+       *  * global
+       *  * northamerica-northeast1
+       *  * southamerica-east1
+       *  * us
+       *  * us-central1
+       *  * us-east1
+       *  * us-east4
+       *  * us-west1
+       *  * us-west2
+       * 
+ * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearRestrictedLocations() { + restrictedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + ; + onChanged(); + return this; + } + /** + * + * + *
+       * Optional. The list of locations to search within.
+       * 1. If empty, search will be performed in all locations;
+       * 2. If any of the locations are NOT in the valid locations list, error
+       * will be returned;
+       * 3. Otherwise, search only the given locations for matching results.
+       * Typical usage is to leave this field empty. When a location is
+       * unreachable as returned in the `SearchCatalogResponse.unreachable` field,
+       * users can repeat the search request with this parameter set to get
+       * additional information on the error.
+       *
+       * Valid locations:
+       *  * asia-east1
+       *  * asia-east2
+       *  * asia-northeast1
+       *  * asia-northeast2
+       *  * asia-northeast3
+       *  * asia-south1
+       *  * asia-southeast1
+       *  * australia-southeast1
+       *  * eu
+       *  * europe-north1
+       *  * europe-west1
+       *  * europe-west2
+       *  * europe-west3
+       *  * europe-west4
+       *  * europe-west6
+       *  * global
+       *  * northamerica-northeast1
+       *  * southamerica-east1
+       *  * us
+       *  * us-central1
+       *  * us-east1
+       *  * us-east4
+       *  * us-west1
+       *  * us-west2
+       * 
+ * + * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The bytes of the restrictedLocations to add. + * @return This builder for chaining. + */ + public Builder addRestrictedLocationsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureRestrictedLocationsIsMutable(); + restrictedLocations_.add(value); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1428,9 +2352,9 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope getScope( * * *
-   * Required. The query string in search query syntax. The query must be non-empty.
-   *
-   * Query strings can be simple as "x" or more qualified as:
+   * Optional. The query string in search query syntax. An empty query string
+   * will result in all data assets (in the specified scope) that the user has
+   * access to. Query strings can be simple as "x" or more qualified as:
    *
    * * name:x
    * * column:x
@@ -1442,7 +2366,7 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope getScope(
    * for more information.
    * 
* - * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The query. */ @@ -1462,9 +2386,9 @@ public java.lang.String getQuery() { * * *
-   * Required. The query string in search query syntax. The query must be non-empty.
-   *
-   * Query strings can be simple as "x" or more qualified as:
+   * Optional. The query string in search query syntax. An empty query string
+   * will result in all data assets (in the specified scope) that the user has
+   * access to. Query strings can be simple as "x" or more qualified as:
    *
    * * name:x
    * * column:x
@@ -1476,7 +2400,7 @@ public java.lang.String getQuery() {
    * for more information.
    * 
* - * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for query. */ @@ -1521,8 +2445,8 @@ public int getPageSize() { * *
    * Optional. Pagination token returned in an earlier
-   * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
-   * indicates that this is a continuation of a prior
+   * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
+   * which indicates that this is a continuation of a prior
    * [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog]
    * call, and that the system should return the next page of data. If empty,
    * the first page is returned.
@@ -1549,8 +2473,8 @@ public java.lang.String getPageToken() {
    *
    * 
    * Optional. Pagination token returned in an earlier
-   * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
-   * indicates that this is a continuation of a prior
+   * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
+   * which indicates that this is a continuation of a prior
    * [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog]
    * call, and that the system should return the next page of data. If empty,
    * the first page is returned.
@@ -1587,6 +2511,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    *   * `relevance`, only supports descending
    *   * `last_modified_timestamp [asc|desc]`, defaults to descending if not
    *     specified
+   *   * `default` that can only be descending
    *
    * If not specified, defaults to `relevance` descending.
    * 
@@ -1617,6 +2542,7 @@ public java.lang.String getOrderBy() { * * `relevance`, only supports descending * * `last_modified_timestamp [asc|desc]`, defaults to descending if not * specified + * * `default` that can only be descending * * If not specified, defaults to `relevance` descending. *
@@ -2322,9 +3248,9 @@ public Builder clearScope() { * * *
-     * Required. The query string in search query syntax. The query must be non-empty.
-     *
-     * Query strings can be simple as "x" or more qualified as:
+     * Optional. The query string in search query syntax. An empty query string
+     * will result in all data assets (in the specified scope) that the user has
+     * access to. Query strings can be simple as "x" or more qualified as:
      *
      * * name:x
      * * column:x
@@ -2336,7 +3262,7 @@ public Builder clearScope() {
      * for more information.
      * 
* - * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The query. */ @@ -2355,9 +3281,9 @@ public java.lang.String getQuery() { * * *
-     * Required. The query string in search query syntax. The query must be non-empty.
-     *
-     * Query strings can be simple as "x" or more qualified as:
+     * Optional. The query string in search query syntax. An empty query string
+     * will result in all data assets (in the specified scope) that the user has
+     * access to. Query strings can be simple as "x" or more qualified as:
      *
      * * name:x
      * * column:x
@@ -2369,7 +3295,7 @@ public java.lang.String getQuery() {
      * for more information.
      * 
* - * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for query. */ @@ -2388,9 +3314,9 @@ public com.google.protobuf.ByteString getQueryBytes() { * * *
-     * Required. The query string in search query syntax. The query must be non-empty.
-     *
-     * Query strings can be simple as "x" or more qualified as:
+     * Optional. The query string in search query syntax. An empty query string
+     * will result in all data assets (in the specified scope) that the user has
+     * access to. Query strings can be simple as "x" or more qualified as:
      *
      * * name:x
      * * column:x
@@ -2402,7 +3328,7 @@ public com.google.protobuf.ByteString getQueryBytes() {
      * for more information.
      * 
* - * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The query to set. * @return This builder for chaining. @@ -2420,9 +3346,9 @@ public Builder setQuery(java.lang.String value) { * * *
-     * Required. The query string in search query syntax. The query must be non-empty.
-     *
-     * Query strings can be simple as "x" or more qualified as:
+     * Optional. The query string in search query syntax. An empty query string
+     * will result in all data assets (in the specified scope) that the user has
+     * access to. Query strings can be simple as "x" or more qualified as:
      *
      * * name:x
      * * column:x
@@ -2434,7 +3360,7 @@ public Builder setQuery(java.lang.String value) {
      * for more information.
      * 
* - * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -2448,9 +3374,9 @@ public Builder clearQuery() { * * *
-     * Required. The query string in search query syntax. The query must be non-empty.
-     *
-     * Query strings can be simple as "x" or more qualified as:
+     * Optional. The query string in search query syntax. An empty query string
+     * will result in all data assets (in the specified scope) that the user has
+     * access to. Query strings can be simple as "x" or more qualified as:
      *
      * * name:x
      * * column:x
@@ -2462,7 +3388,7 @@ public Builder clearQuery() {
      * for more information.
      * 
* - * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for query to set. * @return This builder for chaining. @@ -2540,8 +3466,8 @@ public Builder clearPageSize() { * *
      * Optional. Pagination token returned in an earlier
-     * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
-     * indicates that this is a continuation of a prior
+     * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
+     * which indicates that this is a continuation of a prior
      * [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog]
      * call, and that the system should return the next page of data. If empty,
      * the first page is returned.
@@ -2567,8 +3493,8 @@ public java.lang.String getPageToken() {
      *
      * 
      * Optional. Pagination token returned in an earlier
-     * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
-     * indicates that this is a continuation of a prior
+     * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
+     * which indicates that this is a continuation of a prior
      * [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog]
      * call, and that the system should return the next page of data. If empty,
      * the first page is returned.
@@ -2594,8 +3520,8 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      *
      * 
      * Optional. Pagination token returned in an earlier
-     * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
-     * indicates that this is a continuation of a prior
+     * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
+     * which indicates that this is a continuation of a prior
      * [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog]
      * call, and that the system should return the next page of data. If empty,
      * the first page is returned.
@@ -2620,8 +3546,8 @@ public Builder setPageToken(java.lang.String value) {
      *
      * 
      * Optional. Pagination token returned in an earlier
-     * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
-     * indicates that this is a continuation of a prior
+     * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
+     * which indicates that this is a continuation of a prior
      * [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog]
      * call, and that the system should return the next page of data. If empty,
      * the first page is returned.
@@ -2642,8 +3568,8 @@ public Builder clearPageToken() {
      *
      * 
      * Optional. Pagination token returned in an earlier
-     * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
-     * indicates that this is a continuation of a prior
+     * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
+     * which indicates that this is a continuation of a prior
      * [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog]
      * call, and that the system should return the next page of data. If empty,
      * the first page is returned.
@@ -2676,6 +3602,7 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      *   * `relevance`, only supports descending
      *   * `last_modified_timestamp [asc|desc]`, defaults to descending if not
      *     specified
+     *   * `default` that can only be descending
      *
      * If not specified, defaults to `relevance` descending.
      * 
@@ -2705,6 +3632,7 @@ public java.lang.String getOrderBy() { * * `relevance`, only supports descending * * `last_modified_timestamp [asc|desc]`, defaults to descending if not * specified + * * `default` that can only be descending * * If not specified, defaults to `relevance` descending. *
@@ -2734,6 +3662,7 @@ public com.google.protobuf.ByteString getOrderByBytes() { * * `relevance`, only supports descending * * `last_modified_timestamp [asc|desc]`, defaults to descending if not * specified + * * `default` that can only be descending * * If not specified, defaults to `relevance` descending. *
@@ -2762,6 +3691,7 @@ public Builder setOrderBy(java.lang.String value) { * * `relevance`, only supports descending * * `last_modified_timestamp [asc|desc]`, defaults to descending if not * specified + * * `default` that can only be descending * * If not specified, defaults to `relevance` descending. *
@@ -2786,6 +3716,7 @@ public Builder clearOrderBy() { * * `relevance`, only supports descending * * `last_modified_timestamp [asc|desc]`, defaults to descending if not * specified + * * `default` that can only be descending * * If not specified, defaults to `relevance` descending. *
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequestOrBuilder.java index fbe6ea0d941c..b1eef0fbc194 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -77,9 +77,9 @@ public interface SearchCatalogRequestOrBuilder * * *
-   * Required. The query string in search query syntax. The query must be non-empty.
-   *
-   * Query strings can be simple as "x" or more qualified as:
+   * Optional. The query string in search query syntax. An empty query string
+   * will result in all data assets (in the specified scope) that the user has
+   * access to. Query strings can be simple as "x" or more qualified as:
    *
    * * name:x
    * * column:x
@@ -91,7 +91,7 @@ public interface SearchCatalogRequestOrBuilder
    * for more information.
    * 
* - * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The query. */ @@ -100,9 +100,9 @@ public interface SearchCatalogRequestOrBuilder * * *
-   * Required. The query string in search query syntax. The query must be non-empty.
-   *
-   * Query strings can be simple as "x" or more qualified as:
+   * Optional. The query string in search query syntax. An empty query string
+   * will result in all data assets (in the specified scope) that the user has
+   * access to. Query strings can be simple as "x" or more qualified as:
    *
    * * name:x
    * * column:x
@@ -114,7 +114,7 @@ public interface SearchCatalogRequestOrBuilder
    * for more information.
    * 
* - * string query = 1 [(.google.api.field_behavior) = REQUIRED]; + * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for query. */ @@ -139,8 +139,8 @@ public interface SearchCatalogRequestOrBuilder * *
    * Optional. Pagination token returned in an earlier
-   * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
-   * indicates that this is a continuation of a prior
+   * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
+   * which indicates that this is a continuation of a prior
    * [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog]
    * call, and that the system should return the next page of data. If empty,
    * the first page is returned.
@@ -156,8 +156,8 @@ public interface SearchCatalogRequestOrBuilder
    *
    * 
    * Optional. Pagination token returned in an earlier
-   * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
-   * indicates that this is a continuation of a prior
+   * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
+   * which indicates that this is a continuation of a prior
    * [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog]
    * call, and that the system should return the next page of data. If empty,
    * the first page is returned.
@@ -179,6 +179,7 @@ public interface SearchCatalogRequestOrBuilder
    *   * `relevance`, only supports descending
    *   * `last_modified_timestamp [asc|desc]`, defaults to descending if not
    *     specified
+   *   * `default` that can only be descending
    *
    * If not specified, defaults to `relevance` descending.
    * 
@@ -198,6 +199,7 @@ public interface SearchCatalogRequestOrBuilder * * `relevance`, only supports descending * * `last_modified_timestamp [asc|desc]`, defaults to descending if not * specified + * * `default` that can only be descending * * If not specified, defaults to `relevance` descending. *
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponse.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponse.java index a8aede85f481..1a98e0883fba 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponse.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,6 +41,7 @@ private SearchCatalogResponse(com.google.protobuf.GeneratedMessageV3.Builder private SearchCatalogResponse() { results_ = java.util.Collections.emptyList(); nextPageToken_ = ""; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @@ -136,6 +137,24 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder getResu return results_.get(index); } + public static final int TOTAL_SIZE_FIELD_NUMBER = 2; + private int totalSize_ = 0; + /** + * + * + *
+   * The approximate total number of entries matched by the query.
+   * 
+ * + * int32 total_size = 2; + * + * @return The totalSize. + */ + @java.lang.Override + public int getTotalSize() { + return totalSize_; + } + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; @SuppressWarnings("serial") @@ -187,6 +206,82 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } + public static final int UNREACHABLE_FIELD_NUMBER = 6; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * + * + *
+   * Unreachable locations. Search result does not include data from those
+   * locations. Users can get additional information on the error by repeating
+   * the search request with a more restrictive parameter -- setting the value
+   * for `SearchDataCatalogRequest.scope.restricted_locations`.
+   * 
+ * + * repeated string unreachable = 6; + * + * @return A list containing the unreachable. + */ + public com.google.protobuf.ProtocolStringList getUnreachableList() { + return unreachable_; + } + /** + * + * + *
+   * Unreachable locations. Search result does not include data from those
+   * locations. Users can get additional information on the error by repeating
+   * the search request with a more restrictive parameter -- setting the value
+   * for `SearchDataCatalogRequest.scope.restricted_locations`.
+   * 
+ * + * repeated string unreachable = 6; + * + * @return The count of unreachable. + */ + public int getUnreachableCount() { + return unreachable_.size(); + } + /** + * + * + *
+   * Unreachable locations. Search result does not include data from those
+   * locations. Users can get additional information on the error by repeating
+   * the search request with a more restrictive parameter -- setting the value
+   * for `SearchDataCatalogRequest.scope.restricted_locations`.
+   * 
+ * + * repeated string unreachable = 6; + * + * @param index The index of the element to return. + * @return The unreachable at the given index. + */ + public java.lang.String getUnreachable(int index) { + return unreachable_.get(index); + } + /** + * + * + *
+   * Unreachable locations. Search result does not include data from those
+   * locations. Users can get additional information on the error by repeating
+   * the search request with a more restrictive parameter -- setting the value
+   * for `SearchDataCatalogRequest.scope.restricted_locations`.
+   * 
+ * + * repeated string unreachable = 6; + * + * @param index The index of the value to return. + * @return The bytes of the unreachable at the given index. + */ + public com.google.protobuf.ByteString getUnreachableBytes(int index) { + return unreachable_.getByteString(index); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -204,9 +299,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < results_.size(); i++) { output.writeMessage(1, results_.get(i)); } + if (totalSize_ != 0) { + output.writeInt32(2, totalSize_); + } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, nextPageToken_); } + for (int i = 0; i < unreachable_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, unreachable_.getRaw(i)); + } getUnknownFields().writeTo(output); } @@ -219,9 +320,20 @@ public int getSerializedSize() { for (int i = 0; i < results_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, results_.get(i)); } + if (totalSize_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, totalSize_); + } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); } + { + int dataSize = 0; + for (int i = 0; i < unreachable_.size(); i++) { + dataSize += computeStringSizeNoTag(unreachable_.getRaw(i)); + } + size += dataSize; + size += 1 * getUnreachableList().size(); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -239,7 +351,9 @@ public boolean equals(final java.lang.Object obj) { (com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse) obj; if (!getResultsList().equals(other.getResultsList())) return false; + if (getTotalSize() != other.getTotalSize()) return false; if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -255,8 +369,14 @@ public int hashCode() { hash = (37 * hash) + RESULTS_FIELD_NUMBER; hash = (53 * hash) + getResultsList().hashCode(); } + hash = (37 * hash) + TOTAL_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getTotalSize(); hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getNextPageToken().hashCode(); + if (getUnreachableCount() > 0) { + hash = (37 * hash) + UNREACHABLE_FIELD_NUMBER; + hash = (53 * hash) + getUnreachableList().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -405,7 +525,9 @@ public Builder clear() { resultsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); + totalSize_ = 0; nextPageToken_ = ""; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @@ -457,8 +579,15 @@ private void buildPartialRepeatedFields( private void buildPartial0(com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { + result.totalSize_ = totalSize_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { result.nextPageToken_ = nextPageToken_; } + if (((from_bitField0_ & 0x00000008) != 0)) { + unreachable_.makeImmutable(); + result.unreachable_ = unreachable_; + } } @java.lang.Override @@ -534,9 +663,22 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.SearchCatalogRespo } } } + if (other.getTotalSize() != 0) { + setTotalSize(other.getTotalSize()); + } if (!other.getNextPageToken().isEmpty()) { nextPageToken_ = other.nextPageToken_; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.unreachable_.isEmpty()) { + if (unreachable_.isEmpty()) { + unreachable_ = other.unreachable_; + bitField0_ |= 0x00000008; + } else { + ensureUnreachableIsMutable(); + unreachable_.addAll(other.unreachable_); + } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); @@ -579,12 +721,25 @@ public Builder mergeFrom( } break; } // case 10 + case 16: + { + totalSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 case 26: { nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; break; } // case 26 + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 50 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -968,6 +1123,59 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResult.Builder addResul return resultsBuilder_; } + private int totalSize_; + /** + * + * + *
+     * The approximate total number of entries matched by the query.
+     * 
+ * + * int32 total_size = 2; + * + * @return The totalSize. + */ + @java.lang.Override + public int getTotalSize() { + return totalSize_; + } + /** + * + * + *
+     * The approximate total number of entries matched by the query.
+     * 
+ * + * int32 total_size = 2; + * + * @param value The totalSize to set. + * @return This builder for chaining. + */ + public Builder setTotalSize(int value) { + + totalSize_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * The approximate total number of entries matched by the query.
+     * 
+ * + * int32 total_size = 2; + * + * @return This builder for chaining. + */ + public Builder clearTotalSize() { + bitField0_ = (bitField0_ & ~0x00000002); + totalSize_ = 0; + onChanged(); + return this; + } + private java.lang.Object nextPageToken_ = ""; /** * @@ -1030,7 +1238,7 @@ public Builder setNextPageToken(java.lang.String value) { throw new NullPointerException(); } nextPageToken_ = value; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -1047,7 +1255,7 @@ public Builder setNextPageToken(java.lang.String value) { */ public Builder clearNextPageToken() { nextPageToken_ = getDefaultInstance().getNextPageToken(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } @@ -1069,7 +1277,208 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); nextPageToken_ = value; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureUnreachableIsMutable() { + if (!unreachable_.isModifiable()) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); + } + bitField0_ |= 0x00000008; + } + /** + * + * + *
+     * Unreachable locations. Search result does not include data from those
+     * locations. Users can get additional information on the error by repeating
+     * the search request with a more restrictive parameter -- setting the value
+     * for `SearchDataCatalogRequest.scope.restricted_locations`.
+     * 
+ * + * repeated string unreachable = 6; + * + * @return A list containing the unreachable. + */ + public com.google.protobuf.ProtocolStringList getUnreachableList() { + unreachable_.makeImmutable(); + return unreachable_; + } + /** + * + * + *
+     * Unreachable locations. Search result does not include data from those
+     * locations. Users can get additional information on the error by repeating
+     * the search request with a more restrictive parameter -- setting the value
+     * for `SearchDataCatalogRequest.scope.restricted_locations`.
+     * 
+ * + * repeated string unreachable = 6; + * + * @return The count of unreachable. + */ + public int getUnreachableCount() { + return unreachable_.size(); + } + /** + * + * + *
+     * Unreachable locations. Search result does not include data from those
+     * locations. Users can get additional information on the error by repeating
+     * the search request with a more restrictive parameter -- setting the value
+     * for `SearchDataCatalogRequest.scope.restricted_locations`.
+     * 
+ * + * repeated string unreachable = 6; + * + * @param index The index of the element to return. + * @return The unreachable at the given index. + */ + public java.lang.String getUnreachable(int index) { + return unreachable_.get(index); + } + /** + * + * + *
+     * Unreachable locations. Search result does not include data from those
+     * locations. Users can get additional information on the error by repeating
+     * the search request with a more restrictive parameter -- setting the value
+     * for `SearchDataCatalogRequest.scope.restricted_locations`.
+     * 
+ * + * repeated string unreachable = 6; + * + * @param index The index of the value to return. + * @return The bytes of the unreachable at the given index. + */ + public com.google.protobuf.ByteString getUnreachableBytes(int index) { + return unreachable_.getByteString(index); + } + /** + * + * + *
+     * Unreachable locations. Search result does not include data from those
+     * locations. Users can get additional information on the error by repeating
+     * the search request with a more restrictive parameter -- setting the value
+     * for `SearchDataCatalogRequest.scope.restricted_locations`.
+     * 
+ * + * repeated string unreachable = 6; + * + * @param index The index to set the value at. + * @param value The unreachable to set. + * @return This builder for chaining. + */ + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); + unreachable_.set(index, value); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Unreachable locations. Search result does not include data from those
+     * locations. Users can get additional information on the error by repeating
+     * the search request with a more restrictive parameter -- setting the value
+     * for `SearchDataCatalogRequest.scope.restricted_locations`.
+     * 
+ * + * repeated string unreachable = 6; + * + * @param value The unreachable to add. + * @return This builder for chaining. + */ + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); + unreachable_.add(value); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Unreachable locations. Search result does not include data from those
+     * locations. Users can get additional information on the error by repeating
+     * the search request with a more restrictive parameter -- setting the value
+     * for `SearchDataCatalogRequest.scope.restricted_locations`.
+     * 
+ * + * repeated string unreachable = 6; + * + * @param values The unreachable to add. + * @return This builder for chaining. + */ + public Builder addAllUnreachable(java.lang.Iterable values) { + ensureUnreachableIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Unreachable locations. Search result does not include data from those
+     * locations. Users can get additional information on the error by repeating
+     * the search request with a more restrictive parameter -- setting the value
+     * for `SearchDataCatalogRequest.scope.restricted_locations`.
+     * 
+ * + * repeated string unreachable = 6; + * + * @return This builder for chaining. + */ + public Builder clearUnreachable() { + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + ; + onChanged(); + return this; + } + /** + * + * + *
+     * Unreachable locations. Search result does not include data from those
+     * locations. Users can get additional information on the error by repeating
+     * the search request with a more restrictive parameter -- setting the value
+     * for `SearchDataCatalogRequest.scope.restricted_locations`.
+     * 
+ * + * repeated string unreachable = 6; + * + * @param value The bytes of the unreachable to add. + * @return This builder for chaining. + */ + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureUnreachableIsMutable(); + unreachable_.add(value); + bitField0_ |= 0x00000008; onChanged(); return this; } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponseOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponseOrBuilder.java index a08d16948cdc..77cac740110c 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponseOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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,19 @@ public interface SearchCatalogResponseOrBuilder */ com.google.cloud.datacatalog.v1beta1.SearchCatalogResultOrBuilder getResultsOrBuilder(int index); + /** + * + * + *
+   * The approximate total number of entries matched by the query.
+   * 
+ * + * int32 total_size = 2; + * + * @return The totalSize. + */ + int getTotalSize(); + /** * * @@ -99,4 +112,67 @@ public interface SearchCatalogResponseOrBuilder * @return The bytes for nextPageToken. */ com.google.protobuf.ByteString getNextPageTokenBytes(); + + /** + * + * + *
+   * Unreachable locations. Search result does not include data from those
+   * locations. Users can get additional information on the error by repeating
+   * the search request with a more restrictive parameter -- setting the value
+   * for `SearchDataCatalogRequest.scope.restricted_locations`.
+   * 
+ * + * repeated string unreachable = 6; + * + * @return A list containing the unreachable. + */ + java.util.List getUnreachableList(); + /** + * + * + *
+   * Unreachable locations. Search result does not include data from those
+   * locations. Users can get additional information on the error by repeating
+   * the search request with a more restrictive parameter -- setting the value
+   * for `SearchDataCatalogRequest.scope.restricted_locations`.
+   * 
+ * + * repeated string unreachable = 6; + * + * @return The count of unreachable. + */ + int getUnreachableCount(); + /** + * + * + *
+   * Unreachable locations. Search result does not include data from those
+   * locations. Users can get additional information on the error by repeating
+   * the search request with a more restrictive parameter -- setting the value
+   * for `SearchDataCatalogRequest.scope.restricted_locations`.
+   * 
+ * + * repeated string unreachable = 6; + * + * @param index The index of the element to return. + * @return The unreachable at the given index. + */ + java.lang.String getUnreachable(int index); + /** + * + * + *
+   * Unreachable locations. Search result does not include data from those
+   * locations. Users can get additional information on the error by repeating
+   * the search request with a more restrictive parameter -- setting the value
+   * for `SearchDataCatalogRequest.scope.restricted_locations`.
+   * 
+ * + * repeated string unreachable = 6; + * + * @param index The index of the value to return. + * @return The bytes of the unreachable at the given index. + */ + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResult.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResult.java index 64c1eeeb487d..5b8a73440968 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResult.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -280,6 +280,52 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { } } + public static final int MODIFY_TIME_FIELD_NUMBER = 7; + private com.google.protobuf.Timestamp modifyTime_; + /** + * + * + *
+   * Last-modified timestamp of the entry from the managing system.
+   * 
+ * + * .google.protobuf.Timestamp modify_time = 7; + * + * @return Whether the modifyTime field is set. + */ + @java.lang.Override + public boolean hasModifyTime() { + return modifyTime_ != null; + } + /** + * + * + *
+   * Last-modified timestamp of the entry from the managing system.
+   * 
+ * + * .google.protobuf.Timestamp modify_time = 7; + * + * @return The modifyTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getModifyTime() { + return modifyTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : modifyTime_; + } + /** + * + * + *
+   * Last-modified timestamp of the entry from the managing system.
+   * 
+ * + * .google.protobuf.Timestamp modify_time = 7; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getModifyTimeOrBuilder() { + return modifyTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : modifyTime_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -308,6 +354,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(linkedResource_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, linkedResource_); } + if (modifyTime_ != null) { + output.writeMessage(7, getModifyTime()); + } getUnknownFields().writeTo(output); } @@ -331,6 +380,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(linkedResource_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, linkedResource_); } + if (modifyTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getModifyTime()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -351,6 +403,10 @@ public boolean equals(final java.lang.Object obj) { if (!getSearchResultSubtype().equals(other.getSearchResultSubtype())) return false; if (!getRelativeResourceName().equals(other.getRelativeResourceName())) return false; if (!getLinkedResource().equals(other.getLinkedResource())) return false; + if (hasModifyTime() != other.hasModifyTime()) return false; + if (hasModifyTime()) { + if (!getModifyTime().equals(other.getModifyTime())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -370,6 +426,10 @@ public int hashCode() { hash = (53 * hash) + getRelativeResourceName().hashCode(); hash = (37 * hash) + LINKED_RESOURCE_FIELD_NUMBER; hash = (53 * hash) + getLinkedResource().hashCode(); + if (hasModifyTime()) { + hash = (37 * hash) + MODIFY_TIME_FIELD_NUMBER; + hash = (53 * hash) + getModifyTime().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -515,6 +575,11 @@ public Builder clear() { searchResultSubtype_ = ""; relativeResourceName_ = ""; linkedResource_ = ""; + modifyTime_ = null; + if (modifyTimeBuilder_ != null) { + modifyTimeBuilder_.dispose(); + modifyTimeBuilder_ = null; + } return this; } @@ -563,6 +628,9 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.SearchCatalogRes if (((from_bitField0_ & 0x00000008) != 0)) { result.linkedResource_ = linkedResource_; } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.modifyTime_ = modifyTimeBuilder_ == null ? modifyTime_ : modifyTimeBuilder_.build(); + } } @java.lang.Override @@ -629,6 +697,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.SearchCatalogResul bitField0_ |= 0x00000008; onChanged(); } + if (other.hasModifyTime()) { + mergeModifyTime(other.getModifyTime()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -679,6 +750,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000008; break; } // case 34 + case 58: + { + input.readMessage(getModifyTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 58 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1169,6 +1246,189 @@ public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { return this; } + private com.google.protobuf.Timestamp modifyTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + modifyTimeBuilder_; + /** + * + * + *
+     * Last-modified timestamp of the entry from the managing system.
+     * 
+ * + * .google.protobuf.Timestamp modify_time = 7; + * + * @return Whether the modifyTime field is set. + */ + public boolean hasModifyTime() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+     * Last-modified timestamp of the entry from the managing system.
+     * 
+ * + * .google.protobuf.Timestamp modify_time = 7; + * + * @return The modifyTime. + */ + public com.google.protobuf.Timestamp getModifyTime() { + if (modifyTimeBuilder_ == null) { + return modifyTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : modifyTime_; + } else { + return modifyTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Last-modified timestamp of the entry from the managing system.
+     * 
+ * + * .google.protobuf.Timestamp modify_time = 7; + */ + public Builder setModifyTime(com.google.protobuf.Timestamp value) { + if (modifyTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + modifyTime_ = value; + } else { + modifyTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Last-modified timestamp of the entry from the managing system.
+     * 
+ * + * .google.protobuf.Timestamp modify_time = 7; + */ + public Builder setModifyTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (modifyTimeBuilder_ == null) { + modifyTime_ = builderForValue.build(); + } else { + modifyTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Last-modified timestamp of the entry from the managing system.
+     * 
+ * + * .google.protobuf.Timestamp modify_time = 7; + */ + public Builder mergeModifyTime(com.google.protobuf.Timestamp value) { + if (modifyTimeBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) + && modifyTime_ != null + && modifyTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getModifyTimeBuilder().mergeFrom(value); + } else { + modifyTime_ = value; + } + } else { + modifyTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Last-modified timestamp of the entry from the managing system.
+     * 
+ * + * .google.protobuf.Timestamp modify_time = 7; + */ + public Builder clearModifyTime() { + bitField0_ = (bitField0_ & ~0x00000010); + modifyTime_ = null; + if (modifyTimeBuilder_ != null) { + modifyTimeBuilder_.dispose(); + modifyTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Last-modified timestamp of the entry from the managing system.
+     * 
+ * + * .google.protobuf.Timestamp modify_time = 7; + */ + public com.google.protobuf.Timestamp.Builder getModifyTimeBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getModifyTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Last-modified timestamp of the entry from the managing system.
+     * 
+ * + * .google.protobuf.Timestamp modify_time = 7; + */ + public com.google.protobuf.TimestampOrBuilder getModifyTimeOrBuilder() { + if (modifyTimeBuilder_ != null) { + return modifyTimeBuilder_.getMessageOrBuilder(); + } else { + return modifyTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : modifyTime_; + } + } + /** + * + * + *
+     * Last-modified timestamp of the entry from the managing system.
+     * 
+ * + * .google.protobuf.Timestamp modify_time = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getModifyTimeFieldBuilder() { + if (modifyTimeBuilder_ == null) { + modifyTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getModifyTime(), getParentForChildren(), isClean()); + modifyTime_ = null; + } + return modifyTimeBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResultOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResultOrBuilder.java index c93848d79239..cb9351ac132b 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResultOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogResultOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -146,4 +146,39 @@ public interface SearchCatalogResultOrBuilder * @return The bytes for linkedResource. */ com.google.protobuf.ByteString getLinkedResourceBytes(); + + /** + * + * + *
+   * Last-modified timestamp of the entry from the managing system.
+   * 
+ * + * .google.protobuf.Timestamp modify_time = 7; + * + * @return Whether the modifyTime field is set. + */ + boolean hasModifyTime(); + /** + * + * + *
+   * Last-modified timestamp of the entry from the managing system.
+   * 
+ * + * .google.protobuf.Timestamp modify_time = 7; + * + * @return The modifyTime. + */ + com.google.protobuf.Timestamp getModifyTime(); + /** + * + * + *
+   * Last-modified timestamp of the entry from the managing system.
+   * 
+ * + * .google.protobuf.Timestamp modify_time = 7; + */ + com.google.protobuf.TimestampOrBuilder getModifyTimeOrBuilder(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchResultType.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchResultType.java index 54df65243d19..dece2adb6c4f 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchResultType.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchResultType.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTag.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTag.java index 1d636a0f1986..8e45f2e0e93c 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTag.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTag.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,6 +38,7 @@ private SerializedPolicyTag(com.google.protobuf.GeneratedMessageV3.Builder bu } private SerializedPolicyTag() { + policyTag_ = ""; displayName_ = ""; description_ = ""; childPolicyTags_ = java.util.Collections.emptyList(); @@ -64,6 +65,61 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder.class); } + public static final int POLICY_TAG_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object policyTag_ = ""; + /** + * + * + *
+   * Resource name of the policy tag.
+   *
+   * This field will be ignored when calling ImportTaxonomies.
+   * 
+ * + * string policy_tag = 1; + * + * @return The policyTag. + */ + @java.lang.Override + public java.lang.String getPolicyTag() { + java.lang.Object ref = policyTag_; + 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(); + policyTag_ = s; + return s; + } + } + /** + * + * + *
+   * Resource name of the policy tag.
+   *
+   * This field will be ignored when calling ImportTaxonomies.
+   * 
+ * + * string policy_tag = 1; + * + * @return The bytes for policyTag. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPolicyTagBytes() { + java.lang.Object ref = policyTag_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + policyTag_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int DISPLAY_NAME_FIELD_NUMBER = 2; @SuppressWarnings("serial") @@ -72,7 +128,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8.
+   * Required. Display name of the policy tag. Max 200 bytes when encoded in
+   * UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -95,7 +152,8 @@ public java.lang.String getDisplayName() { * * *
-   * Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8.
+   * Required. Display name of the policy tag. Max 200 bytes when encoded in
+   * UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -262,6 +320,9 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(policyTag_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, policyTag_); + } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_); } @@ -280,6 +341,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(policyTag_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, policyTag_); + } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); } @@ -305,6 +369,7 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag other = (com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag) obj; + if (!getPolicyTag().equals(other.getPolicyTag())) return false; if (!getDisplayName().equals(other.getDisplayName())) return false; if (!getDescription().equals(other.getDescription())) return false; if (!getChildPolicyTagsList().equals(other.getChildPolicyTagsList())) return false; @@ -319,6 +384,8 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + POLICY_TAG_FIELD_NUMBER; + hash = (53 * hash) + getPolicyTag().hashCode(); hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; hash = (53 * hash) + getDisplayName().hashCode(); hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; @@ -467,6 +534,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { public Builder clear() { super.clear(); bitField0_ = 0; + policyTag_ = ""; displayName_ = ""; description_ = ""; if (childPolicyTagsBuilder_ == null) { @@ -475,7 +543,7 @@ public Builder clear() { childPolicyTags_ = null; childPolicyTagsBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); return this; } @@ -514,9 +582,9 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag buildPartial() { private void buildPartialRepeatedFields( com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag result) { if (childPolicyTagsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000008) != 0)) { childPolicyTags_ = java.util.Collections.unmodifiableList(childPolicyTags_); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); } result.childPolicyTags_ = childPolicyTags_; } else { @@ -527,9 +595,12 @@ private void buildPartialRepeatedFields( private void buildPartial0(com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.displayName_ = displayName_; + result.policyTag_ = policyTag_; } if (((from_bitField0_ & 0x00000002) != 0)) { + result.displayName_ = displayName_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { result.description_ = description_; } } @@ -580,21 +651,26 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag other) { if (other == com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.getDefaultInstance()) return this; + if (!other.getPolicyTag().isEmpty()) { + policyTag_ = other.policyTag_; + bitField0_ |= 0x00000001; + onChanged(); + } if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; onChanged(); } if (!other.getDescription().isEmpty()) { description_ = other.description_; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; onChanged(); } if (childPolicyTagsBuilder_ == null) { if (!other.childPolicyTags_.isEmpty()) { if (childPolicyTags_.isEmpty()) { childPolicyTags_ = other.childPolicyTags_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); } else { ensureChildPolicyTagsIsMutable(); childPolicyTags_.addAll(other.childPolicyTags_); @@ -607,7 +683,7 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.SerializedPolicyTa childPolicyTagsBuilder_.dispose(); childPolicyTagsBuilder_ = null; childPolicyTags_ = other.childPolicyTags_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); childPolicyTagsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getChildPolicyTagsFieldBuilder() @@ -643,16 +719,22 @@ public Builder mergeFrom( case 0: done = true; break; + case 10: + { + policyTag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 case 18: { displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; break; } // case 18 case 26: { description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; break; } // case 26 case 34: @@ -688,12 +770,129 @@ public Builder mergeFrom( private int bitField0_; + private java.lang.Object policyTag_ = ""; + /** + * + * + *
+     * Resource name of the policy tag.
+     *
+     * This field will be ignored when calling ImportTaxonomies.
+     * 
+ * + * string policy_tag = 1; + * + * @return The policyTag. + */ + public java.lang.String getPolicyTag() { + java.lang.Object ref = policyTag_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + policyTag_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Resource name of the policy tag.
+     *
+     * This field will be ignored when calling ImportTaxonomies.
+     * 
+ * + * string policy_tag = 1; + * + * @return The bytes for policyTag. + */ + public com.google.protobuf.ByteString getPolicyTagBytes() { + java.lang.Object ref = policyTag_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + policyTag_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Resource name of the policy tag.
+     *
+     * This field will be ignored when calling ImportTaxonomies.
+     * 
+ * + * string policy_tag = 1; + * + * @param value The policyTag to set. + * @return This builder for chaining. + */ + public Builder setPolicyTag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + policyTag_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Resource name of the policy tag.
+     *
+     * This field will be ignored when calling ImportTaxonomies.
+     * 
+ * + * string policy_tag = 1; + * + * @return This builder for chaining. + */ + public Builder clearPolicyTag() { + policyTag_ = getDefaultInstance().getPolicyTag(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Resource name of the policy tag.
+     *
+     * This field will be ignored when calling ImportTaxonomies.
+     * 
+ * + * string policy_tag = 1; + * + * @param value The bytes for policyTag to set. + * @return This builder for chaining. + */ + public Builder setPolicyTagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + policyTag_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + private java.lang.Object displayName_ = ""; /** * * *
-     * Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8.
+     * Required. Display name of the policy tag. Max 200 bytes when encoded in
+     * UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -715,7 +914,8 @@ public java.lang.String getDisplayName() { * * *
-     * Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8.
+     * Required. Display name of the policy tag. Max 200 bytes when encoded in
+     * UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -737,7 +937,8 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * * *
-     * Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8.
+     * Required. Display name of the policy tag. Max 200 bytes when encoded in
+     * UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -750,7 +951,7 @@ public Builder setDisplayName(java.lang.String value) { throw new NullPointerException(); } displayName_ = value; - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -758,7 +959,8 @@ public Builder setDisplayName(java.lang.String value) { * * *
-     * Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8.
+     * Required. Display name of the policy tag. Max 200 bytes when encoded in
+     * UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -767,7 +969,7 @@ public Builder setDisplayName(java.lang.String value) { */ public Builder clearDisplayName() { displayName_ = getDefaultInstance().getDisplayName(); - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } @@ -775,7 +977,8 @@ public Builder clearDisplayName() { * * *
-     * Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8.
+     * Required. Display name of the policy tag. Max 200 bytes when encoded in
+     * UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -789,7 +992,7 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); displayName_ = value; - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -862,7 +1065,7 @@ public Builder setDescription(java.lang.String value) { throw new NullPointerException(); } description_ = value; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -881,7 +1084,7 @@ public Builder setDescription(java.lang.String value) { */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } @@ -905,7 +1108,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); description_ = value; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -914,11 +1117,11 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { childPolicyTags_ = java.util.Collections.emptyList(); private void ensureChildPolicyTagsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { + if (!((bitField0_ & 0x00000008) != 0)) { childPolicyTags_ = new java.util.ArrayList( childPolicyTags_); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; } } @@ -1152,7 +1355,7 @@ public Builder addAllChildPolicyTags( public Builder clearChildPolicyTags() { if (childPolicyTagsBuilder_ == null) { childPolicyTags_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { childPolicyTagsBuilder_.clear(); @@ -1289,7 +1492,7 @@ public Builder removeChildPolicyTags(int index) { com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder, com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder>( childPolicyTags_, - ((bitField0_ & 0x00000004) != 0), + ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); childPolicyTags_ = null; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTagOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTagOrBuilder.java index 482bb6e98f6e..5d599feb5939 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTagOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedPolicyTagOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,7 +27,37 @@ public interface SerializedPolicyTagOrBuilder * * *
-   * Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8.
+   * Resource name of the policy tag.
+   *
+   * This field will be ignored when calling ImportTaxonomies.
+   * 
+ * + * string policy_tag = 1; + * + * @return The policyTag. + */ + java.lang.String getPolicyTag(); + /** + * + * + *
+   * Resource name of the policy tag.
+   *
+   * This field will be ignored when calling ImportTaxonomies.
+   * 
+ * + * string policy_tag = 1; + * + * @return The bytes for policyTag. + */ + com.google.protobuf.ByteString getPolicyTagBytes(); + + /** + * + * + *
+   * Required. Display name of the policy tag. Max 200 bytes when encoded in
+   * UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -39,7 +69,8 @@ public interface SerializedPolicyTagOrBuilder * * *
-   * Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8.
+   * Required. Display name of the policy tag. Max 200 bytes when encoded in
+   * UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomy.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomy.java index de986aba8e53..8646d0372fd3 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomy.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomy.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -42,6 +42,7 @@ private SerializedTaxonomy() { displayName_ = ""; description_ = ""; policyTags_ = java.util.Collections.emptyList(); + activatedPolicyTypes_ = java.util.Collections.emptyList(); } @java.lang.Override @@ -73,7 +74,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8.
+   * Required. Display name of the taxonomy. Max 200 bytes when encoded in
+   * UTF-8.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -96,7 +98,8 @@ public java.lang.String getDisplayName() { * * *
-   * Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8.
+   * Required. Display name of the taxonomy. Max 200 bytes when encoded in
+   * UTF-8.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -244,6 +247,119 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder getPoli return policyTags_.get(index); } + public static final int ACTIVATED_POLICY_TYPES_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private java.util.List activatedPolicyTypes_; + + private static final com.google.protobuf.Internal.ListAdapter.Converter< + java.lang.Integer, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType> + activatedPolicyTypes_converter_ = + new com.google.protobuf.Internal.ListAdapter.Converter< + java.lang.Integer, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType>() { + public com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType convert( + java.lang.Integer from) { + com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType result = + com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType.forNumber(from); + return result == null + ? com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType.UNRECOGNIZED + : result; + } + }; + /** + * + * + *
+   * A list of policy types that are activated for a taxonomy.
+   * 
+ * + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * + * @return A list containing the activatedPolicyTypes. + */ + @java.lang.Override + public java.util.List + getActivatedPolicyTypesList() { + return new com.google.protobuf.Internal.ListAdapter< + java.lang.Integer, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType>( + activatedPolicyTypes_, activatedPolicyTypes_converter_); + } + /** + * + * + *
+   * A list of policy types that are activated for a taxonomy.
+   * 
+ * + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * + * @return The count of activatedPolicyTypes. + */ + @java.lang.Override + public int getActivatedPolicyTypesCount() { + return activatedPolicyTypes_.size(); + } + /** + * + * + *
+   * A list of policy types that are activated for a taxonomy.
+   * 
+ * + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * + * @param index The index of the element to return. + * @return The activatedPolicyTypes at the given index. + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType getActivatedPolicyTypes( + int index) { + return activatedPolicyTypes_converter_.convert(activatedPolicyTypes_.get(index)); + } + /** + * + * + *
+   * A list of policy types that are activated for a taxonomy.
+   * 
+ * + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * + * @return A list containing the enum numeric values on the wire for activatedPolicyTypes. + */ + @java.lang.Override + public java.util.List getActivatedPolicyTypesValueList() { + return activatedPolicyTypes_; + } + /** + * + * + *
+   * A list of policy types that are activated for a taxonomy.
+   * 
+ * + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * + * @param index The index of the value to return. + * @return The enum numeric value on the wire of activatedPolicyTypes at the given index. + */ + @java.lang.Override + public int getActivatedPolicyTypesValue(int index) { + return activatedPolicyTypes_.get(index); + } + + private int activatedPolicyTypesMemoizedSerializedSize; + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -258,6 +374,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -267,6 +384,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < policyTags_.size(); i++) { output.writeMessage(3, policyTags_.get(i)); } + if (getActivatedPolicyTypesList().size() > 0) { + output.writeUInt32NoTag(34); + output.writeUInt32NoTag(activatedPolicyTypesMemoizedSerializedSize); + } + for (int i = 0; i < activatedPolicyTypes_.size(); i++) { + output.writeEnumNoTag(activatedPolicyTypes_.get(i)); + } getUnknownFields().writeTo(output); } @@ -285,6 +409,20 @@ public int getSerializedSize() { for (int i = 0; i < policyTags_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, policyTags_.get(i)); } + { + int dataSize = 0; + for (int i = 0; i < activatedPolicyTypes_.size(); i++) { + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag( + activatedPolicyTypes_.get(i)); + } + size += dataSize; + if (!getActivatedPolicyTypesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + activatedPolicyTypesMemoizedSerializedSize = dataSize; + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -304,6 +442,7 @@ public boolean equals(final java.lang.Object obj) { if (!getDisplayName().equals(other.getDisplayName())) return false; if (!getDescription().equals(other.getDescription())) return false; if (!getPolicyTagsList().equals(other.getPolicyTagsList())) return false; + if (!activatedPolicyTypes_.equals(other.activatedPolicyTypes_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -323,6 +462,10 @@ public int hashCode() { hash = (37 * hash) + POLICY_TAGS_FIELD_NUMBER; hash = (53 * hash) + getPolicyTagsList().hashCode(); } + if (getActivatedPolicyTypesCount() > 0) { + hash = (37 * hash) + ACTIVATED_POLICY_TYPES_FIELD_NUMBER; + hash = (53 * hash) + activatedPolicyTypes_.hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -473,6 +616,8 @@ public Builder clear() { policyTagsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); + activatedPolicyTypes_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); return this; } @@ -519,6 +664,11 @@ private void buildPartialRepeatedFields( } else { result.policyTags_ = policyTagsBuilder_.build(); } + if (((bitField0_ & 0x00000008) != 0)) { + activatedPolicyTypes_ = java.util.Collections.unmodifiableList(activatedPolicyTypes_); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.activatedPolicyTypes_ = activatedPolicyTypes_; } private void buildPartial0(com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy result) { @@ -614,6 +764,16 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.SerializedTaxonomy } } } + if (!other.activatedPolicyTypes_.isEmpty()) { + if (activatedPolicyTypes_.isEmpty()) { + activatedPolicyTypes_ = other.activatedPolicyTypes_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureActivatedPolicyTypesIsMutable(); + activatedPolicyTypes_.addAll(other.activatedPolicyTypes_); + } + onChanged(); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -666,6 +826,25 @@ public Builder mergeFrom( } break; } // case 26 + case 32: + { + int tmpRaw = input.readEnum(); + ensureActivatedPolicyTypesIsMutable(); + activatedPolicyTypes_.add(tmpRaw); + break; + } // case 32 + case 34: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureActivatedPolicyTypesIsMutable(); + activatedPolicyTypes_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 34 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -690,7 +869,8 @@ public Builder mergeFrom( * * *
-     * Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8.
+     * Required. Display name of the taxonomy. Max 200 bytes when encoded in
+     * UTF-8.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -712,7 +892,8 @@ public java.lang.String getDisplayName() { * * *
-     * Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8.
+     * Required. Display name of the taxonomy. Max 200 bytes when encoded in
+     * UTF-8.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -734,7 +915,8 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * * *
-     * Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8.
+     * Required. Display name of the taxonomy. Max 200 bytes when encoded in
+     * UTF-8.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -755,7 +937,8 @@ public Builder setDisplayName(java.lang.String value) { * * *
-     * Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8.
+     * Required. Display name of the taxonomy. Max 200 bytes when encoded in
+     * UTF-8.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -772,7 +955,8 @@ public Builder clearDisplayName() { * * *
-     * Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8.
+     * Required. Display name of the taxonomy. Max 200 bytes when encoded in
+     * UTF-8.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1271,6 +1455,257 @@ public com.google.cloud.datacatalog.v1beta1.SerializedPolicyTag.Builder addPolic return policyTagsBuilder_; } + private java.util.List activatedPolicyTypes_ = + java.util.Collections.emptyList(); + + private void ensureActivatedPolicyTypesIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + activatedPolicyTypes_ = new java.util.ArrayList(activatedPolicyTypes_); + bitField0_ |= 0x00000008; + } + } + /** + * + * + *
+     * A list of policy types that are activated for a taxonomy.
+     * 
+ * + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * + * @return A list containing the activatedPolicyTypes. + */ + public java.util.List + getActivatedPolicyTypesList() { + return new com.google.protobuf.Internal.ListAdapter< + java.lang.Integer, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType>( + activatedPolicyTypes_, activatedPolicyTypes_converter_); + } + /** + * + * + *
+     * A list of policy types that are activated for a taxonomy.
+     * 
+ * + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * + * @return The count of activatedPolicyTypes. + */ + public int getActivatedPolicyTypesCount() { + return activatedPolicyTypes_.size(); + } + /** + * + * + *
+     * A list of policy types that are activated for a taxonomy.
+     * 
+ * + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * + * @param index The index of the element to return. + * @return The activatedPolicyTypes at the given index. + */ + public com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType getActivatedPolicyTypes( + int index) { + return activatedPolicyTypes_converter_.convert(activatedPolicyTypes_.get(index)); + } + /** + * + * + *
+     * A list of policy types that are activated for a taxonomy.
+     * 
+ * + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * + * @param index The index to set the value at. + * @param value The activatedPolicyTypes to set. + * @return This builder for chaining. + */ + public Builder setActivatedPolicyTypes( + int index, com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType value) { + if (value == null) { + throw new NullPointerException(); + } + ensureActivatedPolicyTypesIsMutable(); + activatedPolicyTypes_.set(index, value.getNumber()); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of policy types that are activated for a taxonomy.
+     * 
+ * + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * + * @param value The activatedPolicyTypes to add. + * @return This builder for chaining. + */ + public Builder addActivatedPolicyTypes( + com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType value) { + if (value == null) { + throw new NullPointerException(); + } + ensureActivatedPolicyTypesIsMutable(); + activatedPolicyTypes_.add(value.getNumber()); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of policy types that are activated for a taxonomy.
+     * 
+ * + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * + * @param values The activatedPolicyTypes to add. + * @return This builder for chaining. + */ + public Builder addAllActivatedPolicyTypes( + java.lang.Iterable + values) { + ensureActivatedPolicyTypesIsMutable(); + for (com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType value : values) { + activatedPolicyTypes_.add(value.getNumber()); + } + onChanged(); + return this; + } + /** + * + * + *
+     * A list of policy types that are activated for a taxonomy.
+     * 
+ * + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * + * @return This builder for chaining. + */ + public Builder clearActivatedPolicyTypes() { + activatedPolicyTypes_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of policy types that are activated for a taxonomy.
+     * 
+ * + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * + * @return A list containing the enum numeric values on the wire for activatedPolicyTypes. + */ + public java.util.List getActivatedPolicyTypesValueList() { + return java.util.Collections.unmodifiableList(activatedPolicyTypes_); + } + /** + * + * + *
+     * A list of policy types that are activated for a taxonomy.
+     * 
+ * + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * + * @param index The index of the value to return. + * @return The enum numeric value on the wire of activatedPolicyTypes at the given index. + */ + public int getActivatedPolicyTypesValue(int index) { + return activatedPolicyTypes_.get(index); + } + /** + * + * + *
+     * A list of policy types that are activated for a taxonomy.
+     * 
+ * + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * + * @param index The index to set the value at. + * @param value The enum numeric value on the wire for activatedPolicyTypes to set. + * @return This builder for chaining. + */ + public Builder setActivatedPolicyTypesValue(int index, int value) { + ensureActivatedPolicyTypesIsMutable(); + activatedPolicyTypes_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of policy types that are activated for a taxonomy.
+     * 
+ * + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * + * @param value The enum numeric value on the wire for activatedPolicyTypes to add. + * @return This builder for chaining. + */ + public Builder addActivatedPolicyTypesValue(int value) { + ensureActivatedPolicyTypesIsMutable(); + activatedPolicyTypes_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of policy types that are activated for a taxonomy.
+     * 
+ * + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * + * @param values The enum numeric values on the wire for activatedPolicyTypes to add. + * @return This builder for chaining. + */ + public Builder addAllActivatedPolicyTypesValue(java.lang.Iterable values) { + ensureActivatedPolicyTypesIsMutable(); + for (int value : values) { + activatedPolicyTypes_.add(value); + } + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomyOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomyOrBuilder.java index bf2b55c9c371..5f0b886453c3 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomyOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SerializedTaxonomyOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,7 +27,8 @@ public interface SerializedTaxonomyOrBuilder * * *
-   * Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8.
+   * Required. Display name of the taxonomy. Max 200 bytes when encoded in
+   * UTF-8.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -39,7 +40,8 @@ public interface SerializedTaxonomyOrBuilder * * *
-   * Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8.
+   * Required. Display name of the taxonomy. Max 200 bytes when encoded in
+   * UTF-8.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -129,4 +131,78 @@ public interface SerializedTaxonomyOrBuilder */ com.google.cloud.datacatalog.v1beta1.SerializedPolicyTagOrBuilder getPolicyTagsOrBuilder( int index); + + /** + * + * + *
+   * A list of policy types that are activated for a taxonomy.
+   * 
+ * + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * + * @return A list containing the activatedPolicyTypes. + */ + java.util.List + getActivatedPolicyTypesList(); + /** + * + * + *
+   * A list of policy types that are activated for a taxonomy.
+   * 
+ * + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * + * @return The count of activatedPolicyTypes. + */ + int getActivatedPolicyTypesCount(); + /** + * + * + *
+   * A list of policy types that are activated for a taxonomy.
+   * 
+ * + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * + * @param index The index of the element to return. + * @return The activatedPolicyTypes at the given index. + */ + com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType getActivatedPolicyTypes(int index); + /** + * + * + *
+   * A list of policy types that are activated for a taxonomy.
+   * 
+ * + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * + * @return A list containing the enum numeric values on the wire for activatedPolicyTypes. + */ + java.util.List getActivatedPolicyTypesValueList(); + /** + * + * + *
+   * A list of policy types that are activated for a taxonomy.
+   * 
+ * + * + * repeated .google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType activated_policy_types = 4; + * + * + * @param index The index of the value to return. + * @return The enum numeric value on the wire of activatedPolicyTypes at the given index. + */ + int getActivatedPolicyTypesValue(int index); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestamps.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestamps.java index 169383a23dca..b0045d2440ed 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestamps.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestamps.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestampsOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestampsOrBuilder.java index db8b2bca0c33..b9396d8c7c7f 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestampsOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SystemTimestampsOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSourceType.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSourceType.java index de0c53e83bcf..3cb2b74d30a3 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSourceType.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSourceType.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -58,6 +58,16 @@ public enum TableSourceType implements com.google.protobuf.ProtocolMessageEnum { * BIGQUERY_TABLE = 5; */ BIGQUERY_TABLE(5), + /** + * + * + *
+   * BigQuery materialized view.
+   * 
+ * + * BIGQUERY_MATERIALIZED_VIEW = 7; + */ + BIGQUERY_MATERIALIZED_VIEW(7), UNRECOGNIZED(-1), ; @@ -91,6 +101,16 @@ public enum TableSourceType implements com.google.protobuf.ProtocolMessageEnum { * BIGQUERY_TABLE = 5; */ public static final int BIGQUERY_TABLE_VALUE = 5; + /** + * + * + *
+   * BigQuery materialized view.
+   * 
+ * + * BIGQUERY_MATERIALIZED_VIEW = 7; + */ + public static final int BIGQUERY_MATERIALIZED_VIEW_VALUE = 7; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -122,6 +142,8 @@ public static TableSourceType forNumber(int value) { return BIGQUERY_VIEW; case 5: return BIGQUERY_TABLE; + case 7: + return BIGQUERY_MATERIALIZED_VIEW; default: return null; } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpec.java index 939ba12a1a12..7183f214388c 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpec.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,9 +70,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Output only. If the table is a dated shard, i.e., with name pattern `[prefix]YYYYMMDD`,
-   * `grouped_entry` is the Data Catalog resource name of the date sharded
-   * grouped entry, for example,
+   * Output only. If the table is a dated shard, i.e., with name pattern
+   * `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of
+   * the date sharded grouped entry, for example,
    * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
    * Otherwise, `grouped_entry` is empty.
    * 
@@ -99,9 +99,9 @@ public java.lang.String getGroupedEntry() { * * *
-   * Output only. If the table is a dated shard, i.e., with name pattern `[prefix]YYYYMMDD`,
-   * `grouped_entry` is the Data Catalog resource name of the date sharded
-   * grouped entry, for example,
+   * Output only. If the table is a dated shard, i.e., with name pattern
+   * `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of
+   * the date sharded grouped entry, for example,
    * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
    * Otherwise, `grouped_entry` is empty.
    * 
@@ -471,9 +471,9 @@ public Builder mergeFrom( * * *
-     * Output only. If the table is a dated shard, i.e., with name pattern `[prefix]YYYYMMDD`,
-     * `grouped_entry` is the Data Catalog resource name of the date sharded
-     * grouped entry, for example,
+     * Output only. If the table is a dated shard, i.e., with name pattern
+     * `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of
+     * the date sharded grouped entry, for example,
      * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
      * Otherwise, `grouped_entry` is empty.
      * 
@@ -499,9 +499,9 @@ public java.lang.String getGroupedEntry() { * * *
-     * Output only. If the table is a dated shard, i.e., with name pattern `[prefix]YYYYMMDD`,
-     * `grouped_entry` is the Data Catalog resource name of the date sharded
-     * grouped entry, for example,
+     * Output only. If the table is a dated shard, i.e., with name pattern
+     * `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of
+     * the date sharded grouped entry, for example,
      * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
      * Otherwise, `grouped_entry` is empty.
      * 
@@ -527,9 +527,9 @@ public com.google.protobuf.ByteString getGroupedEntryBytes() { * * *
-     * Output only. If the table is a dated shard, i.e., with name pattern `[prefix]YYYYMMDD`,
-     * `grouped_entry` is the Data Catalog resource name of the date sharded
-     * grouped entry, for example,
+     * Output only. If the table is a dated shard, i.e., with name pattern
+     * `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of
+     * the date sharded grouped entry, for example,
      * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
      * Otherwise, `grouped_entry` is empty.
      * 
@@ -554,9 +554,9 @@ public Builder setGroupedEntry(java.lang.String value) { * * *
-     * Output only. If the table is a dated shard, i.e., with name pattern `[prefix]YYYYMMDD`,
-     * `grouped_entry` is the Data Catalog resource name of the date sharded
-     * grouped entry, for example,
+     * Output only. If the table is a dated shard, i.e., with name pattern
+     * `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of
+     * the date sharded grouped entry, for example,
      * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
      * Otherwise, `grouped_entry` is empty.
      * 
@@ -577,9 +577,9 @@ public Builder clearGroupedEntry() { * * *
-     * Output only. If the table is a dated shard, i.e., with name pattern `[prefix]YYYYMMDD`,
-     * `grouped_entry` is the Data Catalog resource name of the date sharded
-     * grouped entry, for example,
+     * Output only. If the table is a dated shard, i.e., with name pattern
+     * `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of
+     * the date sharded grouped entry, for example,
      * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
      * Otherwise, `grouped_entry` is empty.
      * 
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOrBuilder.java index 3374dab8d50e..8c3dd2a97dc2 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,9 +27,9 @@ public interface TableSpecOrBuilder * * *
-   * Output only. If the table is a dated shard, i.e., with name pattern `[prefix]YYYYMMDD`,
-   * `grouped_entry` is the Data Catalog resource name of the date sharded
-   * grouped entry, for example,
+   * Output only. If the table is a dated shard, i.e., with name pattern
+   * `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of
+   * the date sharded grouped entry, for example,
    * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
    * Otherwise, `grouped_entry` is empty.
    * 
@@ -45,9 +45,9 @@ public interface TableSpecOrBuilder * * *
-   * Output only. If the table is a dated shard, i.e., with name pattern `[prefix]YYYYMMDD`,
-   * `grouped_entry` is the Data Catalog resource name of the date sharded
-   * grouped entry, for example,
+   * Output only. If the table is a dated shard, i.e., with name pattern
+   * `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of
+   * the date sharded grouped entry, for example,
    * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
    * Otherwise, `grouped_entry` is empty.
    * 
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOuterClass.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOuterClass.java index 6dfc4a054d33..c37ca112f85c 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOuterClass.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOuterClass.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -68,15 +68,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "gQueryDateShardedSpec\022:\n\007dataset\030\001 \001(\tB)" + "\342A\001\003\372A\"\n datacatalog.googleapis.com/Entr" + "y\022\032\n\014table_prefix\030\002 \001(\tB\004\342A\001\003\022\031\n\013shard_c" - + "ount\030\003 \001(\003B\004\342A\001\003*[\n\017TableSourceType\022!\n\035T" + + "ount\030\003 \001(\003B\004\342A\001\003*{\n\017TableSourceType\022!\n\035T" + "ABLE_SOURCE_TYPE_UNSPECIFIED\020\000\022\021\n\rBIGQUE" - + "RY_VIEW\020\002\022\022\n\016BIGQUERY_TABLE\020\005B\337\001\n$com.go" - + "ogle.cloud.datacatalog.v1beta1P\001ZFcloud." - + "google.com/go/datacatalog/apiv1beta1/dat" - + "acatalogpb;datacatalogpb\370\001\001\252\002 Google.Clo" - + "ud.DataCatalog.V1Beta1\312\002 Google\\Cloud\\Da" - + "taCatalog\\V1beta1\352\002#Google::Cloud::DataC" - + "atalog::V1beta1b\006proto3" + + "RY_VIEW\020\002\022\022\n\016BIGQUERY_TABLE\020\005\022\036\n\032BIGQUER" + + "Y_MATERIALIZED_VIEW\020\007B\337\001\n$com.google.clo" + + "ud.datacatalog.v1beta1P\001ZFcloud.google.c" + + "om/go/datacatalog/apiv1beta1/datacatalog" + + "pb;datacatalogpb\370\001\001\252\002 Google.Cloud.DataC" + + "atalog.V1Beta1\312\002 Google\\Cloud\\DataCatalo" + + "g\\V1beta1\352\002#Google::Cloud::DataCatalog::" + + "V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tag.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tag.java index b7a96f98bb01..ae0340e2fdaf 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tag.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tag.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -195,7 +195,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Required. The resource name of the tag template that this tag uses. Example:
+   * Required. The resource name of the tag template that this tag uses.
+   * Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
    *
@@ -222,7 +223,8 @@ public java.lang.String getTemplate() {
    *
    *
    * 
-   * Required. The resource name of the tag template that this tag uses. Example:
+   * Required. The resource name of the tag template that this tag uses.
+   * Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
    *
@@ -423,9 +425,9 @@ public int getFieldsCount() {
    *
    *
    * 
-   * Required. This maps the ID of a tag field to the value of and additional information
-   * about that field. Valid field IDs are defined by the tag's template. A tag
-   * must have at least 1 field and at most 500 fields.
+   * Required. This maps the ID of a tag field to the value of and additional
+   * information about that field. Valid field IDs are defined by the tag's
+   * template. A tag must have at least 1 field and at most 500 fields.
    * 
* * @@ -450,9 +452,9 @@ public boolean containsFields(java.lang.String key) { * * *
-   * Required. This maps the ID of a tag field to the value of and additional information
-   * about that field. Valid field IDs are defined by the tag's template. A tag
-   * must have at least 1 field and at most 500 fields.
+   * Required. This maps the ID of a tag field to the value of and additional
+   * information about that field. Valid field IDs are defined by the tag's
+   * template. A tag must have at least 1 field and at most 500 fields.
    * 
* * @@ -468,9 +470,9 @@ public boolean containsFields(java.lang.String key) { * * *
-   * Required. This maps the ID of a tag field to the value of and additional information
-   * about that field. Valid field IDs are defined by the tag's template. A tag
-   * must have at least 1 field and at most 500 fields.
+   * Required. This maps the ID of a tag field to the value of and additional
+   * information about that field. Valid field IDs are defined by the tag's
+   * template. A tag must have at least 1 field and at most 500 fields.
    * 
* * @@ -493,9 +495,9 @@ public boolean containsFields(java.lang.String key) { * * *
-   * Required. This maps the ID of a tag field to the value of and additional information
-   * about that field. Valid field IDs are defined by the tag's template. A tag
-   * must have at least 1 field and at most 500 fields.
+   * Required. This maps the ID of a tag field to the value of and additional
+   * information about that field. Valid field IDs are defined by the tag's
+   * template. A tag must have at least 1 field and at most 500 fields.
    * 
* * @@ -1167,7 +1169,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. The resource name of the tag template that this tag uses. Example:
+     * Required. The resource name of the tag template that this tag uses.
+     * Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
      *
@@ -1193,7 +1196,8 @@ public java.lang.String getTemplate() {
      *
      *
      * 
-     * Required. The resource name of the tag template that this tag uses. Example:
+     * Required. The resource name of the tag template that this tag uses.
+     * Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
      *
@@ -1219,7 +1223,8 @@ public com.google.protobuf.ByteString getTemplateBytes() {
      *
      *
      * 
-     * Required. The resource name of the tag template that this tag uses. Example:
+     * Required. The resource name of the tag template that this tag uses.
+     * Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
      *
@@ -1244,7 +1249,8 @@ public Builder setTemplate(java.lang.String value) {
      *
      *
      * 
-     * Required. The resource name of the tag template that this tag uses. Example:
+     * Required. The resource name of the tag template that this tag uses.
+     * Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
      *
@@ -1265,7 +1271,8 @@ public Builder clearTemplate() {
      *
      *
      * 
-     * Required. The resource name of the tag template that this tag uses. Example:
+     * Required. The resource name of the tag template that this tag uses.
+     * Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
      *
@@ -1598,9 +1605,9 @@ public int getFieldsCount() {
      *
      *
      * 
-     * Required. This maps the ID of a tag field to the value of and additional information
-     * about that field. Valid field IDs are defined by the tag's template. A tag
-     * must have at least 1 field and at most 500 fields.
+     * Required. This maps the ID of a tag field to the value of and additional
+     * information about that field. Valid field IDs are defined by the tag's
+     * template. A tag must have at least 1 field and at most 500 fields.
      * 
* * @@ -1625,9 +1632,9 @@ public boolean containsFields(java.lang.String key) { * * *
-     * Required. This maps the ID of a tag field to the value of and additional information
-     * about that field. Valid field IDs are defined by the tag's template. A tag
-     * must have at least 1 field and at most 500 fields.
+     * Required. This maps the ID of a tag field to the value of and additional
+     * information about that field. Valid field IDs are defined by the tag's
+     * template. A tag must have at least 1 field and at most 500 fields.
      * 
* * @@ -1643,9 +1650,9 @@ public boolean containsFields(java.lang.String key) { * * *
-     * Required. This maps the ID of a tag field to the value of and additional information
-     * about that field. Valid field IDs are defined by the tag's template. A tag
-     * must have at least 1 field and at most 500 fields.
+     * Required. This maps the ID of a tag field to the value of and additional
+     * information about that field. Valid field IDs are defined by the tag's
+     * template. A tag must have at least 1 field and at most 500 fields.
      * 
* * @@ -1668,9 +1675,9 @@ public boolean containsFields(java.lang.String key) { * * *
-     * Required. This maps the ID of a tag field to the value of and additional information
-     * about that field. Valid field IDs are defined by the tag's template. A tag
-     * must have at least 1 field and at most 500 fields.
+     * Required. This maps the ID of a tag field to the value of and additional
+     * information about that field. Valid field IDs are defined by the tag's
+     * template. A tag must have at least 1 field and at most 500 fields.
      * 
* * @@ -1699,9 +1706,9 @@ public Builder clearFields() { * * *
-     * Required. This maps the ID of a tag field to the value of and additional information
-     * about that field. Valid field IDs are defined by the tag's template. A tag
-     * must have at least 1 field and at most 500 fields.
+     * Required. This maps the ID of a tag field to the value of and additional
+     * information about that field. Valid field IDs are defined by the tag's
+     * template. A tag must have at least 1 field and at most 500 fields.
      * 
* * @@ -1726,9 +1733,9 @@ public Builder removeFields(java.lang.String key) { * * *
-     * Required. This maps the ID of a tag field to the value of and additional information
-     * about that field. Valid field IDs are defined by the tag's template. A tag
-     * must have at least 1 field and at most 500 fields.
+     * Required. This maps the ID of a tag field to the value of and additional
+     * information about that field. Valid field IDs are defined by the tag's
+     * template. A tag must have at least 1 field and at most 500 fields.
      * 
* * @@ -1751,9 +1758,9 @@ public Builder putFields( * * *
-     * Required. This maps the ID of a tag field to the value of and additional information
-     * about that field. Valid field IDs are defined by the tag's template. A tag
-     * must have at least 1 field and at most 500 fields.
+     * Required. This maps the ID of a tag field to the value of and additional
+     * information about that field. Valid field IDs are defined by the tag's
+     * template. A tag must have at least 1 field and at most 500 fields.
      * 
* * diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagField.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagField.java index 6d215587b81b..790376de4480 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagField.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagField.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -1065,8 +1065,9 @@ public com.google.cloud.datacatalog.v1beta1.TagField.EnumValueOrBuilder getEnumV * * *
-   * Output only. The order of this field with respect to other fields in this tag. It can be
-   * set in [Tag][google.cloud.datacatalog.v1beta1.TagTemplateField.order]. For
+   * Output only. The order of this field with respect to other fields in this
+   * tag. It can be set in
+   * [Tag][google.cloud.datacatalog.v1beta1.TagTemplateField.order]. For
    * example, a higher value can indicate a more important field. The value can
    * be negative. Multiple fields can have the same order, and field orders
    * within a tag do not have to be sequential.
@@ -2438,8 +2439,9 @@ public com.google.cloud.datacatalog.v1beta1.TagField.EnumValue.Builder getEnumVa
      *
      *
      * 
-     * Output only. The order of this field with respect to other fields in this tag. It can be
-     * set in [Tag][google.cloud.datacatalog.v1beta1.TagTemplateField.order]. For
+     * Output only. The order of this field with respect to other fields in this
+     * tag. It can be set in
+     * [Tag][google.cloud.datacatalog.v1beta1.TagTemplateField.order]. For
      * example, a higher value can indicate a more important field. The value can
      * be negative. Multiple fields can have the same order, and field orders
      * within a tag do not have to be sequential.
@@ -2457,8 +2459,9 @@ public int getOrder() {
      *
      *
      * 
-     * Output only. The order of this field with respect to other fields in this tag. It can be
-     * set in [Tag][google.cloud.datacatalog.v1beta1.TagTemplateField.order]. For
+     * Output only. The order of this field with respect to other fields in this
+     * tag. It can be set in
+     * [Tag][google.cloud.datacatalog.v1beta1.TagTemplateField.order]. For
      * example, a higher value can indicate a more important field. The value can
      * be negative. Multiple fields can have the same order, and field orders
      * within a tag do not have to be sequential.
@@ -2480,8 +2483,9 @@ public Builder setOrder(int value) {
      *
      *
      * 
-     * Output only. The order of this field with respect to other fields in this tag. It can be
-     * set in [Tag][google.cloud.datacatalog.v1beta1.TagTemplateField.order]. For
+     * Output only. The order of this field with respect to other fields in this
+     * tag. It can be set in
+     * [Tag][google.cloud.datacatalog.v1beta1.TagTemplateField.order]. For
      * example, a higher value can indicate a more important field. The value can
      * be negative. Multiple fields can have the same order, and field orders
      * within a tag do not have to be sequential.
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagFieldOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagFieldOrBuilder.java
index 8f6392b76b4f..ad5a73d54f51 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagFieldOrBuilder.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagFieldOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -212,8 +212,9 @@ public interface TagFieldOrBuilder
    *
    *
    * 
-   * Output only. The order of this field with respect to other fields in this tag. It can be
-   * set in [Tag][google.cloud.datacatalog.v1beta1.TagTemplateField.order]. For
+   * Output only. The order of this field with respect to other fields in this
+   * tag. It can be set in
+   * [Tag][google.cloud.datacatalog.v1beta1.TagTemplateField.order]. For
    * example, a higher value can indicate a more important field. The value can
    * be negative. Multiple fields can have the same order, and field orders
    * within a tag do not have to be sequential.
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagOrBuilder.java
index 37aafc26ad39..ce98971af99e 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagOrBuilder.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagOrBuilder.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -62,7 +62,8 @@ public interface TagOrBuilder
    *
    *
    * 
-   * Required. The resource name of the tag template that this tag uses. Example:
+   * Required. The resource name of the tag template that this tag uses.
+   * Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
    *
@@ -78,7 +79,8 @@ public interface TagOrBuilder
    *
    *
    * 
-   * Required. The resource name of the tag template that this tag uses. Example:
+   * Required. The resource name of the tag template that this tag uses.
+   * Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
    *
@@ -175,9 +177,9 @@ public interface TagOrBuilder
    *
    *
    * 
-   * Required. This maps the ID of a tag field to the value of and additional information
-   * about that field. Valid field IDs are defined by the tag's template. A tag
-   * must have at least 1 field and at most 500 fields.
+   * Required. This maps the ID of a tag field to the value of and additional
+   * information about that field. Valid field IDs are defined by the tag's
+   * template. A tag must have at least 1 field and at most 500 fields.
    * 
* * @@ -189,9 +191,9 @@ public interface TagOrBuilder * * *
-   * Required. This maps the ID of a tag field to the value of and additional information
-   * about that field. Valid field IDs are defined by the tag's template. A tag
-   * must have at least 1 field and at most 500 fields.
+   * Required. This maps the ID of a tag field to the value of and additional
+   * information about that field. Valid field IDs are defined by the tag's
+   * template. A tag must have at least 1 field and at most 500 fields.
    * 
* * @@ -206,9 +208,9 @@ public interface TagOrBuilder * * *
-   * Required. This maps the ID of a tag field to the value of and additional information
-   * about that field. Valid field IDs are defined by the tag's template. A tag
-   * must have at least 1 field and at most 500 fields.
+   * Required. This maps the ID of a tag field to the value of and additional
+   * information about that field. Valid field IDs are defined by the tag's
+   * template. A tag must have at least 1 field and at most 500 fields.
    * 
* * @@ -220,9 +222,9 @@ public interface TagOrBuilder * * *
-   * Required. This maps the ID of a tag field to the value of and additional information
-   * about that field. Valid field IDs are defined by the tag's template. A tag
-   * must have at least 1 field and at most 500 fields.
+   * Required. This maps the ID of a tag field to the value of and additional
+   * information about that field. Valid field IDs are defined by the tag's
+   * template. A tag must have at least 1 field and at most 500 fields.
    * 
* * @@ -238,9 +240,9 @@ com.google.cloud.datacatalog.v1beta1.TagField getFieldsOrDefault( * * *
-   * Required. This maps the ID of a tag field to the value of and additional information
-   * about that field. Valid field IDs are defined by the tag's template. A tag
-   * must have at least 1 field and at most 500 fields.
+   * Required. This maps the ID of a tag field to the value of and additional
+   * information about that field. Valid field IDs are defined by the tag's
+   * template. A tag must have at least 1 field and at most 500 fields.
    * 
* * diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplate.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplate.java index 27263e750832..ff18fd7a80a4 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplate.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplate.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,7 +23,7 @@ * *
  * A tag template defines a tag, which can have one or more typed fields.
- * The template is used to create and attach the tag to GCP resources.
+ * The template is used to create and attach the tag to Google Cloud resources.
  * [Tag template
  * roles](https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles)
  * provide permissions to create, edit, and use the template. See, for example,
@@ -537,7 +537,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * 
    * A tag template defines a tag, which can have one or more typed fields.
-   * The template is used to create and attach the tag to GCP resources.
+   * The template is used to create and attach the tag to Google Cloud resources.
    * [Tag template
    * roles](https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles)
    * provide permissions to create, edit, and use the template. See, for example,
diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateField.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateField.java
index 37ba79b36329..cfc8f309b33b 100644
--- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateField.java
+++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateField.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -40,6 +40,7 @@ private TagTemplateField(com.google.protobuf.GeneratedMessageV3.Builder build
   private TagTemplateField() {
     name_ = "";
     displayName_ = "";
+    description_ = "";
   }
 
   @java.lang.Override
@@ -71,7 +72,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    *
    * 
-   * Output only. The resource name of the tag template field in URL format. Example:
+   * Output only. The resource name of the tag template field in URL format.
+   * Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
    *
@@ -99,7 +101,8 @@ public java.lang.String getName() {
    *
    *
    * 
-   * Output only. The resource name of the tag template field in URL format. Example:
+   * Output only. The resource name of the tag template field in URL format.
+   * Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
    *
@@ -249,6 +252,57 @@ public boolean getIsRequired() {
     return isRequired_;
   }
 
+  public static final int DESCRIPTION_FIELD_NUMBER = 4;
+
+  @SuppressWarnings("serial")
+  private volatile java.lang.Object description_ = "";
+  /**
+   *
+   *
+   * 
+   * The description for this field. Defaults to an empty string.
+   * 
+ * + * string description = 4; + * + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + 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(); + description_ = s; + return s; + } + } + /** + * + * + *
+   * The description for this field. Defaults to an empty string.
+   * 
+ * + * string description = 4; + * + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int ORDER_FIELD_NUMBER = 5; private int order_ = 0; /** @@ -293,6 +347,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (isRequired_ != false) { output.writeBool(3, isRequired_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_); + } if (order_ != 0) { output.writeInt32(5, order_); } @@ -317,6 +374,9 @@ public int getSerializedSize() { if (isRequired_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, isRequired_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); + } if (order_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, order_); } @@ -346,6 +406,7 @@ public boolean equals(final java.lang.Object obj) { if (!getType().equals(other.getType())) return false; } if (getIsRequired() != other.getIsRequired()) return false; + if (!getDescription().equals(other.getDescription())) return false; if (getOrder() != other.getOrder()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -368,6 +429,8 @@ public int hashCode() { } hash = (37 * hash) + IS_REQUIRED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsRequired()); + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); hash = (37 * hash) + ORDER_FIELD_NUMBER; hash = (53 * hash) + getOrder(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -518,6 +581,7 @@ public Builder clear() { typeBuilder_ = null; } isRequired_ = false; + description_ = ""; order_ = 0; return this; } @@ -568,6 +632,9 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.TagTemplateField result.isRequired_ = isRequired_; } if (((from_bitField0_ & 0x00000010) != 0)) { + result.description_ = description_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { result.order_ = order_; } } @@ -634,6 +701,11 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.TagTemplateField o if (other.getIsRequired() != false) { setIsRequired(other.getIsRequired()); } + if (!other.getDescription().isEmpty()) { + description_ = other.description_; + bitField0_ |= 0x00000010; + onChanged(); + } if (other.getOrder() != 0) { setOrder(other.getOrder()); } @@ -681,10 +753,16 @@ public Builder mergeFrom( bitField0_ |= 0x00000008; break; } // case 24 + case 34: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 34 case 40: { order_ = input.readInt32(); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; break; } // case 40 case 50: @@ -717,7 +795,8 @@ public Builder mergeFrom( * * *
-     * Output only. The resource name of the tag template field in URL format. Example:
+     * Output only. The resource name of the tag template field in URL format.
+     * Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
      *
@@ -744,7 +823,8 @@ public java.lang.String getName() {
      *
      *
      * 
-     * Output only. The resource name of the tag template field in URL format. Example:
+     * Output only. The resource name of the tag template field in URL format.
+     * Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
      *
@@ -771,7 +851,8 @@ public com.google.protobuf.ByteString getNameBytes() {
      *
      *
      * 
-     * Output only. The resource name of the tag template field in URL format. Example:
+     * Output only. The resource name of the tag template field in URL format.
+     * Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
      *
@@ -797,7 +878,8 @@ public Builder setName(java.lang.String value) {
      *
      *
      * 
-     * Output only. The resource name of the tag template field in URL format. Example:
+     * Output only. The resource name of the tag template field in URL format.
+     * Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
      *
@@ -819,7 +901,8 @@ public Builder clearName() {
      *
      *
      * 
-     * Output only. The resource name of the tag template field in URL format. Example:
+     * Output only. The resource name of the tag template field in URL format.
+     * Example:
      *
      * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
      *
@@ -1203,6 +1286,112 @@ public Builder clearIsRequired() {
       return this;
     }
 
+    private java.lang.Object description_ = "";
+    /**
+     *
+     *
+     * 
+     * The description for this field. Defaults to an empty string.
+     * 
+ * + * string description = 4; + * + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The description for this field. Defaults to an empty string.
+     * 
+ * + * string description = 4; + * + * @return The bytes for description. + */ + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The description for this field. Defaults to an empty string.
+     * 
+ * + * string description = 4; + * + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + description_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * The description for this field. Defaults to an empty string.
+     * 
+ * + * string description = 4; + * + * @return This builder for chaining. + */ + public Builder clearDescription() { + description_ = getDefaultInstance().getDescription(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + * + * + *
+     * The description for this field. Defaults to an empty string.
+     * 
+ * + * string description = 4; + * + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + private int order_; /** * @@ -1240,7 +1429,7 @@ public int getOrder() { public Builder setOrder(int value) { order_ = value; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -1259,7 +1448,7 @@ public Builder setOrder(int value) { * @return This builder for chaining. */ public Builder clearOrder() { - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000020); order_ = 0; onChanged(); return this; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldEnumValueName.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldEnumValueName.java new file mode 100644 index 000000000000..f3a190998371 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldEnumValueName.java @@ -0,0 +1,309 @@ +/* + * Copyright 2023 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.datacatalog.v1beta1; + +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +@Generated("by gapic-generator-java") +public class TagTemplateFieldEnumValueName implements ResourceName { + private static final PathTemplate + PROJECT_LOCATION_TAG_TEMPLATE_TAG_TEMPLATE_FIELD_ID_ENUM_VALUE_DISPLAY_NAME = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/locations/{location}/tagTemplates/{tag_template}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}"); + private volatile Map fieldValuesMap; + private final String project; + private final String location; + private final String tagTemplate; + private final String tagTemplateFieldId; + private final String enumValueDisplayName; + + @Deprecated + protected TagTemplateFieldEnumValueName() { + project = null; + location = null; + tagTemplate = null; + tagTemplateFieldId = null; + enumValueDisplayName = null; + } + + private TagTemplateFieldEnumValueName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + location = Preconditions.checkNotNull(builder.getLocation()); + tagTemplate = Preconditions.checkNotNull(builder.getTagTemplate()); + tagTemplateFieldId = Preconditions.checkNotNull(builder.getTagTemplateFieldId()); + enumValueDisplayName = Preconditions.checkNotNull(builder.getEnumValueDisplayName()); + } + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getTagTemplate() { + return tagTemplate; + } + + public String getTagTemplateFieldId() { + return tagTemplateFieldId; + } + + public String getEnumValueDisplayName() { + return enumValueDisplayName; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static TagTemplateFieldEnumValueName of( + String project, + String location, + String tagTemplate, + String tagTemplateFieldId, + String enumValueDisplayName) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setTagTemplate(tagTemplate) + .setTagTemplateFieldId(tagTemplateFieldId) + .setEnumValueDisplayName(enumValueDisplayName) + .build(); + } + + public static String format( + String project, + String location, + String tagTemplate, + String tagTemplateFieldId, + String enumValueDisplayName) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setTagTemplate(tagTemplate) + .setTagTemplateFieldId(tagTemplateFieldId) + .setEnumValueDisplayName(enumValueDisplayName) + .build() + .toString(); + } + + public static TagTemplateFieldEnumValueName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PROJECT_LOCATION_TAG_TEMPLATE_TAG_TEMPLATE_FIELD_ID_ENUM_VALUE_DISPLAY_NAME.validatedMatch( + formattedString, + "TagTemplateFieldEnumValueName.parse: formattedString not in valid format"); + return of( + matchMap.get("project"), + matchMap.get("location"), + matchMap.get("tag_template"), + matchMap.get("tag_template_field_id"), + matchMap.get("enum_value_display_name")); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList<>(values.size()); + for (TagTemplateFieldEnumValueName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROJECT_LOCATION_TAG_TEMPLATE_TAG_TEMPLATE_FIELD_ID_ENUM_VALUE_DISPLAY_NAME.matches( + formattedString); + } + + @Override + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + if (project != null) { + fieldMapBuilder.put("project", project); + } + if (location != null) { + fieldMapBuilder.put("location", location); + } + if (tagTemplate != null) { + fieldMapBuilder.put("tag_template", tagTemplate); + } + if (tagTemplateFieldId != null) { + fieldMapBuilder.put("tag_template_field_id", tagTemplateFieldId); + } + if (enumValueDisplayName != null) { + fieldMapBuilder.put("enum_value_display_name", enumValueDisplayName); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PROJECT_LOCATION_TAG_TEMPLATE_TAG_TEMPLATE_FIELD_ID_ENUM_VALUE_DISPLAY_NAME.instantiate( + "project", + project, + "location", + location, + "tag_template", + tagTemplate, + "tag_template_field_id", + tagTemplateFieldId, + "enum_value_display_name", + enumValueDisplayName); + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o != null || getClass() == o.getClass()) { + TagTemplateFieldEnumValueName that = ((TagTemplateFieldEnumValueName) o); + return Objects.equals(this.project, that.project) + && Objects.equals(this.location, that.location) + && Objects.equals(this.tagTemplate, that.tagTemplate) + && Objects.equals(this.tagTemplateFieldId, that.tagTemplateFieldId) + && Objects.equals(this.enumValueDisplayName, that.enumValueDisplayName); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= Objects.hashCode(project); + h *= 1000003; + h ^= Objects.hashCode(location); + h *= 1000003; + h ^= Objects.hashCode(tagTemplate); + h *= 1000003; + h ^= Objects.hashCode(tagTemplateFieldId); + h *= 1000003; + h ^= Objects.hashCode(enumValueDisplayName); + return h; + } + + /** + * Builder for + * projects/{project}/locations/{location}/tagTemplates/{tag_template}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}. + */ + public static class Builder { + private String project; + private String location; + private String tagTemplate; + private String tagTemplateFieldId; + private String enumValueDisplayName; + + protected Builder() {} + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getTagTemplate() { + return tagTemplate; + } + + public String getTagTemplateFieldId() { + return tagTemplateFieldId; + } + + public String getEnumValueDisplayName() { + return enumValueDisplayName; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setLocation(String location) { + this.location = location; + return this; + } + + public Builder setTagTemplate(String tagTemplate) { + this.tagTemplate = tagTemplate; + return this; + } + + public Builder setTagTemplateFieldId(String tagTemplateFieldId) { + this.tagTemplateFieldId = tagTemplateFieldId; + return this; + } + + public Builder setEnumValueDisplayName(String enumValueDisplayName) { + this.enumValueDisplayName = enumValueDisplayName; + return this; + } + + private Builder(TagTemplateFieldEnumValueName tagTemplateFieldEnumValueName) { + this.project = tagTemplateFieldEnumValueName.project; + this.location = tagTemplateFieldEnumValueName.location; + this.tagTemplate = tagTemplateFieldEnumValueName.tagTemplate; + this.tagTemplateFieldId = tagTemplateFieldEnumValueName.tagTemplateFieldId; + this.enumValueDisplayName = tagTemplateFieldEnumValueName.enumValueDisplayName; + } + + public TagTemplateFieldEnumValueName build() { + return new TagTemplateFieldEnumValueName(this); + } + } +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldOrBuilder.java index c0ecc64a0543..213cd9255111 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateFieldOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,7 +27,8 @@ public interface TagTemplateFieldOrBuilder * * *
-   * Output only. The resource name of the tag template field in URL format. Example:
+   * Output only. The resource name of the tag template field in URL format.
+   * Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
    *
@@ -44,7 +45,8 @@ public interface TagTemplateFieldOrBuilder
    *
    *
    * 
-   * Output only. The resource name of the tag template field in URL format. Example:
+   * Output only. The resource name of the tag template field in URL format.
+   * Example:
    *
    * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
    *
@@ -137,6 +139,31 @@ public interface TagTemplateFieldOrBuilder
    */
   boolean getIsRequired();
 
+  /**
+   *
+   *
+   * 
+   * The description for this field. Defaults to an empty string.
+   * 
+ * + * string description = 4; + * + * @return The description. + */ + java.lang.String getDescription(); + /** + * + * + *
+   * The description for this field. Defaults to an empty string.
+   * 
+ * + * string description = 4; + * + * @return The bytes for description. + */ + com.google.protobuf.ByteString getDescriptionBytes(); + /** * * diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateOrBuilder.java index cde0209ba152..ad27ae68402c 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplateOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tags.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tags.java index d70669439962..566954abca82 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tags.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tags.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -106,31 +106,32 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "catalog.v1beta1.TagTemplateField:\0028\001:p\352A" + "m\n&datacatalog.googleapis.com/TagTemplat" + "e\022Cprojects/{project}/locations/{locatio" - + "n}/tagTemplates/{tag_template}\"\251\002\n\020TagTe" + + "n}/tagTemplates/{tag_template}\"\276\002\n\020TagTe" + "mplateField\022\022\n\004name\030\006 \001(\tB\004\342A\001\003\022\024\n\014displ" + "ay_name\030\001 \001(\t\022?\n\004type\030\002 \001(\0132+.google.clo" + "ud.datacatalog.v1beta1.FieldTypeB\004\342A\001\002\022\023" - + "\n\013is_required\030\003 \001(\010\022\r\n\005order\030\005 \001(\005:\205\001\352A\201" - + "\001\n+datacatalog.googleapis.com/TagTemplat" - + "eField\022Rprojects/{project}/locations/{lo" - + "cation}/tagTemplates/{tag_template}/fiel" - + "ds/{field}\"\250\003\n\tFieldType\022S\n\016primitive_ty" - + "pe\030\001 \001(\01629.google.cloud.datacatalog.v1be" - + "ta1.FieldType.PrimitiveTypeH\000\022I\n\tenum_ty" - + "pe\030\002 \001(\01324.google.cloud.datacatalog.v1be" - + "ta1.FieldType.EnumTypeH\000\032\213\001\n\010EnumType\022V\n" - + "\016allowed_values\030\001 \003(\0132>.google.cloud.dat" - + "acatalog.v1beta1.FieldType.EnumType.Enum" - + "Value\032\'\n\tEnumValue\022\032\n\014display_name\030\001 \001(\t" - + "B\004\342A\001\002\"`\n\rPrimitiveType\022\036\n\032PRIMITIVE_TYP" - + "E_UNSPECIFIED\020\000\022\n\n\006DOUBLE\020\001\022\n\n\006STRING\020\002\022" - + "\010\n\004BOOL\020\003\022\r\n\tTIMESTAMP\020\004B\013\n\ttype_declB\337\001" - + "\n$com.google.cloud.datacatalog.v1beta1P\001" - + "ZFcloud.google.com/go/datacatalog/apiv1b" - + "eta1/datacatalogpb;datacatalogpb\370\001\001\252\002 Go" - + "ogle.Cloud.DataCatalog.V1Beta1\312\002 Google\\" - + "Cloud\\DataCatalog\\V1beta1\352\002#Google::Clou" - + "d::DataCatalog::V1beta1b\006proto3" + + "\n\013is_required\030\003 \001(\010\022\023\n\013description\030\004 \001(\t" + + "\022\r\n\005order\030\005 \001(\005:\205\001\352A\201\001\n+datacatalog.goog" + + "leapis.com/TagTemplateField\022Rprojects/{p" + + "roject}/locations/{location}/tagTemplate" + + "s/{tag_template}/fields/{field}\"\250\003\n\tFiel" + + "dType\022S\n\016primitive_type\030\001 \001(\01629.google.c" + + "loud.datacatalog.v1beta1.FieldType.Primi" + + "tiveTypeH\000\022I\n\tenum_type\030\002 \001(\01324.google.c" + + "loud.datacatalog.v1beta1.FieldType.EnumT" + + "ypeH\000\032\213\001\n\010EnumType\022V\n\016allowed_values\030\001 \003" + + "(\0132>.google.cloud.datacatalog.v1beta1.Fi" + + "eldType.EnumType.EnumValue\032\'\n\tEnumValue\022" + + "\032\n\014display_name\030\001 \001(\tB\004\342A\001\002\"`\n\rPrimitive" + + "Type\022\036\n\032PRIMITIVE_TYPE_UNSPECIFIED\020\000\022\n\n\006" + + "DOUBLE\020\001\022\n\n\006STRING\020\002\022\010\n\004BOOL\020\003\022\r\n\tTIMEST" + + "AMP\020\004B\013\n\ttype_declB\337\001\n$com.google.cloud." + + "datacatalog.v1beta1P\001ZFcloud.google.com/" + + "go/datacatalog/apiv1beta1/datacatalogpb;" + + "datacatalogpb\370\001\001\252\002 Google.Cloud.DataCata" + + "log.V1Beta1\312\002 Google\\Cloud\\DataCatalog\\V" + + "1beta1\352\002#Google::Cloud::DataCatalog::V1b" + + "eta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -205,7 +206,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_datacatalog_v1beta1_TagTemplateField_descriptor, new java.lang.String[] { - "Name", "DisplayName", "Type", "IsRequired", "Order", + "Name", "DisplayName", "Type", "IsRequired", "Description", "Order", }); internal_static_google_cloud_datacatalog_v1beta1_FieldType_descriptor = getDescriptor().getMessageTypes().get(4); diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Taxonomy.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Taxonomy.java index 40f2e2a6c42f..7203cf07c93b 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Taxonomy.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Taxonomy.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -206,6 +206,829 @@ private PolicyType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType) } + public interface ServiceOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.Taxonomy.Service) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * The Google Cloud service name.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.ManagingSystem name = 1; + * + * @return The enum numeric value on the wire for name. + */ + int getNameValue(); + /** + * + * + *
+     * The Google Cloud service name.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.ManagingSystem name = 1; + * + * @return The name. + */ + com.google.cloud.datacatalog.v1beta1.ManagingSystem getName(); + + /** + * + * + *
+     * The service agent for the service.
+     * 
+ * + * string identity = 2; + * + * @return The identity. + */ + java.lang.String getIdentity(); + /** + * + * + *
+     * The service agent for the service.
+     * 
+ * + * string identity = 2; + * + * @return The bytes for identity. + */ + com.google.protobuf.ByteString getIdentityBytes(); + } + /** + * + * + *
+   * The source system of the Taxonomy.
+   * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1beta1.Taxonomy.Service} + */ + public static final class Service extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.Taxonomy.Service) + ServiceOrBuilder { + private static final long serialVersionUID = 0L; + // Use Service.newBuilder() to construct. + private Service(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Service() { + name_ = 0; + identity_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Service(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto + .internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_Service_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto + .internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_Service_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.class, + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private int name_ = 0; + /** + * + * + *
+     * The Google Cloud service name.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.ManagingSystem name = 1; + * + * @return The enum numeric value on the wire for name. + */ + @java.lang.Override + public int getNameValue() { + return name_; + } + /** + * + * + *
+     * The Google Cloud service name.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.ManagingSystem name = 1; + * + * @return The name. + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.ManagingSystem getName() { + com.google.cloud.datacatalog.v1beta1.ManagingSystem result = + com.google.cloud.datacatalog.v1beta1.ManagingSystem.forNumber(name_); + return result == null + ? com.google.cloud.datacatalog.v1beta1.ManagingSystem.UNRECOGNIZED + : result; + } + + public static final int IDENTITY_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object identity_ = ""; + /** + * + * + *
+     * The service agent for the service.
+     * 
+ * + * string identity = 2; + * + * @return The identity. + */ + @java.lang.Override + public java.lang.String getIdentity() { + java.lang.Object ref = identity_; + 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(); + identity_ = s; + return s; + } + } + /** + * + * + *
+     * The service agent for the service.
+     * 
+ * + * string identity = 2; + * + * @return The bytes for identity. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIdentityBytes() { + java.lang.Object ref = identity_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + identity_ = 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 (name_ + != com.google.cloud.datacatalog.v1beta1.ManagingSystem.MANAGING_SYSTEM_UNSPECIFIED + .getNumber()) { + output.writeEnum(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(identity_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, identity_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (name_ + != com.google.cloud.datacatalog.v1beta1.ManagingSystem.MANAGING_SYSTEM_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(identity_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, identity_); + } + 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.datacatalog.v1beta1.Taxonomy.Service)) { + return super.equals(obj); + } + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service other = + (com.google.cloud.datacatalog.v1beta1.Taxonomy.Service) obj; + + if (name_ != other.name_) return false; + if (!getIdentity().equals(other.getIdentity())) 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) + NAME_FIELD_NUMBER; + hash = (53 * hash) + name_; + hash = (37 * hash) + IDENTITY_FIELD_NUMBER; + hash = (53 * hash) + getIdentity().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service 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.datacatalog.v1beta1.Taxonomy.Service parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service 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.datacatalog.v1beta1.Taxonomy.Service parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service 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.datacatalog.v1beta1.Taxonomy.Service parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service 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.datacatalog.v1beta1.Taxonomy.Service parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service 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.datacatalog.v1beta1.Taxonomy.Service 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; + } + /** + * + * + *
+     * The source system of the Taxonomy.
+     * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1beta1.Taxonomy.Service} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.Taxonomy.Service) + com.google.cloud.datacatalog.v1beta1.Taxonomy.ServiceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto + .internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_Service_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto + .internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_Service_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.class, + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.Builder.class); + } + + // Construct using com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = 0; + identity_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.PolicyTagManagerProto + .internal_static_google_cloud_datacatalog_v1beta1_Taxonomy_Service_descriptor; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.Taxonomy.Service getDefaultInstanceForType() { + return com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.Taxonomy.Service build() { + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.Taxonomy.Service buildPartial() { + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service result = + new com.google.cloud.datacatalog.v1beta1.Taxonomy.Service(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.datacatalog.v1beta1.Taxonomy.Service result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.identity_ = identity_; + } + } + + @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.datacatalog.v1beta1.Taxonomy.Service) { + return mergeFrom((com.google.cloud.datacatalog.v1beta1.Taxonomy.Service) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.Taxonomy.Service other) { + if (other == com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.getDefaultInstance()) + return this; + if (other.name_ != 0) { + setNameValue(other.getNameValue()); + } + if (!other.getIdentity().isEmpty()) { + identity_ = other.identity_; + bitField0_ |= 0x00000002; + 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 8: + { + name_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + identity_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + 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 int name_ = 0; + /** + * + * + *
+       * The Google Cloud service name.
+       * 
+ * + * .google.cloud.datacatalog.v1beta1.ManagingSystem name = 1; + * + * @return The enum numeric value on the wire for name. + */ + @java.lang.Override + public int getNameValue() { + return name_; + } + /** + * + * + *
+       * The Google Cloud service name.
+       * 
+ * + * .google.cloud.datacatalog.v1beta1.ManagingSystem name = 1; + * + * @param value The enum numeric value on the wire for name to set. + * @return This builder for chaining. + */ + public Builder setNameValue(int value) { + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+       * The Google Cloud service name.
+       * 
+ * + * .google.cloud.datacatalog.v1beta1.ManagingSystem name = 1; + * + * @return The name. + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.ManagingSystem getName() { + com.google.cloud.datacatalog.v1beta1.ManagingSystem result = + com.google.cloud.datacatalog.v1beta1.ManagingSystem.forNumber(name_); + return result == null + ? com.google.cloud.datacatalog.v1beta1.ManagingSystem.UNRECOGNIZED + : result; + } + /** + * + * + *
+       * The Google Cloud service name.
+       * 
+ * + * .google.cloud.datacatalog.v1beta1.ManagingSystem name = 1; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(com.google.cloud.datacatalog.v1beta1.ManagingSystem value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + name_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+       * The Google Cloud service name.
+       * 
+ * + * .google.cloud.datacatalog.v1beta1.ManagingSystem name = 1; + * + * @return This builder for chaining. + */ + public Builder clearName() { + bitField0_ = (bitField0_ & ~0x00000001); + name_ = 0; + onChanged(); + return this; + } + + private java.lang.Object identity_ = ""; + /** + * + * + *
+       * The service agent for the service.
+       * 
+ * + * string identity = 2; + * + * @return The identity. + */ + public java.lang.String getIdentity() { + java.lang.Object ref = identity_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + identity_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+       * The service agent for the service.
+       * 
+ * + * string identity = 2; + * + * @return The bytes for identity. + */ + public com.google.protobuf.ByteString getIdentityBytes() { + java.lang.Object ref = identity_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + identity_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+       * The service agent for the service.
+       * 
+ * + * string identity = 2; + * + * @param value The identity to set. + * @return This builder for chaining. + */ + public Builder setIdentity(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + identity_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+       * The service agent for the service.
+       * 
+ * + * string identity = 2; + * + * @return This builder for chaining. + */ + public Builder clearIdentity() { + identity_ = getDefaultInstance().getIdentity(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+       * The service agent for the service.
+       * 
+ * + * string identity = 2; + * + * @param value The bytes for identity to set. + * @return This builder for chaining. + */ + public Builder setIdentityBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + identity_ = value; + bitField0_ |= 0x00000002; + 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.datacatalog.v1beta1.Taxonomy.Service) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.Taxonomy.Service) + private static final com.google.cloud.datacatalog.v1beta1.Taxonomy.Service DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.Taxonomy.Service(); + } + + public static com.google.cloud.datacatalog.v1beta1.Taxonomy.Service getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Service 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.datacatalog.v1beta1.Taxonomy.Service getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -267,9 +1090,11 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Required. User defined name of this taxonomy. It must: contain only unicode letters,
-   * numbers, underscores, dashes and spaces; not start or end with spaces; and
-   * be at most 200 bytes long when encoded in UTF-8.
+   * Required. User defined name of this taxonomy. It must: contain only unicode
+   * letters, numbers, underscores, dashes and spaces; not start or end with
+   * spaces; and be at most 200 bytes long when encoded in UTF-8.
+   *
+   * The taxonomy display name must be unique within an organization.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -292,9 +1117,11 @@ public java.lang.String getDisplayName() { * * *
-   * Required. User defined name of this taxonomy. It must: contain only unicode letters,
-   * numbers, underscores, dashes and spaces; not start or end with spaces; and
-   * be at most 200 bytes long when encoded in UTF-8.
+   * Required. User defined name of this taxonomy. It must: contain only unicode
+   * letters, numbers, underscores, dashes and spaces; not start or end with
+   * spaces; and be at most 200 bytes long when encoded in UTF-8.
+   *
+   * The taxonomy display name must be unique within an organization.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -322,9 +1149,10 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * * *
-   * Optional. Description of this taxonomy. It must: contain only unicode characters,
-   * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
-   * long when encoded in UTF-8. If not set, defaults to an empty description.
+   * Optional. Description of this taxonomy. It must: contain only unicode
+   * characters, tabs, newlines, carriage returns and page breaks; and be at
+   * most 2000 bytes long when encoded in UTF-8. If not set, defaults to an
+   * empty description.
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -347,9 +1175,10 @@ public java.lang.String getDescription() { * * *
-   * Optional. Description of this taxonomy. It must: contain only unicode characters,
-   * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
-   * long when encoded in UTF-8. If not set, defaults to an empty description.
+   * Optional. Description of this taxonomy. It must: contain only unicode
+   * characters, tabs, newlines, carriage returns and page breaks; and be at
+   * most 2000 bytes long when encoded in UTF-8. If not set, defaults to an
+   * empty description.
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -369,6 +1198,84 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } + public static final int POLICY_TAG_COUNT_FIELD_NUMBER = 4; + private int policyTagCount_ = 0; + /** + * + * + *
+   * Output only. Number of policy tags contained in this taxonomy.
+   * 
+ * + * int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The policyTagCount. + */ + @java.lang.Override + public int getPolicyTagCount() { + return policyTagCount_; + } + + public static final int TAXONOMY_TIMESTAMPS_FIELD_NUMBER = 5; + private com.google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomyTimestamps_; + /** + * + * + *
+   * Output only. Timestamps about this taxonomy. Only create_time and
+   * update_time are used.
+   * 
+ * + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the taxonomyTimestamps field is set. + */ + @java.lang.Override + public boolean hasTaxonomyTimestamps() { + return taxonomyTimestamps_ != null; + } + /** + * + * + *
+   * Output only. Timestamps about this taxonomy. Only create_time and
+   * update_time are used.
+   * 
+ * + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The taxonomyTimestamps. + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getTaxonomyTimestamps() { + return taxonomyTimestamps_ == null + ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() + : taxonomyTimestamps_; + } + /** + * + * + *
+   * Output only. Timestamps about this taxonomy. Only create_time and
+   * update_time are used.
+   * 
+ * + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder + getTaxonomyTimestampsOrBuilder() { + return taxonomyTimestamps_ == null + ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() + : taxonomyTimestamps_; + } + public static final int ACTIVATED_POLICY_TYPES_FIELD_NUMBER = 6; @SuppressWarnings("serial") @@ -392,8 +1299,8 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType convert( * * *
-   * Optional. A list of policy types that are activated for this taxonomy. If not set,
-   * defaults to an empty list.
+   * Optional. A list of policy types that are activated for this taxonomy. If
+   * not set, defaults to an empty list.
    * 
* * @@ -413,8 +1320,8 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType convert( * * *
-   * Optional. A list of policy types that are activated for this taxonomy. If not set,
-   * defaults to an empty list.
+   * Optional. A list of policy types that are activated for this taxonomy. If
+   * not set, defaults to an empty list.
    * 
* * @@ -431,8 +1338,8 @@ public int getActivatedPolicyTypesCount() { * * *
-   * Optional. A list of policy types that are activated for this taxonomy. If not set,
-   * defaults to an empty list.
+   * Optional. A list of policy types that are activated for this taxonomy. If
+   * not set, defaults to an empty list.
    * 
* * @@ -451,8 +1358,8 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType getActivatedPoli * * *
-   * Optional. A list of policy types that are activated for this taxonomy. If not set,
-   * defaults to an empty list.
+   * Optional. A list of policy types that are activated for this taxonomy. If
+   * not set, defaults to an empty list.
    * 
* * @@ -469,8 +1376,8 @@ public java.util.List getActivatedPolicyTypesValueList() { * * *
-   * Optional. A list of policy types that are activated for this taxonomy. If not set,
-   * defaults to an empty list.
+   * Optional. A list of policy types that are activated for this taxonomy. If
+   * not set, defaults to an empty list.
    * 
* * @@ -487,6 +1394,68 @@ public int getActivatedPolicyTypesValue(int index) { private int activatedPolicyTypesMemoizedSerializedSize; + public static final int SERVICE_FIELD_NUMBER = 7; + private com.google.cloud.datacatalog.v1beta1.Taxonomy.Service service_; + /** + * + * + *
+   * Output only. Identity of the service which owns the Taxonomy. This field is
+   * only populated when the taxonomy is created by a Google Cloud service.
+   * Currently only 'DATAPLEX' is supported.
+   * 
+ * + * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the service field is set. + */ + @java.lang.Override + public boolean hasService() { + return service_ != null; + } + /** + * + * + *
+   * Output only. Identity of the service which owns the Taxonomy. This field is
+   * only populated when the taxonomy is created by a Google Cloud service.
+   * Currently only 'DATAPLEX' is supported.
+   * 
+ * + * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The service. + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.Taxonomy.Service getService() { + return service_ == null + ? com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.getDefaultInstance() + : service_; + } + /** + * + * + *
+   * Output only. Identity of the service which owns the Taxonomy. This field is
+   * only populated when the taxonomy is created by a Google Cloud service.
+   * Currently only 'DATAPLEX' is supported.
+   * 
+ * + * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.Taxonomy.ServiceOrBuilder getServiceOrBuilder() { + return service_ == null + ? com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.getDefaultInstance() + : service_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -511,6 +1480,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } + if (policyTagCount_ != 0) { + output.writeInt32(4, policyTagCount_); + } + if (taxonomyTimestamps_ != null) { + output.writeMessage(5, getTaxonomyTimestamps()); + } if (getActivatedPolicyTypesList().size() > 0) { output.writeUInt32NoTag(50); output.writeUInt32NoTag(activatedPolicyTypesMemoizedSerializedSize); @@ -518,6 +1493,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < activatedPolicyTypes_.size(); i++) { output.writeEnumNoTag(activatedPolicyTypes_.get(i)); } + if (service_ != null) { + output.writeMessage(7, getService()); + } getUnknownFields().writeTo(output); } @@ -536,6 +1514,12 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } + if (policyTagCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, policyTagCount_); + } + if (taxonomyTimestamps_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getTaxonomyTimestamps()); + } { int dataSize = 0; for (int i = 0; i < activatedPolicyTypes_.size(); i++) { @@ -550,6 +1534,9 @@ public int getSerializedSize() { } activatedPolicyTypesMemoizedSerializedSize = dataSize; } + if (service_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getService()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -569,7 +1556,16 @@ public boolean equals(final java.lang.Object obj) { if (!getName().equals(other.getName())) return false; if (!getDisplayName().equals(other.getDisplayName())) return false; if (!getDescription().equals(other.getDescription())) return false; + if (getPolicyTagCount() != other.getPolicyTagCount()) return false; + if (hasTaxonomyTimestamps() != other.hasTaxonomyTimestamps()) return false; + if (hasTaxonomyTimestamps()) { + if (!getTaxonomyTimestamps().equals(other.getTaxonomyTimestamps())) return false; + } if (!activatedPolicyTypes_.equals(other.activatedPolicyTypes_)) return false; + if (hasService() != other.hasService()) return false; + if (hasService()) { + if (!getService().equals(other.getService())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -587,10 +1583,20 @@ public int hashCode() { hash = (53 * hash) + getDisplayName().hashCode(); hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); + hash = (37 * hash) + POLICY_TAG_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getPolicyTagCount(); + if (hasTaxonomyTimestamps()) { + hash = (37 * hash) + TAXONOMY_TIMESTAMPS_FIELD_NUMBER; + hash = (53 * hash) + getTaxonomyTimestamps().hashCode(); + } if (getActivatedPolicyTypesCount() > 0) { hash = (37 * hash) + ACTIVATED_POLICY_TYPES_FIELD_NUMBER; hash = (53 * hash) + activatedPolicyTypes_.hashCode(); } + if (hasService()) { + hash = (37 * hash) + SERVICE_FIELD_NUMBER; + hash = (53 * hash) + getService().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -737,8 +1743,19 @@ public Builder clear() { name_ = ""; displayName_ = ""; description_ = ""; + policyTagCount_ = 0; + taxonomyTimestamps_ = null; + if (taxonomyTimestampsBuilder_ != null) { + taxonomyTimestampsBuilder_.dispose(); + taxonomyTimestampsBuilder_ = null; + } activatedPolicyTypes_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000020); + service_ = null; + if (serviceBuilder_ != null) { + serviceBuilder_.dispose(); + serviceBuilder_ = null; + } return this; } @@ -775,9 +1792,9 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy buildPartial() { } private void buildPartialRepeatedFields(com.google.cloud.datacatalog.v1beta1.Taxonomy result) { - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000020) != 0)) { activatedPolicyTypes_ = java.util.Collections.unmodifiableList(activatedPolicyTypes_); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000020); } result.activatedPolicyTypes_ = activatedPolicyTypes_; } @@ -793,6 +1810,18 @@ private void buildPartial0(com.google.cloud.datacatalog.v1beta1.Taxonomy result) if (((from_bitField0_ & 0x00000004) != 0)) { result.description_ = description_; } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.policyTagCount_ = policyTagCount_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.taxonomyTimestamps_ = + taxonomyTimestampsBuilder_ == null + ? taxonomyTimestamps_ + : taxonomyTimestampsBuilder_.build(); + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.service_ = serviceBuilder_ == null ? service_ : serviceBuilder_.build(); + } } @java.lang.Override @@ -855,16 +1884,25 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.Taxonomy other) { bitField0_ |= 0x00000004; onChanged(); } + if (other.getPolicyTagCount() != 0) { + setPolicyTagCount(other.getPolicyTagCount()); + } + if (other.hasTaxonomyTimestamps()) { + mergeTaxonomyTimestamps(other.getTaxonomyTimestamps()); + } if (!other.activatedPolicyTypes_.isEmpty()) { if (activatedPolicyTypes_.isEmpty()) { activatedPolicyTypes_ = other.activatedPolicyTypes_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000020); } else { ensureActivatedPolicyTypesIsMutable(); activatedPolicyTypes_.addAll(other.activatedPolicyTypes_); } onChanged(); } + if (other.hasService()) { + mergeService(other.getService()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -909,6 +1947,19 @@ public Builder mergeFrom( bitField0_ |= 0x00000004; break; } // case 26 + case 32: + { + policyTagCount_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: + { + input.readMessage( + getTaxonomyTimestampsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 case 48: { int tmpRaw = input.readEnum(); @@ -928,6 +1979,12 @@ public Builder mergeFrom( input.popLimit(oldLimit); break; } // case 50 + case 58: + { + input.readMessage(getServiceFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1063,9 +2120,11 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. User defined name of this taxonomy. It must: contain only unicode letters,
-     * numbers, underscores, dashes and spaces; not start or end with spaces; and
-     * be at most 200 bytes long when encoded in UTF-8.
+     * Required. User defined name of this taxonomy. It must: contain only unicode
+     * letters, numbers, underscores, dashes and spaces; not start or end with
+     * spaces; and be at most 200 bytes long when encoded in UTF-8.
+     *
+     * The taxonomy display name must be unique within an organization.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1087,162 +2146,419 @@ public java.lang.String getDisplayName() { * * *
-     * Required. User defined name of this taxonomy. It must: contain only unicode letters,
-     * numbers, underscores, dashes and spaces; not start or end with spaces; and
-     * be at most 200 bytes long when encoded in UTF-8.
+     * Required. User defined name of this taxonomy. It must: contain only unicode
+     * letters, numbers, underscores, dashes and spaces; not start or end with
+     * spaces; and be at most 200 bytes long when encoded in UTF-8.
+     *
+     * The taxonomy display name must be unique within an organization.
+     * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for displayName. + */ + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. User defined name of this taxonomy. It must: contain only unicode
+     * letters, numbers, underscores, dashes and spaces; not start or end with
+     * spaces; and be at most 200 bytes long when encoded in UTF-8.
+     *
+     * The taxonomy display name must be unique within an organization.
+     * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + displayName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. User defined name of this taxonomy. It must: contain only unicode
+     * letters, numbers, underscores, dashes and spaces; not start or end with
+     * spaces; and be at most 200 bytes long when encoded in UTF-8.
+     *
+     * The taxonomy display name must be unique within an organization.
+     * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearDisplayName() { + displayName_ = getDefaultInstance().getDisplayName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. User defined name of this taxonomy. It must: contain only unicode
+     * letters, numbers, underscores, dashes and spaces; not start or end with
+     * spaces; and be at most 200 bytes long when encoded in UTF-8.
+     *
+     * The taxonomy display name must be unique within an organization.
+     * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object description_ = ""; + /** + * + * + *
+     * Optional. Description of this taxonomy. It must: contain only unicode
+     * characters, tabs, newlines, carriage returns and page breaks; and be at
+     * most 2000 bytes long when encoded in UTF-8. If not set, defaults to an
+     * empty description.
+     * 
+ * + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. Description of this taxonomy. It must: contain only unicode
+     * characters, tabs, newlines, carriage returns and page breaks; and be at
+     * most 2000 bytes long when encoded in UTF-8. If not set, defaults to an
+     * empty description.
+     * 
+ * + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for description. + */ + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. Description of this taxonomy. It must: contain only unicode
+     * characters, tabs, newlines, carriage returns and page breaks; and be at
+     * most 2000 bytes long when encoded in UTF-8. If not set, defaults to an
+     * empty description.
+     * 
+ * + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + description_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Description of this taxonomy. It must: contain only unicode
+     * characters, tabs, newlines, carriage returns and page breaks; and be at
+     * most 2000 bytes long when encoded in UTF-8. If not set, defaults to an
+     * empty description.
+     * 
+ * + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearDescription() { + description_ = getDefaultInstance().getDescription(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Description of this taxonomy. It must: contain only unicode
+     * characters, tabs, newlines, carriage returns and page breaks; and be at
+     * most 2000 bytes long when encoded in UTF-8. If not set, defaults to an
+     * empty description.
+     * 
+ * + * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private int policyTagCount_; + /** + * + * + *
+     * Output only. Number of policy tags contained in this taxonomy.
+     * 
+ * + * int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The policyTagCount. + */ + @java.lang.Override + public int getPolicyTagCount() { + return policyTagCount_; + } + /** + * + * + *
+     * Output only. Number of policy tags contained in this taxonomy.
      * 
* - * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * - * @return The bytes for displayName. + * @param value The policyTagCount to set. + * @return This builder for chaining. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { - java.lang.Object ref = displayName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - displayName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public Builder setPolicyTagCount(int value) { + + policyTagCount_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; } /** * * *
-     * Required. User defined name of this taxonomy. It must: contain only unicode letters,
-     * numbers, underscores, dashes and spaces; not start or end with spaces; and
-     * be at most 200 bytes long when encoded in UTF-8.
+     * Output only. Number of policy tags contained in this taxonomy.
      * 
* - * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * - * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - displayName_ = value; - bitField0_ |= 0x00000002; + public Builder clearPolicyTagCount() { + bitField0_ = (bitField0_ & ~0x00000008); + policyTagCount_ = 0; onChanged(); return this; } + + private com.google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomyTimestamps_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.SystemTimestamps, + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, + com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder> + taxonomyTimestampsBuilder_; /** * * *
-     * Required. User defined name of this taxonomy. It must: contain only unicode letters,
-     * numbers, underscores, dashes and spaces; not start or end with spaces; and
-     * be at most 200 bytes long when encoded in UTF-8.
+     * Output only. Timestamps about this taxonomy. Only create_time and
+     * update_time are used.
      * 
* - * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * - * @return This builder for chaining. + * @return Whether the taxonomyTimestamps field is set. */ - public Builder clearDisplayName() { - displayName_ = getDefaultInstance().getDisplayName(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; + public boolean hasTaxonomyTimestamps() { + return ((bitField0_ & 0x00000010) != 0); } /** * * *
-     * Required. User defined name of this taxonomy. It must: contain only unicode letters,
-     * numbers, underscores, dashes and spaces; not start or end with spaces; and
-     * be at most 200 bytes long when encoded in UTF-8.
+     * Output only. Timestamps about this taxonomy. Only create_time and
+     * update_time are used.
      * 
* - * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * - * @param value The bytes for displayName to set. - * @return This builder for chaining. + * @return The taxonomyTimestamps. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); + public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getTaxonomyTimestamps() { + if (taxonomyTimestampsBuilder_ == null) { + return taxonomyTimestamps_ == null + ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() + : taxonomyTimestamps_; + } else { + return taxonomyTimestampsBuilder_.getMessage(); } - checkByteStringIsUtf8(value); - displayName_ = value; - bitField0_ |= 0x00000002; + } + /** + * + * + *
+     * Output only. Timestamps about this taxonomy. Only create_time and
+     * update_time are used.
+     * 
+ * + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setTaxonomyTimestamps( + com.google.cloud.datacatalog.v1beta1.SystemTimestamps value) { + if (taxonomyTimestampsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + taxonomyTimestamps_ = value; + } else { + taxonomyTimestampsBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; onChanged(); return this; } - - private java.lang.Object description_ = ""; /** * * *
-     * Optional. Description of this taxonomy. It must: contain only unicode characters,
-     * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
-     * long when encoded in UTF-8. If not set, defaults to an empty description.
+     * Output only. Timestamps about this taxonomy. Only create_time and
+     * update_time are used.
      * 
* - * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The description. + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.lang.String getDescription() { - java.lang.Object ref = description_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - description_ = s; - return s; + public Builder setTaxonomyTimestamps( + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder builderForValue) { + if (taxonomyTimestampsBuilder_ == null) { + taxonomyTimestamps_ = builderForValue.build(); } else { - return (java.lang.String) ref; + taxonomyTimestampsBuilder_.setMessage(builderForValue.build()); } + bitField0_ |= 0x00000010; + onChanged(); + return this; } /** * * *
-     * Optional. Description of this taxonomy. It must: contain only unicode characters,
-     * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
-     * long when encoded in UTF-8. If not set, defaults to an empty description.
+     * Output only. Timestamps about this taxonomy. Only create_time and
+     * update_time are used.
      * 
* - * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for description. + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.protobuf.ByteString getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - description_ = b; - return b; + public Builder mergeTaxonomyTimestamps( + com.google.cloud.datacatalog.v1beta1.SystemTimestamps value) { + if (taxonomyTimestampsBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) + && taxonomyTimestamps_ != null + && taxonomyTimestamps_ + != com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance()) { + getTaxonomyTimestampsBuilder().mergeFrom(value); + } else { + taxonomyTimestamps_ = value; + } } else { - return (com.google.protobuf.ByteString) ref; + taxonomyTimestampsBuilder_.mergeFrom(value); } + bitField0_ |= 0x00000010; + onChanged(); + return this; } /** * * *
-     * Optional. Description of this taxonomy. It must: contain only unicode characters,
-     * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
-     * long when encoded in UTF-8. If not set, defaults to an empty description.
+     * Output only. Timestamps about this taxonomy. Only create_time and
+     * update_time are used.
      * 
* - * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The description to set. - * @return This builder for chaining. + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); + public Builder clearTaxonomyTimestamps() { + bitField0_ = (bitField0_ & ~0x00000010); + taxonomyTimestamps_ = null; + if (taxonomyTimestampsBuilder_ != null) { + taxonomyTimestampsBuilder_.dispose(); + taxonomyTimestampsBuilder_ = null; } - description_ = value; - bitField0_ |= 0x00000004; onChanged(); return this; } @@ -1250,61 +2566,86 @@ public Builder setDescription(java.lang.String value) { * * *
-     * Optional. Description of this taxonomy. It must: contain only unicode characters,
-     * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
-     * long when encoded in UTF-8. If not set, defaults to an empty description.
+     * Output only. Timestamps about this taxonomy. Only create_time and
+     * update_time are used.
      * 
* - * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return This builder for chaining. + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder clearDescription() { - description_ = getDefaultInstance().getDescription(); - bitField0_ = (bitField0_ & ~0x00000004); + public com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder + getTaxonomyTimestampsBuilder() { + bitField0_ |= 0x00000010; onChanged(); - return this; + return getTaxonomyTimestampsFieldBuilder().getBuilder(); } /** * * *
-     * Optional. Description of this taxonomy. It must: contain only unicode characters,
-     * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
-     * long when encoded in UTF-8. If not set, defaults to an empty description.
+     * Output only. Timestamps about this taxonomy. Only create_time and
+     * update_time are used.
      * 
* - * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder + getTaxonomyTimestampsOrBuilder() { + if (taxonomyTimestampsBuilder_ != null) { + return taxonomyTimestampsBuilder_.getMessageOrBuilder(); + } else { + return taxonomyTimestamps_ == null + ? com.google.cloud.datacatalog.v1beta1.SystemTimestamps.getDefaultInstance() + : taxonomyTimestamps_; + } + } + /** * - * @param value The bytes for description to set. - * @return This builder for chaining. + * + *
+     * Output only. Timestamps about this taxonomy. Only create_time and
+     * update_time are used.
+     * 
+ * + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.SystemTimestamps, + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, + com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder> + getTaxonomyTimestampsFieldBuilder() { + if (taxonomyTimestampsBuilder_ == null) { + taxonomyTimestampsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.SystemTimestamps, + com.google.cloud.datacatalog.v1beta1.SystemTimestamps.Builder, + com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder>( + getTaxonomyTimestamps(), getParentForChildren(), isClean()); + taxonomyTimestamps_ = null; } - checkByteStringIsUtf8(value); - description_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; + return taxonomyTimestampsBuilder_; } private java.util.List activatedPolicyTypes_ = java.util.Collections.emptyList(); private void ensureActivatedPolicyTypesIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { + if (!((bitField0_ & 0x00000020) != 0)) { activatedPolicyTypes_ = new java.util.ArrayList(activatedPolicyTypes_); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000020; } } /** * * *
-     * Optional. A list of policy types that are activated for this taxonomy. If not set,
-     * defaults to an empty list.
+     * Optional. A list of policy types that are activated for this taxonomy. If
+     * not set, defaults to an empty list.
      * 
* * @@ -1323,8 +2664,8 @@ private void ensureActivatedPolicyTypesIsMutable() { * * *
-     * Optional. A list of policy types that are activated for this taxonomy. If not set,
-     * defaults to an empty list.
+     * Optional. A list of policy types that are activated for this taxonomy. If
+     * not set, defaults to an empty list.
      * 
* * @@ -1340,8 +2681,8 @@ public int getActivatedPolicyTypesCount() { * * *
-     * Optional. A list of policy types that are activated for this taxonomy. If not set,
-     * defaults to an empty list.
+     * Optional. A list of policy types that are activated for this taxonomy. If
+     * not set, defaults to an empty list.
      * 
* * @@ -1359,8 +2700,8 @@ public com.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyType getActivatedPoli * * *
-     * Optional. A list of policy types that are activated for this taxonomy. If not set,
-     * defaults to an empty list.
+     * Optional. A list of policy types that are activated for this taxonomy. If
+     * not set, defaults to an empty list.
      * 
* * @@ -1385,8 +2726,8 @@ public Builder setActivatedPolicyTypes( * * *
-     * Optional. A list of policy types that are activated for this taxonomy. If not set,
-     * defaults to an empty list.
+     * Optional. A list of policy types that are activated for this taxonomy. If
+     * not set, defaults to an empty list.
      * 
* * @@ -1410,8 +2751,8 @@ public Builder addActivatedPolicyTypes( * * *
-     * Optional. A list of policy types that are activated for this taxonomy. If not set,
-     * defaults to an empty list.
+     * Optional. A list of policy types that are activated for this taxonomy. If
+     * not set, defaults to an empty list.
      * 
* * @@ -1435,8 +2776,8 @@ public Builder addAllActivatedPolicyTypes( * * *
-     * Optional. A list of policy types that are activated for this taxonomy. If not set,
-     * defaults to an empty list.
+     * Optional. A list of policy types that are activated for this taxonomy. If
+     * not set, defaults to an empty list.
      * 
* * @@ -1447,7 +2788,7 @@ public Builder addAllActivatedPolicyTypes( */ public Builder clearActivatedPolicyTypes() { activatedPolicyTypes_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } @@ -1455,8 +2796,8 @@ public Builder clearActivatedPolicyTypes() { * * *
-     * Optional. A list of policy types that are activated for this taxonomy. If not set,
-     * defaults to an empty list.
+     * Optional. A list of policy types that are activated for this taxonomy. If
+     * not set, defaults to an empty list.
      * 
* * @@ -1472,8 +2813,8 @@ public java.util.List getActivatedPolicyTypesValueList() { * * *
-     * Optional. A list of policy types that are activated for this taxonomy. If not set,
-     * defaults to an empty list.
+     * Optional. A list of policy types that are activated for this taxonomy. If
+     * not set, defaults to an empty list.
      * 
* * @@ -1490,8 +2831,8 @@ public int getActivatedPolicyTypesValue(int index) { * * *
-     * Optional. A list of policy types that are activated for this taxonomy. If not set,
-     * defaults to an empty list.
+     * Optional. A list of policy types that are activated for this taxonomy. If
+     * not set, defaults to an empty list.
      * 
* * @@ -1512,8 +2853,8 @@ public Builder setActivatedPolicyTypesValue(int index, int value) { * * *
-     * Optional. A list of policy types that are activated for this taxonomy. If not set,
-     * defaults to an empty list.
+     * Optional. A list of policy types that are activated for this taxonomy. If
+     * not set, defaults to an empty list.
      * 
* * @@ -1533,8 +2874,8 @@ public Builder addActivatedPolicyTypesValue(int value) { * * *
-     * Optional. A list of policy types that are activated for this taxonomy. If not set,
-     * defaults to an empty list.
+     * Optional. A list of policy types that are activated for this taxonomy. If
+     * not set, defaults to an empty list.
      * 
* * @@ -1553,6 +2894,227 @@ public Builder addAllActivatedPolicyTypesValue(java.lang.Iterable + serviceBuilder_; + /** + * + * + *
+     * Output only. Identity of the service which owns the Taxonomy. This field is
+     * only populated when the taxonomy is created by a Google Cloud service.
+     * Currently only 'DATAPLEX' is supported.
+     * 
+ * + * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the service field is set. + */ + public boolean hasService() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * + * + *
+     * Output only. Identity of the service which owns the Taxonomy. This field is
+     * only populated when the taxonomy is created by a Google Cloud service.
+     * Currently only 'DATAPLEX' is supported.
+     * 
+ * + * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The service. + */ + public com.google.cloud.datacatalog.v1beta1.Taxonomy.Service getService() { + if (serviceBuilder_ == null) { + return service_ == null + ? com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.getDefaultInstance() + : service_; + } else { + return serviceBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. Identity of the service which owns the Taxonomy. This field is
+     * only populated when the taxonomy is created by a Google Cloud service.
+     * Currently only 'DATAPLEX' is supported.
+     * 
+ * + * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setService(com.google.cloud.datacatalog.v1beta1.Taxonomy.Service value) { + if (serviceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + service_ = value; + } else { + serviceBuilder_.setMessage(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Identity of the service which owns the Taxonomy. This field is
+     * only populated when the taxonomy is created by a Google Cloud service.
+     * Currently only 'DATAPLEX' is supported.
+     * 
+ * + * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setService( + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.Builder builderForValue) { + if (serviceBuilder_ == null) { + service_ = builderForValue.build(); + } else { + serviceBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Identity of the service which owns the Taxonomy. This field is
+     * only populated when the taxonomy is created by a Google Cloud service.
+     * Currently only 'DATAPLEX' is supported.
+     * 
+ * + * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeService(com.google.cloud.datacatalog.v1beta1.Taxonomy.Service value) { + if (serviceBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0) + && service_ != null + && service_ + != com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.getDefaultInstance()) { + getServiceBuilder().mergeFrom(value); + } else { + service_ = value; + } + } else { + serviceBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Identity of the service which owns the Taxonomy. This field is
+     * only populated when the taxonomy is created by a Google Cloud service.
+     * Currently only 'DATAPLEX' is supported.
+     * 
+ * + * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearService() { + bitField0_ = (bitField0_ & ~0x00000040); + service_ = null; + if (serviceBuilder_ != null) { + serviceBuilder_.dispose(); + serviceBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Identity of the service which owns the Taxonomy. This field is
+     * only populated when the taxonomy is created by a Google Cloud service.
+     * Currently only 'DATAPLEX' is supported.
+     * 
+ * + * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.Builder getServiceBuilder() { + bitField0_ |= 0x00000040; + onChanged(); + return getServiceFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. Identity of the service which owns the Taxonomy. This field is
+     * only populated when the taxonomy is created by a Google Cloud service.
+     * Currently only 'DATAPLEX' is supported.
+     * 
+ * + * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.datacatalog.v1beta1.Taxonomy.ServiceOrBuilder getServiceOrBuilder() { + if (serviceBuilder_ != null) { + return serviceBuilder_.getMessageOrBuilder(); + } else { + return service_ == null + ? com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.getDefaultInstance() + : service_; + } + } + /** + * + * + *
+     * Output only. Identity of the service which owns the Taxonomy. This field is
+     * only populated when the taxonomy is created by a Google Cloud service.
+     * Currently only 'DATAPLEX' is supported.
+     * 
+ * + * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service, + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.Builder, + com.google.cloud.datacatalog.v1beta1.Taxonomy.ServiceOrBuilder> + getServiceFieldBuilder() { + if (serviceBuilder_ == null) { + serviceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service, + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service.Builder, + com.google.cloud.datacatalog.v1beta1.Taxonomy.ServiceOrBuilder>( + getService(), getParentForChildren(), isClean()); + service_ = null; + } + return serviceBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TaxonomyOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TaxonomyOrBuilder.java index fe96de9d1362..9260e6a17a2f 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TaxonomyOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TaxonomyOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -54,9 +54,11 @@ public interface TaxonomyOrBuilder * * *
-   * Required. User defined name of this taxonomy. It must: contain only unicode letters,
-   * numbers, underscores, dashes and spaces; not start or end with spaces; and
-   * be at most 200 bytes long when encoded in UTF-8.
+   * Required. User defined name of this taxonomy. It must: contain only unicode
+   * letters, numbers, underscores, dashes and spaces; not start or end with
+   * spaces; and be at most 200 bytes long when encoded in UTF-8.
+   *
+   * The taxonomy display name must be unique within an organization.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -68,9 +70,11 @@ public interface TaxonomyOrBuilder * * *
-   * Required. User defined name of this taxonomy. It must: contain only unicode letters,
-   * numbers, underscores, dashes and spaces; not start or end with spaces; and
-   * be at most 200 bytes long when encoded in UTF-8.
+   * Required. User defined name of this taxonomy. It must: contain only unicode
+   * letters, numbers, underscores, dashes and spaces; not start or end with
+   * spaces; and be at most 200 bytes long when encoded in UTF-8.
+   *
+   * The taxonomy display name must be unique within an organization.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -83,9 +87,10 @@ public interface TaxonomyOrBuilder * * *
-   * Optional. Description of this taxonomy. It must: contain only unicode characters,
-   * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
-   * long when encoded in UTF-8. If not set, defaults to an empty description.
+   * Optional. Description of this taxonomy. It must: contain only unicode
+   * characters, tabs, newlines, carriage returns and page breaks; and be at
+   * most 2000 bytes long when encoded in UTF-8. If not set, defaults to an
+   * empty description.
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -97,9 +102,10 @@ public interface TaxonomyOrBuilder * * *
-   * Optional. Description of this taxonomy. It must: contain only unicode characters,
-   * tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes
-   * long when encoded in UTF-8. If not set, defaults to an empty description.
+   * Optional. Description of this taxonomy. It must: contain only unicode
+   * characters, tabs, newlines, carriage returns and page breaks; and be at
+   * most 2000 bytes long when encoded in UTF-8. If not set, defaults to an
+   * empty description.
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -112,8 +118,65 @@ public interface TaxonomyOrBuilder * * *
-   * Optional. A list of policy types that are activated for this taxonomy. If not set,
-   * defaults to an empty list.
+   * Output only. Number of policy tags contained in this taxonomy.
+   * 
+ * + * int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The policyTagCount. + */ + int getPolicyTagCount(); + + /** + * + * + *
+   * Output only. Timestamps about this taxonomy. Only create_time and
+   * update_time are used.
+   * 
+ * + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the taxonomyTimestamps field is set. + */ + boolean hasTaxonomyTimestamps(); + /** + * + * + *
+   * Output only. Timestamps about this taxonomy. Only create_time and
+   * update_time are used.
+   * 
+ * + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The taxonomyTimestamps. + */ + com.google.cloud.datacatalog.v1beta1.SystemTimestamps getTaxonomyTimestamps(); + /** + * + * + *
+   * Output only. Timestamps about this taxonomy. Only create_time and
+   * update_time are used.
+   * 
+ * + * + * .google.cloud.datacatalog.v1beta1.SystemTimestamps taxonomy_timestamps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.datacatalog.v1beta1.SystemTimestampsOrBuilder getTaxonomyTimestampsOrBuilder(); + + /** + * + * + *
+   * Optional. A list of policy types that are activated for this taxonomy. If
+   * not set, defaults to an empty list.
    * 
* * @@ -128,8 +191,8 @@ public interface TaxonomyOrBuilder * * *
-   * Optional. A list of policy types that are activated for this taxonomy. If not set,
-   * defaults to an empty list.
+   * Optional. A list of policy types that are activated for this taxonomy. If
+   * not set, defaults to an empty list.
    * 
* * @@ -143,8 +206,8 @@ public interface TaxonomyOrBuilder * * *
-   * Optional. A list of policy types that are activated for this taxonomy. If not set,
-   * defaults to an empty list.
+   * Optional. A list of policy types that are activated for this taxonomy. If
+   * not set, defaults to an empty list.
    * 
* * @@ -159,8 +222,8 @@ public interface TaxonomyOrBuilder * * *
-   * Optional. A list of policy types that are activated for this taxonomy. If not set,
-   * defaults to an empty list.
+   * Optional. A list of policy types that are activated for this taxonomy. If
+   * not set, defaults to an empty list.
    * 
* * @@ -174,8 +237,8 @@ public interface TaxonomyOrBuilder * * *
-   * Optional. A list of policy types that are activated for this taxonomy. If not set,
-   * defaults to an empty list.
+   * Optional. A list of policy types that are activated for this taxonomy. If
+   * not set, defaults to an empty list.
    * 
* * @@ -186,4 +249,51 @@ public interface TaxonomyOrBuilder * @return The enum numeric value on the wire of activatedPolicyTypes at the given index. */ int getActivatedPolicyTypesValue(int index); + + /** + * + * + *
+   * Output only. Identity of the service which owns the Taxonomy. This field is
+   * only populated when the taxonomy is created by a Google Cloud service.
+   * Currently only 'DATAPLEX' is supported.
+   * 
+ * + * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the service field is set. + */ + boolean hasService(); + /** + * + * + *
+   * Output only. Identity of the service which owns the Taxonomy. This field is
+   * only populated when the taxonomy is created by a Google Cloud service.
+   * Currently only 'DATAPLEX' is supported.
+   * 
+ * + * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The service. + */ + com.google.cloud.datacatalog.v1beta1.Taxonomy.Service getService(); + /** + * + * + *
+   * Output only. Identity of the service which owns the Taxonomy. This field is
+   * only populated when the taxonomy is created by a Google Cloud service.
+   * Currently only 'DATAPLEX' is supported.
+   * 
+ * + * + * .google.cloud.datacatalog.v1beta1.Taxonomy.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.datacatalog.v1beta1.Taxonomy.ServiceOrBuilder getServiceOrBuilder(); } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Timestamps.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Timestamps.java index d2e8fbf58311..17f609ec2f57 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Timestamps.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Timestamps.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequest.java index e318362a8c30..c2552a741ba3 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -123,8 +123,11 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupOrB * * *
-   * The fields to update on the entry group. If absent or empty, all modifiable
-   * fields are updated.
+   * Names of fields whose values to overwrite on an entry group.
+   *
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -139,8 +142,11 @@ public boolean hasUpdateMask() { * * *
-   * The fields to update on the entry group. If absent or empty, all modifiable
-   * fields are updated.
+   * Names of fields whose values to overwrite on an entry group.
+   *
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -155,8 +161,11 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-   * The fields to update on the entry group. If absent or empty, all modifiable
-   * fields are updated.
+   * Names of fields whose values to overwrite on an entry group.
+   *
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -764,8 +773,11 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupOrB * * *
-     * The fields to update on the entry group. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry group.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -779,8 +791,11 @@ public boolean hasUpdateMask() { * * *
-     * The fields to update on the entry group. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry group.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -800,8 +815,11 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-     * The fields to update on the entry group. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry group.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -823,8 +841,11 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * The fields to update on the entry group. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry group.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -843,8 +864,11 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * * *
-     * The fields to update on the entry group. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry group.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -869,8 +893,11 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * The fields to update on the entry group. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry group.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -889,8 +916,11 @@ public Builder clearUpdateMask() { * * *
-     * The fields to update on the entry group. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry group.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -904,8 +934,11 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * * *
-     * The fields to update on the entry group. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry group.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -923,8 +956,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * *
-     * The fields to update on the entry group. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry group.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequestOrBuilder.java index ff02a38eeb68..8baf6f359916 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -68,8 +68,11 @@ public interface UpdateEntryGroupRequestOrBuilder * * *
-   * The fields to update on the entry group. If absent or empty, all modifiable
-   * fields are updated.
+   * Names of fields whose values to overwrite on an entry group.
+   *
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -81,8 +84,11 @@ public interface UpdateEntryGroupRequestOrBuilder * * *
-   * The fields to update on the entry group. If absent or empty, all modifiable
-   * fields are updated.
+   * Names of fields whose values to overwrite on an entry group.
+   *
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -94,8 +100,11 @@ public interface UpdateEntryGroupRequestOrBuilder * * *
-   * The fields to update on the entry group. If absent or empty, all modifiable
-   * fields are updated.
+   * Names of fields whose values to overwrite on an entry group.
+   *
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequest.java index a98ea659c1dc..da1cd5c8d2ed 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -123,26 +123,30 @@ public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntryOrBuilder() { * * *
-   * The fields to update on the entry. If absent or empty, all modifiable
-   * fields are updated.
+   * Names of fields whose values to overwrite on an entry.
+   *
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    *
    * The following fields are modifiable:
+   *
    * * For entries with type `DATA_STREAM`:
    *    * `schema`
-   * * For entries with type `FILESET`
+   * * For entries with type `FILESET`:
    *    * `schema`
    *    * `display_name`
    *    * `description`
    *    * `gcs_fileset_spec`
    *    * `gcs_fileset_spec.file_patterns`
-   * * For entries with `user_specified_type`
+   * * For entries with `user_specified_type`:
    *    * `schema`
    *    * `display_name`
    *    * `description`
-   *    * user_specified_type
-   *    * user_specified_system
-   *    * linked_resource
-   *    * source_system_timestamps
+   *    * `user_specified_type`
+   *    * `user_specified_system`
+   *    * `linked_resource`
+   *    * `source_system_timestamps`
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -157,26 +161,30 @@ public boolean hasUpdateMask() { * * *
-   * The fields to update on the entry. If absent or empty, all modifiable
-   * fields are updated.
+   * Names of fields whose values to overwrite on an entry.
+   *
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    *
    * The following fields are modifiable:
+   *
    * * For entries with type `DATA_STREAM`:
    *    * `schema`
-   * * For entries with type `FILESET`
+   * * For entries with type `FILESET`:
    *    * `schema`
    *    * `display_name`
    *    * `description`
    *    * `gcs_fileset_spec`
    *    * `gcs_fileset_spec.file_patterns`
-   * * For entries with `user_specified_type`
+   * * For entries with `user_specified_type`:
    *    * `schema`
    *    * `display_name`
    *    * `description`
-   *    * user_specified_type
-   *    * user_specified_system
-   *    * linked_resource
-   *    * source_system_timestamps
+   *    * `user_specified_type`
+   *    * `user_specified_system`
+   *    * `linked_resource`
+   *    * `source_system_timestamps`
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -191,26 +199,30 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-   * The fields to update on the entry. If absent or empty, all modifiable
-   * fields are updated.
+   * Names of fields whose values to overwrite on an entry.
+   *
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    *
    * The following fields are modifiable:
+   *
    * * For entries with type `DATA_STREAM`:
    *    * `schema`
-   * * For entries with type `FILESET`
+   * * For entries with type `FILESET`:
    *    * `schema`
    *    * `display_name`
    *    * `description`
    *    * `gcs_fileset_spec`
    *    * `gcs_fileset_spec.file_patterns`
-   * * For entries with `user_specified_type`
+   * * For entries with `user_specified_type`:
    *    * `schema`
    *    * `display_name`
    *    * `description`
-   *    * user_specified_type
-   *    * user_specified_system
-   *    * linked_resource
-   *    * source_system_timestamps
+   *    * `user_specified_type`
+   *    * `user_specified_system`
+   *    * `linked_resource`
+   *    * `source_system_timestamps`
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -813,26 +825,30 @@ public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntryOrBuilder() { * * *
-     * The fields to update on the entry. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      *
      * The following fields are modifiable:
+     *
      * * For entries with type `DATA_STREAM`:
      *    * `schema`
-     * * For entries with type `FILESET`
+     * * For entries with type `FILESET`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
      *    * `gcs_fileset_spec`
      *    * `gcs_fileset_spec.file_patterns`
-     * * For entries with `user_specified_type`
+     * * For entries with `user_specified_type`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
-     *    * user_specified_type
-     *    * user_specified_system
-     *    * linked_resource
-     *    * source_system_timestamps
+     *    * `user_specified_type`
+     *    * `user_specified_system`
+     *    * `linked_resource`
+     *    * `source_system_timestamps`
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -846,26 +862,30 @@ public boolean hasUpdateMask() { * * *
-     * The fields to update on the entry. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      *
      * The following fields are modifiable:
+     *
      * * For entries with type `DATA_STREAM`:
      *    * `schema`
-     * * For entries with type `FILESET`
+     * * For entries with type `FILESET`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
      *    * `gcs_fileset_spec`
      *    * `gcs_fileset_spec.file_patterns`
-     * * For entries with `user_specified_type`
+     * * For entries with `user_specified_type`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
-     *    * user_specified_type
-     *    * user_specified_system
-     *    * linked_resource
-     *    * source_system_timestamps
+     *    * `user_specified_type`
+     *    * `user_specified_system`
+     *    * `linked_resource`
+     *    * `source_system_timestamps`
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -885,26 +905,30 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-     * The fields to update on the entry. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      *
      * The following fields are modifiable:
+     *
      * * For entries with type `DATA_STREAM`:
      *    * `schema`
-     * * For entries with type `FILESET`
+     * * For entries with type `FILESET`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
      *    * `gcs_fileset_spec`
      *    * `gcs_fileset_spec.file_patterns`
-     * * For entries with `user_specified_type`
+     * * For entries with `user_specified_type`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
-     *    * user_specified_type
-     *    * user_specified_system
-     *    * linked_resource
-     *    * source_system_timestamps
+     *    * `user_specified_type`
+     *    * `user_specified_system`
+     *    * `linked_resource`
+     *    * `source_system_timestamps`
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -926,26 +950,30 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * The fields to update on the entry. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      *
      * The following fields are modifiable:
+     *
      * * For entries with type `DATA_STREAM`:
      *    * `schema`
-     * * For entries with type `FILESET`
+     * * For entries with type `FILESET`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
      *    * `gcs_fileset_spec`
      *    * `gcs_fileset_spec.file_patterns`
-     * * For entries with `user_specified_type`
+     * * For entries with `user_specified_type`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
-     *    * user_specified_type
-     *    * user_specified_system
-     *    * linked_resource
-     *    * source_system_timestamps
+     *    * `user_specified_type`
+     *    * `user_specified_system`
+     *    * `linked_resource`
+     *    * `source_system_timestamps`
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -964,26 +992,30 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * * *
-     * The fields to update on the entry. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      *
      * The following fields are modifiable:
+     *
      * * For entries with type `DATA_STREAM`:
      *    * `schema`
-     * * For entries with type `FILESET`
+     * * For entries with type `FILESET`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
      *    * `gcs_fileset_spec`
      *    * `gcs_fileset_spec.file_patterns`
-     * * For entries with `user_specified_type`
+     * * For entries with `user_specified_type`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
-     *    * user_specified_type
-     *    * user_specified_system
-     *    * linked_resource
-     *    * source_system_timestamps
+     *    * `user_specified_type`
+     *    * `user_specified_system`
+     *    * `linked_resource`
+     *    * `source_system_timestamps`
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -1008,26 +1040,30 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * The fields to update on the entry. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      *
      * The following fields are modifiable:
+     *
      * * For entries with type `DATA_STREAM`:
      *    * `schema`
-     * * For entries with type `FILESET`
+     * * For entries with type `FILESET`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
      *    * `gcs_fileset_spec`
      *    * `gcs_fileset_spec.file_patterns`
-     * * For entries with `user_specified_type`
+     * * For entries with `user_specified_type`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
-     *    * user_specified_type
-     *    * user_specified_system
-     *    * linked_resource
-     *    * source_system_timestamps
+     *    * `user_specified_type`
+     *    * `user_specified_system`
+     *    * `linked_resource`
+     *    * `source_system_timestamps`
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -1046,26 +1082,30 @@ public Builder clearUpdateMask() { * * *
-     * The fields to update on the entry. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      *
      * The following fields are modifiable:
+     *
      * * For entries with type `DATA_STREAM`:
      *    * `schema`
-     * * For entries with type `FILESET`
+     * * For entries with type `FILESET`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
      *    * `gcs_fileset_spec`
      *    * `gcs_fileset_spec.file_patterns`
-     * * For entries with `user_specified_type`
+     * * For entries with `user_specified_type`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
-     *    * user_specified_type
-     *    * user_specified_system
-     *    * linked_resource
-     *    * source_system_timestamps
+     *    * `user_specified_type`
+     *    * `user_specified_system`
+     *    * `linked_resource`
+     *    * `source_system_timestamps`
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -1079,26 +1119,30 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * * *
-     * The fields to update on the entry. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      *
      * The following fields are modifiable:
+     *
      * * For entries with type `DATA_STREAM`:
      *    * `schema`
-     * * For entries with type `FILESET`
+     * * For entries with type `FILESET`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
      *    * `gcs_fileset_spec`
      *    * `gcs_fileset_spec.file_patterns`
-     * * For entries with `user_specified_type`
+     * * For entries with `user_specified_type`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
-     *    * user_specified_type
-     *    * user_specified_system
-     *    * linked_resource
-     *    * source_system_timestamps
+     *    * `user_specified_type`
+     *    * `user_specified_system`
+     *    * `linked_resource`
+     *    * `source_system_timestamps`
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -1116,26 +1160,30 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * *
-     * The fields to update on the entry. If absent or empty, all modifiable
-     * fields are updated.
+     * Names of fields whose values to overwrite on an entry.
+     *
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      *
      * The following fields are modifiable:
+     *
      * * For entries with type `DATA_STREAM`:
      *    * `schema`
-     * * For entries with type `FILESET`
+     * * For entries with type `FILESET`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
      *    * `gcs_fileset_spec`
      *    * `gcs_fileset_spec.file_patterns`
-     * * For entries with `user_specified_type`
+     * * For entries with `user_specified_type`:
      *    * `schema`
      *    * `display_name`
      *    * `description`
-     *    * user_specified_type
-     *    * user_specified_system
-     *    * linked_resource
-     *    * source_system_timestamps
+     *    * `user_specified_type`
+     *    * `user_specified_system`
+     *    * `linked_resource`
+     *    * `source_system_timestamps`
      * 
* * .google.protobuf.FieldMask update_mask = 2; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequestOrBuilder.java index f25e4470d7fe..a3086bd428b6 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -68,26 +68,30 @@ public interface UpdateEntryRequestOrBuilder * * *
-   * The fields to update on the entry. If absent or empty, all modifiable
-   * fields are updated.
+   * Names of fields whose values to overwrite on an entry.
+   *
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    *
    * The following fields are modifiable:
+   *
    * * For entries with type `DATA_STREAM`:
    *    * `schema`
-   * * For entries with type `FILESET`
+   * * For entries with type `FILESET`:
    *    * `schema`
    *    * `display_name`
    *    * `description`
    *    * `gcs_fileset_spec`
    *    * `gcs_fileset_spec.file_patterns`
-   * * For entries with `user_specified_type`
+   * * For entries with `user_specified_type`:
    *    * `schema`
    *    * `display_name`
    *    * `description`
-   *    * user_specified_type
-   *    * user_specified_system
-   *    * linked_resource
-   *    * source_system_timestamps
+   *    * `user_specified_type`
+   *    * `user_specified_system`
+   *    * `linked_resource`
+   *    * `source_system_timestamps`
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -99,26 +103,30 @@ public interface UpdateEntryRequestOrBuilder * * *
-   * The fields to update on the entry. If absent or empty, all modifiable
-   * fields are updated.
+   * Names of fields whose values to overwrite on an entry.
+   *
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    *
    * The following fields are modifiable:
+   *
    * * For entries with type `DATA_STREAM`:
    *    * `schema`
-   * * For entries with type `FILESET`
+   * * For entries with type `FILESET`:
    *    * `schema`
    *    * `display_name`
    *    * `description`
    *    * `gcs_fileset_spec`
    *    * `gcs_fileset_spec.file_patterns`
-   * * For entries with `user_specified_type`
+   * * For entries with `user_specified_type`:
    *    * `schema`
    *    * `display_name`
    *    * `description`
-   *    * user_specified_type
-   *    * user_specified_system
-   *    * linked_resource
-   *    * source_system_timestamps
+   *    * `user_specified_type`
+   *    * `user_specified_system`
+   *    * `linked_resource`
+   *    * `source_system_timestamps`
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -130,26 +138,30 @@ public interface UpdateEntryRequestOrBuilder * * *
-   * The fields to update on the entry. If absent or empty, all modifiable
-   * fields are updated.
+   * Names of fields whose values to overwrite on an entry.
+   *
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    *
    * The following fields are modifiable:
+   *
    * * For entries with type `DATA_STREAM`:
    *    * `schema`
-   * * For entries with type `FILESET`
+   * * For entries with type `FILESET`:
    *    * `schema`
    *    * `display_name`
    *    * `description`
    *    * `gcs_fileset_spec`
    *    * `gcs_fileset_spec.file_patterns`
-   * * For entries with `user_specified_type`
+   * * For entries with `user_specified_type`:
    *    * `schema`
    *    * `display_name`
    *    * `description`
-   *    * user_specified_type
-   *    * user_specified_system
-   *    * linked_resource
-   *    * source_system_timestamps
+   *    * `user_specified_type`
+   *    * `user_specified_system`
+   *    * `linked_resource`
+   *    * `source_system_timestamps`
    * 
* * .google.protobuf.FieldMask update_mask = 2; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequest.java index 92fc3efba894..e53da3dbe452 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequestOrBuilder.java index fe63eb3b1dc1..5de5708fb5c3 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdatePolicyTagRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequest.java index b91cad40091c..42fc3cd1b2af 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -116,8 +116,14 @@ public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagOrBuilder() { * * *
-   * The fields to update on the Tag. If absent or empty, all modifiable fields
-   * are updated. Currently the only modifiable field is the field `fields`.
+   * Note: Currently, this parameter can only take `"fields"` as value.
+   *
+   * Names of fields whose values to overwrite on a tag. Currently, a tag has
+   * the only modifiable field with the name `fields`.
+   *
+   * In general, if this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -132,8 +138,14 @@ public boolean hasUpdateMask() { * * *
-   * The fields to update on the Tag. If absent or empty, all modifiable fields
-   * are updated. Currently the only modifiable field is the field `fields`.
+   * Note: Currently, this parameter can only take `"fields"` as value.
+   *
+   * Names of fields whose values to overwrite on a tag. Currently, a tag has
+   * the only modifiable field with the name `fields`.
+   *
+   * In general, if this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -148,8 +160,14 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-   * The fields to update on the Tag. If absent or empty, all modifiable fields
-   * are updated. Currently the only modifiable field is the field `fields`.
+   * Note: Currently, this parameter can only take `"fields"` as value.
+   *
+   * Names of fields whose values to overwrite on a tag. Currently, a tag has
+   * the only modifiable field with the name `fields`.
+   *
+   * In general, if this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -748,8 +766,14 @@ public com.google.cloud.datacatalog.v1beta1.TagOrBuilder getTagOrBuilder() { * * *
-     * The fields to update on the Tag. If absent or empty, all modifiable fields
-     * are updated. Currently the only modifiable field is the field `fields`.
+     * Note: Currently, this parameter can only take `"fields"` as value.
+     *
+     * Names of fields whose values to overwrite on a tag. Currently, a tag has
+     * the only modifiable field with the name `fields`.
+     *
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -763,8 +787,14 @@ public boolean hasUpdateMask() { * * *
-     * The fields to update on the Tag. If absent or empty, all modifiable fields
-     * are updated. Currently the only modifiable field is the field `fields`.
+     * Note: Currently, this parameter can only take `"fields"` as value.
+     *
+     * Names of fields whose values to overwrite on a tag. Currently, a tag has
+     * the only modifiable field with the name `fields`.
+     *
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -784,8 +814,14 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-     * The fields to update on the Tag. If absent or empty, all modifiable fields
-     * are updated. Currently the only modifiable field is the field `fields`.
+     * Note: Currently, this parameter can only take `"fields"` as value.
+     *
+     * Names of fields whose values to overwrite on a tag. Currently, a tag has
+     * the only modifiable field with the name `fields`.
+     *
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -807,8 +843,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * The fields to update on the Tag. If absent or empty, all modifiable fields
-     * are updated. Currently the only modifiable field is the field `fields`.
+     * Note: Currently, this parameter can only take `"fields"` as value.
+     *
+     * Names of fields whose values to overwrite on a tag. Currently, a tag has
+     * the only modifiable field with the name `fields`.
+     *
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -827,8 +869,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * * *
-     * The fields to update on the Tag. If absent or empty, all modifiable fields
-     * are updated. Currently the only modifiable field is the field `fields`.
+     * Note: Currently, this parameter can only take `"fields"` as value.
+     *
+     * Names of fields whose values to overwrite on a tag. Currently, a tag has
+     * the only modifiable field with the name `fields`.
+     *
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -853,8 +901,14 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * The fields to update on the Tag. If absent or empty, all modifiable fields
-     * are updated. Currently the only modifiable field is the field `fields`.
+     * Note: Currently, this parameter can only take `"fields"` as value.
+     *
+     * Names of fields whose values to overwrite on a tag. Currently, a tag has
+     * the only modifiable field with the name `fields`.
+     *
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -873,8 +927,14 @@ public Builder clearUpdateMask() { * * *
-     * The fields to update on the Tag. If absent or empty, all modifiable fields
-     * are updated. Currently the only modifiable field is the field `fields`.
+     * Note: Currently, this parameter can only take `"fields"` as value.
+     *
+     * Names of fields whose values to overwrite on a tag. Currently, a tag has
+     * the only modifiable field with the name `fields`.
+     *
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -888,8 +948,14 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * * *
-     * The fields to update on the Tag. If absent or empty, all modifiable fields
-     * are updated. Currently the only modifiable field is the field `fields`.
+     * Note: Currently, this parameter can only take `"fields"` as value.
+     *
+     * Names of fields whose values to overwrite on a tag. Currently, a tag has
+     * the only modifiable field with the name `fields`.
+     *
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -907,8 +973,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * *
-     * The fields to update on the Tag. If absent or empty, all modifiable fields
-     * are updated. Currently the only modifiable field is the field `fields`.
+     * Note: Currently, this parameter can only take `"fields"` as value.
+     *
+     * Names of fields whose values to overwrite on a tag. Currently, a tag has
+     * the only modifiable field with the name `fields`.
+     *
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequestOrBuilder.java index 691c3631c7a2..3f79459dcfe7 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -65,8 +65,14 @@ public interface UpdateTagRequestOrBuilder * * *
-   * The fields to update on the Tag. If absent or empty, all modifiable fields
-   * are updated. Currently the only modifiable field is the field `fields`.
+   * Note: Currently, this parameter can only take `"fields"` as value.
+   *
+   * Names of fields whose values to overwrite on a tag. Currently, a tag has
+   * the only modifiable field with the name `fields`.
+   *
+   * In general, if this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -78,8 +84,14 @@ public interface UpdateTagRequestOrBuilder * * *
-   * The fields to update on the Tag. If absent or empty, all modifiable fields
-   * are updated. Currently the only modifiable field is the field `fields`.
+   * Note: Currently, this parameter can only take `"fields"` as value.
+   *
+   * Names of fields whose values to overwrite on a tag. Currently, a tag has
+   * the only modifiable field with the name `fields`.
+   *
+   * In general, if this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -91,8 +103,14 @@ public interface UpdateTagRequestOrBuilder * * *
-   * The fields to update on the Tag. If absent or empty, all modifiable fields
-   * are updated. Currently the only modifiable field is the field `fields`.
+   * Note: Currently, this parameter can only take `"fields"` as value.
+   *
+   * Names of fields whose values to overwrite on a tag. Currently, a tag has
+   * the only modifiable field with the name `fields`.
+   *
+   * In general, if this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequest.java index 76ab84f3becd..4931d5bd1f0f 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -185,20 +185,22 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateField getTagTemplateField * * *
-   * Optional. The field mask specifies the parts of the template to be updated.
-   * Allowed fields:
+   * Optional. Names of fields whose values to overwrite on an individual field
+   * of a tag template. The following fields are modifiable:
    *
    *   * `display_name`
    *   * `type.enum_type`
    *   * `is_required`
    *
-   * If `update_mask` is not set or empty, all of the allowed fields above will
-   * be updated.
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the request
+   * body, their values are emptied with one exception: when updating an enum
+   * type, the provided values are merged with the existing values. Therefore,
+   * enum values can only be added, existing enum values cannot be deleted or
+   * renamed.
    *
-   * When updating an enum type, the provided values will be merged with the
-   * existing values. Therefore, enum values can only be added, existing enum
-   * values cannot be deleted nor renamed. Updating a template field from
-   * optional to required is NOT allowed.
+   * Additionally, updating a template field from optional to required is
+   * *not* allowed.
    * 
* * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -214,20 +216,22 @@ public boolean hasUpdateMask() { * * *
-   * Optional. The field mask specifies the parts of the template to be updated.
-   * Allowed fields:
+   * Optional. Names of fields whose values to overwrite on an individual field
+   * of a tag template. The following fields are modifiable:
    *
    *   * `display_name`
    *   * `type.enum_type`
    *   * `is_required`
    *
-   * If `update_mask` is not set or empty, all of the allowed fields above will
-   * be updated.
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the request
+   * body, their values are emptied with one exception: when updating an enum
+   * type, the provided values are merged with the existing values. Therefore,
+   * enum values can only be added, existing enum values cannot be deleted or
+   * renamed.
    *
-   * When updating an enum type, the provided values will be merged with the
-   * existing values. Therefore, enum values can only be added, existing enum
-   * values cannot be deleted nor renamed. Updating a template field from
-   * optional to required is NOT allowed.
+   * Additionally, updating a template field from optional to required is
+   * *not* allowed.
    * 
* * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -243,20 +247,22 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-   * Optional. The field mask specifies the parts of the template to be updated.
-   * Allowed fields:
+   * Optional. Names of fields whose values to overwrite on an individual field
+   * of a tag template. The following fields are modifiable:
    *
    *   * `display_name`
    *   * `type.enum_type`
    *   * `is_required`
    *
-   * If `update_mask` is not set or empty, all of the allowed fields above will
-   * be updated.
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the request
+   * body, their values are emptied with one exception: when updating an enum
+   * type, the provided values are merged with the existing values. Therefore,
+   * enum values can only be added, existing enum values cannot be deleted or
+   * renamed.
    *
-   * When updating an enum type, the provided values will be merged with the
-   * existing values. Therefore, enum values can only be added, existing enum
-   * values cannot be deleted nor renamed. Updating a template field from
-   * optional to required is NOT allowed.
+   * Additionally, updating a template field from optional to required is
+   * *not* allowed.
    * 
* * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1026,20 +1032,22 @@ public Builder clearTagTemplateField() { * * *
-     * Optional. The field mask specifies the parts of the template to be updated.
-     * Allowed fields:
+     * Optional. Names of fields whose values to overwrite on an individual field
+     * of a tag template. The following fields are modifiable:
      *
      *   * `display_name`
      *   * `type.enum_type`
      *   * `is_required`
      *
-     * If `update_mask` is not set or empty, all of the allowed fields above will
-     * be updated.
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the request
+     * body, their values are emptied with one exception: when updating an enum
+     * type, the provided values are merged with the existing values. Therefore,
+     * enum values can only be added, existing enum values cannot be deleted or
+     * renamed.
      *
-     * When updating an enum type, the provided values will be merged with the
-     * existing values. Therefore, enum values can only be added, existing enum
-     * values cannot be deleted nor renamed. Updating a template field from
-     * optional to required is NOT allowed.
+     * Additionally, updating a template field from optional to required is
+     * *not* allowed.
      * 
* * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1054,20 +1062,22 @@ public boolean hasUpdateMask() { * * *
-     * Optional. The field mask specifies the parts of the template to be updated.
-     * Allowed fields:
+     * Optional. Names of fields whose values to overwrite on an individual field
+     * of a tag template. The following fields are modifiable:
      *
      *   * `display_name`
      *   * `type.enum_type`
      *   * `is_required`
      *
-     * If `update_mask` is not set or empty, all of the allowed fields above will
-     * be updated.
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the request
+     * body, their values are emptied with one exception: when updating an enum
+     * type, the provided values are merged with the existing values. Therefore,
+     * enum values can only be added, existing enum values cannot be deleted or
+     * renamed.
      *
-     * When updating an enum type, the provided values will be merged with the
-     * existing values. Therefore, enum values can only be added, existing enum
-     * values cannot be deleted nor renamed. Updating a template field from
-     * optional to required is NOT allowed.
+     * Additionally, updating a template field from optional to required is
+     * *not* allowed.
      * 
* * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1088,20 +1098,22 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-     * Optional. The field mask specifies the parts of the template to be updated.
-     * Allowed fields:
+     * Optional. Names of fields whose values to overwrite on an individual field
+     * of a tag template. The following fields are modifiable:
      *
      *   * `display_name`
      *   * `type.enum_type`
      *   * `is_required`
      *
-     * If `update_mask` is not set or empty, all of the allowed fields above will
-     * be updated.
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the request
+     * body, their values are emptied with one exception: when updating an enum
+     * type, the provided values are merged with the existing values. Therefore,
+     * enum values can only be added, existing enum values cannot be deleted or
+     * renamed.
      *
-     * When updating an enum type, the provided values will be merged with the
-     * existing values. Therefore, enum values can only be added, existing enum
-     * values cannot be deleted nor renamed. Updating a template field from
-     * optional to required is NOT allowed.
+     * Additionally, updating a template field from optional to required is
+     * *not* allowed.
      * 
* * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1124,20 +1136,22 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * Optional. The field mask specifies the parts of the template to be updated.
-     * Allowed fields:
+     * Optional. Names of fields whose values to overwrite on an individual field
+     * of a tag template. The following fields are modifiable:
      *
      *   * `display_name`
      *   * `type.enum_type`
      *   * `is_required`
      *
-     * If `update_mask` is not set or empty, all of the allowed fields above will
-     * be updated.
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the request
+     * body, their values are emptied with one exception: when updating an enum
+     * type, the provided values are merged with the existing values. Therefore,
+     * enum values can only be added, existing enum values cannot be deleted or
+     * renamed.
      *
-     * When updating an enum type, the provided values will be merged with the
-     * existing values. Therefore, enum values can only be added, existing enum
-     * values cannot be deleted nor renamed. Updating a template field from
-     * optional to required is NOT allowed.
+     * Additionally, updating a template field from optional to required is
+     * *not* allowed.
      * 
* * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1157,20 +1171,22 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * * *
-     * Optional. The field mask specifies the parts of the template to be updated.
-     * Allowed fields:
+     * Optional. Names of fields whose values to overwrite on an individual field
+     * of a tag template. The following fields are modifiable:
      *
      *   * `display_name`
      *   * `type.enum_type`
      *   * `is_required`
      *
-     * If `update_mask` is not set or empty, all of the allowed fields above will
-     * be updated.
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the request
+     * body, their values are emptied with one exception: when updating an enum
+     * type, the provided values are merged with the existing values. Therefore,
+     * enum values can only be added, existing enum values cannot be deleted or
+     * renamed.
      *
-     * When updating an enum type, the provided values will be merged with the
-     * existing values. Therefore, enum values can only be added, existing enum
-     * values cannot be deleted nor renamed. Updating a template field from
-     * optional to required is NOT allowed.
+     * Additionally, updating a template field from optional to required is
+     * *not* allowed.
      * 
* * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1196,20 +1212,22 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * Optional. The field mask specifies the parts of the template to be updated.
-     * Allowed fields:
+     * Optional. Names of fields whose values to overwrite on an individual field
+     * of a tag template. The following fields are modifiable:
      *
      *   * `display_name`
      *   * `type.enum_type`
      *   * `is_required`
      *
-     * If `update_mask` is not set or empty, all of the allowed fields above will
-     * be updated.
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the request
+     * body, their values are emptied with one exception: when updating an enum
+     * type, the provided values are merged with the existing values. Therefore,
+     * enum values can only be added, existing enum values cannot be deleted or
+     * renamed.
      *
-     * When updating an enum type, the provided values will be merged with the
-     * existing values. Therefore, enum values can only be added, existing enum
-     * values cannot be deleted nor renamed. Updating a template field from
-     * optional to required is NOT allowed.
+     * Additionally, updating a template field from optional to required is
+     * *not* allowed.
      * 
* * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1229,20 +1247,22 @@ public Builder clearUpdateMask() { * * *
-     * Optional. The field mask specifies the parts of the template to be updated.
-     * Allowed fields:
+     * Optional. Names of fields whose values to overwrite on an individual field
+     * of a tag template. The following fields are modifiable:
      *
      *   * `display_name`
      *   * `type.enum_type`
      *   * `is_required`
      *
-     * If `update_mask` is not set or empty, all of the allowed fields above will
-     * be updated.
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the request
+     * body, their values are emptied with one exception: when updating an enum
+     * type, the provided values are merged with the existing values. Therefore,
+     * enum values can only be added, existing enum values cannot be deleted or
+     * renamed.
      *
-     * When updating an enum type, the provided values will be merged with the
-     * existing values. Therefore, enum values can only be added, existing enum
-     * values cannot be deleted nor renamed. Updating a template field from
-     * optional to required is NOT allowed.
+     * Additionally, updating a template field from optional to required is
+     * *not* allowed.
      * 
* * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1257,20 +1277,22 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * * *
-     * Optional. The field mask specifies the parts of the template to be updated.
-     * Allowed fields:
+     * Optional. Names of fields whose values to overwrite on an individual field
+     * of a tag template. The following fields are modifiable:
      *
      *   * `display_name`
      *   * `type.enum_type`
      *   * `is_required`
      *
-     * If `update_mask` is not set or empty, all of the allowed fields above will
-     * be updated.
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the request
+     * body, their values are emptied with one exception: when updating an enum
+     * type, the provided values are merged with the existing values. Therefore,
+     * enum values can only be added, existing enum values cannot be deleted or
+     * renamed.
      *
-     * When updating an enum type, the provided values will be merged with the
-     * existing values. Therefore, enum values can only be added, existing enum
-     * values cannot be deleted nor renamed. Updating a template field from
-     * optional to required is NOT allowed.
+     * Additionally, updating a template field from optional to required is
+     * *not* allowed.
      * 
* * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1289,20 +1311,22 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * *
-     * Optional. The field mask specifies the parts of the template to be updated.
-     * Allowed fields:
+     * Optional. Names of fields whose values to overwrite on an individual field
+     * of a tag template. The following fields are modifiable:
      *
      *   * `display_name`
      *   * `type.enum_type`
      *   * `is_required`
      *
-     * If `update_mask` is not set or empty, all of the allowed fields above will
-     * be updated.
+     * If this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the request
+     * body, their values are emptied with one exception: when updating an enum
+     * type, the provided values are merged with the existing values. Therefore,
+     * enum values can only be added, existing enum values cannot be deleted or
+     * renamed.
      *
-     * When updating an enum type, the provided values will be merged with the
-     * existing values. Therefore, enum values can only be added, existing enum
-     * values cannot be deleted nor renamed. Updating a template field from
-     * optional to required is NOT allowed.
+     * Additionally, updating a template field from optional to required is
+     * *not* allowed.
      * 
* * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequestOrBuilder.java index dfd662f15064..7f9c9dff5eb1 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateFieldRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -101,20 +101,22 @@ public interface UpdateTagTemplateFieldRequestOrBuilder * * *
-   * Optional. The field mask specifies the parts of the template to be updated.
-   * Allowed fields:
+   * Optional. Names of fields whose values to overwrite on an individual field
+   * of a tag template. The following fields are modifiable:
    *
    *   * `display_name`
    *   * `type.enum_type`
    *   * `is_required`
    *
-   * If `update_mask` is not set or empty, all of the allowed fields above will
-   * be updated.
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the request
+   * body, their values are emptied with one exception: when updating an enum
+   * type, the provided values are merged with the existing values. Therefore,
+   * enum values can only be added, existing enum values cannot be deleted or
+   * renamed.
    *
-   * When updating an enum type, the provided values will be merged with the
-   * existing values. Therefore, enum values can only be added, existing enum
-   * values cannot be deleted nor renamed. Updating a template field from
-   * optional to required is NOT allowed.
+   * Additionally, updating a template field from optional to required is
+   * *not* allowed.
    * 
* * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -127,20 +129,22 @@ public interface UpdateTagTemplateFieldRequestOrBuilder * * *
-   * Optional. The field mask specifies the parts of the template to be updated.
-   * Allowed fields:
+   * Optional. Names of fields whose values to overwrite on an individual field
+   * of a tag template. The following fields are modifiable:
    *
    *   * `display_name`
    *   * `type.enum_type`
    *   * `is_required`
    *
-   * If `update_mask` is not set or empty, all of the allowed fields above will
-   * be updated.
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the request
+   * body, their values are emptied with one exception: when updating an enum
+   * type, the provided values are merged with the existing values. Therefore,
+   * enum values can only be added, existing enum values cannot be deleted or
+   * renamed.
    *
-   * When updating an enum type, the provided values will be merged with the
-   * existing values. Therefore, enum values can only be added, existing enum
-   * values cannot be deleted nor renamed. Updating a template field from
-   * optional to required is NOT allowed.
+   * Additionally, updating a template field from optional to required is
+   * *not* allowed.
    * 
* * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -153,20 +157,22 @@ public interface UpdateTagTemplateFieldRequestOrBuilder * * *
-   * Optional. The field mask specifies the parts of the template to be updated.
-   * Allowed fields:
+   * Optional. Names of fields whose values to overwrite on an individual field
+   * of a tag template. The following fields are modifiable:
    *
    *   * `display_name`
    *   * `type.enum_type`
    *   * `is_required`
    *
-   * If `update_mask` is not set or empty, all of the allowed fields above will
-   * be updated.
+   * If this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the request
+   * body, their values are emptied with one exception: when updating an enum
+   * type, the provided values are merged with the existing values. Therefore,
+   * enum values can only be added, existing enum values cannot be deleted or
+   * renamed.
    *
-   * When updating an enum type, the provided values will be merged with the
-   * existing values. Therefore, enum values can only be added, existing enum
-   * values cannot be deleted nor renamed. Updating a template field from
-   * optional to required is NOT allowed.
+   * Additionally, updating a template field from optional to required is
+   * *not* allowed.
    * 
* * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequest.java index 29d5dbdcc5e7..e116cadbd3a7 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -123,13 +123,12 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder getTagTemplateO * * *
-   * The field mask specifies the parts of the template to overwrite.
+   * Names of fields whose values to overwrite on a tag template. Currently,
+   * only `display_name` can be overwritten.
    *
-   * Allowed fields:
-   *
-   *   * `display_name`
-   *
-   * If absent or empty, all of the allowed fields above will be updated.
+   * In general, if this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -144,13 +143,12 @@ public boolean hasUpdateMask() { * * *
-   * The field mask specifies the parts of the template to overwrite.
-   *
-   * Allowed fields:
+   * Names of fields whose values to overwrite on a tag template. Currently,
+   * only `display_name` can be overwritten.
    *
-   *   * `display_name`
-   *
-   * If absent or empty, all of the allowed fields above will be updated.
+   * In general, if this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -165,13 +163,12 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-   * The field mask specifies the parts of the template to overwrite.
-   *
-   * Allowed fields:
-   *
-   *   * `display_name`
+   * Names of fields whose values to overwrite on a tag template. Currently,
+   * only `display_name` can be overwritten.
    *
-   * If absent or empty, all of the allowed fields above will be updated.
+   * In general, if this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -780,13 +777,12 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateOrBuilder getTagTemplateO * * *
-     * The field mask specifies the parts of the template to overwrite.
+     * Names of fields whose values to overwrite on a tag template. Currently,
+     * only `display_name` can be overwritten.
      *
-     * Allowed fields:
-     *
-     *   * `display_name`
-     *
-     * If absent or empty, all of the allowed fields above will be updated.
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -800,13 +796,12 @@ public boolean hasUpdateMask() { * * *
-     * The field mask specifies the parts of the template to overwrite.
-     *
-     * Allowed fields:
+     * Names of fields whose values to overwrite on a tag template. Currently,
+     * only `display_name` can be overwritten.
      *
-     *   * `display_name`
-     *
-     * If absent or empty, all of the allowed fields above will be updated.
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -826,13 +821,12 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-     * The field mask specifies the parts of the template to overwrite.
-     *
-     * Allowed fields:
-     *
-     *   * `display_name`
+     * Names of fields whose values to overwrite on a tag template. Currently,
+     * only `display_name` can be overwritten.
      *
-     * If absent or empty, all of the allowed fields above will be updated.
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -854,13 +848,12 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * The field mask specifies the parts of the template to overwrite.
+     * Names of fields whose values to overwrite on a tag template. Currently,
+     * only `display_name` can be overwritten.
      *
-     * Allowed fields:
-     *
-     *   * `display_name`
-     *
-     * If absent or empty, all of the allowed fields above will be updated.
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -879,13 +872,12 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * * *
-     * The field mask specifies the parts of the template to overwrite.
-     *
-     * Allowed fields:
+     * Names of fields whose values to overwrite on a tag template. Currently,
+     * only `display_name` can be overwritten.
      *
-     *   * `display_name`
-     *
-     * If absent or empty, all of the allowed fields above will be updated.
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -910,13 +902,12 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * The field mask specifies the parts of the template to overwrite.
-     *
-     * Allowed fields:
-     *
-     *   * `display_name`
+     * Names of fields whose values to overwrite on a tag template. Currently,
+     * only `display_name` can be overwritten.
      *
-     * If absent or empty, all of the allowed fields above will be updated.
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -935,13 +926,12 @@ public Builder clearUpdateMask() { * * *
-     * The field mask specifies the parts of the template to overwrite.
+     * Names of fields whose values to overwrite on a tag template. Currently,
+     * only `display_name` can be overwritten.
      *
-     * Allowed fields:
-     *
-     *   * `display_name`
-     *
-     * If absent or empty, all of the allowed fields above will be updated.
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -955,13 +945,12 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * * *
-     * The field mask specifies the parts of the template to overwrite.
-     *
-     * Allowed fields:
+     * Names of fields whose values to overwrite on a tag template. Currently,
+     * only `display_name` can be overwritten.
      *
-     *   * `display_name`
-     *
-     * If absent or empty, all of the allowed fields above will be updated.
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -979,13 +968,12 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * *
-     * The field mask specifies the parts of the template to overwrite.
-     *
-     * Allowed fields:
-     *
-     *   * `display_name`
+     * Names of fields whose values to overwrite on a tag template. Currently,
+     * only `display_name` can be overwritten.
      *
-     * If absent or empty, all of the allowed fields above will be updated.
+     * In general, if this parameter is absent or empty, all modifiable fields
+     * are overwritten. If such fields are non-required and omitted in the
+     * request body, their values are emptied.
      * 
* * .google.protobuf.FieldMask update_mask = 2; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequestOrBuilder.java index 00e728ba749b..450a34a6d614 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTagTemplateRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -68,13 +68,12 @@ public interface UpdateTagTemplateRequestOrBuilder * * *
-   * The field mask specifies the parts of the template to overwrite.
+   * Names of fields whose values to overwrite on a tag template. Currently,
+   * only `display_name` can be overwritten.
    *
-   * Allowed fields:
-   *
-   *   * `display_name`
-   *
-   * If absent or empty, all of the allowed fields above will be updated.
+   * In general, if this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -86,13 +85,12 @@ public interface UpdateTagTemplateRequestOrBuilder * * *
-   * The field mask specifies the parts of the template to overwrite.
-   *
-   * Allowed fields:
+   * Names of fields whose values to overwrite on a tag template. Currently,
+   * only `display_name` can be overwritten.
    *
-   *   * `display_name`
-   *
-   * If absent or empty, all of the allowed fields above will be updated.
+   * In general, if this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -104,13 +102,12 @@ public interface UpdateTagTemplateRequestOrBuilder * * *
-   * The field mask specifies the parts of the template to overwrite.
-   *
-   * Allowed fields:
-   *
-   *   * `display_name`
+   * Names of fields whose values to overwrite on a tag template. Currently,
+   * only `display_name` can be overwritten.
    *
-   * If absent or empty, all of the allowed fields above will be updated.
+   * In general, if this parameter is absent or empty, all modifiable fields
+   * are overwritten. If such fields are non-required and omitted in the
+   * request body, their values are emptied.
    * 
* * .google.protobuf.FieldMask update_mask = 2; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequest.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequest.java index 307c1654ddf1..3067aace2906 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequest.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequestOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequestOrBuilder.java index 7aa28ec1ab61..65c9b0c3163c 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequestOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateTaxonomyRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Usage.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Usage.java new file mode 100644 index 000000000000..cc4fc2ee221c --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Usage.java @@ -0,0 +1,111 @@ +/* + * Copyright 2023 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/datacatalog/v1beta1/usage.proto + +package com.google.cloud.datacatalog.v1beta1; + +public final class Usage { + private Usage() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_UsageStats_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_UsageStats_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_UsageWithinTimeRangeEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_UsageWithinTimeRangeEntry_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n,google/cloud/datacatalog/v1beta1/usage" + + ".proto\022 google.cloud.datacatalog.v1beta1" + + "\032\037google/protobuf/timestamp.proto\"\221\001\n\nUs" + + "ageStats\022\031\n\021total_completions\030\001 \001(\002\022\026\n\016t" + + "otal_failures\030\002 \001(\002\022\033\n\023total_cancellatio" + + "ns\030\003 \001(\002\0223\n+total_execution_time_for_com" + + "pletions_millis\030\004 \001(\002\"\223\002\n\013UsageSignal\022/\n" + + "\013update_time\030\001 \001(\0132\032.google.protobuf.Tim" + + "estamp\022h\n\027usage_within_time_range\030\002 \003(\0132" + + "G.google.cloud.datacatalog.v1beta1.Usage" + + "Signal.UsageWithinTimeRangeEntry\032i\n\031Usag" + + "eWithinTimeRangeEntry\022\013\n\003key\030\001 \001(\t\022;\n\005va" + + "lue\030\002 \001(\0132,.google.cloud.datacatalog.v1b" + + "eta1.UsageStats:\0028\001B\337\001\n$com.google.cloud" + + ".datacatalog.v1beta1P\001ZFcloud.google.com" + + "/go/datacatalog/apiv1beta1/datacatalogpb" + + ";datacatalogpb\370\001\001\252\002 Google.Cloud.DataCat" + + "alog.V1Beta1\312\002 Google\\Cloud\\DataCatalog\\" + + "V1beta1\352\002#Google::Cloud::DataCatalog::V1" + + "beta1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1beta1_UsageStats_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1beta1_UsageStats_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_UsageStats_descriptor, + new java.lang.String[] { + "TotalCompletions", + "TotalFailures", + "TotalCancellations", + "TotalExecutionTimeForCompletionsMillis", + }); + internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_descriptor, + new java.lang.String[] { + "UpdateTime", "UsageWithinTimeRange", + }); + internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_UsageWithinTimeRangeEntry_descriptor = + internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_UsageWithinTimeRangeEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_UsageWithinTimeRangeEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageSignal.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageSignal.java new file mode 100644 index 000000000000..cbe96294637f --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageSignal.java @@ -0,0 +1,1106 @@ +/* + * Copyright 2023 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/datacatalog/v1beta1/usage.proto + +package com.google.cloud.datacatalog.v1beta1; + +/** + * + * + *
+ * The set of all usage signals that we store in Data Catalog.
+ * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1beta1.UsageSignal} + */ +public final class UsageSignal extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.UsageSignal) + UsageSignalOrBuilder { + private static final long serialVersionUID = 0L; + // Use UsageSignal.newBuilder() to construct. + private UsageSignal(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private UsageSignal() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UsageSignal(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Usage + .internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 2: + return internalGetUsageWithinTimeRange(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1beta1.Usage + .internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1beta1.UsageSignal.class, + com.google.cloud.datacatalog.v1beta1.UsageSignal.Builder.class); + } + + public static final int UPDATE_TIME_FIELD_NUMBER = 1; + private com.google.protobuf.Timestamp updateTime_; + /** + * + * + *
+   * The timestamp of the end of the usage statistics duration.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 1; + * + * @return Whether the updateTime field is set. + */ + @java.lang.Override + public boolean hasUpdateTime() { + return updateTime_ != null; + } + /** + * + * + *
+   * The timestamp of the end of the usage statistics duration.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 1; + * + * @return The updateTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getUpdateTime() { + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + } + /** + * + * + *
+   * The timestamp of the end of the usage statistics duration.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + } + + public static final int USAGE_WITHIN_TIME_RANGE_FIELD_NUMBER = 2; + + private static final class UsageWithinTimeRangeDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.datacatalog.v1beta1.UsageStats> + defaultEntry = + com.google.protobuf.MapEntry + . + newDefaultInstance( + com.google.cloud.datacatalog.v1beta1.Usage + .internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_UsageWithinTimeRangeEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.datacatalog.v1beta1.UsageStats.getDefaultInstance()); + } + + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1beta1.UsageStats> + usageWithinTimeRange_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1beta1.UsageStats> + internalGetUsageWithinTimeRange() { + if (usageWithinTimeRange_ == null) { + return com.google.protobuf.MapField.emptyMapField( + UsageWithinTimeRangeDefaultEntryHolder.defaultEntry); + } + return usageWithinTimeRange_; + } + + public int getUsageWithinTimeRangeCount() { + return internalGetUsageWithinTimeRange().getMap().size(); + } + /** + * + * + *
+   * Usage statistics over each of the pre-defined time ranges, supported
+   * strings for time ranges are {"24H", "7D", "30D"}.
+   * 
+ * + * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * + */ + @java.lang.Override + public boolean containsUsageWithinTimeRange(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetUsageWithinTimeRange().getMap().containsKey(key); + } + /** Use {@link #getUsageWithinTimeRangeMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map + getUsageWithinTimeRange() { + return getUsageWithinTimeRangeMap(); + } + /** + * + * + *
+   * Usage statistics over each of the pre-defined time ranges, supported
+   * strings for time ranges are {"24H", "7D", "30D"}.
+   * 
+ * + * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * + */ + @java.lang.Override + public java.util.Map + getUsageWithinTimeRangeMap() { + return internalGetUsageWithinTimeRange().getMap(); + } + /** + * + * + *
+   * Usage statistics over each of the pre-defined time ranges, supported
+   * strings for time ranges are {"24H", "7D", "30D"}.
+   * 
+ * + * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * + */ + @java.lang.Override + public /* nullable */ com.google.cloud.datacatalog.v1beta1.UsageStats + getUsageWithinTimeRangeOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.datacatalog.v1beta1.UsageStats defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetUsageWithinTimeRange().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+   * Usage statistics over each of the pre-defined time ranges, supported
+   * strings for time ranges are {"24H", "7D", "30D"}.
+   * 
+ * + * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.UsageStats getUsageWithinTimeRangeOrThrow( + java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetUsageWithinTimeRange().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + 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 (updateTime_ != null) { + output.writeMessage(1, getUpdateTime()); + } + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, + internalGetUsageWithinTimeRange(), + UsageWithinTimeRangeDefaultEntryHolder.defaultEntry, + 2); + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (updateTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateTime()); + } + for (java.util.Map.Entry + entry : internalGetUsageWithinTimeRange().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.datacatalog.v1beta1.UsageStats> + usageWithinTimeRange__ = + UsageWithinTimeRangeDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, usageWithinTimeRange__); + } + 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.datacatalog.v1beta1.UsageSignal)) { + return super.equals(obj); + } + com.google.cloud.datacatalog.v1beta1.UsageSignal other = + (com.google.cloud.datacatalog.v1beta1.UsageSignal) obj; + + if (hasUpdateTime() != other.hasUpdateTime()) return false; + if (hasUpdateTime()) { + if (!getUpdateTime().equals(other.getUpdateTime())) return false; + } + if (!internalGetUsageWithinTimeRange().equals(other.internalGetUsageWithinTimeRange())) + 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 (hasUpdateTime()) { + hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getUpdateTime().hashCode(); + } + if (!internalGetUsageWithinTimeRange().getMap().isEmpty()) { + hash = (37 * hash) + USAGE_WITHIN_TIME_RANGE_FIELD_NUMBER; + hash = (53 * hash) + internalGetUsageWithinTimeRange().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datacatalog.v1beta1.UsageSignal parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1beta1.UsageSignal 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.datacatalog.v1beta1.UsageSignal parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1beta1.UsageSignal 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.datacatalog.v1beta1.UsageSignal parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1beta1.UsageSignal parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.datacatalog.v1beta1.UsageSignal parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1beta1.UsageSignal 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.datacatalog.v1beta1.UsageSignal parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1beta1.UsageSignal 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.datacatalog.v1beta1.UsageSignal parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1beta1.UsageSignal 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.datacatalog.v1beta1.UsageSignal 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; + } + /** + * + * + *
+   * The set of all usage signals that we store in Data Catalog.
+   * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1beta1.UsageSignal} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.UsageSignal) + com.google.cloud.datacatalog.v1beta1.UsageSignalOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Usage + .internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 2: + return internalGetUsageWithinTimeRange(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + switch (number) { + case 2: + return internalGetMutableUsageWithinTimeRange(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1beta1.Usage + .internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1beta1.UsageSignal.class, + com.google.cloud.datacatalog.v1beta1.UsageSignal.Builder.class); + } + + // Construct using com.google.cloud.datacatalog.v1beta1.UsageSignal.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + updateTime_ = null; + if (updateTimeBuilder_ != null) { + updateTimeBuilder_.dispose(); + updateTimeBuilder_ = null; + } + internalGetMutableUsageWithinTimeRange().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.Usage + .internal_static_google_cloud_datacatalog_v1beta1_UsageSignal_descriptor; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.UsageSignal getDefaultInstanceForType() { + return com.google.cloud.datacatalog.v1beta1.UsageSignal.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.UsageSignal build() { + com.google.cloud.datacatalog.v1beta1.UsageSignal result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.UsageSignal buildPartial() { + com.google.cloud.datacatalog.v1beta1.UsageSignal result = + new com.google.cloud.datacatalog.v1beta1.UsageSignal(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.datacatalog.v1beta1.UsageSignal result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.usageWithinTimeRange_ = internalGetUsageWithinTimeRange(); + result.usageWithinTimeRange_.makeImmutable(); + } + } + + @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.datacatalog.v1beta1.UsageSignal) { + return mergeFrom((com.google.cloud.datacatalog.v1beta1.UsageSignal) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.UsageSignal other) { + if (other == com.google.cloud.datacatalog.v1beta1.UsageSignal.getDefaultInstance()) + return this; + if (other.hasUpdateTime()) { + mergeUpdateTime(other.getUpdateTime()); + } + internalGetMutableUsageWithinTimeRange().mergeFrom(other.internalGetUsageWithinTimeRange()); + bitField0_ |= 0x00000002; + 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(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.datacatalog.v1beta1.UsageStats> + usageWithinTimeRange__ = + input.readMessage( + UsageWithinTimeRangeDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableUsageWithinTimeRange() + .getMutableMap() + .put(usageWithinTimeRange__.getKey(), usageWithinTimeRange__.getValue()); + bitField0_ |= 0x00000002; + break; + } // case 18 + 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.protobuf.Timestamp updateTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; + /** + * + * + *
+     * The timestamp of the end of the usage statistics duration.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 1; + * + * @return Whether the updateTime field is set. + */ + public boolean hasUpdateTime() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * The timestamp of the end of the usage statistics duration.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 1; + * + * @return The updateTime. + */ + public com.google.protobuf.Timestamp getUpdateTime() { + if (updateTimeBuilder_ == null) { + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; + } else { + return updateTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The timestamp of the end of the usage statistics duration.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + public Builder setUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + updateTime_ = value; + } else { + updateTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * The timestamp of the end of the usage statistics duration.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (updateTimeBuilder_ == null) { + updateTime_ = builderForValue.build(); + } else { + updateTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * The timestamp of the end of the usage statistics duration.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getUpdateTimeBuilder().mergeFrom(value); + } else { + updateTime_ = value; + } + } else { + updateTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * The timestamp of the end of the usage statistics duration.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + public Builder clearUpdateTime() { + bitField0_ = (bitField0_ & ~0x00000001); + updateTime_ = null; + if (updateTimeBuilder_ != null) { + updateTimeBuilder_.dispose(); + updateTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * The timestamp of the end of the usage statistics duration.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getUpdateTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The timestamp of the end of the usage statistics duration.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { + if (updateTimeBuilder_ != null) { + return updateTimeBuilder_.getMessageOrBuilder(); + } else { + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; + } + } + /** + * + * + *
+     * The timestamp of the end of the usage statistics duration.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getUpdateTimeFieldBuilder() { + if (updateTimeBuilder_ == null) { + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); + updateTime_ = null; + } + return updateTimeBuilder_; + } + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1beta1.UsageStats> + usageWithinTimeRange_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1beta1.UsageStats> + internalGetUsageWithinTimeRange() { + if (usageWithinTimeRange_ == null) { + return com.google.protobuf.MapField.emptyMapField( + UsageWithinTimeRangeDefaultEntryHolder.defaultEntry); + } + return usageWithinTimeRange_; + } + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1beta1.UsageStats> + internalGetMutableUsageWithinTimeRange() { + if (usageWithinTimeRange_ == null) { + usageWithinTimeRange_ = + com.google.protobuf.MapField.newMapField( + UsageWithinTimeRangeDefaultEntryHolder.defaultEntry); + } + if (!usageWithinTimeRange_.isMutable()) { + usageWithinTimeRange_ = usageWithinTimeRange_.copy(); + } + bitField0_ |= 0x00000002; + onChanged(); + return usageWithinTimeRange_; + } + + public int getUsageWithinTimeRangeCount() { + return internalGetUsageWithinTimeRange().getMap().size(); + } + /** + * + * + *
+     * Usage statistics over each of the pre-defined time ranges, supported
+     * strings for time ranges are {"24H", "7D", "30D"}.
+     * 
+ * + * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * + */ + @java.lang.Override + public boolean containsUsageWithinTimeRange(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetUsageWithinTimeRange().getMap().containsKey(key); + } + /** Use {@link #getUsageWithinTimeRangeMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map + getUsageWithinTimeRange() { + return getUsageWithinTimeRangeMap(); + } + /** + * + * + *
+     * Usage statistics over each of the pre-defined time ranges, supported
+     * strings for time ranges are {"24H", "7D", "30D"}.
+     * 
+ * + * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * + */ + @java.lang.Override + public java.util.Map + getUsageWithinTimeRangeMap() { + return internalGetUsageWithinTimeRange().getMap(); + } + /** + * + * + *
+     * Usage statistics over each of the pre-defined time ranges, supported
+     * strings for time ranges are {"24H", "7D", "30D"}.
+     * 
+ * + * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * + */ + @java.lang.Override + public /* nullable */ com.google.cloud.datacatalog.v1beta1.UsageStats + getUsageWithinTimeRangeOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.datacatalog.v1beta1.UsageStats defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetUsageWithinTimeRange().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+     * Usage statistics over each of the pre-defined time ranges, supported
+     * strings for time ranges are {"24H", "7D", "30D"}.
+     * 
+ * + * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.UsageStats getUsageWithinTimeRangeOrThrow( + java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetUsageWithinTimeRange().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearUsageWithinTimeRange() { + bitField0_ = (bitField0_ & ~0x00000002); + internalGetMutableUsageWithinTimeRange().getMutableMap().clear(); + return this; + } + /** + * + * + *
+     * Usage statistics over each of the pre-defined time ranges, supported
+     * strings for time ranges are {"24H", "7D", "30D"}.
+     * 
+ * + * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * + */ + public Builder removeUsageWithinTimeRange(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableUsageWithinTimeRange().getMutableMap().remove(key); + return this; + } + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map + getMutableUsageWithinTimeRange() { + bitField0_ |= 0x00000002; + return internalGetMutableUsageWithinTimeRange().getMutableMap(); + } + /** + * + * + *
+     * Usage statistics over each of the pre-defined time ranges, supported
+     * strings for time ranges are {"24H", "7D", "30D"}.
+     * 
+ * + * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * + */ + public Builder putUsageWithinTimeRange( + java.lang.String key, com.google.cloud.datacatalog.v1beta1.UsageStats value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableUsageWithinTimeRange().getMutableMap().put(key, value); + bitField0_ |= 0x00000002; + return this; + } + /** + * + * + *
+     * Usage statistics over each of the pre-defined time ranges, supported
+     * strings for time ranges are {"24H", "7D", "30D"}.
+     * 
+ * + * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * + */ + public Builder putAllUsageWithinTimeRange( + java.util.Map values) { + internalGetMutableUsageWithinTimeRange().getMutableMap().putAll(values); + bitField0_ |= 0x00000002; + 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.datacatalog.v1beta1.UsageSignal) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.UsageSignal) + private static final com.google.cloud.datacatalog.v1beta1.UsageSignal DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.UsageSignal(); + } + + public static com.google.cloud.datacatalog.v1beta1.UsageSignal getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UsageSignal 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.datacatalog.v1beta1.UsageSignal getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageSignalOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageSignalOrBuilder.java new file mode 100644 index 000000000000..1289c539a3a3 --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageSignalOrBuilder.java @@ -0,0 +1,136 @@ +/* + * Copyright 2023 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/datacatalog/v1beta1/usage.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface UsageSignalOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.UsageSignal) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The timestamp of the end of the usage statistics duration.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 1; + * + * @return Whether the updateTime field is set. + */ + boolean hasUpdateTime(); + /** + * + * + *
+   * The timestamp of the end of the usage statistics duration.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 1; + * + * @return The updateTime. + */ + com.google.protobuf.Timestamp getUpdateTime(); + /** + * + * + *
+   * The timestamp of the end of the usage statistics duration.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); + + /** + * + * + *
+   * Usage statistics over each of the pre-defined time ranges, supported
+   * strings for time ranges are {"24H", "7D", "30D"}.
+   * 
+ * + * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * + */ + int getUsageWithinTimeRangeCount(); + /** + * + * + *
+   * Usage statistics over each of the pre-defined time ranges, supported
+   * strings for time ranges are {"24H", "7D", "30D"}.
+   * 
+ * + * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * + */ + boolean containsUsageWithinTimeRange(java.lang.String key); + /** Use {@link #getUsageWithinTimeRangeMap()} instead. */ + @java.lang.Deprecated + java.util.Map + getUsageWithinTimeRange(); + /** + * + * + *
+   * Usage statistics over each of the pre-defined time ranges, supported
+   * strings for time ranges are {"24H", "7D", "30D"}.
+   * 
+ * + * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * + */ + java.util.Map + getUsageWithinTimeRangeMap(); + /** + * + * + *
+   * Usage statistics over each of the pre-defined time ranges, supported
+   * strings for time ranges are {"24H", "7D", "30D"}.
+   * 
+ * + * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * + */ + /* nullable */ + com.google.cloud.datacatalog.v1beta1.UsageStats getUsageWithinTimeRangeOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.datacatalog.v1beta1.UsageStats defaultValue); + /** + * + * + *
+   * Usage statistics over each of the pre-defined time ranges, supported
+   * strings for time ranges are {"24H", "7D", "30D"}.
+   * 
+ * + * + * map<string, .google.cloud.datacatalog.v1beta1.UsageStats> usage_within_time_range = 2; + * + */ + com.google.cloud.datacatalog.v1beta1.UsageStats getUsageWithinTimeRangeOrThrow( + java.lang.String key); +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageStats.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageStats.java new file mode 100644 index 000000000000..0525a917b82c --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageStats.java @@ -0,0 +1,842 @@ +/* + * Copyright 2023 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/datacatalog/v1beta1/usage.proto + +package com.google.cloud.datacatalog.v1beta1; + +/** + * + * + *
+ * Detailed counts on the entry's usage.
+ * Caveats:
+ *   - Only BigQuery tables have usage stats
+ *   - The usage stats only include BigQuery query jobs
+ *   - The usage stats might be underestimated, e.g. wildcard table references
+ *     are not yet counted in usage computation
+ *     https://cloud.google.com/bigquery/docs/querying-wildcard-tables
+ * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1beta1.UsageStats} + */ +public final class UsageStats extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.UsageStats) + UsageStatsOrBuilder { + private static final long serialVersionUID = 0L; + // Use UsageStats.newBuilder() to construct. + private UsageStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private UsageStats() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UsageStats(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Usage + .internal_static_google_cloud_datacatalog_v1beta1_UsageStats_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1beta1.Usage + .internal_static_google_cloud_datacatalog_v1beta1_UsageStats_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1beta1.UsageStats.class, + com.google.cloud.datacatalog.v1beta1.UsageStats.Builder.class); + } + + public static final int TOTAL_COMPLETIONS_FIELD_NUMBER = 1; + private float totalCompletions_ = 0F; + /** + * + * + *
+   * The number of times that the underlying entry was successfully used.
+   * 
+ * + * float total_completions = 1; + * + * @return The totalCompletions. + */ + @java.lang.Override + public float getTotalCompletions() { + return totalCompletions_; + } + + public static final int TOTAL_FAILURES_FIELD_NUMBER = 2; + private float totalFailures_ = 0F; + /** + * + * + *
+   * The number of times that the underlying entry was attempted to be used
+   * but failed.
+   * 
+ * + * float total_failures = 2; + * + * @return The totalFailures. + */ + @java.lang.Override + public float getTotalFailures() { + return totalFailures_; + } + + public static final int TOTAL_CANCELLATIONS_FIELD_NUMBER = 3; + private float totalCancellations_ = 0F; + /** + * + * + *
+   * The number of times that the underlying entry was attempted to be used
+   * but was cancelled by the user.
+   * 
+ * + * float total_cancellations = 3; + * + * @return The totalCancellations. + */ + @java.lang.Override + public float getTotalCancellations() { + return totalCancellations_; + } + + public static final int TOTAL_EXECUTION_TIME_FOR_COMPLETIONS_MILLIS_FIELD_NUMBER = 4; + private float totalExecutionTimeForCompletionsMillis_ = 0F; + /** + * + * + *
+   * Total time spent (in milliseconds) during uses the resulted in completions.
+   * 
+ * + * float total_execution_time_for_completions_millis = 4; + * + * @return The totalExecutionTimeForCompletionsMillis. + */ + @java.lang.Override + public float getTotalExecutionTimeForCompletionsMillis() { + return totalExecutionTimeForCompletionsMillis_; + } + + 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 (java.lang.Float.floatToRawIntBits(totalCompletions_) != 0) { + output.writeFloat(1, totalCompletions_); + } + if (java.lang.Float.floatToRawIntBits(totalFailures_) != 0) { + output.writeFloat(2, totalFailures_); + } + if (java.lang.Float.floatToRawIntBits(totalCancellations_) != 0) { + output.writeFloat(3, totalCancellations_); + } + if (java.lang.Float.floatToRawIntBits(totalExecutionTimeForCompletionsMillis_) != 0) { + output.writeFloat(4, totalExecutionTimeForCompletionsMillis_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (java.lang.Float.floatToRawIntBits(totalCompletions_) != 0) { + size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, totalCompletions_); + } + if (java.lang.Float.floatToRawIntBits(totalFailures_) != 0) { + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, totalFailures_); + } + if (java.lang.Float.floatToRawIntBits(totalCancellations_) != 0) { + size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, totalCancellations_); + } + if (java.lang.Float.floatToRawIntBits(totalExecutionTimeForCompletionsMillis_) != 0) { + size += + com.google.protobuf.CodedOutputStream.computeFloatSize( + 4, totalExecutionTimeForCompletionsMillis_); + } + 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.datacatalog.v1beta1.UsageStats)) { + return super.equals(obj); + } + com.google.cloud.datacatalog.v1beta1.UsageStats other = + (com.google.cloud.datacatalog.v1beta1.UsageStats) obj; + + if (java.lang.Float.floatToIntBits(getTotalCompletions()) + != java.lang.Float.floatToIntBits(other.getTotalCompletions())) return false; + if (java.lang.Float.floatToIntBits(getTotalFailures()) + != java.lang.Float.floatToIntBits(other.getTotalFailures())) return false; + if (java.lang.Float.floatToIntBits(getTotalCancellations()) + != java.lang.Float.floatToIntBits(other.getTotalCancellations())) return false; + if (java.lang.Float.floatToIntBits(getTotalExecutionTimeForCompletionsMillis()) + != java.lang.Float.floatToIntBits(other.getTotalExecutionTimeForCompletionsMillis())) + 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) + TOTAL_COMPLETIONS_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits(getTotalCompletions()); + hash = (37 * hash) + TOTAL_FAILURES_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits(getTotalFailures()); + hash = (37 * hash) + TOTAL_CANCELLATIONS_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits(getTotalCancellations()); + hash = (37 * hash) + TOTAL_EXECUTION_TIME_FOR_COMPLETIONS_MILLIS_FIELD_NUMBER; + hash = + (53 * hash) + java.lang.Float.floatToIntBits(getTotalExecutionTimeForCompletionsMillis()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datacatalog.v1beta1.UsageStats parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1beta1.UsageStats 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.datacatalog.v1beta1.UsageStats parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1beta1.UsageStats 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.datacatalog.v1beta1.UsageStats parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1beta1.UsageStats parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.datacatalog.v1beta1.UsageStats parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1beta1.UsageStats 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.datacatalog.v1beta1.UsageStats parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1beta1.UsageStats 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.datacatalog.v1beta1.UsageStats parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1beta1.UsageStats 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.datacatalog.v1beta1.UsageStats 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; + } + /** + * + * + *
+   * Detailed counts on the entry's usage.
+   * Caveats:
+   *   - Only BigQuery tables have usage stats
+   *   - The usage stats only include BigQuery query jobs
+   *   - The usage stats might be underestimated, e.g. wildcard table references
+   *     are not yet counted in usage computation
+   *     https://cloud.google.com/bigquery/docs/querying-wildcard-tables
+   * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1beta1.UsageStats} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1beta1.UsageStats) + com.google.cloud.datacatalog.v1beta1.UsageStatsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1beta1.Usage + .internal_static_google_cloud_datacatalog_v1beta1_UsageStats_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1beta1.Usage + .internal_static_google_cloud_datacatalog_v1beta1_UsageStats_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1beta1.UsageStats.class, + com.google.cloud.datacatalog.v1beta1.UsageStats.Builder.class); + } + + // Construct using com.google.cloud.datacatalog.v1beta1.UsageStats.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + totalCompletions_ = 0F; + totalFailures_ = 0F; + totalCancellations_ = 0F; + totalExecutionTimeForCompletionsMillis_ = 0F; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1beta1.Usage + .internal_static_google_cloud_datacatalog_v1beta1_UsageStats_descriptor; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.UsageStats getDefaultInstanceForType() { + return com.google.cloud.datacatalog.v1beta1.UsageStats.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.UsageStats build() { + com.google.cloud.datacatalog.v1beta1.UsageStats result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1beta1.UsageStats buildPartial() { + com.google.cloud.datacatalog.v1beta1.UsageStats result = + new com.google.cloud.datacatalog.v1beta1.UsageStats(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.datacatalog.v1beta1.UsageStats result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.totalCompletions_ = totalCompletions_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.totalFailures_ = totalFailures_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.totalCancellations_ = totalCancellations_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.totalExecutionTimeForCompletionsMillis_ = totalExecutionTimeForCompletionsMillis_; + } + } + + @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.datacatalog.v1beta1.UsageStats) { + return mergeFrom((com.google.cloud.datacatalog.v1beta1.UsageStats) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.UsageStats other) { + if (other == com.google.cloud.datacatalog.v1beta1.UsageStats.getDefaultInstance()) + return this; + if (other.getTotalCompletions() != 0F) { + setTotalCompletions(other.getTotalCompletions()); + } + if (other.getTotalFailures() != 0F) { + setTotalFailures(other.getTotalFailures()); + } + if (other.getTotalCancellations() != 0F) { + setTotalCancellations(other.getTotalCancellations()); + } + if (other.getTotalExecutionTimeForCompletionsMillis() != 0F) { + setTotalExecutionTimeForCompletionsMillis( + other.getTotalExecutionTimeForCompletionsMillis()); + } + 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 13: + { + totalCompletions_ = input.readFloat(); + bitField0_ |= 0x00000001; + break; + } // case 13 + case 21: + { + totalFailures_ = input.readFloat(); + bitField0_ |= 0x00000002; + break; + } // case 21 + case 29: + { + totalCancellations_ = input.readFloat(); + bitField0_ |= 0x00000004; + break; + } // case 29 + case 37: + { + totalExecutionTimeForCompletionsMillis_ = input.readFloat(); + bitField0_ |= 0x00000008; + break; + } // case 37 + 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 float totalCompletions_; + /** + * + * + *
+     * The number of times that the underlying entry was successfully used.
+     * 
+ * + * float total_completions = 1; + * + * @return The totalCompletions. + */ + @java.lang.Override + public float getTotalCompletions() { + return totalCompletions_; + } + /** + * + * + *
+     * The number of times that the underlying entry was successfully used.
+     * 
+ * + * float total_completions = 1; + * + * @param value The totalCompletions to set. + * @return This builder for chaining. + */ + public Builder setTotalCompletions(float value) { + + totalCompletions_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * The number of times that the underlying entry was successfully used.
+     * 
+ * + * float total_completions = 1; + * + * @return This builder for chaining. + */ + public Builder clearTotalCompletions() { + bitField0_ = (bitField0_ & ~0x00000001); + totalCompletions_ = 0F; + onChanged(); + return this; + } + + private float totalFailures_; + /** + * + * + *
+     * The number of times that the underlying entry was attempted to be used
+     * but failed.
+     * 
+ * + * float total_failures = 2; + * + * @return The totalFailures. + */ + @java.lang.Override + public float getTotalFailures() { + return totalFailures_; + } + /** + * + * + *
+     * The number of times that the underlying entry was attempted to be used
+     * but failed.
+     * 
+ * + * float total_failures = 2; + * + * @param value The totalFailures to set. + * @return This builder for chaining. + */ + public Builder setTotalFailures(float value) { + + totalFailures_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * The number of times that the underlying entry was attempted to be used
+     * but failed.
+     * 
+ * + * float total_failures = 2; + * + * @return This builder for chaining. + */ + public Builder clearTotalFailures() { + bitField0_ = (bitField0_ & ~0x00000002); + totalFailures_ = 0F; + onChanged(); + return this; + } + + private float totalCancellations_; + /** + * + * + *
+     * The number of times that the underlying entry was attempted to be used
+     * but was cancelled by the user.
+     * 
+ * + * float total_cancellations = 3; + * + * @return The totalCancellations. + */ + @java.lang.Override + public float getTotalCancellations() { + return totalCancellations_; + } + /** + * + * + *
+     * The number of times that the underlying entry was attempted to be used
+     * but was cancelled by the user.
+     * 
+ * + * float total_cancellations = 3; + * + * @param value The totalCancellations to set. + * @return This builder for chaining. + */ + public Builder setTotalCancellations(float value) { + + totalCancellations_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * The number of times that the underlying entry was attempted to be used
+     * but was cancelled by the user.
+     * 
+ * + * float total_cancellations = 3; + * + * @return This builder for chaining. + */ + public Builder clearTotalCancellations() { + bitField0_ = (bitField0_ & ~0x00000004); + totalCancellations_ = 0F; + onChanged(); + return this; + } + + private float totalExecutionTimeForCompletionsMillis_; + /** + * + * + *
+     * Total time spent (in milliseconds) during uses the resulted in completions.
+     * 
+ * + * float total_execution_time_for_completions_millis = 4; + * + * @return The totalExecutionTimeForCompletionsMillis. + */ + @java.lang.Override + public float getTotalExecutionTimeForCompletionsMillis() { + return totalExecutionTimeForCompletionsMillis_; + } + /** + * + * + *
+     * Total time spent (in milliseconds) during uses the resulted in completions.
+     * 
+ * + * float total_execution_time_for_completions_millis = 4; + * + * @param value The totalExecutionTimeForCompletionsMillis to set. + * @return This builder for chaining. + */ + public Builder setTotalExecutionTimeForCompletionsMillis(float value) { + + totalExecutionTimeForCompletionsMillis_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Total time spent (in milliseconds) during uses the resulted in completions.
+     * 
+ * + * float total_execution_time_for_completions_millis = 4; + * + * @return This builder for chaining. + */ + public Builder clearTotalExecutionTimeForCompletionsMillis() { + bitField0_ = (bitField0_ & ~0x00000008); + totalExecutionTimeForCompletionsMillis_ = 0F; + 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.datacatalog.v1beta1.UsageStats) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.UsageStats) + private static final com.google.cloud.datacatalog.v1beta1.UsageStats DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.UsageStats(); + } + + public static com.google.cloud.datacatalog.v1beta1.UsageStats getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UsageStats 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.datacatalog.v1beta1.UsageStats getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageStatsOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageStatsOrBuilder.java new file mode 100644 index 000000000000..8819c347673e --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UsageStatsOrBuilder.java @@ -0,0 +1,79 @@ +/* + * Copyright 2023 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/datacatalog/v1beta1/usage.proto + +package com.google.cloud.datacatalog.v1beta1; + +public interface UsageStatsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.UsageStats) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The number of times that the underlying entry was successfully used.
+   * 
+ * + * float total_completions = 1; + * + * @return The totalCompletions. + */ + float getTotalCompletions(); + + /** + * + * + *
+   * The number of times that the underlying entry was attempted to be used
+   * but failed.
+   * 
+ * + * float total_failures = 2; + * + * @return The totalFailures. + */ + float getTotalFailures(); + + /** + * + * + *
+   * The number of times that the underlying entry was attempted to be used
+   * but was cancelled by the user.
+   * 
+ * + * float total_cancellations = 3; + * + * @return The totalCancellations. + */ + float getTotalCancellations(); + + /** + * + * + *
+   * Total time spent (in milliseconds) during uses the resulted in completions.
+   * 
+ * + * float total_execution_time_for_completions_millis = 4; + * + * @return The totalExecutionTimeForCompletionsMillis. + */ + float getTotalExecutionTimeForCompletionsMillis(); +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpec.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpec.java index 0c2c2744d729..87dea734d358 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpec.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpec.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpecOrBuilder.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpecOrBuilder.java index 2476de2aa2bb..3c547270c614 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpecOrBuilder.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ViewSpecOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2023 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-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/common.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/common.proto index f61608a66554..586c03bca53a 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/common.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/common.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -36,3 +36,16 @@ enum IntegratedSystem { // Cloud Pub/Sub. CLOUD_PUBSUB = 2; } + +// This enum describes all the systems that manage +// Taxonomy and PolicyTag resources in DataCatalog. +enum ManagingSystem { + // Default value + MANAGING_SYSTEM_UNSPECIFIED = 0; + + // Dataplex. + MANAGING_SYSTEM_DATAPLEX = 1; + + // Other + MANAGING_SYSTEM_OTHER = 2; +} diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/datacatalog.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/datacatalog.proto index 0c6c0809b6f7..a076825754ff 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/datacatalog.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/datacatalog.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -27,6 +27,7 @@ import "google/cloud/datacatalog/v1beta1/search.proto"; import "google/cloud/datacatalog/v1beta1/table_spec.proto"; import "google/cloud/datacatalog/v1beta1/tags.proto"; import "google/cloud/datacatalog/v1beta1/timestamps.proto"; +import "google/cloud/datacatalog/v1beta1/usage.proto"; import "google/iam/v1/iam_policy.proto"; import "google/iam/v1/policy.proto"; import "google/protobuf/empty.proto"; @@ -39,12 +40,17 @@ option java_multiple_files = true; option java_package = "com.google.cloud.datacatalog.v1beta1"; option php_namespace = "Google\\Cloud\\DataCatalog\\V1beta1"; option ruby_package = "Google::Cloud::DataCatalog::V1beta1"; +option (google.api.resource_definition) = { + type: "datacatalog.googleapis.com/TagTemplateFieldEnumValue" + pattern: "projects/{project}/locations/{location}/tagTemplates/{tag_template}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}" +}; // Data Catalog API service allows clients to discover, understand, and manage // their data. service DataCatalog { option (google.api.default_host) = "datacatalog.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"; // Searches Data Catalog for multiple resources like entries, tags that // match a query. @@ -52,7 +58,7 @@ service DataCatalog { // This is a custom method // (https://cloud.google.com/apis/design/custom_methods) and does not return // the complete resource, only the resource identifier and high level - // fields. Clients can subsequentally call `Get` methods. + // fields. Clients can subsequently call `Get` methods. // // Note that Data Catalog search queries do not guarantee full recall. Query // results that match your query may not be returned, even in subsequent @@ -113,7 +119,8 @@ service DataCatalog { // identified by the `name` parameter (see [Data Catalog Resource Project] // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for // more information). - rpc DeleteEntryGroup(DeleteEntryGroupRequest) returns (google.protobuf.Empty) { + rpc DeleteEntryGroup(DeleteEntryGroupRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1beta1/{name=projects/*/locations/*/entryGroups/*}" }; @@ -121,7 +128,8 @@ service DataCatalog { } // Lists entry groups. - rpc ListEntryGroups(ListEntryGroupsRequest) returns (ListEntryGroupsResponse) { + rpc ListEntryGroups(ListEntryGroupsRequest) + returns (ListEntryGroupsResponse) { option (google.api.http) = { get: "/v1beta1/{parent=projects/*/locations/*}/entryGroups" }; @@ -208,7 +216,8 @@ service DataCatalog { post: "/v1beta1/{parent=projects/*/locations/*}/tagTemplates" body: "tag_template" }; - option (google.api.method_signature) = "parent,tag_template_id,tag_template"; + option (google.api.method_signature) = + "parent,tag_template_id,tag_template"; } // Gets a tag template. @@ -240,7 +249,8 @@ service DataCatalog { // the `name` parameter (see [Data Catalog Resource Project] // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for // more information). - rpc DeleteTagTemplate(DeleteTagTemplateRequest) returns (google.protobuf.Empty) { + rpc DeleteTagTemplate(DeleteTagTemplateRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1beta1/{name=projects/*/locations/*/tagTemplates/*}" }; @@ -252,12 +262,14 @@ service DataCatalog { // [Data Catalog Resource // Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project) // for more information). - rpc CreateTagTemplateField(CreateTagTemplateFieldRequest) returns (TagTemplateField) { + rpc CreateTagTemplateField(CreateTagTemplateFieldRequest) + returns (TagTemplateField) { option (google.api.http) = { post: "/v1beta1/{parent=projects/*/locations/*/tagTemplates/*}/fields" body: "tag_template_field" }; - option (google.api.method_signature) = "parent,tag_template_field_id,tag_template_field"; + option (google.api.method_signature) = + "parent,tag_template_field_id,tag_template_field"; } // Updates a field in a tag template. This method cannot be used to update the @@ -265,13 +277,15 @@ service DataCatalog { // identified by the `name` parameter (see [Data Catalog Resource Project] // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for // more information). - rpc UpdateTagTemplateField(UpdateTagTemplateFieldRequest) returns (TagTemplateField) { + rpc UpdateTagTemplateField(UpdateTagTemplateFieldRequest) + returns (TagTemplateField) { option (google.api.http) = { patch: "/v1beta1/{name=projects/*/locations/*/tagTemplates/*/fields/*}" body: "tag_template_field" }; option (google.api.method_signature) = "name,tag_template_field"; - option (google.api.method_signature) = "name,tag_template_field,update_mask"; + option (google.api.method_signature) = + "name,tag_template_field,update_mask"; } // Renames a field in a tag template. The user should enable the Data Catalog @@ -279,7 +293,8 @@ service DataCatalog { // Resource // Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project) // for more information). - rpc RenameTagTemplateField(RenameTagTemplateFieldRequest) returns (TagTemplateField) { + rpc RenameTagTemplateField(RenameTagTemplateFieldRequest) + returns (TagTemplateField) { option (google.api.http) = { post: "/v1beta1/{name=projects/*/locations/*/tagTemplates/*/fields/*}:rename" body: "*" @@ -287,12 +302,25 @@ service DataCatalog { option (google.api.method_signature) = "name,new_tag_template_field_id"; } + // Renames an enum value in a tag template. The enum values have to be unique + // within one enum field. Thus, an enum value cannot be renamed with a name + // used in any other enum value within the same enum field. + rpc RenameTagTemplateFieldEnumValue(RenameTagTemplateFieldEnumValueRequest) + returns (TagTemplateField) { + option (google.api.http) = { + post: "/v1beta1/{name=projects/*/locations/*/tagTemplates/*/fields/*/enumValues/*}:rename" + body: "*" + }; + option (google.api.method_signature) = "name,new_enum_value_display_name"; + } + // Deletes a field in a tag template and all uses of that field. // Users should enable the Data Catalog API in the project identified by // the `name` parameter (see [Data Catalog Resource Project] // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for // more information). - rpc DeleteTagTemplateField(DeleteTagTemplateFieldRequest) returns (google.protobuf.Empty) { + rpc DeleteTagTemplateField(DeleteTagTemplateFieldRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1beta1/{name=projects/*/locations/*/tagTemplates/*/fields/*}" }; @@ -343,7 +371,9 @@ service DataCatalog { option (google.api.method_signature) = "name"; } - // Lists the tags on an [Entry][google.cloud.datacatalog.v1beta1.Entry]. + // Lists tags assigned to an [Entry][google.cloud.datacatalog.v1beta1.Entry]. + // The [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response + // are lowercased. rpc ListTags(ListTagsRequest) returns (ListTagsResponse) { option (google.api.http) = { get: "/v1beta1/{parent=projects/*/locations/*/entryGroups/*/entries/*}/tags" @@ -368,7 +398,8 @@ service DataCatalog { // templates. // - `datacatalog.entries.setIamPolicy` to set policies on entries. // - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. - rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1beta1/{resource=projects/*/locations/*/tagTemplates/*}:setIamPolicy" body: "*" @@ -377,7 +408,6 @@ service DataCatalog { body: "*" } }; - option (google.api.method_signature) = "resource,policy"; } @@ -397,7 +427,8 @@ service DataCatalog { // templates. // - `datacatalog.entries.getIamPolicy` to get policies on entries. // - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups. - rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1beta1/{resource=projects/*/locations/*/tagTemplates/*}:getIamPolicy" body: "*" @@ -426,7 +457,8 @@ service DataCatalog { // // A caller is not required to have Google IAM permission to make this // request. - rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { + rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) + returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { post: "/v1beta1/{resource=projects/*/locations/*/tagTemplates/*}:testIamPermissions" body: "*" @@ -457,11 +489,49 @@ message SearchCatalogRequest { // https://cloud.google.com/docs/overview/#projects. repeated string include_project_ids = 3; - // If `true`, include Google Cloud Platform (GCP) public datasets in the - // search results. Info on GCP public datasets is available at - // https://cloud.google.com/public-datasets/. By default, GCP public - // datasets are excluded. + // If `true`, include Google Cloud public datasets in the + // search results. Info on Google Cloud public datasets is available at + // https://cloud.google.com/public-datasets/. By default, Google Cloud + // public datasets are excluded. bool include_gcp_public_datasets = 7; + + // Optional. The list of locations to search within. + // 1. If empty, search will be performed in all locations; + // 2. If any of the locations are NOT in the valid locations list, error + // will be returned; + // 3. Otherwise, search only the given locations for matching results. + // Typical usage is to leave this field empty. When a location is + // unreachable as returned in the `SearchCatalogResponse.unreachable` field, + // users can repeat the search request with this parameter set to get + // additional information on the error. + // + // Valid locations: + // * asia-east1 + // * asia-east2 + // * asia-northeast1 + // * asia-northeast2 + // * asia-northeast3 + // * asia-south1 + // * asia-southeast1 + // * australia-southeast1 + // * eu + // * europe-north1 + // * europe-west1 + // * europe-west2 + // * europe-west3 + // * europe-west4 + // * europe-west6 + // * global + // * northamerica-northeast1 + // * southamerica-east1 + // * us + // * us-central1 + // * us-east1 + // * us-east4 + // * us-west1 + // * us-west2 + repeated string restricted_locations = 16 + [(google.api.field_behavior) = OPTIONAL]; } // Required. The scope of this search request. A `scope` that has empty @@ -470,9 +540,9 @@ message SearchCatalogRequest { // return an error in such a case. Scope scope = 6 [(google.api.field_behavior) = REQUIRED]; - // Required. The query string in search query syntax. The query must be non-empty. - // - // Query strings can be simple as "x" or more qualified as: + // Optional. The query string in search query syntax. An empty query string + // will result in all data assets (in the specified scope) that the user has + // access to. Query strings can be simple as "x" or more qualified as: // // * name:x // * column:x @@ -482,15 +552,15 @@ message SearchCatalogRequest { // matching to work correctly. See [Data Catalog Search // Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference) // for more information. - string query = 1 [(google.api.field_behavior) = REQUIRED]; + string query = 1 [(google.api.field_behavior) = OPTIONAL]; // Number of results in the search page. If <=0 then defaults to 10. Max limit // for page_size is 1000. Throws an invalid argument for page_size > 1000. int32 page_size = 2; // Optional. Pagination token returned in an earlier - // [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which - // indicates that this is a continuation of a prior + // [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], + // which indicates that this is a continuation of a prior // [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog] // call, and that the system should return the next page of data. If empty, // the first page is returned. @@ -502,6 +572,7 @@ message SearchCatalogRequest { // * `relevance`, only supports descending // * `last_modified_timestamp [asc|desc]`, defaults to descending if not // specified + // * `default` that can only be descending // // If not specified, defaults to `relevance` descending. string order_by = 5; @@ -513,8 +584,17 @@ message SearchCatalogResponse { // Search results. repeated SearchCatalogResult results = 1; + // The approximate total number of entries matched by the query. + int32 total_size = 2; + // The token that can be used to retrieve the next page of results. string next_page_token = 3; + + // Unreachable locations. Search result does not include data from those + // locations. Users can get additional information on the error by repeating + // the search request with a more restrictive parameter -- setting the value + // for `SearchDataCatalogRequest.scope.restricted_locations`. + repeated string unreachable = 6; } // Request message for @@ -548,8 +628,11 @@ message UpdateEntryGroupRequest { // Required. The updated entry group. "name" field must be set. EntryGroup entry_group = 1 [(google.api.field_behavior) = REQUIRED]; - // The fields to update on the entry group. If absent or empty, all modifiable - // fields are updated. + // Names of fields whose values to overwrite on an entry group. + // + // If this parameter is absent or empty, all modifiable fields + // are overwritten. If such fields are non-required and omitted in the + // request body, their values are emptied. google.protobuf.FieldMask update_mask = 2; } @@ -588,8 +671,8 @@ message DeleteEntryGroupRequest { // Request message for // [ListEntryGroups][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntryGroups]. message ListEntryGroupsRequest { - // Required. The name of the location that contains the entry groups, which can be - // provided in URL format. Example: + // Required. The name of the location that contains the entry groups, which + // can be provided in URL format. Example: // // * projects/{project_id}/locations/{location} string parent = 1 [ @@ -599,12 +682,12 @@ message ListEntryGroupsRequest { } ]; - // Optional. The maximum number of items to return. Default is 10. Max limit is 1000. - // Throws an invalid argument for `page_size > 1000`. + // Optional. The maximum number of items to return. Default is 10. Max limit + // is 1000. Throws an invalid argument for `page_size > 1000`. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Token that specifies which page is requested. If empty, the first page is - // returned. + // Optional. Token that specifies which page is requested. If empty, the first + // page is returned. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; } @@ -648,26 +731,30 @@ message UpdateEntryRequest { // Required. The updated entry. The "name" field must be set. Entry entry = 1 [(google.api.field_behavior) = REQUIRED]; - // The fields to update on the entry. If absent or empty, all modifiable - // fields are updated. + // Names of fields whose values to overwrite on an entry. + // + // If this parameter is absent or empty, all modifiable fields + // are overwritten. If such fields are non-required and omitted in the + // request body, their values are emptied. // // The following fields are modifiable: + // // * For entries with type `DATA_STREAM`: // * `schema` - // * For entries with type `FILESET` + // * For entries with type `FILESET`: // * `schema` // * `display_name` // * `description` // * `gcs_fileset_spec` // * `gcs_fileset_spec.file_patterns` - // * For entries with `user_specified_type` + // * For entries with `user_specified_type`: // * `schema` // * `display_name` // * `description` - // * user_specified_type - // * user_specified_system - // * linked_resource - // * source_system_timestamps + // * `user_specified_type` + // * `user_specified_system` + // * `linked_resource` + // * `source_system_timestamps` google.protobuf.FieldMask update_mask = 2; } @@ -726,7 +813,7 @@ message LookupEntryRequest { // * `bigquery.dataset.project_id.dataset_id` // * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id` // - // `*_id`s shoud satisfy the standard SQL rules for identifiers. + // `*_id`s should satisfy the standard SQL rules for identifiers. // https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical. string sql_resource = 3; } @@ -748,15 +835,19 @@ message Entry { pattern: "projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}" }; - // The Data Catalog resource name of the entry in URL format. Example: + // Output only. The Data Catalog resource name of the entry in URL format. + // Example: // // * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} // // Note that this Entry and its child resources may not actually be stored in // the location in this name. - string name = 1 [(google.api.resource_reference) = { - type: "datacatalog.googleapis.com/EntryGroup" - }]; + string name = 1 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { + type: "datacatalog.googleapis.com/EntryGroup" + } + ]; // The resource this metadata entry refers to. // @@ -793,9 +884,10 @@ message Entry { // The source system of the entry. oneof system { - // Output only. This field indicates the entry's source system that Data Catalog - // integrates with, such as BigQuery or Pub/Sub. - IntegratedSystem integrated_system = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. This field indicates the entry's source system that Data + // Catalog integrates with, such as BigQuery or Pub/Sub. + IntegratedSystem integrated_system = 17 + [(google.api.field_behavior) = OUTPUT_ONLY]; // This field indicates the entry's source system that Data Catalog does not // integrate with. `user_specified_system` strings must begin with a letter @@ -833,11 +925,15 @@ message Entry { // Schema of the entry. An entry might not have any schema attached to it. Schema schema = 5; - // Output only. Timestamps about the underlying resource, not about this Data Catalog - // entry. Output only when Entry is of type in the EntryType enum. For entries - // with user_specified_type, this field is optional and defaults to an empty - // timestamp. - SystemTimestamps source_system_timestamps = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Timestamps about the underlying resource, not about this Data + // Catalog entry. Output only when Entry is of type in the EntryType enum. For + // entries with user_specified_type, this field is optional and defaults to an + // empty timestamp. + SystemTimestamps source_system_timestamps = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Statistics on the usage level of the resource. + UsageSignal usage_signal = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; } // EntryGroup Metadata. @@ -866,8 +962,10 @@ message EntryGroup { // string. string description = 3; - // Output only. Timestamps about this EntryGroup. Default value is empty timestamps. - SystemTimestamps data_catalog_timestamps = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Timestamps about this EntryGroup. Default value is empty + // timestamps. + SystemTimestamps data_catalog_timestamps = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Request message for @@ -913,13 +1011,12 @@ message UpdateTagTemplateRequest { // Required. The template to update. The "name" field must be set. TagTemplate tag_template = 1 [(google.api.field_behavior) = REQUIRED]; - // The field mask specifies the parts of the template to overwrite. - // - // Allowed fields: + // Names of fields whose values to overwrite on a tag template. Currently, + // only `display_name` can be overwritten. // - // * `display_name` - // - // If absent or empty, all of the allowed fields above will be updated. + // In general, if this parameter is absent or empty, all modifiable fields + // are overwritten. If such fields are non-required and omitted in the + // request body, their values are emptied. google.protobuf.FieldMask update_mask = 2; } @@ -945,8 +1042,8 @@ message DeleteTagTemplateRequest { // Request message for // [CreateTag][google.cloud.datacatalog.v1beta1.DataCatalog.CreateTag]. message CreateTagRequest { - // Required. The name of the resource to attach this tag to. Tags can be attached to - // Entries. Example: + // Required. The name of the resource to attach this tag to. Tags can be + // attached to Entries. Example: // // * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} // @@ -969,8 +1066,14 @@ message UpdateTagRequest { // Required. The updated tag. The "name" field must be set. Tag tag = 1 [(google.api.field_behavior) = REQUIRED]; - // The fields to update on the Tag. If absent or empty, all modifiable fields - // are updated. Currently the only modifiable field is the field `fields`. + // Note: Currently, this parameter can only take `"fields"` as value. + // + // Names of fields whose values to overwrite on a tag. Currently, a tag has + // the only modifiable field with the name `fields`. + // + // In general, if this parameter is absent or empty, all modifiable fields + // are overwritten. If such fields are non-required and omitted in the + // request body, their values are emptied. google.protobuf.FieldMask update_mask = 2; } @@ -1012,7 +1115,8 @@ message CreateTagTemplateFieldRequest { string tag_template_field_id = 2 [(google.api.field_behavior) = REQUIRED]; // Required. The tag template field to create. - TagTemplateField tag_template_field = 3 [(google.api.field_behavior) = REQUIRED]; + TagTemplateField tag_template_field = 3 + [(google.api.field_behavior) = REQUIRED]; } // Request message for @@ -1029,23 +1133,27 @@ message UpdateTagTemplateFieldRequest { ]; // Required. The template to update. - TagTemplateField tag_template_field = 2 [(google.api.field_behavior) = REQUIRED]; + TagTemplateField tag_template_field = 2 + [(google.api.field_behavior) = REQUIRED]; - // Optional. The field mask specifies the parts of the template to be updated. - // Allowed fields: + // Optional. Names of fields whose values to overwrite on an individual field + // of a tag template. The following fields are modifiable: // // * `display_name` // * `type.enum_type` // * `is_required` // - // If `update_mask` is not set or empty, all of the allowed fields above will - // be updated. + // If this parameter is absent or empty, all modifiable fields + // are overwritten. If such fields are non-required and omitted in the request + // body, their values are emptied with one exception: when updating an enum + // type, the provided values are merged with the existing values. Therefore, + // enum values can only be added, existing enum values cannot be deleted or + // renamed. // - // When updating an enum type, the provided values will be merged with the - // existing values. Therefore, enum values can only be added, existing enum - // values cannot be deleted nor renamed. Updating a template field from - // optional to required is NOT allowed. - google.protobuf.FieldMask update_mask = 3 [(google.api.field_behavior) = OPTIONAL]; + // Additionally, updating a template field from optional to required is + // *not* allowed. + google.protobuf.FieldMask update_mask = 3 + [(google.api.field_behavior) = OPTIONAL]; } // Request message for @@ -1061,10 +1169,30 @@ message RenameTagTemplateFieldRequest { } ]; - // Required. The new ID of this tag template field. For example, `my_new_field`. + // Required. The new ID of this tag template field. For example, + // `my_new_field`. string new_tag_template_field_id = 2 [(google.api.field_behavior) = REQUIRED]; } +// Request message for +// [RenameTagTemplateFieldEnumValue][google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateFieldEnumValue]. +message RenameTagTemplateFieldEnumValueRequest { + // Required. The name of the enum field value. Example: + // + // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name} + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "datacatalog.googleapis.com/TagTemplateFieldEnumValue" + } + ]; + + // Required. The new display name of the enum value. For example, + // `my_new_enum_value`. + string new_enum_value_display_name = 2 + [(google.api.field_behavior) = REQUIRED]; +} + // Request message for // [DeleteTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTagTemplateField]. message DeleteTagTemplateFieldRequest { @@ -1087,8 +1215,8 @@ message DeleteTagTemplateFieldRequest { // Request message for // [ListTags][google.cloud.datacatalog.v1beta1.DataCatalog.ListTags]. message ListTagsRequest { - // Required. The name of the Data Catalog resource to list the tags of. The resource - // could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an + // Required. The name of the Data Catalog resource to list the tags of. The + // resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an // [EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup]. // // Examples: diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto index b7c6bcafab90..3373d8858ac1 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -59,9 +59,10 @@ message GcsFilesetSpec { // * `gs://bucket_name/[a-m]??.j*g` repeated string file_patterns = 1 [(google.api.field_behavior) = REQUIRED]; - // Output only. Sample files contained in this fileset, not all files contained in this - // fileset are represented here. - repeated GcsFileSpec sample_gcs_file_specs = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Sample files contained in this fileset, not all files + // contained in this fileset are represented here. + repeated GcsFileSpec sample_gcs_file_specs = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Specifications of a single file in Cloud Storage. @@ -70,7 +71,8 @@ message GcsFileSpec { string file_path = 1 [(google.api.field_behavior) = REQUIRED]; // Output only. Timestamps about the Cloud Storage file. - SystemTimestamps gcs_timestamps = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + SystemTimestamps gcs_timestamps = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The size of the file, in bytes. int64 size_bytes = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanager.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanager.proto index 7cc2090557d3..71efec32b6b8 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanager.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanager.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/datacatalog/v1beta1/common.proto"; import "google/cloud/datacatalog/v1beta1/timestamps.proto"; import "google/iam/v1/iam_policy.proto"; import "google/iam/v1/policy.proto"; @@ -39,7 +40,8 @@ option ruby_package = "Google::Cloud::DataCatalog::V1beta1"; // and policy tags. service PolicyTagManager { option (google.api.default_host) = "datacatalog.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"; // Creates a taxonomy in the specified project. rpc CreateTaxonomy(CreateTaxonomyRequest) returns (Taxonomy) { @@ -128,7 +130,8 @@ service PolicyTagManager { } // Gets the IAM policy for a taxonomy or a policy tag. - rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1beta1/{resource=projects/*/locations/*/taxonomies/*}:getIamPolicy" body: "*" @@ -140,7 +143,8 @@ service PolicyTagManager { } // Sets the IAM policy for a taxonomy or a policy tag. - rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1beta1/{resource=projects/*/locations/*/taxonomies/*}:setIamPolicy" body: "*" @@ -153,7 +157,8 @@ service PolicyTagManager { // Returns the permissions that a caller has on the specified taxonomy or // policy tag. - rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { + rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) + returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { post: "/v1beta1/{resource=projects/*/locations/*/taxonomies/*}:testIamPermissions" body: "*" @@ -186,23 +191,49 @@ message Taxonomy { FINE_GRAINED_ACCESS_CONTROL = 1; } + // The source system of the Taxonomy. + message Service { + // The Google Cloud service name. + ManagingSystem name = 1; + + // The service agent for the service. + string identity = 2; + } + // Output only. Resource name of this taxonomy, whose format is: // "projects/{project_number}/locations/{location_id}/taxonomies/{id}". string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Required. User defined name of this taxonomy. It must: contain only unicode letters, - // numbers, underscores, dashes and spaces; not start or end with spaces; and - // be at most 200 bytes long when encoded in UTF-8. + // Required. User defined name of this taxonomy. It must: contain only unicode + // letters, numbers, underscores, dashes and spaces; not start or end with + // spaces; and be at most 200 bytes long when encoded in UTF-8. + // + // The taxonomy display name must be unique within an organization. string display_name = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. Description of this taxonomy. It must: contain only unicode characters, - // tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes - // long when encoded in UTF-8. If not set, defaults to an empty description. + // Optional. Description of this taxonomy. It must: contain only unicode + // characters, tabs, newlines, carriage returns and page breaks; and be at + // most 2000 bytes long when encoded in UTF-8. If not set, defaults to an + // empty description. string description = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A list of policy types that are activated for this taxonomy. If not set, - // defaults to an empty list. - repeated PolicyType activated_policy_types = 6 [(google.api.field_behavior) = OPTIONAL]; + // Output only. Number of policy tags contained in this taxonomy. + int32 policy_tag_count = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Timestamps about this taxonomy. Only create_time and + // update_time are used. + SystemTimestamps taxonomy_timestamps = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. A list of policy types that are activated for this taxonomy. If + // not set, defaults to an empty list. + repeated PolicyType activated_policy_types = 6 + [(google.api.field_behavior) = OPTIONAL]; + + // Output only. Identity of the service which owns the Taxonomy. This field is + // only populated when the taxonomy is created by a Google Cloud service. + // Currently only 'DATAPLEX' is supported. + Service service = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Denotes one policy tag in a taxonomy (e.g. ssn). Policy Tags can be defined @@ -219,10 +250,10 @@ message PolicyTag { // "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}". string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Required. User defined name of this policy tag. It must: be unique within the parent - // taxonomy; contain only unicode letters, numbers, underscores, dashes and - // spaces; not start or end with spaces; and be at most 200 bytes long when - // encoded in UTF-8. + // Required. User defined name of this policy tag. It must: be unique within + // the parent taxonomy; contain only unicode letters, numbers, underscores, + // dashes and spaces; not start or end with spaces; and be at most 200 bytes + // long when encoded in UTF-8. string display_name = 2 [(google.api.field_behavior) = REQUIRED]; // Description of this policy tag. It must: contain only unicode characters, @@ -240,7 +271,8 @@ message PolicyTag { string parent_policy_tag = 4; // Output only. Resource names of child policy tags of this policy tag. - repeated string child_policy_tags = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated string child_policy_tags = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Request message for @@ -303,6 +335,10 @@ message ListTaxonomiesRequest { // The next_page_token value returned from a previous list request, if any. If // not set, defaults to an empty string. string page_token = 3; + + // Supported field for filter is 'service' and value is 'dataplex'. + // Eg: service=dataplex. + string filter = 4; } // Response message for @@ -346,8 +382,8 @@ message CreatePolicyTagRequest { // Request message for // [DeletePolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.DeletePolicyTag]. message DeletePolicyTagRequest { - // Required. Resource name of the policy tag to be deleted. All of its descendant - // policy tags will also be deleted. + // Required. Resource name of the policy tag to be deleted. All of its + // descendant policy tags will also be deleted. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto index a1b2314d39d4..ff652ff69262 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,11 +17,10 @@ syntax = "proto3"; package google.cloud.datacatalog.v1beta1; import "google/api/annotations.proto"; +import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/datacatalog/v1beta1/policytagmanager.proto"; -import "google/iam/v1/policy.proto"; -import "google/api/client.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1Beta1"; @@ -36,14 +35,16 @@ option ruby_package = "Google::Cloud::DataCatalog::V1beta1"; // their taxonomies and policy tags data with serialized format. service PolicyTagManagerSerialization { option (google.api.default_host) = "datacatalog.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"; // Imports all taxonomies and their policy tags to a project as new // taxonomies. // // This method provides a bulk taxonomy / policy tag creation using nested // proto structure. - rpc ImportTaxonomies(ImportTaxonomiesRequest) returns (ImportTaxonomiesResponse) { + rpc ImportTaxonomies(ImportTaxonomiesRequest) + returns (ImportTaxonomiesResponse) { option (google.api.http) = { post: "/v1beta1/{parent=projects/*/locations/*}/taxonomies:import" body: "*" @@ -54,7 +55,8 @@ service PolicyTagManagerSerialization { // // This method generates SerializedTaxonomy protos with nested policy tags // that can be used as an input for future ImportTaxonomies calls. - rpc ExportTaxonomies(ExportTaxonomiesRequest) returns (ExportTaxonomiesResponse) { + rpc ExportTaxonomies(ExportTaxonomiesRequest) + returns (ExportTaxonomiesResponse) { option (google.api.http) = { get: "/v1beta1/{parent=projects/*/locations/*}/taxonomies:export" }; @@ -64,7 +66,8 @@ service PolicyTagManagerSerialization { // Message capturing a taxonomy and its policy tag hierarchy as a nested proto. // Used for taxonomy import/export and mutation. message SerializedTaxonomy { - // Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8. + // Required. Display name of the taxonomy. Max 200 bytes when encoded in + // UTF-8. string display_name = 1 [(google.api.field_behavior) = REQUIRED]; // Description of the serialized taxonomy. The length of the @@ -74,11 +77,20 @@ message SerializedTaxonomy { // Top level policy tags associated with the taxonomy if any. repeated SerializedPolicyTag policy_tags = 3; + + // A list of policy types that are activated for a taxonomy. + repeated Taxonomy.PolicyType activated_policy_types = 4; } // Message representing one policy tag when exported as a nested proto. message SerializedPolicyTag { - // Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8. + // Resource name of the policy tag. + // + // This field will be ignored when calling ImportTaxonomies. + string policy_tag = 1; + + // Required. Display name of the policy tag. Max 200 bytes when encoded in + // UTF-8. string display_name = 2 [(google.api.field_behavior) = REQUIRED]; // Description of the serialized policy tag. The length of the @@ -93,8 +105,8 @@ message SerializedPolicyTag { // Request message for // [ImportTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ImportTaxonomies]. message ImportTaxonomiesRequest { - // Required. Resource name of project that the newly created taxonomies will - // belong to. + // Required. Resource name of project that the imported taxonomies will belong + // to. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -102,9 +114,9 @@ message ImportTaxonomiesRequest { } ]; - // Required. Source taxonomies to be imported in a tree structure. + // Source taxonomies to be imported. oneof source { - // Inline source used for taxonomies import + // Inline source used for taxonomies to be imported. InlineSource inline_source = 2; } } @@ -112,7 +124,8 @@ message ImportTaxonomiesRequest { // Inline source used for taxonomies import. message InlineSource { // Required. Taxonomies to be imported. - repeated SerializedTaxonomy taxonomies = 1 [(google.api.field_behavior) = REQUIRED]; + repeated SerializedTaxonomy taxonomies = 1 + [(google.api.field_behavior) = REQUIRED]; } // Response message for diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/schema.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/schema.proto index c51234aa494b..1620a6444de5 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/schema.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/schema.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -28,8 +28,8 @@ option ruby_package = "Google::Cloud::DataCatalog::V1beta1"; // Represents a schema (e.g. BigQuery, GoogleSQL, Avro schema). message Schema { - // Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be - // specified. + // Required. Schema of columns. A maximum of 10,000 columns and sub-columns + // can be specified. repeated ColumnSchema columns = 2 [(google.api.field_behavior) = REQUIRED]; } @@ -45,11 +45,12 @@ message ColumnSchema { // Optional. Description of the column. Default value is an empty string. string description = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A column's mode indicates whether the values in this column are required, - // nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are supported. - // Default mode is `NULLABLE`. + // Optional. A column's mode indicates whether the values in this column are + // required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are + // supported. Default mode is `NULLABLE`. string mode = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Schema of sub-columns. A column can have zero or more sub-columns. + // Optional. Schema of sub-columns. A column can have zero or more + // sub-columns. repeated ColumnSchema subcolumns = 7 [(google.api.field_behavior) = OPTIONAL]; } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/search.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/search.proto index 0455662cb866..64a2465eb4bf 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/search.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/search.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,7 +16,8 @@ syntax = "proto3"; package google.cloud.datacatalog.v1beta1; -import "google/cloud/datacatalog/v1beta1/common.proto"; +import "google/api/field_behavior.proto"; +import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1Beta1"; @@ -52,6 +53,9 @@ message SearchCatalogResult { // // * `//bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId` string linked_resource = 4; + + // Last-modified timestamp of the entry from the managing system. + google.protobuf.Timestamp modify_time = 7; } // The different types of resources that can be returned in search. diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/table_spec.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/table_spec.proto index abfc3fe46b17..9f76d8998ed2 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/table_spec.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/table_spec.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -30,7 +30,8 @@ option ruby_package = "Google::Cloud::DataCatalog::V1beta1"; // Describes a BigQuery table. message BigQueryTableSpec { // Output only. The table source type. - TableSourceType table_source_type = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + TableSourceType table_source_type = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. oneof type_spec { @@ -54,6 +55,9 @@ enum TableSourceType { // BigQuery native table. BIGQUERY_TABLE = 5; + + // BigQuery materialized view. + BIGQUERY_MATERIALIZED_VIEW = 7; } // Table view specification. @@ -64,9 +68,9 @@ message ViewSpec { // Normal BigQuery table spec. message TableSpec { - // Output only. If the table is a dated shard, i.e., with name pattern `[prefix]YYYYMMDD`, - // `grouped_entry` is the Data Catalog resource name of the date sharded - // grouped entry, for example, + // Output only. If the table is a dated shard, i.e., with name pattern + // `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of + // the date sharded grouped entry, for example, // `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`. // Otherwise, `grouped_entry` is empty. string grouped_entry = 1 [ @@ -81,8 +85,8 @@ message TableSpec { // Context: // https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding message BigQueryDateShardedSpec { - // Output only. The Data Catalog resource name of the dataset entry the current table - // belongs to, for example, + // Output only. The Data Catalog resource name of the dataset entry the + // current table belongs to, for example, // `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`. string dataset = 1 [ (google.api.field_behavior) = OUTPUT_ONLY, @@ -91,7 +95,8 @@ message BigQueryDateShardedSpec { } ]; - // Output only. The table name prefix of the shards. The name of any given shard is + // Output only. The table name prefix of the shards. The name of any given + // shard is // `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the // `table_prefix` is `MyTable`. string table_prefix = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/tags.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/tags.proto index 57a683bbe061..fa6b407891a6 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/tags.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/tags.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -48,7 +48,8 @@ message Tag { // Note that this Tag may not actually be stored in the location in this name. string name = 1; - // Required. The resource name of the tag template that this tag uses. Example: + // Required. The resource name of the tag template that this tag uses. + // Example: // // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} // @@ -73,9 +74,9 @@ message Tag { string column = 4; } - // Required. This maps the ID of a tag field to the value of and additional information - // about that field. Valid field IDs are defined by the tag's template. A tag - // must have at least 1 field and at most 500 fields. + // Required. This maps the ID of a tag field to the value of and additional + // information about that field. Valid field IDs are defined by the tag's + // template. A tag must have at least 1 field and at most 500 fields. map fields = 3 [(google.api.field_behavior) = REQUIRED]; } @@ -110,8 +111,9 @@ message TagField { EnumValue enum_value = 6; } - // Output only. The order of this field with respect to other fields in this tag. It can be - // set in [Tag][google.cloud.datacatalog.v1beta1.TagTemplateField.order]. For + // Output only. The order of this field with respect to other fields in this + // tag. It can be set in + // [Tag][google.cloud.datacatalog.v1beta1.TagTemplateField.order]. For // example, a higher value can indicate a more important field. The value can // be negative. Multiple fields can have the same order, and field orders // within a tag do not have to be sequential. @@ -119,7 +121,7 @@ message TagField { } // A tag template defines a tag, which can have one or more typed fields. -// The template is used to create and attach the tag to GCP resources. +// The template is used to create and attach the tag to Google Cloud resources. // [Tag template // roles](https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles) // provide permissions to create, edit, and use the template. See, for example, @@ -151,7 +153,8 @@ message TagTemplate { // letters (both uppercase and lowercase), numbers (0-9) and underscores (_). // Field IDs must be at least 1 character long and at most // 64 characters long. Field IDs must start with a letter or underscore. - map fields = 3 [(google.api.field_behavior) = REQUIRED]; + map fields = 3 + [(google.api.field_behavior) = REQUIRED]; } // The template for an individual field within a tag template. @@ -161,7 +164,8 @@ message TagTemplateField { pattern: "projects/{project}/locations/{location}/tagTemplates/{tag_template}/fields/{field}" }; - // Output only. The resource name of the tag template field in URL format. Example: + // Output only. The resource name of the tag template field in URL format. + // Example: // // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field} // @@ -178,6 +182,9 @@ message TagTemplateField { // Whether this is a required field. Defaults to false. bool is_required = 3; + // The description for this field. Defaults to an empty string. + string description = 4; + // The order of this field with respect to other fields in this tag // template. A higher value indicates a more important field. The value can // be negative. Multiple fields can have the same order, and field orders @@ -186,21 +193,6 @@ message TagTemplateField { } message FieldType { - message EnumType { - message EnumValue { - // Required. The display name of the enum value. Must not be an empty string. - string display_name = 1 [(google.api.field_behavior) = REQUIRED]; - } - - // Required on create; optional on update. The set of allowed values for - // this enum. This set must not be empty, the display names of the values in - // this set must not be empty and the display names of the values must be - // case-insensitively unique within this set. Currently, enum values can - // only be added to the list of allowed values. Deletion and renaming of - // enum values are not supported. Can have up to 500 allowed values. - repeated EnumValue allowed_values = 1; - } - enum PrimitiveType { // This is the default invalid value for a type. PRIMITIVE_TYPE_UNSPECIFIED = 0; @@ -218,6 +210,16 @@ message FieldType { TIMESTAMP = 4; } + message EnumType { + message EnumValue { + // Required. The display name of the enum value. Must not be an empty + // string. + string display_name = 1 [(google.api.field_behavior) = REQUIRED]; + } + + repeated EnumValue allowed_values = 1; + } + // Required. oneof type_decl { // Represents primitive types - string, bool etc. diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/timestamps.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/timestamps.proto index e524d671c99c..4f10cc7e2235 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/timestamps.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/timestamps.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -37,5 +37,6 @@ message SystemTimestamps { // Output only. The expiration time of the resource within the given system. // Currently only apllicable to BigQuery resources. - google.protobuf.Timestamp expire_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp expire_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/usage.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/usage.proto new file mode 100644 index 000000000000..f01efeaba76e --- /dev/null +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/usage.proto @@ -0,0 +1,60 @@ +// Copyright 2023 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 +// +// http://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. + +syntax = "proto3"; + +package google.cloud.datacatalog.v1beta1; + +import "google/protobuf/timestamp.proto"; + +option cc_enable_arenas = true; +option csharp_namespace = "Google.Cloud.DataCatalog.V1Beta1"; +option go_package = "cloud.google.com/go/datacatalog/apiv1beta1/datacatalogpb;datacatalogpb"; +option java_multiple_files = true; +option java_package = "com.google.cloud.datacatalog.v1beta1"; +option php_namespace = "Google\\Cloud\\DataCatalog\\V1beta1"; +option ruby_package = "Google::Cloud::DataCatalog::V1beta1"; + +// Detailed counts on the entry's usage. +// Caveats: +// - Only BigQuery tables have usage stats +// - The usage stats only include BigQuery query jobs +// - The usage stats might be underestimated, e.g. wildcard table references +// are not yet counted in usage computation +// https://cloud.google.com/bigquery/docs/querying-wildcard-tables +message UsageStats { + // The number of times that the underlying entry was successfully used. + float total_completions = 1; + + // The number of times that the underlying entry was attempted to be used + // but failed. + float total_failures = 2; + + // The number of times that the underlying entry was attempted to be used + // but was cancelled by the user. + float total_cancellations = 3; + + // Total time spent (in milliseconds) during uses the resulted in completions. + float total_execution_time_for_completions_millis = 4; +} + +// The set of all usage signals that we store in Data Catalog. +message UsageSignal { + // The timestamp of the end of the usage statistics duration. + google.protobuf.Timestamp update_time = 1; + + // Usage statistics over each of the pre-defined time ranges, supported + // strings for time ranges are {"24H", "7D", "30D"}. + map usage_within_time_range = 2; +} diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/AsyncRenameTagTemplateFieldEnumValue.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/AsyncRenameTagTemplateFieldEnumValue.java new file mode 100644 index 000000000000..2370f1e8ee22 --- /dev/null +++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/AsyncRenameTagTemplateFieldEnumValue.java @@ -0,0 +1,58 @@ +/* + * Copyright 2023 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.datacatalog.v1beta1.samples; + +// [START datacatalog_v1beta1_generated_DataCatalog_RenameTagTemplateFieldEnumValue_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.datacatalog.v1beta1.DataCatalogClient; +import com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest; +import com.google.cloud.datacatalog.v1beta1.TagTemplateField; +import com.google.cloud.datacatalog.v1beta1.TagTemplateFieldEnumValueName; + +public class AsyncRenameTagTemplateFieldEnumValue { + + public static void main(String[] args) throws Exception { + asyncRenameTagTemplateFieldEnumValue(); + } + + public static void asyncRenameTagTemplateFieldEnumValue() 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 (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { + RenameTagTemplateFieldEnumValueRequest request = + RenameTagTemplateFieldEnumValueRequest.newBuilder() + .setName( + TagTemplateFieldEnumValueName.of( + "[PROJECT]", + "[LOCATION]", + "[TAG_TEMPLATE]", + "[TAG_TEMPLATE_FIELD_ID]", + "[ENUM_VALUE_DISPLAY_NAME]") + .toString()) + .setNewEnumValueDisplayName("newEnumValueDisplayName-1119629027") + .build(); + ApiFuture future = + dataCatalogClient.renameTagTemplateFieldEnumValueCallable().futureCall(request); + // Do something. + TagTemplateField response = future.get(); + } + } +} +// [END datacatalog_v1beta1_generated_DataCatalog_RenameTagTemplateFieldEnumValue_async] diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValue.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValue.java new file mode 100644 index 000000000000..7bd553654841 --- /dev/null +++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValue.java @@ -0,0 +1,54 @@ +/* + * Copyright 2023 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.datacatalog.v1beta1.samples; + +// [START datacatalog_v1beta1_generated_DataCatalog_RenameTagTemplateFieldEnumValue_sync] +import com.google.cloud.datacatalog.v1beta1.DataCatalogClient; +import com.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest; +import com.google.cloud.datacatalog.v1beta1.TagTemplateField; +import com.google.cloud.datacatalog.v1beta1.TagTemplateFieldEnumValueName; + +public class SyncRenameTagTemplateFieldEnumValue { + + public static void main(String[] args) throws Exception { + syncRenameTagTemplateFieldEnumValue(); + } + + public static void syncRenameTagTemplateFieldEnumValue() 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 (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { + RenameTagTemplateFieldEnumValueRequest request = + RenameTagTemplateFieldEnumValueRequest.newBuilder() + .setName( + TagTemplateFieldEnumValueName.of( + "[PROJECT]", + "[LOCATION]", + "[TAG_TEMPLATE]", + "[TAG_TEMPLATE_FIELD_ID]", + "[ENUM_VALUE_DISPLAY_NAME]") + .toString()) + .setNewEnumValueDisplayName("newEnumValueDisplayName-1119629027") + .build(); + TagTemplateField response = dataCatalogClient.renameTagTemplateFieldEnumValue(request); + } + } +} +// [END datacatalog_v1beta1_generated_DataCatalog_RenameTagTemplateFieldEnumValue_sync] diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueStringString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueStringString.java new file mode 100644 index 000000000000..290e04e8da6c --- /dev/null +++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueStringString.java @@ -0,0 +1,51 @@ +/* + * Copyright 2023 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.datacatalog.v1beta1.samples; + +// [START datacatalog_v1beta1_generated_DataCatalog_RenameTagTemplateFieldEnumValue_StringString_sync] +import com.google.cloud.datacatalog.v1beta1.DataCatalogClient; +import com.google.cloud.datacatalog.v1beta1.TagTemplateField; +import com.google.cloud.datacatalog.v1beta1.TagTemplateFieldEnumValueName; + +public class SyncRenameTagTemplateFieldEnumValueStringString { + + public static void main(String[] args) throws Exception { + syncRenameTagTemplateFieldEnumValueStringString(); + } + + public static void syncRenameTagTemplateFieldEnumValueStringString() 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 (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { + String name = + TagTemplateFieldEnumValueName.of( + "[PROJECT]", + "[LOCATION]", + "[TAG_TEMPLATE]", + "[TAG_TEMPLATE_FIELD_ID]", + "[ENUM_VALUE_DISPLAY_NAME]") + .toString(); + String newEnumValueDisplayName = "newEnumValueDisplayName-1119629027"; + TagTemplateField response = + dataCatalogClient.renameTagTemplateFieldEnumValue(name, newEnumValueDisplayName); + } + } +} +// [END datacatalog_v1beta1_generated_DataCatalog_RenameTagTemplateFieldEnumValue_StringString_sync] diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString.java new file mode 100644 index 000000000000..b01c5d445e05 --- /dev/null +++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/datacatalog/renametagtemplatefieldenumvalue/SyncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString.java @@ -0,0 +1,51 @@ +/* + * Copyright 2023 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.datacatalog.v1beta1.samples; + +// [START datacatalog_v1beta1_generated_DataCatalog_RenameTagTemplateFieldEnumValue_TagtemplatefieldenumvaluenameString_sync] +import com.google.cloud.datacatalog.v1beta1.DataCatalogClient; +import com.google.cloud.datacatalog.v1beta1.TagTemplateField; +import com.google.cloud.datacatalog.v1beta1.TagTemplateFieldEnumValueName; + +public class SyncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString { + + public static void main(String[] args) throws Exception { + syncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString(); + } + + public static void syncRenameTagTemplateFieldEnumValueTagtemplatefieldenumvaluenameString() + 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 (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) { + TagTemplateFieldEnumValueName name = + TagTemplateFieldEnumValueName.of( + "[PROJECT]", + "[LOCATION]", + "[TAG_TEMPLATE]", + "[TAG_TEMPLATE_FIELD_ID]", + "[ENUM_VALUE_DISPLAY_NAME]"); + String newEnumValueDisplayName = "newEnumValueDisplayName-1119629027"; + TagTemplateField response = + dataCatalogClient.renameTagTemplateFieldEnumValue(name, newEnumValueDisplayName); + } + } +} +// [END datacatalog_v1beta1_generated_DataCatalog_RenameTagTemplateFieldEnumValue_TagtemplatefieldenumvaluenameString_sync] diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomies.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomies.java index 228721fb5def..974b00838e6a 100644 --- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomies.java +++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomies.java @@ -41,6 +41,7 @@ public static void asyncListTaxonomies() throws Exception { .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setPageSize(883849137) .setPageToken("pageToken873572522") + .setFilter("filter-1274492040") .build(); ApiFuture future = policyTagManagerClient.listTaxonomiesPagedCallable().futureCall(request); diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomiesPaged.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomiesPaged.java index 993af2b43d88..7834c30f77e4 100644 --- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomiesPaged.java +++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/AsyncListTaxonomiesPaged.java @@ -42,6 +42,7 @@ public static void asyncListTaxonomiesPaged() throws Exception { .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setPageSize(883849137) .setPageToken("pageToken873572522") + .setFilter("filter-1274492040") .build(); while (true) { ListTaxonomiesResponse response = diff --git a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomies.java b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomies.java index db325c7abf66..c45815e28d00 100644 --- a/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomies.java +++ b/java-datacatalog/samples/snippets/generated/com/google/cloud/datacatalog/v1beta1/policytagmanager/listtaxonomies/SyncListTaxonomies.java @@ -40,6 +40,7 @@ public static void syncListTaxonomies() throws Exception { .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setPageSize(883849137) .setPageToken("pageToken873572522") + .setFilter("filter-1274492040") .build(); for (Taxonomy element : policyTagManagerClient.listTaxonomies(request).iterateAll()) { // doThingsWith(element);