diff --git a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogClient.java b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogClient.java index 796e9972..c38784a8 100644 --- a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogClient.java +++ b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogClient.java @@ -44,8 +44,8 @@ // AUTO-GENERATED DOCUMENTATION AND CLASS. /** - * Service Description: Data Catalog API service allows clients to discover, understand, and manage - * their data. + * Service Description: Data Catalog API service allows you to discover, understand, and manage your + * data. * *

This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. Sample code to get started: @@ -159,19 +159,18 @@ public DataCatalogStub getStub() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Searches Data Catalog for multiple resources like entries, tags that match a query. + * Searches Data Catalog for multiple resources like entries and tags that match a query. * - *

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 - * subsequently call `Get` methods. + *

This is a [Custom Method] (https://cloud.google.com/apis/design/custom_methods) that doesn't + * return all information on a resource, only its ID and high level fields. To get more + * information, you can subsequently call specific 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 across repeated search queries. + *

Note: Data Catalog 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. * - *

See [Data Catalog Search - * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference) for more - * information. + *

For more information, see [Data Catalog search syntax] + * (https://cloud.google.com/data-catalog/docs/how-to/search-reference). * *

Sample code: * @@ -186,21 +185,22 @@ 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 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 scope Required. The scope of this search request. + *

The `scope` is invalid if `include_org_ids`, `include_project_ids` are empty AND + * `include_gcp_public_datasets` is set to `false`. In this case, the request returns an + * error. + * @param query Optional. The query string with a minimum of 3 characters and specific syntax. For + * more information, see [Data Catalog search + * syntax](/data-catalog/docs/how-to/search-reference). + *

An empty query string returns all data assets (in the specified scope) that you have + * access to. + *

A query string can be a simple `xyz` or qualified by predicates: *

- *

Note: Query tokens need to have a minimum of 3 characters for substring matching to work - * correctly. See [Data Catalog Search - * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference) for more - * information. + * * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final SearchCatalogPagedResponse searchCatalog( @@ -212,19 +212,18 @@ public final SearchCatalogPagedResponse searchCatalog( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Searches Data Catalog for multiple resources like entries, tags that match a query. + * Searches Data Catalog for multiple resources like entries and tags that match a query. * - *

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 - * subsequently call `Get` methods. + *

This is a [Custom Method] (https://cloud.google.com/apis/design/custom_methods) that doesn't + * return all information on a resource, only its ID and high level fields. To get more + * information, you can subsequently call specific 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 across repeated search queries. + *

Note: Data Catalog 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. * - *

See [Data Catalog Search - * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference) for more - * information. + *

For more information, see [Data Catalog search syntax] + * (https://cloud.google.com/data-catalog/docs/how-to/search-reference). * *

Sample code: * @@ -253,19 +252,18 @@ public final SearchCatalogPagedResponse searchCatalog(SearchCatalogRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Searches Data Catalog for multiple resources like entries, tags that match a query. + * Searches Data Catalog for multiple resources like entries and tags that match a query. * - *

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 - * subsequently call `Get` methods. + *

This is a [Custom Method] (https://cloud.google.com/apis/design/custom_methods) that doesn't + * return all information on a resource, only its ID and high level fields. To get more + * information, you can subsequently call specific 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 across repeated search queries. + *

Note: Data Catalog 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. * - *

See [Data Catalog Search - * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference) for more - * information. + *

For more information, see [Data Catalog search syntax] + * (https://cloud.google.com/data-catalog/docs/how-to/search-reference). * *

Sample code: * @@ -295,19 +293,18 @@ public final SearchCatalogPagedResponse searchCatalog(SearchCatalogRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Searches Data Catalog for multiple resources like entries, tags that match a query. + * Searches Data Catalog for multiple resources like entries and tags that match a query. * - *

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 - * subsequently call `Get` methods. + *

This is a [Custom Method] (https://cloud.google.com/apis/design/custom_methods) that doesn't + * return all information on a resource, only its ID and high level fields. To get more + * information, you can subsequently call specific 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 across repeated search queries. + *

Note: Data Catalog 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. * - *

See [Data Catalog Search - * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference) for more - * information. + *

For more information, see [Data Catalog search syntax] + * (https://cloud.google.com/data-catalog/docs/how-to/search-reference). * *

Sample code: * @@ -342,22 +339,32 @@ public final UnaryCallable searchCa // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates an EntryGroup. + * Creates an entry group. + * + *

An entry group contains logically related entries together with [Cloud Identity and Access + * Management](/data-catalog/docs/concepts/iam) policies. These policies specify users who can + * create, edit, and view entries within entry groups. + * + *

Data Catalog automatically creates entry groups with names that start with the + * `{@literal @}` symbol for the following resources: + * + *

* - *

An entry group contains logically related entries together with Cloud Identity and Access - * Management policies that specify the users who can create, edit, and view entries within the - * entry group. + *

You can create your own entry groups for Cloud Storage fileset entries and custom entries + * together with the corresponding IAM policies. User-created entry groups can't contain the + * `{@literal @}` symbol, it is reserved for automatically created groups. * - *

Data Catalog automatically creates an entry group for BigQuery entries - * ("{@literal @}bigquery") and Pub/Sub topics ("{@literal @}pubsub"). Users create their own - * entry group to contain Cloud Storage fileset entries or custom type entries, and the IAM - * policies associated with those entries. Entry groups, like entries, can be searched. + *

Entry groups, like entries, can be searched. * *

A maximum of 10,000 entry groups may be created per organization across all locations. * - *

Users should enable the Data Catalog API in the project identified by the `parent` parameter - * (see [Data Catalog Resource Project] - * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information). + *

You must enable the Data Catalog API in the project identified by the `parent` parameter. + * For more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -370,14 +377,14 @@ public final UnaryCallable searchCa * } * } * - * @param parent Required. The name of the project this entry group belongs to. Example: - *

`projects/{project_id}/locations/{location}` + * @param parent Required. The names of the project and location that the new entry group belongs + * to. *

Note: The entry group itself and its child resources might not be stored in the location * specified in its name. * @param entryGroupId Required. The ID of the entry group to create. *

The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and must * start with a letter or underscore. The maximum size is 64 bytes when encoded in UTF-8. - * @param entryGroup The entry group to create. Defaults to an empty entry group. + * @param entryGroup The entry group to create. Defaults to empty. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final EntryGroup createEntryGroup( @@ -393,22 +400,32 @@ public final EntryGroup createEntryGroup( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates an EntryGroup. + * Creates an entry group. * - *

An entry group contains logically related entries together with Cloud Identity and Access - * Management policies that specify the users who can create, edit, and view entries within the - * entry group. + *

An entry group contains logically related entries together with [Cloud Identity and Access + * Management](/data-catalog/docs/concepts/iam) policies. These policies specify users who can + * create, edit, and view entries within entry groups. * - *

Data Catalog automatically creates an entry group for BigQuery entries - * ("{@literal @}bigquery") and Pub/Sub topics ("{@literal @}pubsub"). Users create their own - * entry group to contain Cloud Storage fileset entries or custom type entries, and the IAM - * policies associated with those entries. Entry groups, like entries, can be searched. + *

Data Catalog automatically creates entry groups with names that start with the + * `{@literal @}` symbol for the following resources: + * + *

+ * + *

You can create your own entry groups for Cloud Storage fileset entries and custom entries + * together with the corresponding IAM policies. User-created entry groups can't contain the + * `{@literal @}` symbol, it is reserved for automatically created groups. + * + *

Entry groups, like entries, can be searched. * *

A maximum of 10,000 entry groups may be created per organization across all locations. * - *

Users should enable the Data Catalog API in the project identified by the `parent` parameter - * (see [Data Catalog Resource Project] - * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information). + *

You must enable the Data Catalog API in the project identified by the `parent` parameter. + * For more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -421,14 +438,14 @@ public final EntryGroup createEntryGroup( * } * } * - * @param parent Required. The name of the project this entry group belongs to. Example: - *

`projects/{project_id}/locations/{location}` + * @param parent Required. The names of the project and location that the new entry group belongs + * to. *

Note: The entry group itself and its child resources might not be stored in the location * specified in its name. * @param entryGroupId Required. The ID of the entry group to create. *

The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and must * start with a letter or underscore. The maximum size is 64 bytes when encoded in UTF-8. - * @param entryGroup The entry group to create. Defaults to an empty entry group. + * @param entryGroup The entry group to create. Defaults to empty. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final EntryGroup createEntryGroup( @@ -444,22 +461,32 @@ public final EntryGroup createEntryGroup( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates an EntryGroup. + * Creates an entry group. + * + *

An entry group contains logically related entries together with [Cloud Identity and Access + * Management](/data-catalog/docs/concepts/iam) policies. These policies specify users who can + * create, edit, and view entries within entry groups. * - *

An entry group contains logically related entries together with Cloud Identity and Access - * Management policies that specify the users who can create, edit, and view entries within the - * entry group. + *

Data Catalog automatically creates entry groups with names that start with the + * `{@literal @}` symbol for the following resources: * - *

Data Catalog automatically creates an entry group for BigQuery entries - * ("{@literal @}bigquery") and Pub/Sub topics ("{@literal @}pubsub"). Users create their own - * entry group to contain Cloud Storage fileset entries or custom type entries, and the IAM - * policies associated with those entries. Entry groups, like entries, can be searched. + *

+ * + *

You can create your own entry groups for Cloud Storage fileset entries and custom entries + * together with the corresponding IAM policies. User-created entry groups can't contain the + * `{@literal @}` symbol, it is reserved for automatically created groups. + * + *

Entry groups, like entries, can be searched. * *

A maximum of 10,000 entry groups may be created per organization across all locations. * - *

Users should enable the Data Catalog API in the project identified by the `parent` parameter - * (see [Data Catalog Resource Project] - * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information). + *

You must enable the Data Catalog API in the project identified by the `parent` parameter. + * For more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -484,22 +511,32 @@ public final EntryGroup createEntryGroup(CreateEntryGroupRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates an EntryGroup. + * Creates an entry group. + * + *

An entry group contains logically related entries together with [Cloud Identity and Access + * Management](/data-catalog/docs/concepts/iam) policies. These policies specify users who can + * create, edit, and view entries within entry groups. + * + *

Data Catalog automatically creates entry groups with names that start with the + * `{@literal @}` symbol for the following resources: * - *

An entry group contains logically related entries together with Cloud Identity and Access - * Management policies that specify the users who can create, edit, and view entries within the - * entry group. + *

* - *

Data Catalog automatically creates an entry group for BigQuery entries - * ("{@literal @}bigquery") and Pub/Sub topics ("{@literal @}pubsub"). Users create their own - * entry group to contain Cloud Storage fileset entries or custom type entries, and the IAM - * policies associated with those entries. Entry groups, like entries, can be searched. + *

You can create your own entry groups for Cloud Storage fileset entries and custom entries + * together with the corresponding IAM policies. User-created entry groups can't contain the + * `{@literal @}` symbol, it is reserved for automatically created groups. + * + *

Entry groups, like entries, can be searched. * *

A maximum of 10,000 entry groups may be created per organization across all locations. * - *

Users should enable the Data Catalog API in the project identified by the `parent` parameter - * (see [Data Catalog Resource Project] - * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information). + *

You must enable the Data Catalog API in the project identified by the `parent` parameter. + * For more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -524,7 +561,7 @@ public final UnaryCallable createEntryGroup // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Gets an EntryGroup. + * Gets an entry group. * *

Sample code: * @@ -535,8 +572,7 @@ public final UnaryCallable createEntryGroup * } * } * - * @param name Required. The name of the entry group. For example, - * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`. + * @param name Required. The name of the entry group to get. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final EntryGroup getEntryGroup(EntryGroupName name) { @@ -547,7 +583,7 @@ public final EntryGroup getEntryGroup(EntryGroupName name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Gets an EntryGroup. + * Gets an entry group. * *

Sample code: * @@ -558,8 +594,7 @@ public final EntryGroup getEntryGroup(EntryGroupName name) { * } * } * - * @param name Required. The name of the entry group. For example, - * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`. + * @param name Required. The name of the entry group to get. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final EntryGroup getEntryGroup(String name) { @@ -569,7 +604,7 @@ public final EntryGroup getEntryGroup(String name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Gets an EntryGroup. + * Gets an entry group. * *

Sample code: * @@ -581,9 +616,8 @@ public final EntryGroup getEntryGroup(String name) { * } * } * - * @param name Required. The name of the entry group. For example, - * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`. - * @param readMask The fields to return. If not set or empty, all fields are returned. + * @param name Required. The name of the entry group to get. + * @param readMask The fields to return. If empty or omitted, all fields are returned. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final EntryGroup getEntryGroup(EntryGroupName name, FieldMask readMask) { @@ -597,7 +631,7 @@ public final EntryGroup getEntryGroup(EntryGroupName name, FieldMask readMask) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Gets an EntryGroup. + * Gets an entry group. * *

Sample code: * @@ -609,9 +643,8 @@ public final EntryGroup getEntryGroup(EntryGroupName name, FieldMask readMask) { * } * } * - * @param name Required. The name of the entry group. For example, - * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`. - * @param readMask The fields to return. If not set or empty, all fields are returned. + * @param name Required. The name of the entry group to get. + * @param readMask The fields to return. If empty or omitted, all fields are returned. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final EntryGroup getEntryGroup(String name, FieldMask readMask) { @@ -622,7 +655,7 @@ public final EntryGroup getEntryGroup(String name, FieldMask readMask) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Gets an EntryGroup. + * Gets an entry group. * *

Sample code: * @@ -646,7 +679,7 @@ public final EntryGroup getEntryGroup(GetEntryGroupRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Gets an EntryGroup. + * Gets an entry group. * *

Sample code: * @@ -669,9 +702,11 @@ public final UnaryCallable getEntryGroupCallab // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Updates an EntryGroup. The user should enable the Data Catalog API in the project identified by - * the `entry_group.name` parameter (see [Data Catalog Resource Project] - * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information). + * Updates an entry group. + * + *

You must enable the Data Catalog API in the project identified by the `entry_group.name` + * parameter. For more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -682,7 +717,7 @@ public final UnaryCallable getEntryGroupCallab * } * } * - * @param entryGroup Required. The updated entry group. "name" field must be set. + * @param entryGroup Required. Updates for the entry group. The `name` field must be set. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final EntryGroup updateEntryGroup(EntryGroup entryGroup) { @@ -693,9 +728,11 @@ public final EntryGroup updateEntryGroup(EntryGroup entryGroup) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Updates an EntryGroup. The user should enable the Data Catalog API in the project identified by - * the `entry_group.name` parameter (see [Data Catalog Resource Project] - * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information). + * Updates an entry group. + * + *

You must enable the Data Catalog API in the project identified by the `entry_group.name` + * parameter. For more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -707,7 +744,7 @@ public final EntryGroup updateEntryGroup(EntryGroup entryGroup) { * } * } * - * @param entryGroup Required. The updated entry group. "name" field must be set. + * @param entryGroup Required. Updates for the entry group. The `name` field must be set. * @param updateMask 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. @@ -724,9 +761,11 @@ public final EntryGroup updateEntryGroup(EntryGroup entryGroup, FieldMask update // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Updates an EntryGroup. The user should enable the Data Catalog API in the project identified by - * the `entry_group.name` parameter (see [Data Catalog Resource Project] - * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information). + * Updates an entry group. + * + *

You must enable the Data Catalog API in the project identified by the `entry_group.name` + * parameter. For more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -750,9 +789,11 @@ public final EntryGroup updateEntryGroup(UpdateEntryGroupRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Updates an EntryGroup. The user should enable the Data Catalog API in the project identified by - * the `entry_group.name` parameter (see [Data Catalog Resource Project] - * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information). + * Updates an entry group. + * + *

You must enable the Data Catalog API in the project identified by the `entry_group.name` + * parameter. For more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -776,10 +817,11 @@ public final UnaryCallable updateEntryGroup // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Deletes an EntryGroup. Only entry groups that do not contain entries can be deleted. 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). + * Deletes an entry group. + * + *

You must enable the Data Catalog API in the project identified by the `name` parameter. For + * more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -790,8 +832,7 @@ public final UnaryCallable updateEntryGroup * } * } * - * @param name Required. The name of the entry group. For example, - * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`. + * @param name Required. The name of the entry group to delete. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteEntryGroup(EntryGroupName name) { @@ -802,10 +843,11 @@ public final void deleteEntryGroup(EntryGroupName name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Deletes an EntryGroup. Only entry groups that do not contain entries can be deleted. 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). + * Deletes an entry group. + * + *

You must enable the Data Catalog API in the project identified by the `name` parameter. For + * more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -816,8 +858,7 @@ public final void deleteEntryGroup(EntryGroupName name) { * } * } * - * @param name Required. The name of the entry group. For example, - * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`. + * @param name Required. The name of the entry group to delete. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteEntryGroup(String name) { @@ -827,10 +868,11 @@ public final void deleteEntryGroup(String name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Deletes an EntryGroup. Only entry groups that do not contain entries can be deleted. 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). + * Deletes an entry group. + * + *

You must enable the Data Catalog API in the project identified by the `name` parameter. For + * more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -854,10 +896,11 @@ public final void deleteEntryGroup(DeleteEntryGroupRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Deletes an EntryGroup. Only entry groups that do not contain entries can be deleted. 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). + * Deletes an entry group. + * + *

You must enable the Data Catalog API in the project identified by the `name` parameter. For + * more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -893,12 +936,8 @@ public final UnaryCallable deleteEntryGroupCalla * } * } * - * @param parent Required. The name of the location that contains the entry groups, which can be - * provided in URL format. Example: - *

- * + * @param parent Required. The name of the location that contains the entry groups to list. + *

Can be provided as a URL. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListEntryGroupsPagedResponse listEntryGroups(EntryGroupName parent) { @@ -924,12 +963,8 @@ public final ListEntryGroupsPagedResponse listEntryGroups(EntryGroupName parent) * } * } * - * @param parent Required. The name of the location that contains the entry groups, which can be - * provided in URL format. Example: - *

- * + * @param parent Required. The name of the location that contains the entry groups to list. + *

Can be provided as a URL. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListEntryGroupsPagedResponse listEntryGroups(String parent) { @@ -1029,14 +1064,17 @@ public final ListEntryGroupsPagedResponse listEntryGroups(ListEntryGroupsRequest // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates an entry. Only entries of types 'FILESET', 'CLUSTER', 'DATA_STREAM' or with a - * user-specified type can be created. + * Creates an entry. * - *

Users should enable the Data Catalog API in the project identified by the `parent` parameter - * (see [Data Catalog Resource Project] - * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information). + *

You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM', or custom types. Data + * Catalog automatically creates entries with other types during metadata ingestion from + * integrated systems. * - *

A maximum of 100,000 entries may be created per entry group. + *

You must enable the Data Catalog API in the project identified by the `parent` parameter. + * For more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). + * + *

An entry group can have a maximum of 100,000 entries. * *

Sample code: * @@ -1049,8 +1087,7 @@ public final ListEntryGroupsPagedResponse listEntryGroups(ListEntryGroupsRequest * } * } * - * @param parent Required. The name of the entry group this entry belongs to. Example: - *

`projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}` + * @param parent Required. The name of the entry group this entry belongs to. *

Note: The entry itself and its child resources might not be stored in the location * specified in its name. * @param entryId Required. The ID of the entry to create. @@ -1071,14 +1108,17 @@ public final Entry createEntry(EntryGroupName parent, String entryId, Entry entr // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates an entry. Only entries of types 'FILESET', 'CLUSTER', 'DATA_STREAM' or with a - * user-specified type can be created. + * Creates an entry. + * + *

You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM', or custom types. Data + * Catalog automatically creates entries with other types during metadata ingestion from + * integrated systems. * - *

Users should enable the Data Catalog API in the project identified by the `parent` parameter - * (see [Data Catalog Resource Project] - * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information). + *

You must enable the Data Catalog API in the project identified by the `parent` parameter. + * For more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * - *

A maximum of 100,000 entries may be created per entry group. + *

An entry group can have a maximum of 100,000 entries. * *

Sample code: * @@ -1091,8 +1131,7 @@ public final Entry createEntry(EntryGroupName parent, String entryId, Entry entr * } * } * - * @param parent Required. The name of the entry group this entry belongs to. Example: - *

`projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}` + * @param parent Required. The name of the entry group this entry belongs to. *

Note: The entry itself and its child resources might not be stored in the location * specified in its name. * @param entryId Required. The ID of the entry to create. @@ -1113,14 +1152,17 @@ public final Entry createEntry(String parent, String entryId, Entry entry) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates an entry. Only entries of types 'FILESET', 'CLUSTER', 'DATA_STREAM' or with a - * user-specified type can be created. + * Creates an entry. + * + *

You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM', or custom types. Data + * Catalog automatically creates entries with other types during metadata ingestion from + * integrated systems. * - *

Users should enable the Data Catalog API in the project identified by the `parent` parameter - * (see [Data Catalog Resource Project] - * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information). + *

You must enable the Data Catalog API in the project identified by the `parent` parameter. + * For more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * - *

A maximum of 100,000 entries may be created per entry group. + *

An entry group can have a maximum of 100,000 entries. * *

Sample code: * @@ -1145,14 +1187,17 @@ public final Entry createEntry(CreateEntryRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates an entry. Only entries of types 'FILESET', 'CLUSTER', 'DATA_STREAM' or with a - * user-specified type can be created. + * Creates an entry. * - *

Users should enable the Data Catalog API in the project identified by the `parent` parameter - * (see [Data Catalog Resource Project] - * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information). + *

You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM', or custom types. Data + * Catalog automatically creates entries with other types during metadata ingestion from + * integrated systems. * - *

A maximum of 100,000 entries may be created per entry group. + *

You must enable the Data Catalog API in the project identified by the `parent` parameter. + * For more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). + * + *

An entry group can have a maximum of 100,000 entries. * *

Sample code: * @@ -1176,9 +1221,11 @@ public final UnaryCallable createEntryCallable() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Updates an existing entry. Users should enable the Data Catalog API in the project identified - * by the `entry.name` parameter (see [Data Catalog Resource Project] - * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information). + * Updates an existing entry. + * + *

You must enable the Data Catalog API in the project identified by the `entry.name` + * parameter. For more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -1189,7 +1236,7 @@ public final UnaryCallable createEntryCallable() { * } * } * - * @param entry Required. The updated entry. The "name" field must be set. + * @param entry Required. Updates for the entry. The `name` field must be set. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Entry updateEntry(Entry entry) { @@ -1199,9 +1246,11 @@ public final Entry updateEntry(Entry entry) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Updates an existing entry. Users should enable the Data Catalog API in the project identified - * by the `entry.name` parameter (see [Data Catalog Resource Project] - * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information). + * Updates an existing entry. + * + *

You must enable the Data Catalog API in the project identified by the `entry.name` + * parameter. For more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -1213,18 +1262,32 @@ public final Entry updateEntry(Entry entry) { * } * } * - * @param entry Required. The updated entry. The "name" field must be set. + * @param entry Required. Updates for the entry. The `name` field must be set. * @param updateMask 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: + *

You can modify only the fields listed below. + *

For entries with type `DATA_STREAM`: + *

+ *

For entries with type `FILESET`: + *

+ *

For entries with `user_specified_type`: *

* * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -1237,9 +1300,11 @@ public final Entry updateEntry(Entry entry, FieldMask updateMask) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Updates an existing entry. Users should enable the Data Catalog API in the project identified - * by the `entry.name` parameter (see [Data Catalog Resource Project] - * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information). + * Updates an existing entry. + * + *

You must enable the Data Catalog API in the project identified by the `entry.name` + * parameter. For more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -1263,9 +1328,11 @@ public final Entry updateEntry(UpdateEntryRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Updates an existing entry. Users should enable the Data Catalog API in the project identified - * by the `entry.name` parameter (see [Data Catalog Resource Project] - * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information). + * Updates an existing entry. + * + *

You must enable the Data Catalog API in the project identified by the `entry.name` + * parameter. For more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -1288,11 +1355,14 @@ public final UnaryCallable updateEntryCallable() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Deletes an existing entry. Only entries created through - * [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry] method can be deleted. 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). + * Deletes an existing entry. + * + *

You can delete only the entries created by the + * [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry] method. + * + *

You must enable the Data Catalog API in the project identified by the `name` parameter. For + * more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -1303,11 +1373,7 @@ public final UnaryCallable updateEntryCallable() { * } * } * - * @param name Required. The name of the entry. Example: - *

- * + * @param name Required. The name of the entry to delete. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteEntry(EntryName name) { @@ -1318,11 +1384,14 @@ public final void deleteEntry(EntryName name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Deletes an existing entry. Only entries created through - * [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry] method can be deleted. 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). + * Deletes an existing entry. + * + *

You can delete only the entries created by the + * [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry] method. + * + *

You must enable the Data Catalog API in the project identified by the `name` parameter. For + * more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -1333,11 +1402,7 @@ public final void deleteEntry(EntryName name) { * } * } * - * @param name Required. The name of the entry. Example: - *

- * + * @param name Required. The name of the entry to delete. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteEntry(String name) { @@ -1347,11 +1412,14 @@ public final void deleteEntry(String name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Deletes an existing entry. Only entries created through - * [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry] method can be deleted. 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). + * Deletes an existing entry. + * + *

You can delete only the entries created by the + * [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry] method. + * + *

You must enable the Data Catalog API in the project identified by the `name` parameter. For + * more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -1375,11 +1443,14 @@ public final void deleteEntry(DeleteEntryRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Deletes an existing entry. Only entries created through - * [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry] method can be deleted. 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). + * Deletes an existing entry. + * + *

You can delete only the entries created by the + * [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry] method. + * + *

You must enable the Data Catalog API in the project identified by the `name` parameter. For + * more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -1413,11 +1484,7 @@ public final UnaryCallable deleteEntryCallable() { * } * } * - * @param name Required. The name of the entry. Example: - *

- * + * @param name Required. The name of the entry to get. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Entry getEntry(EntryName name) { @@ -1439,11 +1506,7 @@ public final Entry getEntry(EntryName name) { * } * } * - * @param name Required. The name of the entry. Example: - * - * + * @param name Required. The name of the entry to get. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Entry getEntry(String name) { @@ -1500,8 +1563,9 @@ public final UnaryCallable getEntryCallable() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Get an entry by target resource name. This method allows clients to use the resource name from - * the source Google Cloud Platform service to get the Data Catalog Entry. + * Gets an entry by its target resource name. + * + *

The resource name comes from the source Google Cloud Platform service. * *

Sample code: * @@ -1521,8 +1585,9 @@ public final Entry lookupEntry(LookupEntryRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Get an entry by target resource name. This method allows clients to use the resource name from - * the source Google Cloud Platform service to get the Data Catalog Entry. + * Gets an entry by its target resource name. + * + *

The resource name comes from the source Google Cloud Platform service. * *

Sample code: * @@ -1554,12 +1619,8 @@ public final UnaryCallable lookupEntryCallable() { * } * } * - * @param parent Required. The name of the entry group that contains the entries, which can be - * provided in URL format. Example: - *

- * + * @param parent Required. The name of the entry group that contains the entries to list. + *

Can be provided in URL format. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListEntriesPagedResponse listEntries(EntryGroupName parent) { @@ -1585,12 +1646,8 @@ public final ListEntriesPagedResponse listEntries(EntryGroupName parent) { * } * } * - * @param parent Required. The name of the entry group that contains the entries, which can be - * provided in URL format. Example: - *

- * + * @param parent Required. The name of the entry group that contains the entries to list. + *

Can be provided in URL format. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListEntriesPagedResponse listEntries(String parent) { @@ -1690,10 +1747,11 @@ public final UnaryCallable listEntriesC // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a tag template. The user should enable the Data Catalog API in the project identified - * by the `parent` parameter (see [Data Catalog Resource - * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more - * information). + * Creates a tag template. + * + *

You must enable the Data Catalog API in the project identified by the `parent` parameter. + * For more information, see [Data Catalog resource project] + * (https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -1709,11 +1767,6 @@ public final UnaryCallable listEntriesC * * @param parent Required. The name of the project and the template location * [region](https://cloud.google.com/data-catalog/docs/concepts/regions). - *

Example: - *

- * * @param tagTemplateId Required. The ID of the tag template to create. *

The ID must contain only lowercase letters (a-z), numbers (0-9), or underscores (_), and * must start with a letter or underscore. The maximum size is 64 bytes when encoded in UTF-8. @@ -1733,10 +1786,11 @@ public final TagTemplate createTagTemplate( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a tag template. The user should enable the Data Catalog API in the project identified - * by the `parent` parameter (see [Data Catalog Resource - * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more - * information). + * Creates a tag template. + * + *

You must enable the Data Catalog API in the project identified by the `parent` parameter. + * For more information, see [Data Catalog resource project] + * (https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -1752,11 +1806,6 @@ public final TagTemplate createTagTemplate( * * @param parent Required. The name of the project and the template location * [region](https://cloud.google.com/data-catalog/docs/concepts/regions). - *

Example: - *

- * * @param tagTemplateId Required. The ID of the tag template to create. *

The ID must contain only lowercase letters (a-z), numbers (0-9), or underscores (_), and * must start with a letter or underscore. The maximum size is 64 bytes when encoded in UTF-8. @@ -1776,10 +1825,11 @@ public final TagTemplate createTagTemplate( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a tag template. The user should enable the Data Catalog API in the project identified - * by the `parent` parameter (see [Data Catalog Resource - * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more - * information). + * Creates a tag template. + * + *

You must enable the Data Catalog API in the project identified by the `parent` parameter. + * For more information, see [Data Catalog resource project] + * (https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -1804,10 +1854,11 @@ public final TagTemplate createTagTemplate(CreateTagTemplateRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a tag template. The user should enable the Data Catalog API in the project identified - * by the `parent` parameter (see [Data Catalog Resource - * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more - * information). + * Creates a tag template. + * + *

You must enable the Data Catalog API in the project identified by the `parent` parameter. + * For more information, see [Data Catalog resource project] + * (https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -1843,11 +1894,7 @@ public final UnaryCallable createTagTempl * } * } * - * @param name Required. The name of the tag template. Example: - *

- * + * @param name Required. The name of the tag template to get. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final TagTemplate getTagTemplate(TagTemplateName name) { @@ -1869,11 +1916,7 @@ public final TagTemplate getTagTemplate(TagTemplateName name) { * } * } * - * @param name Required. The name of the tag template. Example: - * - * + * @param name Required. The name of the tag template to get. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final TagTemplate getTagTemplate(String name) { @@ -1929,11 +1972,14 @@ public final UnaryCallable getTagTemplateCal // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Updates a tag template. This method cannot be used to update the fields of a template. The tag - * template fields are represented as separate resources and should be updated using their own - * create/update/delete methods. Users should enable the Data Catalog API in the project - * identified by the `tag_template.name` parameter (see [Data Catalog Resource Project] - * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information). + * Updates a tag template. + * + *

You can't update template fields with this method. These fields are separate resources with + * their own create, update, and delete methods. + * + *

You must enable the Data Catalog API in the project identified by the `tag_template.name` + * parameter. For more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -1944,7 +1990,7 @@ public final UnaryCallable getTagTemplateCal * } * } * - * @param tagTemplate Required. The template to update. The "name" field must be set. + * @param tagTemplate Required. The template to update. The `name` field must be set. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final TagTemplate updateTagTemplate(TagTemplate tagTemplate) { @@ -1955,11 +2001,14 @@ public final TagTemplate updateTagTemplate(TagTemplate tagTemplate) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Updates a tag template. This method cannot be used to update the fields of a template. The tag - * template fields are represented as separate resources and should be updated using their own - * create/update/delete methods. Users should enable the Data Catalog API in the project - * identified by the `tag_template.name` parameter (see [Data Catalog Resource Project] - * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information). + * Updates a tag template. + * + *

You can't update template fields with this method. These fields are separate resources with + * their own create, update, and delete methods. + * + *

You must enable the Data Catalog API in the project identified by the `tag_template.name` + * parameter. For more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -1971,11 +2020,11 @@ public final TagTemplate updateTagTemplate(TagTemplate tagTemplate) { * } * } * - * @param tagTemplate Required. The template to update. The "name" field must be set. + * @param tagTemplate Required. The template to update. The `name` field must be set. * @param updateMask Names of fields whose values to overwrite on a tag template. Currently, only * `display_name` can be overwritten. - *

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. + *

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 TagTemplate updateTagTemplate(TagTemplate tagTemplate, FieldMask updateMask) { @@ -1989,11 +2038,14 @@ public final TagTemplate updateTagTemplate(TagTemplate tagTemplate, FieldMask up // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Updates a tag template. This method cannot be used to update the fields of a template. The tag - * template fields are represented as separate resources and should be updated using their own - * create/update/delete methods. Users should enable the Data Catalog API in the project - * identified by the `tag_template.name` parameter (see [Data Catalog Resource Project] - * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information). + * Updates a tag template. + * + *

You can't update template fields with this method. These fields are separate resources with + * their own create, update, and delete methods. + * + *

You must enable the Data Catalog API in the project identified by the `tag_template.name` + * parameter. For more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -2017,11 +2069,14 @@ public final TagTemplate updateTagTemplate(UpdateTagTemplateRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Updates a tag template. This method cannot be used to update the fields of a template. The tag - * template fields are represented as separate resources and should be updated using their own - * create/update/delete methods. Users should enable the Data Catalog API in the project - * identified by the `tag_template.name` parameter (see [Data Catalog Resource Project] - * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information). + * Updates a tag template. + * + *

You can't update template fields with this method. These fields are separate resources with + * their own create, update, and delete methods. + * + *

You must enable the Data Catalog API in the project identified by the `tag_template.name` + * parameter. For more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -2045,9 +2100,11 @@ public final UnaryCallable updateTagTempl // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Deletes a tag template and all tags using the template. 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). + * Deletes a tag template and all tags that use it. + * + *

You must enable the Data Catalog API in the project identified by the `name` parameter. For + * more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -2059,14 +2116,9 @@ public final UnaryCallable updateTagTempl * } * } * - * @param name Required. The name of the tag template to delete. Example: - *

- * - * @param force Required. Currently, this field must always be set to `true`. This confirms the - * deletion of any possible tags using this template. `force = false` will be supported in the - * future. + * @param name Required. The name of the tag template to delete. + * @param force Required. If true, deletes all tags that use this template. + *

Currently, `true` is the only supported value. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteTagTemplate(TagTemplateName name, boolean force) { @@ -2080,9 +2132,11 @@ public final void deleteTagTemplate(TagTemplateName name, boolean force) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Deletes a tag template and all tags using the template. 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). + * Deletes a tag template and all tags that use it. + * + *

You must enable the Data Catalog API in the project identified by the `name` parameter. For + * more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -2094,14 +2148,9 @@ public final void deleteTagTemplate(TagTemplateName name, boolean force) { * } * } * - * @param name Required. The name of the tag template to delete. Example: - *

- * - * @param force Required. Currently, this field must always be set to `true`. This confirms the - * deletion of any possible tags using this template. `force = false` will be supported in the - * future. + * @param name Required. The name of the tag template to delete. + * @param force Required. If true, deletes all tags that use this template. + *

Currently, `true` is the only supported value. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteTagTemplate(String name, boolean force) { @@ -2112,9 +2161,11 @@ public final void deleteTagTemplate(String name, boolean force) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Deletes a tag template and all tags using the template. 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). + * Deletes a tag template and all tags that use it. + * + *

You must enable the Data Catalog API in the project identified by the `name` parameter. For + * more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -2138,9 +2189,11 @@ public final void deleteTagTemplate(DeleteTagTemplateRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Deletes a tag template and all tags using the template. 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). + * Deletes a tag template and all tags that use it. + * + *

You must enable the Data Catalog API in the project identified by the `name` parameter. For + * more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -2163,10 +2216,11 @@ public final UnaryCallable deleteTagTemplateCal // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a field in a tag template. The user should enable the Data Catalog API in the project - * identified by the `parent` parameter (see [Data Catalog Resource - * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more - * information). + * Creates a field in a tag template. + * + *

You must enable the Data Catalog API in the project identified by the `parent` parameter. + * For more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -2182,11 +2236,6 @@ public final UnaryCallable deleteTagTemplateCal * * @param parent Required. The name of the project and the template location * [region](https://cloud.google.com/data-catalog/docs/concepts/regions). - *

Example: - *

- * * @param tagTemplateFieldId Required. The ID of the tag template field to create. *

Note: Adding a required field to an existing template is *not* allowed. *

Field IDs can contain letters (both uppercase and lowercase), numbers (0-9), underscores @@ -2208,10 +2257,11 @@ public final TagTemplateField createTagTemplateField( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a field in a tag template. The user should enable the Data Catalog API in the project - * identified by the `parent` parameter (see [Data Catalog Resource - * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more - * information). + * Creates a field in a tag template. + * + *

You must enable the Data Catalog API in the project identified by the `parent` parameter. + * For more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -2227,11 +2277,6 @@ public final TagTemplateField createTagTemplateField( * * @param parent Required. The name of the project and the template location * [region](https://cloud.google.com/data-catalog/docs/concepts/regions). - *

Example: - *

- * * @param tagTemplateFieldId Required. The ID of the tag template field to create. *

Note: Adding a required field to an existing template is *not* allowed. *

Field IDs can contain letters (both uppercase and lowercase), numbers (0-9), underscores @@ -2253,10 +2298,11 @@ public final TagTemplateField createTagTemplateField( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a field in a tag template. The user should enable the Data Catalog API in the project - * identified by the `parent` parameter (see [Data Catalog Resource - * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more - * information). + * Creates a field in a tag template. + * + *

You must enable the Data Catalog API in the project identified by the `parent` parameter. + * For more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -2281,10 +2327,11 @@ public final TagTemplateField createTagTemplateField(CreateTagTemplateFieldReque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a field in a tag template. The user should enable the Data Catalog API in the project - * identified by the `parent` parameter (see [Data Catalog Resource - * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more - * information). + * Creates a field in a tag template. + * + *

You must enable the Data Catalog API in the project identified by the `parent` parameter. + * For more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -2310,10 +2357,13 @@ public final TagTemplateField createTagTemplateField(CreateTagTemplateFieldReque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Updates a field in a tag template. This method cannot be used to update the field type. 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). + * Updates a field in a tag template. + * + *

You can't update the field type with this method. + * + *

You must enable the Data Catalog API in the project identified by the `name` parameter. For + * more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -2326,11 +2376,7 @@ public final TagTemplateField createTagTemplateField(CreateTagTemplateFieldReque * } * } * - * @param name Required. The name of the tag template field. Example: - *

- * + * @param name Required. The name of the tag template field. * @param tagTemplateField Required. The template to update. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -2346,10 +2392,13 @@ public final TagTemplateField updateTagTemplateField( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Updates a field in a tag template. This method cannot be used to update the field type. 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). + * Updates a field in a tag template. + * + *

You can't update the field type with this method. + * + *

You must enable the Data Catalog API in the project identified by the `name` parameter. For + * more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -2363,11 +2412,7 @@ public final TagTemplateField updateTagTemplateField( * } * } * - * @param name Required. The name of the tag template field. Example: - *

- * + * @param name Required. The name of the tag template field. * @param tagTemplateField Required. The template to update. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -2383,10 +2428,13 @@ public final TagTemplateField updateTagTemplateField( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Updates a field in a tag template. This method cannot be used to update the field type. 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). + * Updates a field in a tag template. + * + *

You can't update the field type with this method. + * + *

You must enable the Data Catalog API in the project identified by the `name` parameter. For + * more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -2401,15 +2449,15 @@ public final TagTemplateField updateTagTemplateField( * } * } * - * @param name Required. The name of the tag template field. Example: - *

- * + * @param name Required. The name of the tag template field. * @param tagTemplateField Required. The template to update. * @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 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 @@ -2435,10 +2483,13 @@ public final TagTemplateField updateTagTemplateField( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Updates a field in a tag template. This method cannot be used to update the field type. 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). + * Updates a field in a tag template. + * + *

You can't update the field type with this method. + * + *

You must enable the Data Catalog API in the project identified by the `name` parameter. For + * more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -2454,15 +2505,15 @@ public final TagTemplateField updateTagTemplateField( * } * } * - * @param name Required. The name of the tag template field. Example: - *

- * + * @param name Required. The name of the tag template field. * @param tagTemplateField Required. The template to update. * @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 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 @@ -2488,10 +2539,13 @@ public final TagTemplateField updateTagTemplateField( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Updates a field in a tag template. This method cannot be used to update the field type. 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). + * Updates a field in a tag template. + * + *

You can't update the field type with this method. + * + *

You must enable the Data Catalog API in the project identified by the `name` parameter. For + * more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -2518,10 +2572,13 @@ public final TagTemplateField updateTagTemplateField(UpdateTagTemplateFieldReque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Updates a field in a tag template. This method cannot be used to update the field type. 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). + * Updates a field in a tag template. + * + *

You can't update the field type with this method. + * + *

You must enable the Data Catalog API in the project identified by the `name` parameter. For + * more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -2549,10 +2606,11 @@ public final TagTemplateField updateTagTemplateField(UpdateTagTemplateFieldReque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Renames a field in a tag template. The user 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). + * Renames a field in a tag template. + * + *

You must enable the Data Catalog API in the project identified by the `name` parameter. For + * more information, see [Data Catalog resource project] + * (https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -2566,11 +2624,7 @@ public final TagTemplateField updateTagTemplateField(UpdateTagTemplateFieldReque * } * } * - * @param name Required. The name of the tag template. Example: - *

- * + * @param name Required. The name of the tag template. * @param newTagTemplateFieldId Required. The new ID of this tag template field. For example, * `my_new_field`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -2587,10 +2641,11 @@ public final TagTemplateField renameTagTemplateField( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Renames a field in a tag template. The user 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). + * Renames a field in a tag template. + * + *

You must enable the Data Catalog API in the project identified by the `name` parameter. For + * more information, see [Data Catalog resource project] + * (https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -2605,11 +2660,7 @@ public final TagTemplateField renameTagTemplateField( * } * } * - * @param name Required. The name of the tag template. Example: - *

- * + * @param name Required. The name of the tag template. * @param newTagTemplateFieldId Required. The new ID of this tag template field. For example, * `my_new_field`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -2625,10 +2676,11 @@ public final TagTemplateField renameTagTemplateField(String name, String newTagT // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Renames a field in a tag template. The user 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). + * Renames a field in a tag template. + * + *

You must enable the Data Catalog API in the project identified by the `name` parameter. For + * more information, see [Data Catalog resource project] + * (https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -2654,10 +2706,11 @@ public final TagTemplateField renameTagTemplateField(RenameTagTemplateFieldReque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Renames a field in a tag template. The user 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). + * Renames a field in a tag template. + * + *

You must enable the Data Catalog API in the project identified by the `name` parameter. For + * more information, see [Data Catalog resource project] + * (https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -2684,8 +2737,9 @@ public final TagTemplateField renameTagTemplateField(RenameTagTemplateFieldReque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Renames an enum value in a tag template. The enum values have to be unique within one enum - * field. + * Renames an enum value in a tag template. + * + *

Within a single enum field, enum values must be unique. * *

Sample code: * @@ -2704,11 +2758,7 @@ public final TagTemplateField renameTagTemplateField(RenameTagTemplateFieldReque * } * } * - * @param name Required. The name of the enum field value. Example: - *

- * + * @param name Required. The name of the enum field value. * @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 @@ -2725,8 +2775,9 @@ public final TagTemplateField renameTagTemplateFieldEnumValue( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Renames an enum value in a tag template. The enum values have to be unique within one enum - * field. + * Renames an enum value in a tag template. + * + *

Within a single enum field, enum values must be unique. * *

Sample code: * @@ -2746,11 +2797,7 @@ public final TagTemplateField renameTagTemplateFieldEnumValue( * } * } * - * @param name Required. The name of the enum field value. Example: - *

- * + * @param name Required. The name of the enum field value. * @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 @@ -2767,8 +2814,9 @@ public final TagTemplateField renameTagTemplateFieldEnumValue( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Renames an enum value in a tag template. The enum values have to be unique within one enum - * field. + * Renames an enum value in a tag template. + * + *

Within a single enum field, enum values must be unique. * *

Sample code: * @@ -2800,8 +2848,9 @@ public final TagTemplateField renameTagTemplateFieldEnumValue( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Renames an enum value in a tag template. The enum values have to be unique within one enum - * field. + * Renames an enum value in a tag template. + * + *

Within a single enum field, enum values must be unique. * *

Sample code: * @@ -2833,10 +2882,12 @@ public final TagTemplateField renameTagTemplateFieldEnumValue( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * 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). + * Deletes a field in a tag template and all uses of this field from the tags based on this + * template. + * + *

You must enable the Data Catalog API in the project identified by the `name` parameter. For + * more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -2849,14 +2900,9 @@ public final TagTemplateField renameTagTemplateFieldEnumValue( * } * } * - * @param name Required. The name of the tag template field to delete. Example: - *

- * - * @param force Required. Currently, this field must always be set to `true`. This confirms the - * deletion of this field from any tags using this field. `force = false` will be supported in - * the future. + * @param name Required. The name of the tag template field to delete. + * @param force Required. If true, deletes this field from any tags that use it. + *

Currently, `true` is the only supported value. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteTagTemplateField(TagTemplateFieldName name, boolean force) { @@ -2870,10 +2916,12 @@ public final void deleteTagTemplateField(TagTemplateFieldName name, boolean forc // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * 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). + * Deletes a field in a tag template and all uses of this field from the tags based on this + * template. + * + *

You must enable the Data Catalog API in the project identified by the `name` parameter. For + * more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -2887,14 +2935,9 @@ public final void deleteTagTemplateField(TagTemplateFieldName name, boolean forc * } * } * - * @param name Required. The name of the tag template field to delete. Example: - *

- * - * @param force Required. Currently, this field must always be set to `true`. This confirms the - * deletion of this field from any tags using this field. `force = false` will be supported in - * the future. + * @param name Required. The name of the tag template field to delete. + * @param force Required. If true, deletes this field from any tags that use it. + *

Currently, `true` is the only supported value. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteTagTemplateField(String name, boolean force) { @@ -2905,10 +2948,12 @@ public final void deleteTagTemplateField(String name, boolean force) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * 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). + * Deletes a field in a tag template and all uses of this field from the tags based on this + * template. + * + *

You must enable the Data Catalog API in the project identified by the `name` parameter. For + * more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -2934,10 +2979,12 @@ public final void deleteTagTemplateField(DeleteTagTemplateFieldRequest request) // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * 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). + * Deletes a field in a tag template and all uses of this field from the tags based on this + * template. + * + *

You must enable the Data Catalog API in the project identified by the `name` parameter. For + * more information, see [Data Catalog resource + * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). * *

Sample code: * @@ -2964,12 +3011,20 @@ public final void deleteTagTemplateField(DeleteTagTemplateFieldRequest request) // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a tag on an [Entry][google.cloud.datacatalog.v1.Entry]. Note: The project identified by - * the `parent` parameter for the - * [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters) - * and the [tag - * template](https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters) - * used to create the tag must be from the same organization. + * Creates a tag and assigns it to: + * + *

+ * + *

Note: The project identified by the `parent` parameter for the [tag] + * (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters) + * and the [tag template] + * (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters) + * used to create the tag must be in the same organization. * *

Sample code: * @@ -2981,9 +3036,9 @@ public final void deleteTagTemplateField(DeleteTagTemplateFieldRequest request) * } * } * - * @param parent Required. The name of the resource to attach this tag to. Tags can be attached to - * entries. An entry can have up to 1000 attached tags. Example: - *

`projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}` + * @param parent Required. The name of the resource to attach this tag to. + *

Tags can be attached to entries or entry groups. An entry can have up to 1000 attached + * tags. *

Note: The tag and its child resources might not be stored in the location specified in * its name. * @param tag Required. The tag to create. @@ -3000,12 +3055,20 @@ public final Tag createTag(TagName parent, Tag tag) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a tag on an [Entry][google.cloud.datacatalog.v1.Entry]. Note: The project identified by - * the `parent` parameter for the - * [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters) - * and the [tag - * template](https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters) - * used to create the tag must be from the same organization. + * Creates a tag and assigns it to: + * + *

+ * + *

Note: The project identified by the `parent` parameter for the [tag] + * (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters) + * and the [tag template] + * (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters) + * used to create the tag must be in the same organization. * *

Sample code: * @@ -3018,9 +3081,9 @@ public final Tag createTag(TagName parent, Tag tag) { * } * } * - * @param parent Required. The name of the resource to attach this tag to. Tags can be attached to - * entries. An entry can have up to 1000 attached tags. Example: - *

`projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}` + * @param parent Required. The name of the resource to attach this tag to. + *

Tags can be attached to entries or entry groups. An entry can have up to 1000 attached + * tags. *

Note: The tag and its child resources might not be stored in the location specified in * its name. * @param tag Required. The tag to create. @@ -3033,12 +3096,20 @@ public final Tag createTag(String parent, Tag tag) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a tag on an [Entry][google.cloud.datacatalog.v1.Entry]. Note: The project identified by - * the `parent` parameter for the - * [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters) - * and the [tag - * template](https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters) - * used to create the tag must be from the same organization. + * Creates a tag and assigns it to: + * + *

+ * + *

Note: The project identified by the `parent` parameter for the [tag] + * (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters) + * and the [tag template] + * (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters) + * used to create the tag must be in the same organization. * *

Sample code: * @@ -3064,12 +3135,20 @@ public final Tag createTag(CreateTagRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a tag on an [Entry][google.cloud.datacatalog.v1.Entry]. Note: The project identified by - * the `parent` parameter for the - * [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters) - * and the [tag - * template](https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters) - * used to create the tag must be from the same organization. + * Creates a tag and assigns it to: + * + *

+ * + *

Note: The project identified by the `parent` parameter for the [tag] + * (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters) + * and the [tag template] + * (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters) + * used to create the tag must be in the same organization. * *

Sample code: * @@ -3200,11 +3279,7 @@ public final UnaryCallable updateTagCallable() { * } * } * - * @param name Required. The name of the tag to delete. Example: - *

- * + * @param name Required. The name of the tag to delete. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteTag(EntryName name) { @@ -3227,11 +3302,7 @@ public final void deleteTag(EntryName name) { * } * } * - * @param name Required. The name of the tag to delete. Example: - * - * + * @param name Required. The name of the tag to delete. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteTag(String name) { @@ -3290,7 +3361,7 @@ public final UnaryCallable deleteTagCallable() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists the tags on an [Entry][google.cloud.datacatalog.v1.Entry]. + * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry]. * *

Sample code: * @@ -3303,15 +3374,10 @@ public final UnaryCallable deleteTagCallable() { * } * } * - * @param parent Required. The name of the Data Catalog resource to list the tags of. The resource - * could be an [Entry][google.cloud.datacatalog.v1.Entry] or an - * [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]. - *

Examples: - *

    - *
  • projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} - *
  • projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} - *
- * + * @param parent Required. The name of the Data Catalog resource to list the tags of. + *

The resource can be an [Entry][google.cloud.datacatalog.v1.Entry] or an + * [EntryGroup][google.cloud.datacatalog.v1.EntryGroup] (without `/entries/{entries}` at the + * end). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListTagsPagedResponse listTags(EntryName parent) { @@ -3322,7 +3388,7 @@ public final ListTagsPagedResponse listTags(EntryName parent) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists the tags on an [Entry][google.cloud.datacatalog.v1.Entry]. + * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry]. * *

Sample code: * @@ -3336,15 +3402,10 @@ public final ListTagsPagedResponse listTags(EntryName parent) { * } * } * - * @param parent Required. The name of the Data Catalog resource to list the tags of. The resource - * could be an [Entry][google.cloud.datacatalog.v1.Entry] or an - * [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]. - *

Examples: - *

    - *
  • projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} - *
  • projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} - *
- * + * @param parent Required. The name of the Data Catalog resource to list the tags of. + *

The resource can be an [Entry][google.cloud.datacatalog.v1.Entry] or an + * [EntryGroup][google.cloud.datacatalog.v1.EntryGroup] (without `/entries/{entries}` at the + * end). * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListTagsPagedResponse listTags(String parent) { @@ -3354,7 +3415,7 @@ public final ListTagsPagedResponse listTags(String parent) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists the tags on an [Entry][google.cloud.datacatalog.v1.Entry]. + * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry]. * *

Sample code: * @@ -3383,7 +3444,7 @@ public final ListTagsPagedResponse listTags(ListTagsRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists the tags on an [Entry][google.cloud.datacatalog.v1.Entry]. + * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry]. * *

Sample code: * @@ -3411,7 +3472,7 @@ public final UnaryCallable listTagsPaged // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists the tags on an [Entry][google.cloud.datacatalog.v1.Entry]. + * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry]. * *

Sample code: * @@ -3446,14 +3507,20 @@ public final UnaryCallable listTagsCallable() // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Sets the access control policy for a resource. Replaces any existing policy. Supported - * resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to - * manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced - * to Data Catalog. + * Sets an access control policy for a resource. Replaces any existing policy. + * + *

Supported resources are: + * + *

- Tag templates - Entry groups + * + *

Note: This method sets policies only within Data Catalog and can't be used to manage + * policies in BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform + * resources synced with the Data Catalog. * - *

Callers must have following Google IAM permission - `datacatalog.tagTemplates.setIamPolicy` - * to set policies on tag templates. - `datacatalog.entries.setIamPolicy` to set policies on - * entries. - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. + *

To call this method, you must have the following Google IAM permissions: + * + *

- `datacatalog.tagTemplates.setIamPolicy` to set policies on tag templates. - + * `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. * *

Sample code: * @@ -3483,14 +3550,20 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Sets the access control policy for a resource. Replaces any existing policy. Supported - * resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to - * manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced - * to Data Catalog. + * Sets an access control policy for a resource. Replaces any existing policy. + * + *

Supported resources are: + * + *

- Tag templates - Entry groups * - *

Callers must have following Google IAM permission - `datacatalog.tagTemplates.setIamPolicy` - * to set policies on tag templates. - `datacatalog.entries.setIamPolicy` to set policies on - * entries. - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. + *

Note: This method sets policies only within Data Catalog and can't be used to manage + * policies in BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform + * resources synced with the Data Catalog. + * + *

To call this method, you must have the following Google IAM permissions: + * + *

- `datacatalog.tagTemplates.setIamPolicy` to set policies on tag templates. - + * `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. * *

Sample code: * @@ -3517,14 +3590,20 @@ public final Policy setIamPolicy(String resource, Policy policy) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Sets the access control policy for a resource. Replaces any existing policy. Supported - * resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to - * manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced - * to Data Catalog. + * Sets an access control policy for a resource. Replaces any existing policy. + * + *

Supported resources are: + * + *

- Tag templates - Entry groups * - *

Callers must have following Google IAM permission - `datacatalog.tagTemplates.setIamPolicy` - * to set policies on tag templates. - `datacatalog.entries.setIamPolicy` to set policies on - * entries. - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. + *

Note: This method sets policies only within Data Catalog and can't be used to manage + * policies in BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform + * resources synced with the Data Catalog. + * + *

To call this method, you must have the following Google IAM permissions: + * + *

- `datacatalog.tagTemplates.setIamPolicy` to set policies on tag templates. - + * `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. * *

Sample code: * @@ -3548,14 +3627,20 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Sets the access control policy for a resource. Replaces any existing policy. Supported - * resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to - * manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced - * to Data Catalog. + * Sets an access control policy for a resource. Replaces any existing policy. + * + *

Supported resources are: * - *

Callers must have following Google IAM permission - `datacatalog.tagTemplates.setIamPolicy` - * to set policies on tag templates. - `datacatalog.entries.setIamPolicy` to set policies on - * entries. - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. + *

- Tag templates - Entry groups + * + *

Note: This method sets policies only within Data Catalog and can't be used to manage + * policies in BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform + * resources synced with the Data Catalog. + * + *

To call this method, you must have the following Google IAM permissions: + * + *

- `datacatalog.tagTemplates.setIamPolicy` to set policies on tag templates. - + * `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. * *

Sample code: * @@ -3578,17 +3663,27 @@ public final UnaryCallable setIamPolicyCallable() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Gets the access control policy for a resource. A `NOT_FOUND` error is returned if the resource - * does not exist. An empty policy is returned if the resource exists but does not have a policy - * set on it. + * Gets the access control policy for a resource. + * + *

May return: + * + *

    + *
  • A`NOT_FOUND` error if the resource doesn't exist or you don't have the permission to view + * it. + *
  • An empty policy if the resource exists but doesn't have a set policy. + *
+ * + *

Supported resources are: + * + *

- Tag templates - Entry groups + * + *

Note: This method doesn't get policies from Google Cloud Platform resources ingested into + * Data Catalog. * - *

Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method - * cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform - * resources synced to Data Catalog. + *

To call this method, you must have the following Google IAM permissions: * - *

Callers must have following Google IAM permission - `datacatalog.tagTemplates.getIamPolicy` - * to get policies on tag templates. - `datacatalog.entries.getIamPolicy` to get policies on - * entries. - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups. + *

- `datacatalog.tagTemplates.getIamPolicy` to get policies on tag templates. - + * `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups. * *

Sample code: * @@ -3613,17 +3708,27 @@ public final Policy getIamPolicy(ResourceName resource) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Gets the access control policy for a resource. A `NOT_FOUND` error is returned if the resource - * does not exist. An empty policy is returned if the resource exists but does not have a policy - * set on it. + * Gets the access control policy for a resource. * - *

Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method - * cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform - * resources synced to Data Catalog. + *

May return: * - *

Callers must have following Google IAM permission - `datacatalog.tagTemplates.getIamPolicy` - * to get policies on tag templates. - `datacatalog.entries.getIamPolicy` to get policies on - * entries. - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups. + *

    + *
  • A`NOT_FOUND` error if the resource doesn't exist or you don't have the permission to view + * it. + *
  • An empty policy if the resource exists but doesn't have a set policy. + *
+ * + *

Supported resources are: + * + *

- Tag templates - Entry groups + * + *

Note: This method doesn't get policies from Google Cloud Platform resources ingested into + * Data Catalog. + * + *

To call this method, you must have the following Google IAM permissions: + * + *

- `datacatalog.tagTemplates.getIamPolicy` to get policies on tag templates. - + * `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups. * *

Sample code: * @@ -3645,17 +3750,27 @@ public final Policy getIamPolicy(String resource) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Gets the access control policy for a resource. A `NOT_FOUND` error is returned if the resource - * does not exist. An empty policy is returned if the resource exists but does not have a policy - * set on it. + * Gets the access control policy for a resource. + * + *

May return: + * + *

    + *
  • A`NOT_FOUND` error if the resource doesn't exist or you don't have the permission to view + * it. + *
  • An empty policy if the resource exists but doesn't have a set policy. + *
* - *

Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method - * cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform - * resources synced to Data Catalog. + *

Supported resources are: * - *

Callers must have following Google IAM permission - `datacatalog.tagTemplates.getIamPolicy` - * to get policies on tag templates. - `datacatalog.entries.getIamPolicy` to get policies on - * entries. - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups. + *

- Tag templates - Entry groups + * + *

Note: This method doesn't get policies from Google Cloud Platform resources ingested into + * Data Catalog. + * + *

To call this method, you must have the following Google IAM permissions: + * + *

- `datacatalog.tagTemplates.getIamPolicy` to get policies on tag templates. - + * `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups. * *

Sample code: * @@ -3679,17 +3794,27 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Gets the access control policy for a resource. A `NOT_FOUND` error is returned if the resource - * does not exist. An empty policy is returned if the resource exists but does not have a policy - * set on it. + * Gets the access control policy for a resource. + * + *

May return: + * + *

    + *
  • A`NOT_FOUND` error if the resource doesn't exist or you don't have the permission to view + * it. + *
  • An empty policy if the resource exists but doesn't have a set policy. + *
+ * + *

Supported resources are: + * + *

- Tag templates - Entry groups * - *

Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method - * cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform - * resources synced to Data Catalog. + *

Note: This method doesn't get policies from Google Cloud Platform resources ingested into + * Data Catalog. * - *

Callers must have following Google IAM permission - `datacatalog.tagTemplates.getIamPolicy` - * to get policies on tag templates. - `datacatalog.entries.getIamPolicy` to get policies on - * entries. - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups. + *

To call this method, you must have the following Google IAM permissions: + * + *

- `datacatalog.tagTemplates.getIamPolicy` to get policies on tag templates. - + * `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups. * *

Sample code: * @@ -3712,14 +3837,19 @@ public final UnaryCallable getIamPolicyCallable() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Returns the caller's permissions on a resource. If the resource does not exist, an empty set of - * permissions is returned (We don't return a `NOT_FOUND` error). + * Gets your permissions on a resource. + * + *

Returns an empty set of permissions if the resource doesn't exist. + * + *

Supported resources are: + * + *

- Tag templates - Entry groups * - *

Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method - * cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform - * resources synced to Data Catalog. + *

Note: This method gets policies only within Data Catalog and can't be used to get policies + * from BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources + * ingested into Data Catalog. * - *

A caller is not required to have Google IAM permission to make this request. + *

No Google IAM permissions are required to call this method. * *

Sample code: * @@ -3743,14 +3873,19 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Returns the caller's permissions on a resource. If the resource does not exist, an empty set of - * permissions is returned (We don't return a `NOT_FOUND` error). + * Gets your permissions on a resource. + * + *

Returns an empty set of permissions if the resource doesn't exist. + * + *

Supported resources are: + * + *

- Tag templates - Entry groups * - *

Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method - * cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform - * resources synced to Data Catalog. + *

Note: This method gets policies only within Data Catalog and can't be used to get policies + * from BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources + * ingested into Data Catalog. * - *

A caller is not required to have Google IAM permission to make this request. + *

No Google IAM permissions are required to call this method. * *

Sample code: * diff --git a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java index d0f5e3ba..b9d59891 100644 --- a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java +++ b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerClient.java @@ -42,8 +42,8 @@ // AUTO-GENERATED DOCUMENTATION AND CLASS. /** - * Service Description: Policy Tag Manager API service allows clients to manage their policy tags - * and taxonomies. + * Service Description: Policy Tag Manager API service allows you to manage your policy tags and + * taxonomies. * *

Policy tags are used to tag BigQuery columns and apply additional access control policies. A * taxonomy is a hierarchical grouping of policy tags that classify data along a common axis. @@ -163,8 +163,9 @@ public PolicyTagManagerStub getStub() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a taxonomy in a specified project. The taxonomy is initially empty, i.e., does not - * contain policy tags. + * Creates a taxonomy in a specified project. + * + *

The taxonomy is initially empty, that is, it doesn't contain policy tags. * *

Sample code: * @@ -177,7 +178,7 @@ public PolicyTagManagerStub getStub() { * } * * @param parent Required. Resource name of the project that the taxonomy will belong to. - * @param taxonomy The taxonomy to be created. + * @param taxonomy The taxonomy to create. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Taxonomy createTaxonomy(LocationName parent, Taxonomy taxonomy) { @@ -191,8 +192,9 @@ public final Taxonomy createTaxonomy(LocationName parent, Taxonomy taxonomy) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a taxonomy in a specified project. The taxonomy is initially empty, i.e., does not - * contain policy tags. + * Creates a taxonomy in a specified project. + * + *

The taxonomy is initially empty, that is, it doesn't contain policy tags. * *

Sample code: * @@ -205,7 +207,7 @@ public final Taxonomy createTaxonomy(LocationName parent, Taxonomy taxonomy) { * } * * @param parent Required. Resource name of the project that the taxonomy will belong to. - * @param taxonomy The taxonomy to be created. + * @param taxonomy The taxonomy to create. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Taxonomy createTaxonomy(String parent, Taxonomy taxonomy) { @@ -216,8 +218,9 @@ public final Taxonomy createTaxonomy(String parent, Taxonomy taxonomy) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a taxonomy in a specified project. The taxonomy is initially empty, i.e., does not - * contain policy tags. + * Creates a taxonomy in a specified project. + * + *

The taxonomy is initially empty, that is, it doesn't contain policy tags. * *

Sample code: * @@ -241,8 +244,9 @@ public final Taxonomy createTaxonomy(CreateTaxonomyRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a taxonomy in a specified project. The taxonomy is initially empty, i.e., does not - * contain policy tags. + * Creates a taxonomy in a specified project. + * + *

The taxonomy is initially empty, that is, it doesn't contain policy tags. * *

Sample code: * @@ -266,8 +270,8 @@ public final UnaryCallable createTaxonomyCallab // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Deletes a taxonomy. This method will also delete all policy tags in this taxonomy, their - * associated policies, and the policy tags references from BigQuery columns. + * Deletes a taxonomy, including all policy tags in this taxonomy, their associated policies, and + * the policy tags references from BigQuery columns. * *

Sample code: * @@ -278,8 +282,8 @@ public final UnaryCallable createTaxonomyCallab * } * } * - * @param name Required. Resource name of the taxonomy to be deleted. All policy tags in this - * taxonomy will also be deleted. + * @param name Required. Resource name of the taxonomy to delete. + *

Note: All policy tags in this taxonomy are also deleted. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteTaxonomy(TaxonomyName name) { @@ -290,8 +294,8 @@ public final void deleteTaxonomy(TaxonomyName name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Deletes a taxonomy. This method will also delete all policy tags in this taxonomy, their - * associated policies, and the policy tags references from BigQuery columns. + * Deletes a taxonomy, including all policy tags in this taxonomy, their associated policies, and + * the policy tags references from BigQuery columns. * *

Sample code: * @@ -302,8 +306,8 @@ public final void deleteTaxonomy(TaxonomyName name) { * } * } * - * @param name Required. Resource name of the taxonomy to be deleted. All policy tags in this - * taxonomy will also be deleted. + * @param name Required. Resource name of the taxonomy to delete. + *

Note: All policy tags in this taxonomy are also deleted. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteTaxonomy(String name) { @@ -313,8 +317,8 @@ public final void deleteTaxonomy(String name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Deletes a taxonomy. This method will also delete all policy tags in this taxonomy, their - * associated policies, and the policy tags references from BigQuery columns. + * Deletes a taxonomy, including all policy tags in this taxonomy, their associated policies, and + * the policy tags references from BigQuery columns. * *

Sample code: * @@ -337,8 +341,8 @@ public final void deleteTaxonomy(DeleteTaxonomyRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Deletes a taxonomy. This method will also delete all policy tags in this taxonomy, their - * associated policies, and the policy tags references from BigQuery columns. + * Deletes a taxonomy, including all policy tags in this taxonomy, their associated policies, and + * the policy tags references from BigQuery columns. * *

Sample code: * @@ -360,8 +364,7 @@ public final UnaryCallable deleteTaxonomyCallable( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Updates a taxonomy. This method can update the taxonomy's display name, description, and - * activated policy types. + * Updates a taxonomy, including its display name, description, and activated policy types. * *

Sample code: * @@ -372,8 +375,8 @@ public final UnaryCallable deleteTaxonomyCallable( * } * } * - * @param taxonomy The taxonomy to update. Only description, display_name, and activated policy - * types can be updated. + * @param taxonomy The taxonomy to update. You can update only its description, display name, and + * activated policy types. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Taxonomy updateTaxonomy(Taxonomy taxonomy) { @@ -384,8 +387,7 @@ public final Taxonomy updateTaxonomy(Taxonomy taxonomy) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Updates a taxonomy. This method can update the taxonomy's display name, description, and - * activated policy types. + * Updates a taxonomy, including its display name, description, and activated policy types. * *

Sample code: * @@ -409,8 +411,7 @@ public final Taxonomy updateTaxonomy(UpdateTaxonomyRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Updates a taxonomy. This method can update the taxonomy's display name, description, and - * activated policy types. + * Updates a taxonomy, including its display name, description, and activated policy types. * *

Sample code: * @@ -434,8 +435,7 @@ public final UnaryCallable updateTaxonomyCallab // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists all taxonomies in a project in a particular location that the caller has permission to - * view. + * Lists all taxonomies in a project in a particular location that you have a permission to view. * *

Sample code: * @@ -461,8 +461,7 @@ public final ListTaxonomiesPagedResponse listTaxonomies(LocationName parent) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists all taxonomies in a project in a particular location that the caller has permission to - * view. + * Lists all taxonomies in a project in a particular location that you have a permission to view. * *

Sample code: * @@ -485,8 +484,7 @@ public final ListTaxonomiesPagedResponse listTaxonomies(String parent) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists all taxonomies in a project in a particular location that the caller has permission to - * view. + * Lists all taxonomies in a project in a particular location that you have a permission to view. * *

Sample code: * @@ -513,8 +511,7 @@ public final ListTaxonomiesPagedResponse listTaxonomies(ListTaxonomiesRequest re // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists all taxonomies in a project in a particular location that the caller has permission to - * view. + * Lists all taxonomies in a project in a particular location that you have a permission to view. * *

Sample code: * @@ -542,8 +539,7 @@ public final ListTaxonomiesPagedResponse listTaxonomies(ListTaxonomiesRequest re // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists all taxonomies in a project in a particular location that the caller has permission to - * view. + * Lists all taxonomies in a project in a particular location that you have a permission to view. * *

Sample code: * @@ -589,7 +585,7 @@ public final ListTaxonomiesPagedResponse listTaxonomies(ListTaxonomiesRequest re * } * } * - * @param name Required. Resource name of the requested taxonomy. + * @param name Required. Resource name of the taxonomy to get. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Taxonomy getTaxonomy(TaxonomyName name) { @@ -611,7 +607,7 @@ public final Taxonomy getTaxonomy(TaxonomyName name) { * } * } * - * @param name Required. Resource name of the requested taxonomy. + * @param name Required. Resource name of the taxonomy to get. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Taxonomy getTaxonomy(String name) { @@ -678,8 +674,9 @@ public final UnaryCallable getTaxonomyCallable() { * } * } * - * @param parent Required. Resource name of the taxonomy that the policy tag will belong to. - * @param policyTag The policy tag to be created. + * @param parent Required. Resource name of the taxonomy that the policy tag will belong to.<br + * /><br /> + * @param policyTag The policy tag to create. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final PolicyTag createPolicyTag(TaxonomyName parent, PolicyTag policyTag) { @@ -706,8 +703,9 @@ public final PolicyTag createPolicyTag(TaxonomyName parent, PolicyTag policyTag) * } * } * - * @param parent Required. Resource name of the taxonomy that the policy tag will belong to. - * @param policyTag The policy tag to be created. + * @param parent Required. Resource name of the taxonomy that the policy tag will belong to.<br + * /><br /> + * @param policyTag The policy tag to create. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final PolicyTag createPolicyTag(String parent, PolicyTag policyTag) { @@ -770,12 +768,12 @@ public final UnaryCallable createPolicyTagCal // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Deletes a policy tag. This method also deletes: + * Deletes a policy tag together with the following: * *

    - *
  • all of its descendant policy tags, if any - *
  • the policies associated with the policy tag and its descendants - *
  • references from BigQuery table schema of the policy tag and its descendants. + *
  • All of its descendant policy tags, if any + *
  • Policies associated with the policy tag and its descendants + *
  • References from BigQuery table schema of the policy tag and its descendants *
* *

Sample code: @@ -788,8 +786,8 @@ public final UnaryCallable createPolicyTagCal * } * } * - * @param name Required. Resource name of the policy tag to be deleted. All of its descendant - * policy tags will also be deleted. + * @param name Required. Resource name of the policy tag to delete. + *

Note: All of its descendant policy tags are also deleted. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deletePolicyTag(PolicyTagName name) { @@ -800,12 +798,12 @@ public final void deletePolicyTag(PolicyTagName name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Deletes a policy tag. This method also deletes: + * Deletes a policy tag together with the following: * *

    - *
  • all of its descendant policy tags, if any - *
  • the policies associated with the policy tag and its descendants - *
  • references from BigQuery table schema of the policy tag and its descendants. + *
  • All of its descendant policy tags, if any + *
  • Policies associated with the policy tag and its descendants + *
  • References from BigQuery table schema of the policy tag and its descendants *
* *

Sample code: @@ -818,8 +816,8 @@ public final void deletePolicyTag(PolicyTagName name) { * } * } * - * @param name Required. Resource name of the policy tag to be deleted. All of its descendant - * policy tags will also be deleted. + * @param name Required. Resource name of the policy tag to delete. + *

Note: All of its descendant policy tags are also deleted. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deletePolicyTag(String name) { @@ -829,12 +827,12 @@ public final void deletePolicyTag(String name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Deletes a policy tag. This method also deletes: + * Deletes a policy tag together with the following: * *

    - *
  • all of its descendant policy tags, if any - *
  • the policies associated with the policy tag and its descendants - *
  • references from BigQuery table schema of the policy tag and its descendants. + *
  • All of its descendant policy tags, if any + *
  • Policies associated with the policy tag and its descendants + *
  • References from BigQuery table schema of the policy tag and its descendants *
* *

Sample code: @@ -860,12 +858,12 @@ public final void deletePolicyTag(DeletePolicyTagRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Deletes a policy tag. This method also deletes: + * Deletes a policy tag together with the following: * *

    - *
  • all of its descendant policy tags, if any - *
  • the policies associated with the policy tag and its descendants - *
  • references from BigQuery table schema of the policy tag and its descendants. + *
  • All of its descendant policy tags, if any + *
  • Policies associated with the policy tag and its descendants + *
  • References from BigQuery table schema of the policy tag and its descendants *
* *

Sample code: @@ -891,8 +889,7 @@ public final UnaryCallable deletePolicyTagCallabl // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Updates a policy tag. This method can update the policy tag's display name, description, and - * parent policy tag. + * Updates a policy tag, including its display name, description, and parent policy tag. * *

Sample code: * @@ -903,8 +900,8 @@ public final UnaryCallable deletePolicyTagCallabl * } * } * - * @param policyTag The policy tag to update. Only the description, display_name, and - * parent_policy_tag fields can be updated. + * @param policyTag The policy tag to update. You can update only its description, display name, + * and parent policy tag fields. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final PolicyTag updatePolicyTag(PolicyTag policyTag) { @@ -915,8 +912,7 @@ public final PolicyTag updatePolicyTag(PolicyTag policyTag) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Updates a policy tag. This method can update the policy tag's display name, description, and - * parent policy tag. + * Updates a policy tag, including its display name, description, and parent policy tag. * *

Sample code: * @@ -940,8 +936,7 @@ public final PolicyTag updatePolicyTag(UpdatePolicyTagRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Updates a policy tag. This method can update the policy tag's display name, description, and - * parent policy tag. + * Updates a policy tag, including its display name, description, and parent policy tag. * *

Sample code: * @@ -1123,7 +1118,7 @@ public final ListPolicyTagsPagedResponse listPolicyTags(ListPolicyTagsRequest re * } * } * - * @param name Required. Resource name of the requested policy tag. + * @param name Required. Resource name of the policy tag. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final PolicyTag getPolicyTag(PolicyTagName name) { @@ -1146,7 +1141,7 @@ public final PolicyTag getPolicyTag(PolicyTagName name) { * } * } * - * @param name Required. Resource name of the requested policy tag. + * @param name Required. Resource name of the policy tag. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final PolicyTag getPolicyTag(String name) { @@ -1300,7 +1295,7 @@ public final UnaryCallable setIamPolicyCallable() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Returns the permissions that a caller has on a specified policy tag or taxonomy. + * Returns your permissions on a specified policy tag or taxonomy. * *

Sample code: * @@ -1324,7 +1319,7 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Returns the permissions that a caller has on a specified policy tag or taxonomy. + * Returns your permissions on a specified policy tag or taxonomy. * *

Sample code: * diff --git a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClient.java b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClient.java index 1b9bc685..6274436f 100644 --- a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClient.java +++ b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClient.java @@ -27,9 +27,10 @@ // AUTO-GENERATED DOCUMENTATION AND CLASS. /** - * Service Description: Policy Tag Manager serialization API service allows clients to manipulate - * their policy tags and taxonomies in serialized format, where taxonomy is a hierarchical group of - * policy tags. + * Service Description: Policy Tag Manager Serialization API service allows you to manipulate your + * policy tags and taxonomies in a serialized format. + * + *

Taxonomy is a hierarchical group of policy tags. * *

This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. Sample code to get started: @@ -37,12 +38,12 @@ *

{@code
  * try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
  *     PolicyTagManagerSerializationClient.create()) {
- *   ImportTaxonomiesRequest request =
- *       ImportTaxonomiesRequest.newBuilder()
- *           .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ *   ReplaceTaxonomyRequest request =
+ *       ReplaceTaxonomyRequest.newBuilder()
+ *           .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ *           .setSerializedTaxonomy(SerializedTaxonomy.newBuilder().build())
  *           .build();
- *   ImportTaxonomiesResponse response =
- *       policyTagManagerSerializationClient.importTaxonomies(request);
+ *   Taxonomy response = policyTagManagerSerializationClient.replaceTaxonomy(request);
  * }
  * }
* @@ -154,14 +155,82 @@ public PolicyTagManagerSerializationStub getStub() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates new taxonomies (including their policy tags) by importing from inlined source or - * cross-regional source. New taxonomies will be created in a given parent project. + * Replaces (updates) a taxonomy and all its policy tags. + * + *

The taxonomy and its entire hierarchy of policy tags must be represented literally by + * `SerializedTaxonomy` and the nested `SerializedPolicyTag` messages. + * + *

This operation automatically does the following: + * + *

- Deletes the existing policy tags that are missing from the `SerializedPolicyTag`. - + * Creates policy tags that don't have resource names. They are considered new. - Updates policy + * tags with valid resources names accordingly. + * + *

Sample code: + * + *

{@code
+   * try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
+   *     PolicyTagManagerSerializationClient.create()) {
+   *   ReplaceTaxonomyRequest request =
+   *       ReplaceTaxonomyRequest.newBuilder()
+   *           .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+   *           .setSerializedTaxonomy(SerializedTaxonomy.newBuilder().build())
+   *           .build();
+   *   Taxonomy response = policyTagManagerSerializationClient.replaceTaxonomy(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 Taxonomy replaceTaxonomy(ReplaceTaxonomyRequest request) { + return replaceTaxonomyCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Replaces (updates) a taxonomy and all its policy tags. + * + *

The taxonomy and its entire hierarchy of policy tags must be represented literally by + * `SerializedTaxonomy` and the nested `SerializedPolicyTag` messages. + * + *

This operation automatically does the following: + * + *

- Deletes the existing policy tags that are missing from the `SerializedPolicyTag`. - + * Creates policy tags that don't have resource names. They are considered new. - Updates policy + * tags with valid resources names accordingly. + * + *

Sample code: + * + *

{@code
+   * try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
+   *     PolicyTagManagerSerializationClient.create()) {
+   *   ReplaceTaxonomyRequest request =
+   *       ReplaceTaxonomyRequest.newBuilder()
+   *           .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+   *           .setSerializedTaxonomy(SerializedTaxonomy.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       policyTagManagerSerializationClient.replaceTaxonomyCallable().futureCall(request);
+   *   // Do something.
+   *   Taxonomy response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable replaceTaxonomyCallable() { + return stub.replaceTaxonomyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates new taxonomies (including their policy tags) in a given project by importing from + * inlined or cross-regional sources. * - *

If using the cross-regional source, a new taxonomy is created by copying from a source in - * another region. + *

For a cross-regional source, new taxonomies are created by copying from a source in another + * region. * - *

If using the inlined source, this method provides a way to bulk create taxonomies and policy - * tags using nested proto structure. + *

For an inlined source, taxonomies and policy tags are created in bulk using nested protocol + * buffer structures. * *

Sample code: * @@ -186,14 +255,14 @@ public final ImportTaxonomiesResponse importTaxonomies(ImportTaxonomiesRequest r // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates new taxonomies (including their policy tags) by importing from inlined source or - * cross-regional source. New taxonomies will be created in a given parent project. + * Creates new taxonomies (including their policy tags) in a given project by importing from + * inlined or cross-regional sources. * - *

If using the cross-regional source, a new taxonomy is created by copying from a source in - * another region. + *

For a cross-regional source, new taxonomies are created by copying from a source in another + * region. * - *

If using the inlined source, this method provides a way to bulk create taxonomies and policy - * tags using nested proto structure. + *

For an inlined source, taxonomies and policy tags are created in bulk using nested protocol + * buffer structures. * *

Sample code: * @@ -218,11 +287,11 @@ public final ImportTaxonomiesResponse importTaxonomies(ImportTaxonomiesRequest r // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Exports taxonomies as the requested type and returns the taxonomies including their policy - * tags. The requested taxonomies must belong to one project. + * Exports taxonomies in the requested type and returns them, including their policy tags. The + * requested taxonomies must belong to the same project. * - *

SerializedTaxonomy protos with nested policy tags that are generated by this method can be - * used as input for future ImportTaxonomies calls. + *

This method generates `SerializedTaxonomy` protocol buffers with nested policy tags that can + * be used as input for `ImportTaxonomies` calls. * *

Sample code: * @@ -248,11 +317,11 @@ public final ExportTaxonomiesResponse exportTaxonomies(ExportTaxonomiesRequest r // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Exports taxonomies as the requested type and returns the taxonomies including their policy - * tags. The requested taxonomies must belong to one project. + * Exports taxonomies in the requested type and returns them, including their policy tags. The + * requested taxonomies must belong to the same project. * - *

SerializedTaxonomy protos with nested policy tags that are generated by this method can be - * used as input for future ImportTaxonomies calls. + *

This method generates `SerializedTaxonomy` protocol buffers with nested policy tags that can + * be used as input for `ImportTaxonomies` calls. * *

Sample code: * diff --git a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationSettings.java b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationSettings.java index 883e1a6c..fca04d29 100644 --- a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationSettings.java +++ b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationSettings.java @@ -46,16 +46,16 @@ *

The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *

For example, to set the total timeout of importTaxonomies to 30 seconds: + *

For example, to set the total timeout of replaceTaxonomy to 30 seconds: * *

{@code
  * PolicyTagManagerSerializationSettings.Builder policyTagManagerSerializationSettingsBuilder =
  *     PolicyTagManagerSerializationSettings.newBuilder();
  * policyTagManagerSerializationSettingsBuilder
- *     .importTaxonomiesSettings()
+ *     .replaceTaxonomySettings()
  *     .setRetrySettings(
  *         policyTagManagerSerializationSettingsBuilder
- *             .importTaxonomiesSettings()
+ *             .replaceTaxonomySettings()
  *             .getRetrySettings()
  *             .toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
@@ -68,6 +68,12 @@
 public class PolicyTagManagerSerializationSettings
     extends ClientSettings {
 
+  /** Returns the object with the settings used for calls to replaceTaxonomy. */
+  public UnaryCallSettings replaceTaxonomySettings() {
+    return ((PolicyTagManagerSerializationStubSettings) getStubSettings())
+        .replaceTaxonomySettings();
+  }
+
   /** Returns the object with the settings used for calls to importTaxonomies. */
   public UnaryCallSettings
       importTaxonomiesSettings() {
@@ -181,6 +187,11 @@ public Builder applyToAllUnaryMethods(
       return this;
     }
 
+    /** Returns the builder for the settings used for calls to replaceTaxonomy. */
+    public UnaryCallSettings.Builder replaceTaxonomySettings() {
+      return getStubSettingsBuilder().replaceTaxonomySettings();
+    }
+
     /** Returns the builder for the settings used for calls to importTaxonomies. */
     public UnaryCallSettings.Builder
         importTaxonomiesSettings() {
diff --git a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/gapic_metadata.json b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/gapic_metadata.json
index 284286cf..c9fd110a 100644
--- a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/gapic_metadata.json
+++ b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/gapic_metadata.json
@@ -156,6 +156,9 @@
             },
             "ImportTaxonomies": {
               "methods": ["importTaxonomies", "importTaxonomiesCallable"]
+            },
+            "ReplaceTaxonomy": {
+              "methods": ["replaceTaxonomy", "replaceTaxonomyCallable"]
             }
           }
         }
diff --git a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/package-info.java b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/package-info.java
index c658dbf4..becf615c 100644
--- a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/package-info.java
+++ b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/package-info.java
@@ -19,8 +19,8 @@
  *
  * 

======================= DataCatalogClient ======================= * - *

Service Description: Data Catalog API service allows clients to discover, understand, and - * manage their data. + *

Service Description: Data Catalog API service allows you to discover, understand, and manage + * your data. * *

Sample for DataCatalogClient: * @@ -35,8 +35,8 @@ * *

======================= PolicyTagManagerClient ======================= * - *

Service Description: Policy Tag Manager API service allows clients to manage their policy tags - * and taxonomies. + *

Service Description: Policy Tag Manager API service allows you to manage your policy tags and + * taxonomies. * *

Policy tags are used to tag BigQuery columns and apply additional access control policies. A * taxonomy is a hierarchical grouping of policy tags that classify data along a common axis. @@ -53,21 +53,22 @@ * *

======================= PolicyTagManagerSerializationClient ======================= * - *

Service Description: Policy Tag Manager serialization API service allows clients to manipulate - * their policy tags and taxonomies in serialized format, where taxonomy is a hierarchical group of - * policy tags. + *

Service Description: Policy Tag Manager Serialization API service allows you to manipulate + * your policy tags and taxonomies in a serialized format. + * + *

Taxonomy is a hierarchical group of policy tags. * *

Sample for PolicyTagManagerSerializationClient: * *

{@code
  * try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
  *     PolicyTagManagerSerializationClient.create()) {
- *   ImportTaxonomiesRequest request =
- *       ImportTaxonomiesRequest.newBuilder()
- *           .setParent(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ *   ReplaceTaxonomyRequest request =
+ *       ReplaceTaxonomyRequest.newBuilder()
+ *           .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ *           .setSerializedTaxonomy(SerializedTaxonomy.newBuilder().build())
  *           .build();
- *   ImportTaxonomiesResponse response =
- *       policyTagManagerSerializationClient.importTaxonomies(request);
+ *   Taxonomy response = policyTagManagerSerializationClient.replaceTaxonomy(request);
  * }
  * }
*/ diff --git a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerSerializationStub.java b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerSerializationStub.java index ddc130f4..77b75cf4 100644 --- a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerSerializationStub.java +++ b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/GrpcPolicyTagManagerSerializationStub.java @@ -27,6 +27,8 @@ import com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse; import com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest; import com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse; +import com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest; +import com.google.cloud.datacatalog.v1.Taxonomy; import com.google.common.collect.ImmutableMap; import com.google.longrunning.stub.GrpcOperationsStub; import io.grpc.MethodDescriptor; @@ -44,6 +46,17 @@ */ @Generated("by gapic-generator-java") public class GrpcPolicyTagManagerSerializationStub extends PolicyTagManagerSerializationStub { + private static final MethodDescriptor + replaceTaxonomyMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.cloud.datacatalog.v1.PolicyTagManagerSerialization/ReplaceTaxonomy") + .setRequestMarshaller( + ProtoUtils.marshaller(ReplaceTaxonomyRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Taxonomy.getDefaultInstance())) + .build(); + private static final MethodDescriptor importTaxonomiesMethodDescriptor = MethodDescriptor.newBuilder() @@ -68,6 +81,7 @@ public class GrpcPolicyTagManagerSerializationStub extends PolicyTagManagerSeria ProtoUtils.marshaller(ExportTaxonomiesResponse.getDefaultInstance())) .build(); + private final UnaryCallable replaceTaxonomyCallable; private final UnaryCallable importTaxonomiesCallable; private final UnaryCallable @@ -120,6 +134,19 @@ protected GrpcPolicyTagManagerSerializationStub( this.callableFactory = callableFactory; this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory); + GrpcCallSettings replaceTaxonomyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(replaceTaxonomyMethodDescriptor) + .setParamsExtractor( + new RequestParamsExtractor() { + @Override + public Map extract(ReplaceTaxonomyRequest request) { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + } + }) + .build(); GrpcCallSettings importTaxonomiesTransportSettings = GrpcCallSettings.newBuilder() @@ -149,6 +176,9 @@ public Map extract(ExportTaxonomiesRequest request) { }) .build(); + this.replaceTaxonomyCallable = + callableFactory.createUnaryCallable( + replaceTaxonomyTransportSettings, settings.replaceTaxonomySettings(), clientContext); this.importTaxonomiesCallable = callableFactory.createUnaryCallable( importTaxonomiesTransportSettings, settings.importTaxonomiesSettings(), clientContext); @@ -164,6 +194,11 @@ public GrpcOperationsStub getOperationsStub() { return operationsStub; } + @Override + public UnaryCallable replaceTaxonomyCallable() { + return replaceTaxonomyCallable; + } + @Override public UnaryCallable importTaxonomiesCallable() { diff --git a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStub.java b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStub.java index 9092c8a4..d06bda71 100644 --- a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStub.java +++ b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStub.java @@ -22,6 +22,8 @@ import com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse; import com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest; import com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse; +import com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest; +import com.google.cloud.datacatalog.v1.Taxonomy; import javax.annotation.Generated; // AUTO-GENERATED DOCUMENTATION AND CLASS. @@ -33,6 +35,10 @@ @Generated("by gapic-generator-java") public abstract class PolicyTagManagerSerializationStub implements BackgroundResource { + public UnaryCallable replaceTaxonomyCallable() { + throw new UnsupportedOperationException("Not implemented: replaceTaxonomyCallable()"); + } + public UnaryCallable importTaxonomiesCallable() { throw new UnsupportedOperationException("Not implemented: importTaxonomiesCallable()"); diff --git a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStubSettings.java b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStubSettings.java index f38c4c36..79bb101d 100644 --- a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStubSettings.java +++ b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/PolicyTagManagerSerializationStubSettings.java @@ -35,6 +35,8 @@ import com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse; import com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest; import com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse; +import com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest; +import com.google.cloud.datacatalog.v1.Taxonomy; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; @@ -59,16 +61,16 @@ *

The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *

For example, to set the total timeout of importTaxonomies to 30 seconds: + *

For example, to set the total timeout of replaceTaxonomy to 30 seconds: * *

{@code
  * PolicyTagManagerSerializationStubSettings.Builder policyTagManagerSerializationSettingsBuilder =
  *     PolicyTagManagerSerializationStubSettings.newBuilder();
  * policyTagManagerSerializationSettingsBuilder
- *     .importTaxonomiesSettings()
+ *     .replaceTaxonomySettings()
  *     .setRetrySettings(
  *         policyTagManagerSerializationSettingsBuilder
- *             .importTaxonomiesSettings()
+ *             .replaceTaxonomySettings()
  *             .getRetrySettings()
  *             .toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
@@ -84,11 +86,17 @@ public class PolicyTagManagerSerializationStubSettings
   private static final ImmutableList DEFAULT_SERVICE_SCOPES =
       ImmutableList.builder().add("https://www.googleapis.com/auth/cloud-platform").build();
 
+  private final UnaryCallSettings replaceTaxonomySettings;
   private final UnaryCallSettings
       importTaxonomiesSettings;
   private final UnaryCallSettings
       exportTaxonomiesSettings;
 
+  /** Returns the object with the settings used for calls to replaceTaxonomy. */
+  public UnaryCallSettings replaceTaxonomySettings() {
+    return replaceTaxonomySettings;
+  }
+
   /** Returns the object with the settings used for calls to importTaxonomies. */
   public UnaryCallSettings
       importTaxonomiesSettings() {
@@ -176,6 +184,7 @@ public Builder toBuilder() {
   protected PolicyTagManagerSerializationStubSettings(Builder settingsBuilder) throws IOException {
     super(settingsBuilder);
 
+    replaceTaxonomySettings = settingsBuilder.replaceTaxonomySettings().build();
     importTaxonomiesSettings = settingsBuilder.importTaxonomiesSettings().build();
     exportTaxonomiesSettings = settingsBuilder.exportTaxonomiesSettings().build();
   }
@@ -184,6 +193,8 @@ protected PolicyTagManagerSerializationStubSettings(Builder settingsBuilder) thr
   public static class Builder
       extends StubSettings.Builder {
     private final ImmutableList> unaryMethodSettingsBuilders;
+    private final UnaryCallSettings.Builder
+        replaceTaxonomySettings;
     private final UnaryCallSettings.Builder
         importTaxonomiesSettings;
     private final UnaryCallSettings.Builder
@@ -222,24 +233,26 @@ protected Builder() {
     protected Builder(ClientContext clientContext) {
       super(clientContext);
 
+      replaceTaxonomySettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
       importTaxonomiesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
       exportTaxonomiesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
 
       unaryMethodSettingsBuilders =
           ImmutableList.>of(
-              importTaxonomiesSettings, exportTaxonomiesSettings);
+              replaceTaxonomySettings, importTaxonomiesSettings, exportTaxonomiesSettings);
       initDefaults(this);
     }
 
     protected Builder(PolicyTagManagerSerializationStubSettings settings) {
       super(settings);
 
+      replaceTaxonomySettings = settings.replaceTaxonomySettings.toBuilder();
       importTaxonomiesSettings = settings.importTaxonomiesSettings.toBuilder();
       exportTaxonomiesSettings = settings.exportTaxonomiesSettings.toBuilder();
 
       unaryMethodSettingsBuilders =
           ImmutableList.>of(
-              importTaxonomiesSettings, exportTaxonomiesSettings);
+              replaceTaxonomySettings, importTaxonomiesSettings, exportTaxonomiesSettings);
     }
 
     private static Builder createDefault() {
@@ -256,6 +269,11 @@ private static Builder createDefault() {
     }
 
     private static Builder initDefaults(Builder builder) {
+      builder
+          .replaceTaxonomySettings()
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params"));
+
       builder
           .importTaxonomiesSettings()
           .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes"))
@@ -285,6 +303,11 @@ public Builder applyToAllUnaryMethods(
       return unaryMethodSettingsBuilders;
     }
 
+    /** Returns the builder for the settings used for calls to replaceTaxonomy. */
+    public UnaryCallSettings.Builder replaceTaxonomySettings() {
+      return replaceTaxonomySettings;
+    }
+
     /** Returns the builder for the settings used for calls to importTaxonomies. */
     public UnaryCallSettings.Builder
         importTaxonomiesSettings() {
diff --git a/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientTest.java b/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientTest.java
index 3e37b2b9..e822b804 100644
--- a/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientTest.java
+++ b/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/DataCatalogClientTest.java
@@ -656,6 +656,8 @@ public void createEntryTest() throws Exception {
             .setDescription("description-1724546052")
             .setSchema(Schema.newBuilder().build())
             .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build())
+            .setUsageSignal(UsageSignal.newBuilder().build())
+            .putAllLabels(new HashMap())
             .setDataSource(DataSource.newBuilder().build())
             .build();
     mockDataCatalog.addResponse(expectedResponse);
@@ -707,6 +709,8 @@ public void createEntryTest2() throws Exception {
             .setDescription("description-1724546052")
             .setSchema(Schema.newBuilder().build())
             .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build())
+            .setUsageSignal(UsageSignal.newBuilder().build())
+            .putAllLabels(new HashMap())
             .setDataSource(DataSource.newBuilder().build())
             .build();
     mockDataCatalog.addResponse(expectedResponse);
@@ -758,6 +762,8 @@ public void updateEntryTest() throws Exception {
             .setDescription("description-1724546052")
             .setSchema(Schema.newBuilder().build())
             .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build())
+            .setUsageSignal(UsageSignal.newBuilder().build())
+            .putAllLabels(new HashMap())
             .setDataSource(DataSource.newBuilder().build())
             .build();
     mockDataCatalog.addResponse(expectedResponse);
@@ -803,6 +809,8 @@ public void updateEntryTest2() throws Exception {
             .setDescription("description-1724546052")
             .setSchema(Schema.newBuilder().build())
             .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build())
+            .setUsageSignal(UsageSignal.newBuilder().build())
+            .putAllLabels(new HashMap())
             .setDataSource(DataSource.newBuilder().build())
             .build();
     mockDataCatalog.addResponse(expectedResponse);
@@ -919,6 +927,8 @@ public void getEntryTest() throws Exception {
             .setDescription("description-1724546052")
             .setSchema(Schema.newBuilder().build())
             .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build())
+            .setUsageSignal(UsageSignal.newBuilder().build())
+            .putAllLabels(new HashMap())
             .setDataSource(DataSource.newBuilder().build())
             .build();
     mockDataCatalog.addResponse(expectedResponse);
@@ -964,6 +974,8 @@ public void getEntryTest2() throws Exception {
             .setDescription("description-1724546052")
             .setSchema(Schema.newBuilder().build())
             .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build())
+            .setUsageSignal(UsageSignal.newBuilder().build())
+            .putAllLabels(new HashMap())
             .setDataSource(DataSource.newBuilder().build())
             .build();
     mockDataCatalog.addResponse(expectedResponse);
@@ -1009,6 +1021,8 @@ public void lookupEntryTest() throws Exception {
             .setDescription("description-1724546052")
             .setSchema(Schema.newBuilder().build())
             .setSourceSystemTimestamps(SystemTimestamps.newBuilder().build())
+            .setUsageSignal(UsageSignal.newBuilder().build())
+            .putAllLabels(new HashMap())
             .setDataSource(DataSource.newBuilder().build())
             .build();
     mockDataCatalog.addResponse(expectedResponse);
@@ -1139,6 +1153,7 @@ public void createTagTemplateTest() throws Exception {
         TagTemplate.newBuilder()
             .setName(TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString())
             .setDisplayName("displayName1714148973")
+            .setIsPubliclyReadable(true)
             .putAllFields(new HashMap())
             .build();
     mockDataCatalog.addResponse(expectedResponse);
@@ -1185,6 +1200,7 @@ public void createTagTemplateTest2() throws Exception {
         TagTemplate.newBuilder()
             .setName(TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString())
             .setDisplayName("displayName1714148973")
+            .setIsPubliclyReadable(true)
             .putAllFields(new HashMap())
             .build();
     mockDataCatalog.addResponse(expectedResponse);
@@ -1231,6 +1247,7 @@ public void getTagTemplateTest() throws Exception {
         TagTemplate.newBuilder()
             .setName(TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString())
             .setDisplayName("displayName1714148973")
+            .setIsPubliclyReadable(true)
             .putAllFields(new HashMap())
             .build();
     mockDataCatalog.addResponse(expectedResponse);
@@ -1271,6 +1288,7 @@ public void getTagTemplateTest2() throws Exception {
         TagTemplate.newBuilder()
             .setName(TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString())
             .setDisplayName("displayName1714148973")
+            .setIsPubliclyReadable(true)
             .putAllFields(new HashMap())
             .build();
     mockDataCatalog.addResponse(expectedResponse);
@@ -1311,6 +1329,7 @@ public void updateTagTemplateTest() throws Exception {
         TagTemplate.newBuilder()
             .setName(TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString())
             .setDisplayName("displayName1714148973")
+            .setIsPubliclyReadable(true)
             .putAllFields(new HashMap())
             .build();
     mockDataCatalog.addResponse(expectedResponse);
@@ -1351,6 +1370,7 @@ public void updateTagTemplateTest2() throws Exception {
         TagTemplate.newBuilder()
             .setName(TagTemplateName.of("[PROJECT]", "[LOCATION]", "[TAG_TEMPLATE]").toString())
             .setDisplayName("displayName1714148973")
+            .setIsPubliclyReadable(true)
             .putAllFields(new HashMap())
             .build();
     mockDataCatalog.addResponse(expectedResponse);
diff --git a/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerSerializationImpl.java b/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerSerializationImpl.java
index 27197a3d..59961c5e 100644
--- a/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerSerializationImpl.java
+++ b/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/MockPolicyTagManagerSerializationImpl.java
@@ -58,6 +58,27 @@ public void reset() {
     responses = new LinkedList<>();
   }
 
+  @Override
+  public void replaceTaxonomy(
+      ReplaceTaxonomyRequest request, StreamObserver responseObserver) {
+    Object response = responses.poll();
+    if (response instanceof Taxonomy) {
+      requests.add(request);
+      responseObserver.onNext(((Taxonomy) 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 ReplaceTaxonomy, expected %s or %s",
+                  response == null ? "null" : response.getClass().getName(),
+                  Taxonomy.class.getName(),
+                  Exception.class.getName())));
+    }
+  }
+
   @Override
   public void importTaxonomies(
       ImportTaxonomiesRequest request, StreamObserver responseObserver) {
diff --git a/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientTest.java b/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientTest.java
index 43a5f10e..e3cad102 100644
--- a/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientTest.java
+++ b/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationClientTest.java
@@ -77,6 +77,58 @@ public void tearDown() throws Exception {
     client.close();
   }
 
+  @Test
+  public void replaceTaxonomyTest() throws Exception {
+    Taxonomy expectedResponse =
+        Taxonomy.newBuilder()
+            .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+            .setDisplayName("displayName1714148973")
+            .setDescription("description-1724546052")
+            .setPolicyTagCount(1074340189)
+            .setTaxonomyTimestamps(SystemTimestamps.newBuilder().build())
+            .addAllActivatedPolicyTypes(new ArrayList())
+            .build();
+    mockPolicyTagManagerSerialization.addResponse(expectedResponse);
+
+    ReplaceTaxonomyRequest request =
+        ReplaceTaxonomyRequest.newBuilder()
+            .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+            .setSerializedTaxonomy(SerializedTaxonomy.newBuilder().build())
+            .build();
+
+    Taxonomy actualResponse = client.replaceTaxonomy(request);
+    Assert.assertEquals(expectedResponse, actualResponse);
+
+    List actualRequests = mockPolicyTagManagerSerialization.getRequests();
+    Assert.assertEquals(1, actualRequests.size());
+    ReplaceTaxonomyRequest actualRequest = ((ReplaceTaxonomyRequest) actualRequests.get(0));
+
+    Assert.assertEquals(request.getName(), actualRequest.getName());
+    Assert.assertEquals(request.getSerializedTaxonomy(), actualRequest.getSerializedTaxonomy());
+    Assert.assertTrue(
+        channelProvider.isHeaderSent(
+            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
+            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
+  }
+
+  @Test
+  public void replaceTaxonomyExceptionTest() throws Exception {
+    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
+    mockPolicyTagManagerSerialization.addException(exception);
+
+    try {
+      ReplaceTaxonomyRequest request =
+          ReplaceTaxonomyRequest.newBuilder()
+              .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+              .setSerializedTaxonomy(SerializedTaxonomy.newBuilder().build())
+              .build();
+      client.replaceTaxonomy(request);
+      Assert.fail("No exception raised");
+    } catch (InvalidArgumentException e) {
+      // Expected exception.
+    }
+  }
+
   @Test
   public void importTaxonomiesTest() throws Exception {
     ImportTaxonomiesResponse expectedResponse =
diff --git a/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java b/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java
index bdbe4968..0b175e19 100644
--- a/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java
+++ b/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataCatalogGrpc.java
@@ -21,8 +21,8 @@
  *
  *
  * 
- * Data Catalog API service allows clients to discover, understand, and manage
- * their data.
+ * Data Catalog API service allows you to discover, understand, and manage
+ * your data.
  * 
*/ @javax.annotation.Generated( @@ -1330,8 +1330,8 @@ public DataCatalogFutureStub newStub( * * *
-   * Data Catalog API service allows clients to discover, understand, and manage
-   * their data.
+   * Data Catalog API service allows you to discover, understand, and manage
+   * your data.
    * 
*/ public abstract static class DataCatalogImplBase implements io.grpc.BindableService { @@ -1340,19 +1340,18 @@ public abstract static class DataCatalogImplBase implements io.grpc.BindableServ * * *
-     * Searches Data Catalog for multiple resources like entries, tags that
+     * Searches Data Catalog for multiple resources like entries and tags that
      * match a query.
-     * 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 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
-     * across repeated search queries.
-     * See [Data Catalog Search
-     * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
-     * for more information.
+     * This is a [Custom Method]
+     * (https://cloud.google.com/apis/design/custom_methods) that doesn't return
+     * all information on a resource, only its ID and high level fields. To get
+     * more information, you can subsequently call specific get methods.
+     * Note: Data Catalog 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.
+     * For more information, see [Data Catalog search syntax]
+     * (https://cloud.google.com/data-catalog/docs/how-to/search-reference).
      * 
*/ public void searchCatalog( @@ -1367,21 +1366,26 @@ public void searchCatalog( * * *
-     * Creates an EntryGroup.
-     * An entry group contains logically related entries together with Cloud
-     * Identity and Access Management policies that specify the users who can
-     * create, edit, and view entries within the entry group.
-     * Data Catalog automatically creates an entry group for BigQuery entries
-     * ("@bigquery") and Pub/Sub topics ("@pubsub"). Users create their own entry
-     * group to contain Cloud Storage fileset entries or custom type entries,
-     * and the IAM policies associated with those entries. Entry groups, like
-     * entries, can be searched.
+     * Creates an entry group.
+     * An entry group contains logically related entries together with [Cloud
+     * Identity and Access Management](/data-catalog/docs/concepts/iam) policies.
+     * These policies specify users who can create, edit, and view entries
+     * within entry groups.
+     * Data Catalog automatically creates entry groups with names that start with
+     * the `@` symbol for the following resources:
+     * * BigQuery entries (`@bigquery`)
+     * * Pub/Sub topics (`@pubsub`)
+     * * Dataproc Metastore services (`@dataproc_metastore_{SERVICE_NAME_HASH}`)
+     * You can create your own entry groups for Cloud Storage fileset entries
+     * and custom entries together with the corresponding IAM policies.
+     * User-created entry groups can't contain the `@` symbol, it is reserved
+     * for automatically created groups.
+     * Entry groups, like entries, can be searched.
      * A maximum of 10,000 entry groups may be created per organization across all
      * locations.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `parent` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
+     * You must enable the Data Catalog API in the project identified by
+     * the `parent` parameter. For more information, see [Data Catalog resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public void createEntryGroup( @@ -1395,7 +1399,7 @@ public void createEntryGroup( * * *
-     * Gets an EntryGroup.
+     * Gets an entry group.
      * 
*/ public void getEntryGroup( @@ -1409,11 +1413,11 @@ public void getEntryGroup( * * *
-     * Updates an EntryGroup. The user should enable the Data Catalog API in the
-     * project identified by the `entry_group.name` parameter (see [Data Catalog
-     * Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
+     * Updates an entry group.
+     * You must enable the Data Catalog API in the project identified by
+     * the `entry_group.name` parameter. For more information, see [Data Catalog
+     * resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public void updateEntryGroup( @@ -1427,11 +1431,11 @@ public void updateEntryGroup( * * *
-     * Deletes an EntryGroup. Only entry groups that do not contain entries can be
-     * deleted. 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).
+     * Deletes an entry group.
+     * You must enable the Data Catalog API in the project
+     * identified by the `name` parameter. For more information, see [Data Catalog
+     * resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public void deleteEntryGroup( @@ -1460,13 +1464,14 @@ public void listEntryGroups( * * *
-     * Creates an entry. Only entries of types 'FILESET', 'CLUSTER', 'DATA_STREAM'
-     * or with a user-specified type can be created.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `parent` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * A maximum of 100,000 entries may be created per entry group.
+     * Creates an entry.
+     * You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM',
+     * or custom types. Data Catalog automatically creates entries with other
+     * types during metadata ingestion from integrated systems.
+     * You must enable the Data Catalog API in the project identified by
+     * the `parent` parameter. For more information, see [Data Catalog resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
+     * An entry group can have a maximum of 100,000 entries.
      * 
*/ public void createEntry( @@ -1481,10 +1486,10 @@ public void createEntry( * *
      * Updates an existing entry.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `entry.name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
+     * You must enable the Data Catalog API in the project identified by
+     * the `entry.name` parameter. For more information, see [Data Catalog
+     * resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public void updateEntry( @@ -1498,13 +1503,14 @@ public void updateEntry( * * *
-     * Deletes an existing entry. Only entries created through
+     * Deletes an existing entry.
+     * You can delete only the entries created by the
      * [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry]
-     * method can be deleted.
-     * 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).
+     * method.
+     * You must enable the Data Catalog API in the project identified by
+     * the `name` parameter. For more information, see [Data Catalog
+     * resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public void deleteEntry( @@ -1531,9 +1537,8 @@ public void getEntry( * * *
-     * Get an entry by target resource name. This method allows clients to use
-     * the resource name from the source Google Cloud Platform service to get the
-     * Data Catalog Entry.
+     * Gets an entry by its target resource name.
+     * The resource name comes from the source Google Cloud Platform service.
      * 
*/ public void lookupEntry( @@ -1562,11 +1567,11 @@ public void listEntries( * * *
-     * Creates a tag template. The user should enable the Data Catalog API in
-     * the project identified by the `parent` parameter (see [Data Catalog
-     * Resource
-     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
-     * for more information).
+     * Creates a tag template.
+     * You must enable the Data Catalog API in the project identified by the
+     * `parent` parameter.
+     * For more information, see [Data Catalog resource project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public void createTagTemplate( @@ -1594,13 +1599,13 @@ public void getTagTemplate( * * *
-     * Updates a tag template. This method cannot be used to update the fields of
-     * a template. The tag template fields are represented as separate resources
-     * and should be updated using their own create/update/delete methods.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `tag_template.name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
+     * Updates a tag template.
+     * You can't update template fields with this method. These fields are
+     * separate resources with their own create, update, and delete methods.
+     * You must enable the Data Catalog API in the project identified by
+     * the `tag_template.name` parameter. For more information, see [Data Catalog
+     * resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public void updateTagTemplate( @@ -1614,11 +1619,10 @@ public void updateTagTemplate( * * *
-     * Deletes a tag template and all tags using the template.
-     * 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).
+     * Deletes a tag template and all tags that use it.
+     * You must enable the Data Catalog API in the project identified by
+     * the `name` parameter. For more information, see [Data Catalog resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public void deleteTagTemplate( @@ -1632,11 +1636,10 @@ public void deleteTagTemplate( * * *
-     * Creates a field in a tag template. The user should enable the Data Catalog
-     * API in the project identified by the `parent` parameter (see
-     * [Data Catalog Resource
-     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
-     * for more information).
+     * Creates a field in a tag template.
+     * You must enable the Data Catalog API in the project identified by
+     * the `parent` parameter. For more information, see [Data Catalog resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public void createTagTemplateField( @@ -1651,11 +1654,12 @@ public void createTagTemplateField( * * *
-     * Updates a field in a tag template. This method cannot be used to update the
-     * field type. 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).
+     * Updates a field in a tag template.
+     * You can't update the field type with this method.
+     * You must enable the Data Catalog API in the project
+     * identified by the `name` parameter. For more information, see [Data Catalog
+     * resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public void updateTagTemplateField( @@ -1670,11 +1674,10 @@ public void updateTagTemplateField( * * *
-     * Renames a field in a tag template. The user 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).
+     * Renames a field in a tag template.
+     * You must enable the Data Catalog API in the project identified by the
+     * `name` parameter. For more information, see [Data Catalog resource project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public void renameTagTemplateField( @@ -1689,8 +1692,8 @@ public void renameTagTemplateField( * * *
-     * Renames an enum value in a tag template. The enum values have to be unique
-     * within one enum field.
+     * Renames an enum value in a tag template.
+     * Within a single enum field, enum values must be unique.
      * 
*/ public void renameTagTemplateFieldEnumValue( @@ -1705,11 +1708,11 @@ public void renameTagTemplateFieldEnumValue( * * *
-     * 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).
+     * Deletes a field in a tag template and all uses of this field from the tags
+     * based on this template.
+     * You must enable the Data Catalog API in the project identified by
+     * the `name` parameter. For more information, see [Data Catalog resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public void deleteTagTemplateField( @@ -1723,13 +1726,16 @@ public void deleteTagTemplateField( * * *
-     * Creates a tag on an [Entry][google.cloud.datacatalog.v1.Entry].
-     * Note: The project identified by the `parent` parameter for the
-     * [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
-     * and the
-     * [tag
-     * template](https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters)
-     * used to create the tag must be from the same organization.
+     * Creates a tag and assigns it to:
+     * * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
+     *   ``projects.locations.entryGroups.entries.tags.create``.
+     * * Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
+     *   name is ``projects.locations.entryGroups.tags.create``.
+     * Note: The project identified by the `parent` parameter for the [tag]
+     * (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
+     * and the [tag template]
+     * (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters)
+     * used to create the tag must be in the same organization.
      * 
*/ public void createTag( @@ -1768,7 +1774,7 @@ public void deleteTag( * * *
-     * Lists the tags on an [Entry][google.cloud.datacatalog.v1.Entry].
+     * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry].
      * 
*/ public void listTags( @@ -1782,19 +1788,18 @@ public void listTags( * * *
-     * Sets the access control policy for a resource. Replaces any existing
+     * Sets an access control policy for a resource. Replaces any existing
      * policy.
      * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * Callers must have following Google IAM permission
-     *   - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
-     *     templates.
-     *   - `datacatalog.entries.setIamPolicy` to set policies on entries.
-     *   - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
+     * - Tag templates
+     * - Entry groups
+     * Note: This method sets policies only within Data Catalog and can't be
+     * used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any
+     * external Google Cloud Platform resources synced with the Data Catalog.
+     * To call this method, you must have the following Google IAM permissions:
+     * - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
+     *   templates.
+     * - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
      * 
*/ public void setIamPolicy( @@ -1808,20 +1813,20 @@ public void setIamPolicy( * * *
-     * Gets the access control policy for a resource. A `NOT_FOUND` error
-     * is returned if the resource does not exist. An empty policy is returned
-     * if the resource exists but does not have a policy set on it.
+     * Gets the access control policy for a resource.
+     * May return:
+     * * A`NOT_FOUND` error if the resource doesn't exist or you don't have the
+     *   permission to view it.
+     * * An empty policy if the resource exists but doesn't have a set policy.
      * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * Callers must have following Google IAM permission
-     *   - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
-     *     templates.
-     *   - `datacatalog.entries.getIamPolicy` to get policies on entries.
-     *   - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
+     * - Tag templates
+     * - Entry groups
+     * Note: This method doesn't get policies from Google Cloud Platform
+     * resources ingested into Data Catalog.
+     * To call this method, you must have the following Google IAM permissions:
+     * - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
+     *   templates.
+     * - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
      * 
*/ public void getIamPolicy( @@ -1835,17 +1840,15 @@ public void getIamPolicy( * * *
-     * Returns the caller's permissions on a resource.
-     * If the resource does not exist, an empty set of permissions is returned
-     * (We don't return a `NOT_FOUND` error).
+     * Gets your permissions on a resource.
+     * Returns an empty set of permissions if the resource doesn't exist.
      * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * A caller is not required to have Google IAM permission to make this
-     * request.
+     * - Tag templates
+     * - Entry groups
+     * Note: This method gets policies only within Data Catalog and can't be
+     * used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any
+     * external Google Cloud Platform resources ingested into Data Catalog.
+     * No Google IAM permissions are required to call this method.
      * 
*/ public void testIamPermissions( @@ -2048,8 +2051,8 @@ public final io.grpc.ServerServiceDefinition bindService() { * * *
-   * Data Catalog API service allows clients to discover, understand, and manage
-   * their data.
+   * Data Catalog API service allows you to discover, understand, and manage
+   * your data.
    * 
*/ public static final class DataCatalogStub @@ -2067,19 +2070,18 @@ protected DataCatalogStub build(io.grpc.Channel channel, io.grpc.CallOptions cal * * *
-     * Searches Data Catalog for multiple resources like entries, tags that
+     * Searches Data Catalog for multiple resources like entries and tags that
      * match a query.
-     * 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 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
-     * across repeated search queries.
-     * See [Data Catalog Search
-     * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
-     * for more information.
+     * This is a [Custom Method]
+     * (https://cloud.google.com/apis/design/custom_methods) that doesn't return
+     * all information on a resource, only its ID and high level fields. To get
+     * more information, you can subsequently call specific get methods.
+     * Note: Data Catalog 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.
+     * For more information, see [Data Catalog search syntax]
+     * (https://cloud.google.com/data-catalog/docs/how-to/search-reference).
      * 
*/ public void searchCatalog( @@ -2096,21 +2098,26 @@ public void searchCatalog( * * *
-     * Creates an EntryGroup.
-     * An entry group contains logically related entries together with Cloud
-     * Identity and Access Management policies that specify the users who can
-     * create, edit, and view entries within the entry group.
-     * Data Catalog automatically creates an entry group for BigQuery entries
-     * ("@bigquery") and Pub/Sub topics ("@pubsub"). Users create their own entry
-     * group to contain Cloud Storage fileset entries or custom type entries,
-     * and the IAM policies associated with those entries. Entry groups, like
-     * entries, can be searched.
+     * Creates an entry group.
+     * An entry group contains logically related entries together with [Cloud
+     * Identity and Access Management](/data-catalog/docs/concepts/iam) policies.
+     * These policies specify users who can create, edit, and view entries
+     * within entry groups.
+     * Data Catalog automatically creates entry groups with names that start with
+     * the `@` symbol for the following resources:
+     * * BigQuery entries (`@bigquery`)
+     * * Pub/Sub topics (`@pubsub`)
+     * * Dataproc Metastore services (`@dataproc_metastore_{SERVICE_NAME_HASH}`)
+     * You can create your own entry groups for Cloud Storage fileset entries
+     * and custom entries together with the corresponding IAM policies.
+     * User-created entry groups can't contain the `@` symbol, it is reserved
+     * for automatically created groups.
+     * Entry groups, like entries, can be searched.
      * A maximum of 10,000 entry groups may be created per organization across all
      * locations.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `parent` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
+     * You must enable the Data Catalog API in the project identified by
+     * the `parent` parameter. For more information, see [Data Catalog resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public void createEntryGroup( @@ -2126,7 +2133,7 @@ public void createEntryGroup( * * *
-     * Gets an EntryGroup.
+     * Gets an entry group.
      * 
*/ public void getEntryGroup( @@ -2142,11 +2149,11 @@ public void getEntryGroup( * * *
-     * Updates an EntryGroup. The user should enable the Data Catalog API in the
-     * project identified by the `entry_group.name` parameter (see [Data Catalog
-     * Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
+     * Updates an entry group.
+     * You must enable the Data Catalog API in the project identified by
+     * the `entry_group.name` parameter. For more information, see [Data Catalog
+     * resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public void updateEntryGroup( @@ -2162,11 +2169,11 @@ public void updateEntryGroup( * * *
-     * Deletes an EntryGroup. Only entry groups that do not contain entries can be
-     * deleted. 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).
+     * Deletes an entry group.
+     * You must enable the Data Catalog API in the project
+     * identified by the `name` parameter. For more information, see [Data Catalog
+     * resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public void deleteEntryGroup( @@ -2199,13 +2206,14 @@ public void listEntryGroups( * * *
-     * Creates an entry. Only entries of types 'FILESET', 'CLUSTER', 'DATA_STREAM'
-     * or with a user-specified type can be created.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `parent` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * A maximum of 100,000 entries may be created per entry group.
+     * Creates an entry.
+     * You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM',
+     * or custom types. Data Catalog automatically creates entries with other
+     * types during metadata ingestion from integrated systems.
+     * You must enable the Data Catalog API in the project identified by
+     * the `parent` parameter. For more information, see [Data Catalog resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
+     * An entry group can have a maximum of 100,000 entries.
      * 
*/ public void createEntry( @@ -2222,10 +2230,10 @@ public void createEntry( * *
      * Updates an existing entry.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `entry.name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
+     * You must enable the Data Catalog API in the project identified by
+     * the `entry.name` parameter. For more information, see [Data Catalog
+     * resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public void updateEntry( @@ -2241,13 +2249,14 @@ public void updateEntry( * * *
-     * Deletes an existing entry. Only entries created through
+     * Deletes an existing entry.
+     * You can delete only the entries created by the
      * [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry]
-     * method can be deleted.
-     * 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).
+     * method.
+     * You must enable the Data Catalog API in the project identified by
+     * the `name` parameter. For more information, see [Data Catalog
+     * resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public void deleteEntry( @@ -2277,9 +2286,8 @@ public void getEntry( * * *
-     * Get an entry by target resource name. This method allows clients to use
-     * the resource name from the source Google Cloud Platform service to get the
-     * Data Catalog Entry.
+     * Gets an entry by its target resource name.
+     * The resource name comes from the source Google Cloud Platform service.
      * 
*/ public void lookupEntry( @@ -2312,11 +2320,11 @@ public void listEntries( * * *
-     * Creates a tag template. The user should enable the Data Catalog API in
-     * the project identified by the `parent` parameter (see [Data Catalog
-     * Resource
-     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
-     * for more information).
+     * Creates a tag template.
+     * You must enable the Data Catalog API in the project identified by the
+     * `parent` parameter.
+     * For more information, see [Data Catalog resource project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public void createTagTemplate( @@ -2348,13 +2356,13 @@ public void getTagTemplate( * * *
-     * Updates a tag template. This method cannot be used to update the fields of
-     * a template. The tag template fields are represented as separate resources
-     * and should be updated using their own create/update/delete methods.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `tag_template.name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
+     * Updates a tag template.
+     * You can't update template fields with this method. These fields are
+     * separate resources with their own create, update, and delete methods.
+     * You must enable the Data Catalog API in the project identified by
+     * the `tag_template.name` parameter. For more information, see [Data Catalog
+     * resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public void updateTagTemplate( @@ -2370,11 +2378,10 @@ public void updateTagTemplate( * * *
-     * Deletes a tag template and all tags using the template.
-     * 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).
+     * Deletes a tag template and all tags that use it.
+     * You must enable the Data Catalog API in the project identified by
+     * the `name` parameter. For more information, see [Data Catalog resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public void deleteTagTemplate( @@ -2390,11 +2397,10 @@ public void deleteTagTemplate( * * *
-     * Creates a field in a tag template. The user should enable the Data Catalog
-     * API in the project identified by the `parent` parameter (see
-     * [Data Catalog Resource
-     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
-     * for more information).
+     * Creates a field in a tag template.
+     * You must enable the Data Catalog API in the project identified by
+     * the `parent` parameter. For more information, see [Data Catalog resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public void createTagTemplateField( @@ -2411,11 +2417,12 @@ public void createTagTemplateField( * * *
-     * Updates a field in a tag template. This method cannot be used to update the
-     * field type. 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).
+     * Updates a field in a tag template.
+     * You can't update the field type with this method.
+     * You must enable the Data Catalog API in the project
+     * identified by the `name` parameter. For more information, see [Data Catalog
+     * resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public void updateTagTemplateField( @@ -2432,11 +2439,10 @@ public void updateTagTemplateField( * * *
-     * Renames a field in a tag template. The user 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).
+     * Renames a field in a tag template.
+     * You must enable the Data Catalog API in the project identified by the
+     * `name` parameter. For more information, see [Data Catalog resource project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public void renameTagTemplateField( @@ -2453,8 +2459,8 @@ public void renameTagTemplateField( * * *
-     * Renames an enum value in a tag template. The enum values have to be unique
-     * within one enum field.
+     * Renames an enum value in a tag template.
+     * Within a single enum field, enum values must be unique.
      * 
*/ public void renameTagTemplateFieldEnumValue( @@ -2471,11 +2477,11 @@ public void renameTagTemplateFieldEnumValue( * * *
-     * 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).
+     * Deletes a field in a tag template and all uses of this field from the tags
+     * based on this template.
+     * You must enable the Data Catalog API in the project identified by
+     * the `name` parameter. For more information, see [Data Catalog resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public void deleteTagTemplateField( @@ -2491,13 +2497,16 @@ public void deleteTagTemplateField( * * *
-     * Creates a tag on an [Entry][google.cloud.datacatalog.v1.Entry].
-     * Note: The project identified by the `parent` parameter for the
-     * [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
-     * and the
-     * [tag
-     * template](https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters)
-     * used to create the tag must be from the same organization.
+     * Creates a tag and assigns it to:
+     * * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
+     *   ``projects.locations.entryGroups.entries.tags.create``.
+     * * Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
+     *   name is ``projects.locations.entryGroups.tags.create``.
+     * Note: The project identified by the `parent` parameter for the [tag]
+     * (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
+     * and the [tag template]
+     * (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters)
+     * used to create the tag must be in the same organization.
      * 
*/ public void createTag( @@ -2539,7 +2548,7 @@ public void deleteTag( * * *
-     * Lists the tags on an [Entry][google.cloud.datacatalog.v1.Entry].
+     * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry].
      * 
*/ public void listTags( @@ -2554,19 +2563,18 @@ public void listTags( * * *
-     * Sets the access control policy for a resource. Replaces any existing
+     * Sets an access control policy for a resource. Replaces any existing
      * policy.
      * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * Callers must have following Google IAM permission
-     *   - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
-     *     templates.
-     *   - `datacatalog.entries.setIamPolicy` to set policies on entries.
-     *   - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
+     * - Tag templates
+     * - Entry groups
+     * Note: This method sets policies only within Data Catalog and can't be
+     * used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any
+     * external Google Cloud Platform resources synced with the Data Catalog.
+     * To call this method, you must have the following Google IAM permissions:
+     * - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
+     *   templates.
+     * - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
      * 
*/ public void setIamPolicy( @@ -2582,20 +2590,20 @@ public void setIamPolicy( * * *
-     * Gets the access control policy for a resource. A `NOT_FOUND` error
-     * is returned if the resource does not exist. An empty policy is returned
-     * if the resource exists but does not have a policy set on it.
+     * Gets the access control policy for a resource.
+     * May return:
+     * * A`NOT_FOUND` error if the resource doesn't exist or you don't have the
+     *   permission to view it.
+     * * An empty policy if the resource exists but doesn't have a set policy.
      * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * Callers must have following Google IAM permission
-     *   - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
-     *     templates.
-     *   - `datacatalog.entries.getIamPolicy` to get policies on entries.
-     *   - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
+     * - Tag templates
+     * - Entry groups
+     * Note: This method doesn't get policies from Google Cloud Platform
+     * resources ingested into Data Catalog.
+     * To call this method, you must have the following Google IAM permissions:
+     * - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
+     *   templates.
+     * - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
      * 
*/ public void getIamPolicy( @@ -2611,17 +2619,15 @@ public void getIamPolicy( * * *
-     * Returns the caller's permissions on a resource.
-     * If the resource does not exist, an empty set of permissions is returned
-     * (We don't return a `NOT_FOUND` error).
+     * Gets your permissions on a resource.
+     * Returns an empty set of permissions if the resource doesn't exist.
      * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * A caller is not required to have Google IAM permission to make this
-     * request.
+     * - Tag templates
+     * - Entry groups
+     * Note: This method gets policies only within Data Catalog and can't be
+     * used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any
+     * external Google Cloud Platform resources ingested into Data Catalog.
+     * No Google IAM permissions are required to call this method.
      * 
*/ public void testIamPermissions( @@ -2639,8 +2645,8 @@ public void testIamPermissions( * * *
-   * Data Catalog API service allows clients to discover, understand, and manage
-   * their data.
+   * Data Catalog API service allows you to discover, understand, and manage
+   * your data.
    * 
*/ public static final class DataCatalogBlockingStub @@ -2659,19 +2665,18 @@ protected DataCatalogBlockingStub build( * * *
-     * Searches Data Catalog for multiple resources like entries, tags that
+     * Searches Data Catalog for multiple resources like entries and tags that
      * match a query.
-     * 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 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
-     * across repeated search queries.
-     * See [Data Catalog Search
-     * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
-     * for more information.
+     * This is a [Custom Method]
+     * (https://cloud.google.com/apis/design/custom_methods) that doesn't return
+     * all information on a resource, only its ID and high level fields. To get
+     * more information, you can subsequently call specific get methods.
+     * Note: Data Catalog 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.
+     * For more information, see [Data Catalog search syntax]
+     * (https://cloud.google.com/data-catalog/docs/how-to/search-reference).
      * 
*/ public com.google.cloud.datacatalog.v1.SearchCatalogResponse searchCatalog( @@ -2684,21 +2689,26 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResponse searchCatalog( * * *
-     * Creates an EntryGroup.
-     * An entry group contains logically related entries together with Cloud
-     * Identity and Access Management policies that specify the users who can
-     * create, edit, and view entries within the entry group.
-     * Data Catalog automatically creates an entry group for BigQuery entries
-     * ("@bigquery") and Pub/Sub topics ("@pubsub"). Users create their own entry
-     * group to contain Cloud Storage fileset entries or custom type entries,
-     * and the IAM policies associated with those entries. Entry groups, like
-     * entries, can be searched.
+     * Creates an entry group.
+     * An entry group contains logically related entries together with [Cloud
+     * Identity and Access Management](/data-catalog/docs/concepts/iam) policies.
+     * These policies specify users who can create, edit, and view entries
+     * within entry groups.
+     * Data Catalog automatically creates entry groups with names that start with
+     * the `@` symbol for the following resources:
+     * * BigQuery entries (`@bigquery`)
+     * * Pub/Sub topics (`@pubsub`)
+     * * Dataproc Metastore services (`@dataproc_metastore_{SERVICE_NAME_HASH}`)
+     * You can create your own entry groups for Cloud Storage fileset entries
+     * and custom entries together with the corresponding IAM policies.
+     * User-created entry groups can't contain the `@` symbol, it is reserved
+     * for automatically created groups.
+     * Entry groups, like entries, can be searched.
      * A maximum of 10,000 entry groups may be created per organization across all
      * locations.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `parent` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
+     * You must enable the Data Catalog API in the project identified by
+     * the `parent` parameter. For more information, see [Data Catalog resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public com.google.cloud.datacatalog.v1.EntryGroup createEntryGroup( @@ -2711,7 +2721,7 @@ public com.google.cloud.datacatalog.v1.EntryGroup createEntryGroup( * * *
-     * Gets an EntryGroup.
+     * Gets an entry group.
      * 
*/ public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroup( @@ -2724,11 +2734,11 @@ public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroup( * * *
-     * Updates an EntryGroup. The user should enable the Data Catalog API in the
-     * project identified by the `entry_group.name` parameter (see [Data Catalog
-     * Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
+     * Updates an entry group.
+     * You must enable the Data Catalog API in the project identified by
+     * the `entry_group.name` parameter. For more information, see [Data Catalog
+     * resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public com.google.cloud.datacatalog.v1.EntryGroup updateEntryGroup( @@ -2741,11 +2751,11 @@ public com.google.cloud.datacatalog.v1.EntryGroup updateEntryGroup( * * *
-     * Deletes an EntryGroup. Only entry groups that do not contain entries can be
-     * deleted. 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).
+     * Deletes an entry group.
+     * You must enable the Data Catalog API in the project
+     * identified by the `name` parameter. For more information, see [Data Catalog
+     * resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public com.google.protobuf.Empty deleteEntryGroup( @@ -2771,13 +2781,14 @@ public com.google.cloud.datacatalog.v1.ListEntryGroupsResponse listEntryGroups( * * *
-     * Creates an entry. Only entries of types 'FILESET', 'CLUSTER', 'DATA_STREAM'
-     * or with a user-specified type can be created.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `parent` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * A maximum of 100,000 entries may be created per entry group.
+     * Creates an entry.
+     * You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM',
+     * or custom types. Data Catalog automatically creates entries with other
+     * types during metadata ingestion from integrated systems.
+     * You must enable the Data Catalog API in the project identified by
+     * the `parent` parameter. For more information, see [Data Catalog resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
+     * An entry group can have a maximum of 100,000 entries.
      * 
*/ public com.google.cloud.datacatalog.v1.Entry createEntry( @@ -2791,10 +2802,10 @@ public com.google.cloud.datacatalog.v1.Entry createEntry( * *
      * Updates an existing entry.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `entry.name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
+     * You must enable the Data Catalog API in the project identified by
+     * the `entry.name` parameter. For more information, see [Data Catalog
+     * resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public com.google.cloud.datacatalog.v1.Entry updateEntry( @@ -2807,13 +2818,14 @@ public com.google.cloud.datacatalog.v1.Entry updateEntry( * * *
-     * Deletes an existing entry. Only entries created through
+     * Deletes an existing entry.
+     * You can delete only the entries created by the
      * [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry]
-     * method can be deleted.
-     * 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).
+     * method.
+     * You must enable the Data Catalog API in the project identified by
+     * the `name` parameter. For more information, see [Data Catalog
+     * resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public com.google.protobuf.Empty deleteEntry( @@ -2839,9 +2851,8 @@ public com.google.cloud.datacatalog.v1.Entry getEntry( * * *
-     * Get an entry by target resource name. This method allows clients to use
-     * the resource name from the source Google Cloud Platform service to get the
-     * Data Catalog Entry.
+     * Gets an entry by its target resource name.
+     * The resource name comes from the source Google Cloud Platform service.
      * 
*/ public com.google.cloud.datacatalog.v1.Entry lookupEntry( @@ -2867,11 +2878,11 @@ public com.google.cloud.datacatalog.v1.ListEntriesResponse listEntries( * * *
-     * Creates a tag template. The user should enable the Data Catalog API in
-     * the project identified by the `parent` parameter (see [Data Catalog
-     * Resource
-     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
-     * for more information).
+     * Creates a tag template.
+     * You must enable the Data Catalog API in the project identified by the
+     * `parent` parameter.
+     * For more information, see [Data Catalog resource project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public com.google.cloud.datacatalog.v1.TagTemplate createTagTemplate( @@ -2897,13 +2908,13 @@ public com.google.cloud.datacatalog.v1.TagTemplate getTagTemplate( * * *
-     * Updates a tag template. This method cannot be used to update the fields of
-     * a template. The tag template fields are represented as separate resources
-     * and should be updated using their own create/update/delete methods.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `tag_template.name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
+     * Updates a tag template.
+     * You can't update template fields with this method. These fields are
+     * separate resources with their own create, update, and delete methods.
+     * You must enable the Data Catalog API in the project identified by
+     * the `tag_template.name` parameter. For more information, see [Data Catalog
+     * resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public com.google.cloud.datacatalog.v1.TagTemplate updateTagTemplate( @@ -2916,11 +2927,10 @@ public com.google.cloud.datacatalog.v1.TagTemplate updateTagTemplate( * * *
-     * Deletes a tag template and all tags using the template.
-     * 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).
+     * Deletes a tag template and all tags that use it.
+     * You must enable the Data Catalog API in the project identified by
+     * the `name` parameter. For more information, see [Data Catalog resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public com.google.protobuf.Empty deleteTagTemplate( @@ -2933,11 +2943,10 @@ public com.google.protobuf.Empty deleteTagTemplate( * * *
-     * Creates a field in a tag template. The user should enable the Data Catalog
-     * API in the project identified by the `parent` parameter (see
-     * [Data Catalog Resource
-     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
-     * for more information).
+     * Creates a field in a tag template.
+     * You must enable the Data Catalog API in the project identified by
+     * the `parent` parameter. For more information, see [Data Catalog resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public com.google.cloud.datacatalog.v1.TagTemplateField createTagTemplateField( @@ -2950,11 +2959,12 @@ public com.google.cloud.datacatalog.v1.TagTemplateField createTagTemplateField( * * *
-     * Updates a field in a tag template. This method cannot be used to update the
-     * field type. 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).
+     * Updates a field in a tag template.
+     * You can't update the field type with this method.
+     * You must enable the Data Catalog API in the project
+     * identified by the `name` parameter. For more information, see [Data Catalog
+     * resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public com.google.cloud.datacatalog.v1.TagTemplateField updateTagTemplateField( @@ -2967,11 +2977,10 @@ public com.google.cloud.datacatalog.v1.TagTemplateField updateTagTemplateField( * * *
-     * Renames a field in a tag template. The user 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).
+     * Renames a field in a tag template.
+     * You must enable the Data Catalog API in the project identified by the
+     * `name` parameter. For more information, see [Data Catalog resource project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public com.google.cloud.datacatalog.v1.TagTemplateField renameTagTemplateField( @@ -2984,8 +2993,8 @@ public com.google.cloud.datacatalog.v1.TagTemplateField renameTagTemplateField( * * *
-     * Renames an enum value in a tag template. The enum values have to be unique
-     * within one enum field.
+     * Renames an enum value in a tag template.
+     * Within a single enum field, enum values must be unique.
      * 
*/ public com.google.cloud.datacatalog.v1.TagTemplateField renameTagTemplateFieldEnumValue( @@ -2998,11 +3007,11 @@ public com.google.cloud.datacatalog.v1.TagTemplateField renameTagTemplateFieldEn * * *
-     * 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).
+     * Deletes a field in a tag template and all uses of this field from the tags
+     * based on this template.
+     * You must enable the Data Catalog API in the project identified by
+     * the `name` parameter. For more information, see [Data Catalog resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public com.google.protobuf.Empty deleteTagTemplateField( @@ -3015,13 +3024,16 @@ public com.google.protobuf.Empty deleteTagTemplateField( * * *
-     * Creates a tag on an [Entry][google.cloud.datacatalog.v1.Entry].
-     * Note: The project identified by the `parent` parameter for the
-     * [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
-     * and the
-     * [tag
-     * template](https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters)
-     * used to create the tag must be from the same organization.
+     * Creates a tag and assigns it to:
+     * * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
+     *   ``projects.locations.entryGroups.entries.tags.create``.
+     * * Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
+     *   name is ``projects.locations.entryGroups.tags.create``.
+     * Note: The project identified by the `parent` parameter for the [tag]
+     * (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
+     * and the [tag template]
+     * (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters)
+     * used to create the tag must be in the same organization.
      * 
*/ public com.google.cloud.datacatalog.v1.Tag createTag( @@ -3060,7 +3072,7 @@ public com.google.protobuf.Empty deleteTag( * * *
-     * Lists the tags on an [Entry][google.cloud.datacatalog.v1.Entry].
+     * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry].
      * 
*/ public com.google.cloud.datacatalog.v1.ListTagsResponse listTags( @@ -3073,19 +3085,18 @@ public com.google.cloud.datacatalog.v1.ListTagsResponse listTags( * * *
-     * Sets the access control policy for a resource. Replaces any existing
+     * Sets an access control policy for a resource. Replaces any existing
      * policy.
      * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * Callers must have following Google IAM permission
-     *   - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
-     *     templates.
-     *   - `datacatalog.entries.setIamPolicy` to set policies on entries.
-     *   - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
+     * - Tag templates
+     * - Entry groups
+     * Note: This method sets policies only within Data Catalog and can't be
+     * used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any
+     * external Google Cloud Platform resources synced with the Data Catalog.
+     * To call this method, you must have the following Google IAM permissions:
+     * - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
+     *   templates.
+     * - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
      * 
*/ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { @@ -3097,20 +3108,20 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque * * *
-     * Gets the access control policy for a resource. A `NOT_FOUND` error
-     * is returned if the resource does not exist. An empty policy is returned
-     * if the resource exists but does not have a policy set on it.
+     * Gets the access control policy for a resource.
+     * May return:
+     * * A`NOT_FOUND` error if the resource doesn't exist or you don't have the
+     *   permission to view it.
+     * * An empty policy if the resource exists but doesn't have a set policy.
      * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * Callers must have following Google IAM permission
-     *   - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
-     *     templates.
-     *   - `datacatalog.entries.getIamPolicy` to get policies on entries.
-     *   - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
+     * - Tag templates
+     * - Entry groups
+     * Note: This method doesn't get policies from Google Cloud Platform
+     * resources ingested into Data Catalog.
+     * To call this method, you must have the following Google IAM permissions:
+     * - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
+     *   templates.
+     * - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
      * 
*/ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { @@ -3122,17 +3133,15 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque * * *
-     * Returns the caller's permissions on a resource.
-     * If the resource does not exist, an empty set of permissions is returned
-     * (We don't return a `NOT_FOUND` error).
+     * Gets your permissions on a resource.
+     * Returns an empty set of permissions if the resource doesn't exist.
      * Supported resources are:
-     *   - Tag templates.
-     *   - Entries.
-     *   - Entry groups.
-     * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
-     * and any external Google Cloud Platform resources synced to Data Catalog.
-     * A caller is not required to have Google IAM permission to make this
-     * request.
+     * - Tag templates
+     * - Entry groups
+     * Note: This method gets policies only within Data Catalog and can't be
+     * used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any
+     * external Google Cloud Platform resources ingested into Data Catalog.
+     * No Google IAM permissions are required to call this method.
      * 
*/ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( @@ -3146,8 +3155,8 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( * * *
-   * Data Catalog API service allows clients to discover, understand, and manage
-   * their data.
+   * Data Catalog API service allows you to discover, understand, and manage
+   * your data.
    * 
*/ public static final class DataCatalogFutureStub @@ -3166,19 +3175,18 @@ protected DataCatalogFutureStub build( * * *
-     * Searches Data Catalog for multiple resources like entries, tags that
+     * Searches Data Catalog for multiple resources like entries and tags that
      * match a query.
-     * 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 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
-     * across repeated search queries.
-     * See [Data Catalog Search
-     * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
-     * for more information.
+     * This is a [Custom Method]
+     * (https://cloud.google.com/apis/design/custom_methods) that doesn't return
+     * all information on a resource, only its ID and high level fields. To get
+     * more information, you can subsequently call specific get methods.
+     * Note: Data Catalog 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.
+     * For more information, see [Data Catalog search syntax]
+     * (https://cloud.google.com/data-catalog/docs/how-to/search-reference).
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -3192,21 +3200,26 @@ protected DataCatalogFutureStub build( * * *
-     * Creates an EntryGroup.
-     * An entry group contains logically related entries together with Cloud
-     * Identity and Access Management policies that specify the users who can
-     * create, edit, and view entries within the entry group.
-     * Data Catalog automatically creates an entry group for BigQuery entries
-     * ("@bigquery") and Pub/Sub topics ("@pubsub"). Users create their own entry
-     * group to contain Cloud Storage fileset entries or custom type entries,
-     * and the IAM policies associated with those entries. Entry groups, like
-     * entries, can be searched.
+     * Creates an entry group.
+     * An entry group contains logically related entries together with [Cloud
+     * Identity and Access Management](/data-catalog/docs/concepts/iam) policies.
+     * These policies specify users who can create, edit, and view entries
+     * within entry groups.
+     * Data Catalog automatically creates entry groups with names that start with
+     * the `@` symbol for the following resources:
+     * * BigQuery entries (`@bigquery`)
+     * * Pub/Sub topics (`@pubsub`)
+     * * Dataproc Metastore services (`@dataproc_metastore_{SERVICE_NAME_HASH}`)
+     * You can create your own entry groups for Cloud Storage fileset entries
+     * and custom entries together with the corresponding IAM policies.
+     * User-created entry groups can't contain the `@` symbol, it is reserved
+     * for automatically created groups.
+     * Entry groups, like entries, can be searched.
      * A maximum of 10,000 entry groups may be created per organization across all
      * locations.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `parent` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
+     * You must enable the Data Catalog API in the project identified by
+     * the `parent` parameter. For more information, see [Data Catalog resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -3220,7 +3233,7 @@ protected DataCatalogFutureStub build( * * *
-     * Gets an EntryGroup.
+     * Gets an entry group.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -3234,11 +3247,11 @@ protected DataCatalogFutureStub build( * * *
-     * Updates an EntryGroup. The user should enable the Data Catalog API in the
-     * project identified by the `entry_group.name` parameter (see [Data Catalog
-     * Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
+     * Updates an entry group.
+     * You must enable the Data Catalog API in the project identified by
+     * the `entry_group.name` parameter. For more information, see [Data Catalog
+     * resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -3252,11 +3265,11 @@ protected DataCatalogFutureStub build( * * *
-     * Deletes an EntryGroup. Only entry groups that do not contain entries can be
-     * deleted. 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).
+     * Deletes an entry group.
+     * You must enable the Data Catalog API in the project
+     * identified by the `name` parameter. For more information, see [Data Catalog
+     * resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public com.google.common.util.concurrent.ListenableFuture @@ -3283,13 +3296,14 @@ protected DataCatalogFutureStub build( * * *
-     * Creates an entry. Only entries of types 'FILESET', 'CLUSTER', 'DATA_STREAM'
-     * or with a user-specified type can be created.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `parent` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
-     * A maximum of 100,000 entries may be created per entry group.
+     * Creates an entry.
+     * You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM',
+     * or custom types. Data Catalog automatically creates entries with other
+     * types during metadata ingestion from integrated systems.
+     * You must enable the Data Catalog API in the project identified by
+     * the `parent` parameter. For more information, see [Data Catalog resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
+     * An entry group can have a maximum of 100,000 entries.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture @@ -3303,10 +3317,10 @@ protected DataCatalogFutureStub build( * *
      * Updates an existing entry.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `entry.name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
+     * You must enable the Data Catalog API in the project identified by
+     * the `entry.name` parameter. For more information, see [Data Catalog
+     * resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public com.google.common.util.concurrent.ListenableFuture @@ -3319,13 +3333,14 @@ protected DataCatalogFutureStub build( * * *
-     * Deletes an existing entry. Only entries created through
+     * Deletes an existing entry.
+     * You can delete only the entries created by the
      * [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry]
-     * method can be deleted.
-     * 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).
+     * method.
+     * You must enable the Data Catalog API in the project identified by
+     * the `name` parameter. For more information, see [Data Catalog
+     * resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public com.google.common.util.concurrent.ListenableFuture @@ -3351,9 +3366,8 @@ protected DataCatalogFutureStub build( * * *
-     * Get an entry by target resource name. This method allows clients to use
-     * the resource name from the source Google Cloud Platform service to get the
-     * Data Catalog Entry.
+     * Gets an entry by its target resource name.
+     * The resource name comes from the source Google Cloud Platform service.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture @@ -3380,11 +3394,11 @@ protected DataCatalogFutureStub build( * * *
-     * Creates a tag template. The user should enable the Data Catalog API in
-     * the project identified by the `parent` parameter (see [Data Catalog
-     * Resource
-     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
-     * for more information).
+     * Creates a tag template.
+     * You must enable the Data Catalog API in the project identified by the
+     * `parent` parameter.
+     * For more information, see [Data Catalog resource project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -3412,13 +3426,13 @@ protected DataCatalogFutureStub build( * * *
-     * Updates a tag template. This method cannot be used to update the fields of
-     * a template. The tag template fields are represented as separate resources
-     * and should be updated using their own create/update/delete methods.
-     * Users should enable the Data Catalog API in the project identified by
-     * the `tag_template.name` parameter (see [Data Catalog Resource Project]
-     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
-     * more information).
+     * Updates a tag template.
+     * You can't update template fields with this method. These fields are
+     * separate resources with their own create, update, and delete methods.
+     * You must enable the Data Catalog API in the project identified by
+     * the `tag_template.name` parameter. For more information, see [Data Catalog
+     * resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -3432,11 +3446,10 @@ protected DataCatalogFutureStub build( * * *
-     * Deletes a tag template and all tags using the template.
-     * 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).
+     * Deletes a tag template and all tags that use it.
+     * You must enable the Data Catalog API in the project identified by
+     * the `name` parameter. For more information, see [Data Catalog resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public com.google.common.util.concurrent.ListenableFuture @@ -3449,11 +3462,10 @@ protected DataCatalogFutureStub build( * * *
-     * Creates a field in a tag template. The user should enable the Data Catalog
-     * API in the project identified by the `parent` parameter (see
-     * [Data Catalog Resource
-     * Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
-     * for more information).
+     * Creates a field in a tag template.
+     * You must enable the Data Catalog API in the project identified by
+     * the `parent` parameter. For more information, see [Data Catalog resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -3468,11 +3480,12 @@ protected DataCatalogFutureStub build( * * *
-     * Updates a field in a tag template. This method cannot be used to update the
-     * field type. 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).
+     * Updates a field in a tag template.
+     * You can't update the field type with this method.
+     * You must enable the Data Catalog API in the project
+     * identified by the `name` parameter. For more information, see [Data Catalog
+     * resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -3487,11 +3500,10 @@ protected DataCatalogFutureStub build( * * *
-     * Renames a field in a tag template. The user 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).
+     * Renames a field in a tag template.
+     * You must enable the Data Catalog API in the project identified by the
+     * `name` parameter. For more information, see [Data Catalog resource project]
+     * (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -3506,8 +3518,8 @@ protected DataCatalogFutureStub build( * * *
-     * Renames an enum value in a tag template. The enum values have to be unique
-     * within one enum field.
+     * Renames an enum value in a tag template.
+     * Within a single enum field, enum values must be unique.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -3523,11 +3535,11 @@ protected DataCatalogFutureStub build( * * *
-     * 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).
+     * Deletes a field in a tag template and all uses of this field from the tags
+     * based on this template.
+     * You must enable the Data Catalog API in the project identified by
+     * the `name` parameter. For more information, see [Data Catalog resource
+     * project](https://cloud.google.com/data-catalog/docs/concepts/resource-project).
      * 
*/ public com.google.common.util.concurrent.ListenableFuture @@ -3541,13 +3553,16 @@ protected DataCatalogFutureStub build( * * *
-     * Creates a tag on an [Entry][google.cloud.datacatalog.v1.Entry].
-     * Note: The project identified by the `parent` parameter for the
-     * [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
-     * and the
-     * [tag
-     * template](https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters)
-     * used to create the tag must be from the same organization.
+     * Creates a tag and assigns it to:
+     * * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
+     *   ``projects.locations.entryGroups.entries.tags.create``.
+     * * Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
+     *   name is ``projects.locations.entryGroups.tags.create``.
+     * Note: The project identified by the `parent` parameter for the [tag]
+     * (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
+     * and the [tag template]
+     * (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters)
+     * used to create the tag must be in the same organization.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture @@ -3586,7 +3601,7 @@ public com.google.common.util.concurrent.ListenableFuture - * Lists the tags on an [Entry][google.cloud.datacatalog.v1.Entry]. + * Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry]. *
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -3600,19 +3615,18 @@ public com.google.common.util.concurrent.ListenableFuture - * Sets the access control policy for a resource. Replaces any existing + * Sets an access control policy for a resource. Replaces any existing * policy. * Supported resources are: - * - Tag templates. - * - Entries. - * - Entry groups. - * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub - * and any external Google Cloud Platform resources synced to Data Catalog. - * Callers must have following Google IAM permission - * - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag - * templates. - * - `datacatalog.entries.setIamPolicy` to set policies on entries. - * - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. + * - Tag templates + * - Entry groups + * Note: This method sets policies only within Data Catalog and can't be + * used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any + * external Google Cloud Platform resources synced with the Data Catalog. + * To call this method, you must have the following Google IAM permissions: + * - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag + * templates. + * - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. *
*/ public com.google.common.util.concurrent.ListenableFuture @@ -3625,20 +3639,20 @@ public com.google.common.util.concurrent.ListenableFuture - * Gets the access control policy for a resource. A `NOT_FOUND` error - * is returned if the resource does not exist. An empty policy is returned - * if the resource exists but does not have a policy set on it. + * Gets the access control policy for a resource. + * May return: + * * A`NOT_FOUND` error if the resource doesn't exist or you don't have the + * permission to view it. + * * An empty policy if the resource exists but doesn't have a set policy. * Supported resources are: - * - Tag templates. - * - Entries. - * - Entry groups. - * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub - * and any external Google Cloud Platform resources synced to Data Catalog. - * Callers must have following Google IAM permission - * - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag - * templates. - * - `datacatalog.entries.getIamPolicy` to get policies on entries. - * - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups. + * - Tag templates + * - Entry groups + * Note: This method doesn't get policies from Google Cloud Platform + * resources ingested into Data Catalog. + * To call this method, you must have the following Google IAM permissions: + * - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag + * templates. + * - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups. * */ public com.google.common.util.concurrent.ListenableFuture @@ -3651,17 +3665,15 @@ public com.google.common.util.concurrent.ListenableFuture - * Returns the caller's permissions on a resource. - * If the resource does not exist, an empty set of permissions is returned - * (We don't return a `NOT_FOUND` error). + * Gets your permissions on a resource. + * Returns an empty set of permissions if the resource doesn't exist. * Supported resources are: - * - Tag templates. - * - Entries. - * - Entry groups. - * Note, this method cannot be used to manage policies for BigQuery, Pub/Sub - * and any external Google Cloud Platform resources synced to Data Catalog. - * A caller is not required to have Google IAM permission to make this - * request. + * - Tag templates + * - Entry groups + * Note: This method gets policies only within Data Catalog and can't be + * used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any + * external Google Cloud Platform resources ingested into Data Catalog. + * No Google IAM permissions are required to call this method. * */ public com.google.common.util.concurrent.ListenableFuture< diff --git a/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java b/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java index 757c62a7..84f84e9c 100644 --- a/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java +++ b/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerGrpc.java @@ -21,7 +21,7 @@ * * *
- * Policy Tag Manager API service allows clients to manage their policy tags and
+ * Policy Tag Manager API service allows you to manage your policy tags and
  * taxonomies.
  * Policy tags are used to tag BigQuery columns and apply additional access
  * control policies. A taxonomy is a hierarchical grouping of policy tags that
@@ -661,7 +661,7 @@ public PolicyTagManagerFutureStub newStub(
    *
    *
    * 
-   * Policy Tag Manager API service allows clients to manage their policy tags and
+   * Policy Tag Manager API service allows you to manage your policy tags and
    * taxonomies.
    * Policy tags are used to tag BigQuery columns and apply additional access
    * control policies. A taxonomy is a hierarchical grouping of policy tags that
@@ -674,8 +674,8 @@ public abstract static class PolicyTagManagerImplBase implements io.grpc.Bindabl
      *
      *
      * 
-     * Creates a taxonomy in a specified project. The taxonomy is initially empty,
-     * i.e., does not contain policy tags.
+     * Creates a taxonomy in a specified project.
+     * The taxonomy is initially empty, that is, it doesn't contain policy tags.
      * 
*/ public void createTaxonomy( @@ -689,7 +689,7 @@ public void createTaxonomy( * * *
-     * Deletes a taxonomy. This method will also delete all policy tags in this
+     * Deletes a taxonomy, including all policy tags in this
      * taxonomy, their associated policies, and the policy tags references from
      * BigQuery columns.
      * 
@@ -705,7 +705,7 @@ public void deleteTaxonomy( * * *
-     * Updates a taxonomy. This method can update the taxonomy's display name,
+     * Updates a taxonomy, including its display name,
      * description, and activated policy types.
      * 
*/ @@ -720,8 +720,8 @@ public void updateTaxonomy( * * *
-     * Lists all taxonomies in a project in a particular location that the caller
-     * has permission to view.
+     * Lists all taxonomies in a project in a particular location that you
+     * have a permission to view.
      * 
*/ public void listTaxonomies( @@ -764,11 +764,11 @@ public void createPolicyTag( * * *
-     * Deletes a policy tag. This method also deletes:
-     * * all of its descendant policy tags, if any
-     * * the policies associated with the policy tag and its descendants
-     * * references from BigQuery table schema of the policy tag and its
-     *   descendants.
+     * Deletes a policy tag together with the following:
+     * * All of its descendant policy tags, if any
+     * * Policies associated with the policy tag and its descendants
+     * * References from BigQuery table schema of the policy tag and its
+     *   descendants
      * 
*/ public void deletePolicyTag( @@ -782,7 +782,7 @@ public void deletePolicyTag( * * *
-     * Updates a policy tag. This method can update the policy tag's display
+     * Updates a policy tag, including its display
      * name, description, and parent policy tag.
      * 
*/ @@ -854,7 +854,7 @@ public void setIamPolicy( * * *
-     * Returns the permissions that a caller has on a specified policy tag or
+     * Returns your permissions on a specified policy tag or
      * taxonomy.
      * 
*/ @@ -958,7 +958,7 @@ public final io.grpc.ServerServiceDefinition bindService() { * * *
-   * Policy Tag Manager API service allows clients to manage their policy tags and
+   * Policy Tag Manager API service allows you to manage your policy tags and
    * taxonomies.
    * Policy tags are used to tag BigQuery columns and apply additional access
    * control policies. A taxonomy is a hierarchical grouping of policy tags that
@@ -980,8 +980,8 @@ protected PolicyTagManagerStub build(io.grpc.Channel channel, io.grpc.CallOption
      *
      *
      * 
-     * Creates a taxonomy in a specified project. The taxonomy is initially empty,
-     * i.e., does not contain policy tags.
+     * Creates a taxonomy in a specified project.
+     * The taxonomy is initially empty, that is, it doesn't contain policy tags.
      * 
*/ public void createTaxonomy( @@ -997,7 +997,7 @@ public void createTaxonomy( * * *
-     * Deletes a taxonomy. This method will also delete all policy tags in this
+     * Deletes a taxonomy, including all policy tags in this
      * taxonomy, their associated policies, and the policy tags references from
      * BigQuery columns.
      * 
@@ -1015,7 +1015,7 @@ public void deleteTaxonomy( * * *
-     * Updates a taxonomy. This method can update the taxonomy's display name,
+     * Updates a taxonomy, including its display name,
      * description, and activated policy types.
      * 
*/ @@ -1032,8 +1032,8 @@ public void updateTaxonomy( * * *
-     * Lists all taxonomies in a project in a particular location that the caller
-     * has permission to view.
+     * Lists all taxonomies in a project in a particular location that you
+     * have a permission to view.
      * 
*/ public void listTaxonomies( @@ -1082,11 +1082,11 @@ public void createPolicyTag( * * *
-     * Deletes a policy tag. This method also deletes:
-     * * all of its descendant policy tags, if any
-     * * the policies associated with the policy tag and its descendants
-     * * references from BigQuery table schema of the policy tag and its
-     *   descendants.
+     * Deletes a policy tag together with the following:
+     * * All of its descendant policy tags, if any
+     * * Policies associated with the policy tag and its descendants
+     * * References from BigQuery table schema of the policy tag and its
+     *   descendants
      * 
*/ public void deletePolicyTag( @@ -1102,7 +1102,7 @@ public void deletePolicyTag( * * *
-     * Updates a policy tag. This method can update the policy tag's display
+     * Updates a policy tag, including its display
      * name, description, and parent policy tag.
      * 
*/ @@ -1184,7 +1184,7 @@ public void setIamPolicy( * * *
-     * Returns the permissions that a caller has on a specified policy tag or
+     * Returns your permissions on a specified policy tag or
      * taxonomy.
      * 
*/ @@ -1203,7 +1203,7 @@ public void testIamPermissions( * * *
-   * Policy Tag Manager API service allows clients to manage their policy tags and
+   * Policy Tag Manager API service allows you to manage your policy tags and
    * taxonomies.
    * Policy tags are used to tag BigQuery columns and apply additional access
    * control policies. A taxonomy is a hierarchical grouping of policy tags that
@@ -1226,8 +1226,8 @@ protected PolicyTagManagerBlockingStub build(
      *
      *
      * 
-     * Creates a taxonomy in a specified project. The taxonomy is initially empty,
-     * i.e., does not contain policy tags.
+     * Creates a taxonomy in a specified project.
+     * The taxonomy is initially empty, that is, it doesn't contain policy tags.
      * 
*/ public com.google.cloud.datacatalog.v1.Taxonomy createTaxonomy( @@ -1240,7 +1240,7 @@ public com.google.cloud.datacatalog.v1.Taxonomy createTaxonomy( * * *
-     * Deletes a taxonomy. This method will also delete all policy tags in this
+     * Deletes a taxonomy, including all policy tags in this
      * taxonomy, their associated policies, and the policy tags references from
      * BigQuery columns.
      * 
@@ -1255,7 +1255,7 @@ public com.google.protobuf.Empty deleteTaxonomy( * * *
-     * Updates a taxonomy. This method can update the taxonomy's display name,
+     * Updates a taxonomy, including its display name,
      * description, and activated policy types.
      * 
*/ @@ -1269,8 +1269,8 @@ public com.google.cloud.datacatalog.v1.Taxonomy updateTaxonomy( * * *
-     * Lists all taxonomies in a project in a particular location that the caller
-     * has permission to view.
+     * Lists all taxonomies in a project in a particular location that you
+     * have a permission to view.
      * 
*/ public com.google.cloud.datacatalog.v1.ListTaxonomiesResponse listTaxonomies( @@ -1309,11 +1309,11 @@ public com.google.cloud.datacatalog.v1.PolicyTag createPolicyTag( * * *
-     * Deletes a policy tag. This method also deletes:
-     * * all of its descendant policy tags, if any
-     * * the policies associated with the policy tag and its descendants
-     * * references from BigQuery table schema of the policy tag and its
-     *   descendants.
+     * Deletes a policy tag together with the following:
+     * * All of its descendant policy tags, if any
+     * * Policies associated with the policy tag and its descendants
+     * * References from BigQuery table schema of the policy tag and its
+     *   descendants
      * 
*/ public com.google.protobuf.Empty deletePolicyTag( @@ -1326,7 +1326,7 @@ public com.google.protobuf.Empty deletePolicyTag( * * *
-     * Updates a policy tag. This method can update the policy tag's display
+     * Updates a policy tag, including its display
      * name, description, and parent policy tag.
      * 
*/ @@ -1390,7 +1390,7 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque * * *
-     * Returns the permissions that a caller has on a specified policy tag or
+     * Returns your permissions on a specified policy tag or
      * taxonomy.
      * 
*/ @@ -1405,7 +1405,7 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( * * *
-   * Policy Tag Manager API service allows clients to manage their policy tags and
+   * Policy Tag Manager API service allows you to manage your policy tags and
    * taxonomies.
    * Policy tags are used to tag BigQuery columns and apply additional access
    * control policies. A taxonomy is a hierarchical grouping of policy tags that
@@ -1428,8 +1428,8 @@ protected PolicyTagManagerFutureStub build(
      *
      *
      * 
-     * Creates a taxonomy in a specified project. The taxonomy is initially empty,
-     * i.e., does not contain policy tags.
+     * Creates a taxonomy in a specified project.
+     * The taxonomy is initially empty, that is, it doesn't contain policy tags.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -1443,7 +1443,7 @@ protected PolicyTagManagerFutureStub build( * * *
-     * Deletes a taxonomy. This method will also delete all policy tags in this
+     * Deletes a taxonomy, including all policy tags in this
      * taxonomy, their associated policies, and the policy tags references from
      * BigQuery columns.
      * 
@@ -1458,7 +1458,7 @@ protected PolicyTagManagerFutureStub build( * * *
-     * Updates a taxonomy. This method can update the taxonomy's display name,
+     * Updates a taxonomy, including its display name,
      * description, and activated policy types.
      * 
*/ @@ -1473,8 +1473,8 @@ protected PolicyTagManagerFutureStub build( * * *
-     * Lists all taxonomies in a project in a particular location that the caller
-     * has permission to view.
+     * Lists all taxonomies in a project in a particular location that you
+     * have a permission to view.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -1516,11 +1516,11 @@ protected PolicyTagManagerFutureStub build( * * *
-     * Deletes a policy tag. This method also deletes:
-     * * all of its descendant policy tags, if any
-     * * the policies associated with the policy tag and its descendants
-     * * references from BigQuery table schema of the policy tag and its
-     *   descendants.
+     * Deletes a policy tag together with the following:
+     * * All of its descendant policy tags, if any
+     * * Policies associated with the policy tag and its descendants
+     * * References from BigQuery table schema of the policy tag and its
+     *   descendants
      * 
*/ public com.google.common.util.concurrent.ListenableFuture @@ -1533,7 +1533,7 @@ protected PolicyTagManagerFutureStub build( * * *
-     * Updates a policy tag. This method can update the policy tag's display
+     * Updates a policy tag, including its display
      * name, description, and parent policy tag.
      * 
*/ @@ -1602,7 +1602,7 @@ protected PolicyTagManagerFutureStub build( * * *
-     * Returns the permissions that a caller has on a specified policy tag or
+     * Returns your permissions on a specified policy tag or
      * taxonomy.
      * 
*/ diff --git a/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationGrpc.java b/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationGrpc.java index 91effb63..736db04a 100644 --- a/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationGrpc.java +++ b/grpc-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationGrpc.java @@ -21,9 +21,9 @@ * * *
- * Policy Tag Manager serialization API service allows clients to manipulate
- * their policy tags and taxonomies in serialized format, where taxonomy is a
- * hierarchical group of policy tags.
+ * Policy Tag Manager Serialization API service allows you to manipulate
+ * your policy tags and taxonomies in a serialized format.
+ * Taxonomy is a hierarchical group of policy tags.
  * 
*/ @javax.annotation.Generated( @@ -37,6 +37,55 @@ private PolicyTagManagerSerializationGrpc() {} "google.cloud.datacatalog.v1.PolicyTagManagerSerialization"; // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest, + com.google.cloud.datacatalog.v1.Taxonomy> + getReplaceTaxonomyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ReplaceTaxonomy", + requestType = com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.class, + responseType = com.google.cloud.datacatalog.v1.Taxonomy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest, + com.google.cloud.datacatalog.v1.Taxonomy> + getReplaceTaxonomyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest, + com.google.cloud.datacatalog.v1.Taxonomy> + getReplaceTaxonomyMethod; + if ((getReplaceTaxonomyMethod = PolicyTagManagerSerializationGrpc.getReplaceTaxonomyMethod) + == null) { + synchronized (PolicyTagManagerSerializationGrpc.class) { + if ((getReplaceTaxonomyMethod = PolicyTagManagerSerializationGrpc.getReplaceTaxonomyMethod) + == null) { + PolicyTagManagerSerializationGrpc.getReplaceTaxonomyMethod = + getReplaceTaxonomyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReplaceTaxonomy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.datacatalog.v1.Taxonomy.getDefaultInstance())) + .setSchemaDescriptor( + new PolicyTagManagerSerializationMethodDescriptorSupplier( + "ReplaceTaxonomy")) + .build(); + } + } + } + return getReplaceTaxonomyMethod; + } + private static volatile io.grpc.MethodDescriptor< com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest, com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse> @@ -184,9 +233,9 @@ public PolicyTagManagerSerializationFutureStub newStub( * * *
-   * Policy Tag Manager serialization API service allows clients to manipulate
-   * their policy tags and taxonomies in serialized format, where taxonomy is a
-   * hierarchical group of policy tags.
+   * Policy Tag Manager Serialization API service allows you to manipulate
+   * your policy tags and taxonomies in a serialized format.
+   * Taxonomy is a hierarchical group of policy tags.
    * 
*/ public abstract static class PolicyTagManagerSerializationImplBase @@ -196,13 +245,35 @@ public abstract static class PolicyTagManagerSerializationImplBase * * *
-     * Creates new taxonomies (including their policy tags) by importing from
-     * inlined source or cross-regional source. New taxonomies will be created in
-     * a given parent project.
-     * If using the cross-regional source, a new taxonomy is created by copying
+     * Replaces (updates) a taxonomy and all its policy tags.
+     * The taxonomy and its entire hierarchy of policy tags must be
+     * represented literally by `SerializedTaxonomy` and the nested
+     * `SerializedPolicyTag` messages.
+     * This operation automatically does the following:
+     * - Deletes the existing policy tags that are missing from the
+     *   `SerializedPolicyTag`.
+     * - Creates policy tags that don't have resource names. They are considered
+     *   new.
+     * - Updates policy tags with valid resources names accordingly.
+     * 
+ */ + public void replaceTaxonomy( + com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getReplaceTaxonomyMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates new taxonomies (including their policy tags) in a given project
+     * by importing from inlined or cross-regional sources.
+     * For a cross-regional source, new taxonomies are created by copying
      * from a source in another region.
-     * If using the inlined source, this method provides a way to bulk create
-     * taxonomies and policy tags using nested proto structure.
+     * For an inlined source, taxonomies and policy tags are created in bulk using
+     * nested protocol buffer structures.
      * 
*/ public void importTaxonomies( @@ -217,11 +288,11 @@ public void importTaxonomies( * * *
-     * Exports taxonomies as the requested type and returns the taxonomies
-     * including their policy tags. The requested taxonomies must belong to one
-     * project.
-     * SerializedTaxonomy protos with nested policy tags that are generated by
-     * this method can be used as input for future ImportTaxonomies calls.
+     * Exports taxonomies in the requested type and returns them,
+     * including their policy tags. The requested taxonomies must belong to the
+     * same project.
+     * This method generates `SerializedTaxonomy` protocol buffers with nested
+     * policy tags that can be used as input for `ImportTaxonomies` calls.
      * 
*/ public void exportTaxonomies( @@ -235,6 +306,12 @@ public void exportTaxonomies( @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getReplaceTaxonomyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest, + com.google.cloud.datacatalog.v1.Taxonomy>(this, METHODID_REPLACE_TAXONOMY))) .addMethod( getImportTaxonomiesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( @@ -257,9 +334,9 @@ public final io.grpc.ServerServiceDefinition bindService() { * * *
-   * Policy Tag Manager serialization API service allows clients to manipulate
-   * their policy tags and taxonomies in serialized format, where taxonomy is a
-   * hierarchical group of policy tags.
+   * Policy Tag Manager Serialization API service allows you to manipulate
+   * your policy tags and taxonomies in a serialized format.
+   * Taxonomy is a hierarchical group of policy tags.
    * 
*/ public static final class PolicyTagManagerSerializationStub @@ -279,13 +356,37 @@ protected PolicyTagManagerSerializationStub build( * * *
-     * Creates new taxonomies (including their policy tags) by importing from
-     * inlined source or cross-regional source. New taxonomies will be created in
-     * a given parent project.
-     * If using the cross-regional source, a new taxonomy is created by copying
+     * Replaces (updates) a taxonomy and all its policy tags.
+     * The taxonomy and its entire hierarchy of policy tags must be
+     * represented literally by `SerializedTaxonomy` and the nested
+     * `SerializedPolicyTag` messages.
+     * This operation automatically does the following:
+     * - Deletes the existing policy tags that are missing from the
+     *   `SerializedPolicyTag`.
+     * - Creates policy tags that don't have resource names. They are considered
+     *   new.
+     * - Updates policy tags with valid resources names accordingly.
+     * 
+ */ + public void replaceTaxonomy( + com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getReplaceTaxonomyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates new taxonomies (including their policy tags) in a given project
+     * by importing from inlined or cross-regional sources.
+     * For a cross-regional source, new taxonomies are created by copying
      * from a source in another region.
-     * If using the inlined source, this method provides a way to bulk create
-     * taxonomies and policy tags using nested proto structure.
+     * For an inlined source, taxonomies and policy tags are created in bulk using
+     * nested protocol buffer structures.
      * 
*/ public void importTaxonomies( @@ -302,11 +403,11 @@ public void importTaxonomies( * * *
-     * Exports taxonomies as the requested type and returns the taxonomies
-     * including their policy tags. The requested taxonomies must belong to one
-     * project.
-     * SerializedTaxonomy protos with nested policy tags that are generated by
-     * this method can be used as input for future ImportTaxonomies calls.
+     * Exports taxonomies in the requested type and returns them,
+     * including their policy tags. The requested taxonomies must belong to the
+     * same project.
+     * This method generates `SerializedTaxonomy` protocol buffers with nested
+     * policy tags that can be used as input for `ImportTaxonomies` calls.
      * 
*/ public void exportTaxonomies( @@ -324,9 +425,9 @@ public void exportTaxonomies( * * *
-   * Policy Tag Manager serialization API service allows clients to manipulate
-   * their policy tags and taxonomies in serialized format, where taxonomy is a
-   * hierarchical group of policy tags.
+   * Policy Tag Manager Serialization API service allows you to manipulate
+   * your policy tags and taxonomies in a serialized format.
+   * Taxonomy is a hierarchical group of policy tags.
    * 
*/ public static final class PolicyTagManagerSerializationBlockingStub @@ -346,13 +447,34 @@ protected PolicyTagManagerSerializationBlockingStub build( * * *
-     * Creates new taxonomies (including their policy tags) by importing from
-     * inlined source or cross-regional source. New taxonomies will be created in
-     * a given parent project.
-     * If using the cross-regional source, a new taxonomy is created by copying
+     * Replaces (updates) a taxonomy and all its policy tags.
+     * The taxonomy and its entire hierarchy of policy tags must be
+     * represented literally by `SerializedTaxonomy` and the nested
+     * `SerializedPolicyTag` messages.
+     * This operation automatically does the following:
+     * - Deletes the existing policy tags that are missing from the
+     *   `SerializedPolicyTag`.
+     * - Creates policy tags that don't have resource names. They are considered
+     *   new.
+     * - Updates policy tags with valid resources names accordingly.
+     * 
+ */ + public com.google.cloud.datacatalog.v1.Taxonomy replaceTaxonomy( + com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getReplaceTaxonomyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates new taxonomies (including their policy tags) in a given project
+     * by importing from inlined or cross-regional sources.
+     * For a cross-regional source, new taxonomies are created by copying
      * from a source in another region.
-     * If using the inlined source, this method provides a way to bulk create
-     * taxonomies and policy tags using nested proto structure.
+     * For an inlined source, taxonomies and policy tags are created in bulk using
+     * nested protocol buffer structures.
      * 
*/ public com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse importTaxonomies( @@ -365,11 +487,11 @@ public com.google.cloud.datacatalog.v1.ImportTaxonomiesResponse importTaxonomies * * *
-     * Exports taxonomies as the requested type and returns the taxonomies
-     * including their policy tags. The requested taxonomies must belong to one
-     * project.
-     * SerializedTaxonomy protos with nested policy tags that are generated by
-     * this method can be used as input for future ImportTaxonomies calls.
+     * Exports taxonomies in the requested type and returns them,
+     * including their policy tags. The requested taxonomies must belong to the
+     * same project.
+     * This method generates `SerializedTaxonomy` protocol buffers with nested
+     * policy tags that can be used as input for `ImportTaxonomies` calls.
      * 
*/ public com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse exportTaxonomies( @@ -383,9 +505,9 @@ public com.google.cloud.datacatalog.v1.ExportTaxonomiesResponse exportTaxonomies * * *
-   * Policy Tag Manager serialization API service allows clients to manipulate
-   * their policy tags and taxonomies in serialized format, where taxonomy is a
-   * hierarchical group of policy tags.
+   * Policy Tag Manager Serialization API service allows you to manipulate
+   * your policy tags and taxonomies in a serialized format.
+   * Taxonomy is a hierarchical group of policy tags.
    * 
*/ public static final class PolicyTagManagerSerializationFutureStub @@ -405,13 +527,35 @@ protected PolicyTagManagerSerializationFutureStub build( * * *
-     * Creates new taxonomies (including their policy tags) by importing from
-     * inlined source or cross-regional source. New taxonomies will be created in
-     * a given parent project.
-     * If using the cross-regional source, a new taxonomy is created by copying
+     * Replaces (updates) a taxonomy and all its policy tags.
+     * The taxonomy and its entire hierarchy of policy tags must be
+     * represented literally by `SerializedTaxonomy` and the nested
+     * `SerializedPolicyTag` messages.
+     * This operation automatically does the following:
+     * - Deletes the existing policy tags that are missing from the
+     *   `SerializedPolicyTag`.
+     * - Creates policy tags that don't have resource names. They are considered
+     *   new.
+     * - Updates policy tags with valid resources names accordingly.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.datacatalog.v1.Taxonomy> + replaceTaxonomy(com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getReplaceTaxonomyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates new taxonomies (including their policy tags) in a given project
+     * by importing from inlined or cross-regional sources.
+     * For a cross-regional source, new taxonomies are created by copying
      * from a source in another region.
-     * If using the inlined source, this method provides a way to bulk create
-     * taxonomies and policy tags using nested proto structure.
+     * For an inlined source, taxonomies and policy tags are created in bulk using
+     * nested protocol buffer structures.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -425,11 +569,11 @@ protected PolicyTagManagerSerializationFutureStub build( * * *
-     * Exports taxonomies as the requested type and returns the taxonomies
-     * including their policy tags. The requested taxonomies must belong to one
-     * project.
-     * SerializedTaxonomy protos with nested policy tags that are generated by
-     * this method can be used as input for future ImportTaxonomies calls.
+     * Exports taxonomies in the requested type and returns them,
+     * including their policy tags. The requested taxonomies must belong to the
+     * same project.
+     * This method generates `SerializedTaxonomy` protocol buffers with nested
+     * policy tags that can be used as input for `ImportTaxonomies` calls.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -440,8 +584,9 @@ protected PolicyTagManagerSerializationFutureStub build( } } - private static final int METHODID_IMPORT_TAXONOMIES = 0; - private static final int METHODID_EXPORT_TAXONOMIES = 1; + private static final int METHODID_REPLACE_TAXONOMY = 0; + private static final int METHODID_IMPORT_TAXONOMIES = 1; + private static final int METHODID_EXPORT_TAXONOMIES = 2; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -460,6 +605,12 @@ private static final class MethodHandlers @java.lang.SuppressWarnings("unchecked") public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { + case METHODID_REPLACE_TAXONOMY: + serviceImpl.replaceTaxonomy( + (com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; case METHODID_IMPORT_TAXONOMIES: serviceImpl.importTaxonomies( (com.google.cloud.datacatalog.v1.ImportTaxonomiesRequest) request, @@ -539,6 +690,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor( new PolicyTagManagerSerializationFileDescriptorSupplier()) + .addMethod(getReplaceTaxonomyMethod()) .addMethod(getImportTaxonomiesMethod()) .addMethod(getExportTaxonomiesMethod()) .build(); diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpec.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpec.java new file mode 100644 index 00000000..3d7feb7e --- /dev/null +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpec.java @@ -0,0 +1,1256 @@ +/* + * Copyright 2020 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/v1/bigquery.proto + +package com.google.cloud.datacatalog.v1; + +/** + * + * + *
+ * Specification for the BigQuery connection.
+ * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1.BigQueryConnectionSpec} + */ +public final class BigQueryConnectionSpec extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.BigQueryConnectionSpec) + BigQueryConnectionSpecOrBuilder { + private static final long serialVersionUID = 0L; + // Use BigQueryConnectionSpec.newBuilder() to construct. + private BigQueryConnectionSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private BigQueryConnectionSpec() { + connectionType_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BigQueryConnectionSpec(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private BigQueryConnectionSpec( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + int rawValue = input.readEnum(); + + connectionType_ = rawValue; + break; + } + case 18: + { + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder subBuilder = + null; + if (connectionSpecCase_ == 2) { + subBuilder = + ((com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) + connectionSpec_) + .toBuilder(); + } + connectionSpec_ = + input.readMessage( + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) + connectionSpec_); + connectionSpec_ = subBuilder.buildPartial(); + } + connectionSpecCase_ = 2; + break; + } + case 24: + { + hasCredential_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.BigQueryProto + .internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1.BigQueryProto + .internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.class, + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder.class); + } + + /** + * + * + *
+   * The type of the BigQuery connection.
+   * 
+ * + * Protobuf enum {@code google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType} + */ + public enum ConnectionType implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Unspecified type.
+     * 
+ * + * CONNECTION_TYPE_UNSPECIFIED = 0; + */ + CONNECTION_TYPE_UNSPECIFIED(0), + /** + * + * + *
+     * Cloud SQL connection.
+     * 
+ * + * CLOUD_SQL = 1; + */ + CLOUD_SQL(1), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * Unspecified type.
+     * 
+ * + * CONNECTION_TYPE_UNSPECIFIED = 0; + */ + public static final int CONNECTION_TYPE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * Cloud SQL connection.
+     * 
+ * + * CLOUD_SQL = 1; + */ + public static final int CLOUD_SQL_VALUE = 1; + + 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 ConnectionType 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 ConnectionType forNumber(int value) { + switch (value) { + case 0: + return CONNECTION_TYPE_UNSPECIFIED; + case 1: + return CLOUD_SQL; + 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 ConnectionType findValueByNumber(int number) { + return ConnectionType.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.v1.BigQueryConnectionSpec.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final ConnectionType[] VALUES = values(); + + public static ConnectionType 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 ConnectionType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType) + } + + private int connectionSpecCase_ = 0; + private java.lang.Object connectionSpec_; + + public enum ConnectionSpecCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + CLOUD_SQL(2), + CONNECTIONSPEC_NOT_SET(0); + private final int value; + + private ConnectionSpecCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ConnectionSpecCase valueOf(int value) { + return forNumber(value); + } + + public static ConnectionSpecCase forNumber(int value) { + switch (value) { + case 2: + return CLOUD_SQL; + case 0: + return CONNECTIONSPEC_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public ConnectionSpecCase getConnectionSpecCase() { + return ConnectionSpecCase.forNumber(connectionSpecCase_); + } + + public static final int CONNECTION_TYPE_FIELD_NUMBER = 1; + private int connectionType_; + /** + * + * + *
+   * The type of the BigQuery connection.
+   * 
+ * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; + * + * + * @return The enum numeric value on the wire for connectionType. + */ + @java.lang.Override + public int getConnectionTypeValue() { + return connectionType_; + } + /** + * + * + *
+   * The type of the BigQuery connection.
+   * 
+ * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; + * + * + * @return The connectionType. + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType getConnectionType() { + @SuppressWarnings("deprecation") + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType result = + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.valueOf( + connectionType_); + return result == null + ? com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.UNRECOGNIZED + : result; + } + + public static final int CLOUD_SQL_FIELD_NUMBER = 2; + /** + * + * + *
+   * Specification for the BigQuery connection to a Cloud SQL instance.
+   * 
+ * + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; + * + * @return Whether the cloudSql field is set. + */ + @java.lang.Override + public boolean hasCloudSql() { + return connectionSpecCase_ == 2; + } + /** + * + * + *
+   * Specification for the BigQuery connection to a Cloud SQL instance.
+   * 
+ * + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; + * + * @return The cloudSql. + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec getCloudSql() { + if (connectionSpecCase_ == 2) { + return (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) connectionSpec_; + } + return com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.getDefaultInstance(); + } + /** + * + * + *
+   * Specification for the BigQuery connection to a Cloud SQL instance.
+   * 
+ * + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder + getCloudSqlOrBuilder() { + if (connectionSpecCase_ == 2) { + return (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) connectionSpec_; + } + return com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.getDefaultInstance(); + } + + public static final int HAS_CREDENTIAL_FIELD_NUMBER = 3; + private boolean hasCredential_; + /** + * + * + *
+   * True if there are credentials attached to the BigQuery connection; false
+   * otherwise.
+   * 
+ * + * bool has_credential = 3; + * + * @return The hasCredential. + */ + @java.lang.Override + public boolean getHasCredential() { + return hasCredential_; + } + + 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 (connectionType_ + != com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType + .CONNECTION_TYPE_UNSPECIFIED + .getNumber()) { + output.writeEnum(1, connectionType_); + } + if (connectionSpecCase_ == 2) { + output.writeMessage( + 2, (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) connectionSpec_); + } + if (hasCredential_ != false) { + output.writeBool(3, hasCredential_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (connectionType_ + != com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType + .CONNECTION_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, connectionType_); + } + if (connectionSpecCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) connectionSpec_); + } + if (hasCredential_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, hasCredential_); + } + size += unknownFields.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.v1.BigQueryConnectionSpec)) { + return super.equals(obj); + } + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec other = + (com.google.cloud.datacatalog.v1.BigQueryConnectionSpec) obj; + + if (connectionType_ != other.connectionType_) return false; + if (getHasCredential() != other.getHasCredential()) return false; + if (!getConnectionSpecCase().equals(other.getConnectionSpecCase())) return false; + switch (connectionSpecCase_) { + case 2: + if (!getCloudSql().equals(other.getCloudSql())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) 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) + CONNECTION_TYPE_FIELD_NUMBER; + hash = (53 * hash) + connectionType_; + hash = (37 * hash) + HAS_CREDENTIAL_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHasCredential()); + switch (connectionSpecCase_) { + case 2: + hash = (37 * hash) + CLOUD_SQL_FIELD_NUMBER; + hash = (53 * hash) + getCloudSql().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec 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.v1.BigQueryConnectionSpec parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec 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.v1.BigQueryConnectionSpec parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec 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.v1.BigQueryConnectionSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec 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.v1.BigQueryConnectionSpec parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec 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.v1.BigQueryConnectionSpec 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; + } + /** + * + * + *
+   * Specification for the BigQuery connection.
+   * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1.BigQueryConnectionSpec} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.BigQueryConnectionSpec) + com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.BigQueryProto + .internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1.BigQueryProto + .internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.class, + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder.class); + } + + // Construct using com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + connectionType_ = 0; + + hasCredential_ = false; + + connectionSpecCase_ = 0; + connectionSpec_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.BigQueryProto + .internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_descriptor; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec getDefaultInstanceForType() { + return com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec build() { + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec buildPartial() { + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec result = + new com.google.cloud.datacatalog.v1.BigQueryConnectionSpec(this); + result.connectionType_ = connectionType_; + if (connectionSpecCase_ == 2) { + if (cloudSqlBuilder_ == null) { + result.connectionSpec_ = connectionSpec_; + } else { + result.connectionSpec_ = cloudSqlBuilder_.build(); + } + } + result.hasCredential_ = hasCredential_; + result.connectionSpecCase_ = connectionSpecCase_; + onBuilt(); + return result; + } + + @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.v1.BigQueryConnectionSpec) { + return mergeFrom((com.google.cloud.datacatalog.v1.BigQueryConnectionSpec) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datacatalog.v1.BigQueryConnectionSpec other) { + if (other == com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.getDefaultInstance()) + return this; + if (other.connectionType_ != 0) { + setConnectionTypeValue(other.getConnectionTypeValue()); + } + if (other.getHasCredential() != false) { + setHasCredential(other.getHasCredential()); + } + switch (other.getConnectionSpecCase()) { + case CLOUD_SQL: + { + mergeCloudSql(other.getCloudSql()); + break; + } + case CONNECTIONSPEC_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.datacatalog.v1.BigQueryConnectionSpec) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int connectionSpecCase_ = 0; + private java.lang.Object connectionSpec_; + + public ConnectionSpecCase getConnectionSpecCase() { + return ConnectionSpecCase.forNumber(connectionSpecCase_); + } + + public Builder clearConnectionSpec() { + connectionSpecCase_ = 0; + connectionSpec_ = null; + onChanged(); + return this; + } + + private int connectionType_ = 0; + /** + * + * + *
+     * The type of the BigQuery connection.
+     * 
+ * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; + * + * + * @return The enum numeric value on the wire for connectionType. + */ + @java.lang.Override + public int getConnectionTypeValue() { + return connectionType_; + } + /** + * + * + *
+     * The type of the BigQuery connection.
+     * 
+ * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; + * + * + * @param value The enum numeric value on the wire for connectionType to set. + * @return This builder for chaining. + */ + public Builder setConnectionTypeValue(int value) { + + connectionType_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The type of the BigQuery connection.
+     * 
+ * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; + * + * + * @return The connectionType. + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType + getConnectionType() { + @SuppressWarnings("deprecation") + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType result = + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.valueOf( + connectionType_); + return result == null + ? com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType.UNRECOGNIZED + : result; + } + /** + * + * + *
+     * The type of the BigQuery connection.
+     * 
+ * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; + * + * + * @param value The connectionType to set. + * @return This builder for chaining. + */ + public Builder setConnectionType( + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType value) { + if (value == null) { + throw new NullPointerException(); + } + + connectionType_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * The type of the BigQuery connection.
+     * 
+ * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; + * + * + * @return This builder for chaining. + */ + public Builder clearConnectionType() { + + connectionType_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec, + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder, + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder> + cloudSqlBuilder_; + /** + * + * + *
+     * Specification for the BigQuery connection to a Cloud SQL instance.
+     * 
+ * + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; + * + * @return Whether the cloudSql field is set. + */ + @java.lang.Override + public boolean hasCloudSql() { + return connectionSpecCase_ == 2; + } + /** + * + * + *
+     * Specification for the BigQuery connection to a Cloud SQL instance.
+     * 
+ * + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; + * + * @return The cloudSql. + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec getCloudSql() { + if (cloudSqlBuilder_ == null) { + if (connectionSpecCase_ == 2) { + return (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) connectionSpec_; + } + return com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.getDefaultInstance(); + } else { + if (connectionSpecCase_ == 2) { + return cloudSqlBuilder_.getMessage(); + } + return com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.getDefaultInstance(); + } + } + /** + * + * + *
+     * Specification for the BigQuery connection to a Cloud SQL instance.
+     * 
+ * + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; + */ + public Builder setCloudSql( + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec value) { + if (cloudSqlBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + connectionSpec_ = value; + onChanged(); + } else { + cloudSqlBuilder_.setMessage(value); + } + connectionSpecCase_ = 2; + return this; + } + /** + * + * + *
+     * Specification for the BigQuery connection to a Cloud SQL instance.
+     * 
+ * + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; + */ + public Builder setCloudSql( + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder builderForValue) { + if (cloudSqlBuilder_ == null) { + connectionSpec_ = builderForValue.build(); + onChanged(); + } else { + cloudSqlBuilder_.setMessage(builderForValue.build()); + } + connectionSpecCase_ = 2; + return this; + } + /** + * + * + *
+     * Specification for the BigQuery connection to a Cloud SQL instance.
+     * 
+ * + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; + */ + public Builder mergeCloudSql( + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec value) { + if (cloudSqlBuilder_ == null) { + if (connectionSpecCase_ == 2 + && connectionSpec_ + != com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec + .getDefaultInstance()) { + connectionSpec_ = + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.newBuilder( + (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) + connectionSpec_) + .mergeFrom(value) + .buildPartial(); + } else { + connectionSpec_ = value; + } + onChanged(); + } else { + if (connectionSpecCase_ == 2) { + cloudSqlBuilder_.mergeFrom(value); + } + cloudSqlBuilder_.setMessage(value); + } + connectionSpecCase_ = 2; + return this; + } + /** + * + * + *
+     * Specification for the BigQuery connection to a Cloud SQL instance.
+     * 
+ * + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; + */ + public Builder clearCloudSql() { + if (cloudSqlBuilder_ == null) { + if (connectionSpecCase_ == 2) { + connectionSpecCase_ = 0; + connectionSpec_ = null; + onChanged(); + } + } else { + if (connectionSpecCase_ == 2) { + connectionSpecCase_ = 0; + connectionSpec_ = null; + } + cloudSqlBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Specification for the BigQuery connection to a Cloud SQL instance.
+     * 
+ * + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; + */ + public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder + getCloudSqlBuilder() { + return getCloudSqlFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Specification for the BigQuery connection to a Cloud SQL instance.
+     * 
+ * + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder + getCloudSqlOrBuilder() { + if ((connectionSpecCase_ == 2) && (cloudSqlBuilder_ != null)) { + return cloudSqlBuilder_.getMessageOrBuilder(); + } else { + if (connectionSpecCase_ == 2) { + return (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) connectionSpec_; + } + return com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.getDefaultInstance(); + } + } + /** + * + * + *
+     * Specification for the BigQuery connection to a Cloud SQL instance.
+     * 
+ * + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec, + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder, + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder> + getCloudSqlFieldBuilder() { + if (cloudSqlBuilder_ == null) { + if (!(connectionSpecCase_ == 2)) { + connectionSpec_ = + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.getDefaultInstance(); + } + cloudSqlBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec, + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder, + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder>( + (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) connectionSpec_, + getParentForChildren(), + isClean()); + connectionSpec_ = null; + } + connectionSpecCase_ = 2; + onChanged(); + ; + return cloudSqlBuilder_; + } + + private boolean hasCredential_; + /** + * + * + *
+     * True if there are credentials attached to the BigQuery connection; false
+     * otherwise.
+     * 
+ * + * bool has_credential = 3; + * + * @return The hasCredential. + */ + @java.lang.Override + public boolean getHasCredential() { + return hasCredential_; + } + /** + * + * + *
+     * True if there are credentials attached to the BigQuery connection; false
+     * otherwise.
+     * 
+ * + * bool has_credential = 3; + * + * @param value The hasCredential to set. + * @return This builder for chaining. + */ + public Builder setHasCredential(boolean value) { + + hasCredential_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * True if there are credentials attached to the BigQuery connection; false
+     * otherwise.
+     * 
+ * + * bool has_credential = 3; + * + * @return This builder for chaining. + */ + public Builder clearHasCredential() { + + hasCredential_ = false; + 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.v1.BigQueryConnectionSpec) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.BigQueryConnectionSpec) + private static final com.google.cloud.datacatalog.v1.BigQueryConnectionSpec DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.BigQueryConnectionSpec(); + } + + public static com.google.cloud.datacatalog.v1.BigQueryConnectionSpec getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryConnectionSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BigQueryConnectionSpec(input, extensionRegistry); + } + }; + + 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.v1.BigQueryConnectionSpec getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpecOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpecOrBuilder.java new file mode 100644 index 00000000..9bd8c23f --- /dev/null +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpecOrBuilder.java @@ -0,0 +1,104 @@ +/* + * Copyright 2020 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/v1/bigquery.proto + +package com.google.cloud.datacatalog.v1; + +public interface BigQueryConnectionSpecOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.BigQueryConnectionSpec) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The type of the BigQuery connection.
+   * 
+ * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; + * + * + * @return The enum numeric value on the wire for connectionType. + */ + int getConnectionTypeValue(); + /** + * + * + *
+   * The type of the BigQuery connection.
+   * 
+ * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1; + * + * + * @return The connectionType. + */ + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType getConnectionType(); + + /** + * + * + *
+   * Specification for the BigQuery connection to a Cloud SQL instance.
+   * 
+ * + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; + * + * @return Whether the cloudSql field is set. + */ + boolean hasCloudSql(); + /** + * + * + *
+   * Specification for the BigQuery connection to a Cloud SQL instance.
+   * 
+ * + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; + * + * @return The cloudSql. + */ + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec getCloudSql(); + /** + * + * + *
+   * Specification for the BigQuery connection to a Cloud SQL instance.
+   * 
+ * + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2; + */ + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder getCloudSqlOrBuilder(); + + /** + * + * + *
+   * True if there are credentials attached to the BigQuery connection; false
+   * otherwise.
+   * 
+ * + * bool has_credential = 3; + * + * @return The hasCredential. + */ + boolean getHasCredential(); + + public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionSpecCase + getConnectionSpecCase(); +} diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpec.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpec.java index 4c8e2004..1090bf55 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpec.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpec.java @@ -22,9 +22,10 @@ * * *
- * Spec for a group of BigQuery tables with name pattern `[prefix]YYYYMMDD`.
- * Context:
- * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding
+ * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD` name
+ * pattern.
+ * For more information, see [Introduction to partitioned tables]
+ * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.BigQueryDateShardedSpec} @@ -133,8 +134,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,
-   * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
+   * belongs to. For example:
+   * `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
    * 
* * @@ -160,8 +161,8 @@ public java.lang.String getDataset() { * *
    * 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}`.
+   * belongs to. For example:
+   * `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
    * 
* * @@ -189,8 +190,9 @@ public com.google.protobuf.ByteString getDatasetBytes() { * * *
-   * 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
+   * Output only. The table name prefix of the shards.
+   * The name of any given shard is `[table_prefix]YYYYMMDD`.
+   * For example, for the `MyTable20180101` shard, the
    * `table_prefix` is `MyTable`.
    * 
* @@ -214,8 +216,9 @@ public java.lang.String getTablePrefix() { * * *
-   * 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
+   * Output only. The table name prefix of the shards.
+   * The name of any given shard is `[table_prefix]YYYYMMDD`.
+   * For example, for the `MyTable20180101` shard, the
    * `table_prefix` is `MyTable`.
    * 
* @@ -436,9 +439,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Spec for a group of BigQuery tables with name pattern `[prefix]YYYYMMDD`.
-   * Context:
-   * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding
+   * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD` name
+   * pattern.
+   * For more information, see [Introduction to partitioned tables]
+   * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.BigQueryDateShardedSpec} @@ -612,8 +616,8 @@ public Builder mergeFrom( * *
      * 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}`.
+     * belongs to. For example:
+     * `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
      * 
* * @@ -638,8 +642,8 @@ public java.lang.String getDataset() { * *
      * 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}`.
+     * belongs to. For example:
+     * `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
      * 
* * @@ -664,8 +668,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,
-     * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
+     * belongs to. For example:
+     * `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
      * 
* * @@ -689,8 +693,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,
-     * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
+     * belongs to. For example:
+     * `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
      * 
* * @@ -710,8 +714,8 @@ public Builder clearDataset() { * *
      * 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}`.
+     * belongs to. For example:
+     * `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
      * 
* * @@ -737,8 +741,9 @@ public Builder setDatasetBytes(com.google.protobuf.ByteString value) { * * *
-     * 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
+     * Output only. The table name prefix of the shards.
+     * The name of any given shard is `[table_prefix]YYYYMMDD`.
+     * For example, for the `MyTable20180101` shard, the
      * `table_prefix` is `MyTable`.
      * 
* @@ -761,8 +766,9 @@ public java.lang.String getTablePrefix() { * * *
-     * 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
+     * Output only. The table name prefix of the shards.
+     * The name of any given shard is `[table_prefix]YYYYMMDD`.
+     * For example, for the `MyTable20180101` shard, the
      * `table_prefix` is `MyTable`.
      * 
* @@ -785,8 +791,9 @@ public com.google.protobuf.ByteString getTablePrefixBytes() { * * *
-     * 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
+     * Output only. The table name prefix of the shards.
+     * The name of any given shard is `[table_prefix]YYYYMMDD`.
+     * For example, for the `MyTable20180101` shard, the
      * `table_prefix` is `MyTable`.
      * 
* @@ -808,8 +815,9 @@ public Builder setTablePrefix(java.lang.String value) { * * *
-     * 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
+     * Output only. The table name prefix of the shards.
+     * The name of any given shard is `[table_prefix]YYYYMMDD`.
+     * For example, for the `MyTable20180101` shard, the
      * `table_prefix` is `MyTable`.
      * 
* @@ -827,8 +835,9 @@ public Builder clearTablePrefix() { * * *
-     * 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
+     * Output only. The table name prefix of the shards.
+     * The name of any given shard is `[table_prefix]YYYYMMDD`.
+     * For example, for the `MyTable20180101` shard, the
      * `table_prefix` is `MyTable`.
      * 
* diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpecOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpecOrBuilder.java index ed07eaf6..99a2ec53 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpecOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpecOrBuilder.java @@ -28,8 +28,8 @@ public interface BigQueryDateShardedSpecOrBuilder * *
    * 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}`.
+   * belongs to. For example:
+   * `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
    * 
* * @@ -44,8 +44,8 @@ public interface BigQueryDateShardedSpecOrBuilder * *
    * 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}`.
+   * belongs to. For example:
+   * `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
    * 
* * @@ -60,8 +60,9 @@ public interface BigQueryDateShardedSpecOrBuilder * * *
-   * 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
+   * Output only. The table name prefix of the shards.
+   * The name of any given shard is `[table_prefix]YYYYMMDD`.
+   * For example, for the `MyTable20180101` shard, the
    * `table_prefix` is `MyTable`.
    * 
* @@ -74,8 +75,9 @@ public interface BigQueryDateShardedSpecOrBuilder * * *
-   * 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
+   * Output only. The table name prefix of the shards.
+   * The name of any given shard is `[table_prefix]YYYYMMDD`.
+   * For example, for the `MyTable20180101` shard, the
    * `table_prefix` is `MyTable`.
    * 
* diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryProto.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryProto.java new file mode 100644 index 00000000..63d5ae8c --- /dev/null +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryProto.java @@ -0,0 +1,110 @@ +/* + * Copyright 2020 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/v1/bigquery.proto + +package com.google.cloud.datacatalog.v1; + +public final class BigQueryProto { + private BigQueryProto() {} + + 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_v1_BigQueryConnectionSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_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/v1/bigquery.p" + + "roto\022\033google.cloud.datacatalog.v1\032\037googl" + + "e/api/field_behavior.proto\"\264\002\n\026BigQueryC" + + "onnectionSpec\022[\n\017connection_type\030\001 \001(\0162B" + + ".google.cloud.datacatalog.v1.BigQueryCon" + + "nectionSpec.ConnectionType\022P\n\tcloud_sql\030" + + "\002 \001(\0132;.google.cloud.datacatalog.v1.Clou" + + "dSqlBigQueryConnectionSpecH\000\022\026\n\016has_cred" + + "ential\030\003 \001(\010\"@\n\016ConnectionType\022\037\n\033CONNEC" + + "TION_TYPE_UNSPECIFIED\020\000\022\r\n\tCLOUD_SQL\020\001B\021" + + "\n\017connection_spec\"\347\001\n\036CloudSqlBigQueryCo" + + "nnectionSpec\022\023\n\013instance_id\030\001 \001(\t\022\020\n\010dat" + + "abase\030\002 \001(\t\022V\n\004type\030\003 \001(\0162H.google.cloud" + + ".datacatalog.v1.CloudSqlBigQueryConnecti" + + "onSpec.DatabaseType\"F\n\014DatabaseType\022\035\n\031D" + + "ATABASE_TYPE_UNSPECIFIED\020\000\022\014\n\010POSTGRES\020\001" + + "\022\t\n\005MYSQL\020\002\"1\n\023BigQueryRoutineSpec\022\032\n\022im" + + "ported_libraries\030\001 \003(\tB\332\001\n\037com.google.cl" + + "oud.datacatalog.v1B\rBigQueryProtoP\001ZFgoo" + + "gle.golang.org/genproto/googleapis/cloud" + + "/datacatalog/v1;datacatalog\370\001\001\252\002\033Google." + + "Cloud.DataCatalog.V1\312\002\033Google\\Cloud\\Data" + + "Catalog\\V1\352\002\036Google::Cloud::DataCatalog:" + + ":V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + }); + internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_BigQueryConnectionSpec_descriptor, + new java.lang.String[] { + "ConnectionType", "CloudSql", "HasCredential", "ConnectionSpec", + }); + internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_descriptor, + new java.lang.String[] { + "InstanceId", "Database", "Type", + }); + internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_descriptor, + new java.lang.String[] { + "ImportedLibraries", + }); + com.google.api.FieldBehaviorProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpec.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpec.java new file mode 100644 index 00000000..773c6620 --- /dev/null +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpec.java @@ -0,0 +1,737 @@ +/* + * Copyright 2020 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/v1/bigquery.proto + +package com.google.cloud.datacatalog.v1; + +/** + * + * + *
+ * Fields specific for BigQuery routines.
+ * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1.BigQueryRoutineSpec} + */ +public final class BigQueryRoutineSpec extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.BigQueryRoutineSpec) + BigQueryRoutineSpecOrBuilder { + private static final long serialVersionUID = 0L; + // Use BigQueryRoutineSpec.newBuilder() to construct. + private BigQueryRoutineSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private BigQueryRoutineSpec() { + importedLibraries_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BigQueryRoutineSpec(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private BigQueryRoutineSpec( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + importedLibraries_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + importedLibraries_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + importedLibraries_ = importedLibraries_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.BigQueryProto + .internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1.BigQueryProto + .internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.class, + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder.class); + } + + public static final int IMPORTED_LIBRARIES_FIELD_NUMBER = 1; + private com.google.protobuf.LazyStringList importedLibraries_; + /** + * + * + *
+   * Paths of the imported libraries.
+   * 
+ * + * repeated string imported_libraries = 1; + * + * @return A list containing the importedLibraries. + */ + public com.google.protobuf.ProtocolStringList getImportedLibrariesList() { + return importedLibraries_; + } + /** + * + * + *
+   * Paths of the imported libraries.
+   * 
+ * + * repeated string imported_libraries = 1; + * + * @return The count of importedLibraries. + */ + public int getImportedLibrariesCount() { + return importedLibraries_.size(); + } + /** + * + * + *
+   * Paths of the imported libraries.
+   * 
+ * + * repeated string imported_libraries = 1; + * + * @param index The index of the element to return. + * @return The importedLibraries at the given index. + */ + public java.lang.String getImportedLibraries(int index) { + return importedLibraries_.get(index); + } + /** + * + * + *
+   * Paths of the imported libraries.
+   * 
+ * + * repeated string imported_libraries = 1; + * + * @param index The index of the value to return. + * @return The bytes of the importedLibraries at the given index. + */ + public com.google.protobuf.ByteString getImportedLibrariesBytes(int index) { + return importedLibraries_.getByteString(index); + } + + 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 { + for (int i = 0; i < importedLibraries_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, importedLibraries_.getRaw(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < importedLibraries_.size(); i++) { + dataSize += computeStringSizeNoTag(importedLibraries_.getRaw(i)); + } + size += dataSize; + size += 1 * getImportedLibrariesList().size(); + } + size += unknownFields.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.v1.BigQueryRoutineSpec)) { + return super.equals(obj); + } + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec other = + (com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) obj; + + if (!getImportedLibrariesList().equals(other.getImportedLibrariesList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getImportedLibrariesCount() > 0) { + hash = (37 * hash) + IMPORTED_LIBRARIES_FIELD_NUMBER; + hash = (53 * hash) + getImportedLibrariesList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec 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.v1.BigQueryRoutineSpec parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec 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.v1.BigQueryRoutineSpec parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec 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.v1.BigQueryRoutineSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec 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.v1.BigQueryRoutineSpec parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec 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.v1.BigQueryRoutineSpec 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; + } + /** + * + * + *
+   * Fields specific for BigQuery routines.
+   * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1.BigQueryRoutineSpec} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.BigQueryRoutineSpec) + com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.BigQueryProto + .internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1.BigQueryProto + .internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.class, + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder.class); + } + + // Construct using com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + importedLibraries_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.BigQueryProto + .internal_static_google_cloud_datacatalog_v1_BigQueryRoutineSpec_descriptor; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1.BigQueryRoutineSpec getDefaultInstanceForType() { + return com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1.BigQueryRoutineSpec build() { + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1.BigQueryRoutineSpec buildPartial() { + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec result = + new com.google.cloud.datacatalog.v1.BigQueryRoutineSpec(this); + int from_bitField0_ = bitField0_; + if (((bitField0_ & 0x00000001) != 0)) { + importedLibraries_ = importedLibraries_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.importedLibraries_ = importedLibraries_; + onBuilt(); + return result; + } + + @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.v1.BigQueryRoutineSpec) { + return mergeFrom((com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datacatalog.v1.BigQueryRoutineSpec other) { + if (other == com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.getDefaultInstance()) + return this; + if (!other.importedLibraries_.isEmpty()) { + if (importedLibraries_.isEmpty()) { + importedLibraries_ = other.importedLibraries_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureImportedLibrariesIsMutable(); + importedLibraries_.addAll(other.importedLibraries_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private com.google.protobuf.LazyStringList importedLibraries_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureImportedLibrariesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + importedLibraries_ = new com.google.protobuf.LazyStringArrayList(importedLibraries_); + bitField0_ |= 0x00000001; + } + } + /** + * + * + *
+     * Paths of the imported libraries.
+     * 
+ * + * repeated string imported_libraries = 1; + * + * @return A list containing the importedLibraries. + */ + public com.google.protobuf.ProtocolStringList getImportedLibrariesList() { + return importedLibraries_.getUnmodifiableView(); + } + /** + * + * + *
+     * Paths of the imported libraries.
+     * 
+ * + * repeated string imported_libraries = 1; + * + * @return The count of importedLibraries. + */ + public int getImportedLibrariesCount() { + return importedLibraries_.size(); + } + /** + * + * + *
+     * Paths of the imported libraries.
+     * 
+ * + * repeated string imported_libraries = 1; + * + * @param index The index of the element to return. + * @return The importedLibraries at the given index. + */ + public java.lang.String getImportedLibraries(int index) { + return importedLibraries_.get(index); + } + /** + * + * + *
+     * Paths of the imported libraries.
+     * 
+ * + * repeated string imported_libraries = 1; + * + * @param index The index of the value to return. + * @return The bytes of the importedLibraries at the given index. + */ + public com.google.protobuf.ByteString getImportedLibrariesBytes(int index) { + return importedLibraries_.getByteString(index); + } + /** + * + * + *
+     * Paths of the imported libraries.
+     * 
+ * + * repeated string imported_libraries = 1; + * + * @param index The index to set the value at. + * @param value The importedLibraries to set. + * @return This builder for chaining. + */ + public Builder setImportedLibraries(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureImportedLibrariesIsMutable(); + importedLibraries_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * Paths of the imported libraries.
+     * 
+ * + * repeated string imported_libraries = 1; + * + * @param value The importedLibraries to add. + * @return This builder for chaining. + */ + public Builder addImportedLibraries(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureImportedLibrariesIsMutable(); + importedLibraries_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+     * Paths of the imported libraries.
+     * 
+ * + * repeated string imported_libraries = 1; + * + * @param values The importedLibraries to add. + * @return This builder for chaining. + */ + public Builder addAllImportedLibraries(java.lang.Iterable values) { + ensureImportedLibrariesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, importedLibraries_); + onChanged(); + return this; + } + /** + * + * + *
+     * Paths of the imported libraries.
+     * 
+ * + * repeated string imported_libraries = 1; + * + * @return This builder for chaining. + */ + public Builder clearImportedLibraries() { + importedLibraries_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Paths of the imported libraries.
+     * 
+ * + * repeated string imported_libraries = 1; + * + * @param value The bytes of the importedLibraries to add. + * @return This builder for chaining. + */ + public Builder addImportedLibrariesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureImportedLibrariesIsMutable(); + importedLibraries_.add(value); + 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.v1.BigQueryRoutineSpec) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.BigQueryRoutineSpec) + private static final com.google.cloud.datacatalog.v1.BigQueryRoutineSpec DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.BigQueryRoutineSpec(); + } + + public static com.google.cloud.datacatalog.v1.BigQueryRoutineSpec getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryRoutineSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BigQueryRoutineSpec(input, extensionRegistry); + } + }; + + 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.v1.BigQueryRoutineSpec getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpecOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpecOrBuilder.java new file mode 100644 index 00000000..d170dc9c --- /dev/null +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpecOrBuilder.java @@ -0,0 +1,76 @@ +/* + * Copyright 2020 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/v1/bigquery.proto + +package com.google.cloud.datacatalog.v1; + +public interface BigQueryRoutineSpecOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.BigQueryRoutineSpec) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Paths of the imported libraries.
+   * 
+ * + * repeated string imported_libraries = 1; + * + * @return A list containing the importedLibraries. + */ + java.util.List getImportedLibrariesList(); + /** + * + * + *
+   * Paths of the imported libraries.
+   * 
+ * + * repeated string imported_libraries = 1; + * + * @return The count of importedLibraries. + */ + int getImportedLibrariesCount(); + /** + * + * + *
+   * Paths of the imported libraries.
+   * 
+ * + * repeated string imported_libraries = 1; + * + * @param index The index of the element to return. + * @return The importedLibraries at the given index. + */ + java.lang.String getImportedLibraries(int index); + /** + * + * + *
+   * Paths of the imported libraries.
+   * 
+ * + * repeated string imported_libraries = 1; + * + * @param index The index of the value to return. + * @return The bytes of the importedLibraries at the given index. + */ + com.google.protobuf.ByteString getImportedLibrariesBytes(int index); +} diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpec.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpec.java index 729a9631..a94b70f4 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpec.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpec.java @@ -235,8 +235,8 @@ public com.google.cloud.datacatalog.v1.TableSourceType getTableSourceType() { * * *
-   * Table view specification. This field should only be populated if
-   * `table_source_type` is `BIGQUERY_VIEW`.
+   * Table view specification. Populated only if
+   * the `table_source_type` is `BIGQUERY_VIEW`.
    * 
* * .google.cloud.datacatalog.v1.ViewSpec view_spec = 2; @@ -251,8 +251,8 @@ public boolean hasViewSpec() { * * *
-   * Table view specification. This field should only be populated if
-   * `table_source_type` is `BIGQUERY_VIEW`.
+   * Table view specification. Populated only if
+   * the `table_source_type` is `BIGQUERY_VIEW`.
    * 
* * .google.cloud.datacatalog.v1.ViewSpec view_spec = 2; @@ -270,8 +270,8 @@ public com.google.cloud.datacatalog.v1.ViewSpec getViewSpec() { * * *
-   * Table view specification. This field should only be populated if
-   * `table_source_type` is `BIGQUERY_VIEW`.
+   * Table view specification. Populated only if
+   * the `table_source_type` is `BIGQUERY_VIEW`.
    * 
* * .google.cloud.datacatalog.v1.ViewSpec view_spec = 2; @@ -289,8 +289,8 @@ public com.google.cloud.datacatalog.v1.ViewSpecOrBuilder getViewSpecOrBuilder() * * *
-   * Spec of a BigQuery table. This field should only be populated if
-   * `table_source_type` is `BIGQUERY_TABLE`.
+   * Specification of a BigQuery table. Populated only if
+   * the `table_source_type` is `BIGQUERY_TABLE`.
    * 
* * .google.cloud.datacatalog.v1.TableSpec table_spec = 3; @@ -305,8 +305,8 @@ public boolean hasTableSpec() { * * *
-   * Spec of a BigQuery table. This field should only be populated if
-   * `table_source_type` is `BIGQUERY_TABLE`.
+   * Specification of a BigQuery table. Populated only if
+   * the `table_source_type` is `BIGQUERY_TABLE`.
    * 
* * .google.cloud.datacatalog.v1.TableSpec table_spec = 3; @@ -324,8 +324,8 @@ public com.google.cloud.datacatalog.v1.TableSpec getTableSpec() { * * *
-   * Spec of a BigQuery table. This field should only be populated if
-   * `table_source_type` is `BIGQUERY_TABLE`.
+   * Specification of a BigQuery table. Populated only if
+   * the `table_source_type` is `BIGQUERY_TABLE`.
    * 
* * .google.cloud.datacatalog.v1.TableSpec table_spec = 3; @@ -855,8 +855,8 @@ public Builder clearTableSourceType() { * * *
-     * Table view specification. This field should only be populated if
-     * `table_source_type` is `BIGQUERY_VIEW`.
+     * Table view specification. Populated only if
+     * the `table_source_type` is `BIGQUERY_VIEW`.
      * 
* * .google.cloud.datacatalog.v1.ViewSpec view_spec = 2; @@ -871,8 +871,8 @@ public boolean hasViewSpec() { * * *
-     * Table view specification. This field should only be populated if
-     * `table_source_type` is `BIGQUERY_VIEW`.
+     * Table view specification. Populated only if
+     * the `table_source_type` is `BIGQUERY_VIEW`.
      * 
* * .google.cloud.datacatalog.v1.ViewSpec view_spec = 2; @@ -897,8 +897,8 @@ public com.google.cloud.datacatalog.v1.ViewSpec getViewSpec() { * * *
-     * Table view specification. This field should only be populated if
-     * `table_source_type` is `BIGQUERY_VIEW`.
+     * Table view specification. Populated only if
+     * the `table_source_type` is `BIGQUERY_VIEW`.
      * 
* * .google.cloud.datacatalog.v1.ViewSpec view_spec = 2; @@ -920,8 +920,8 @@ public Builder setViewSpec(com.google.cloud.datacatalog.v1.ViewSpec value) { * * *
-     * Table view specification. This field should only be populated if
-     * `table_source_type` is `BIGQUERY_VIEW`.
+     * Table view specification. Populated only if
+     * the `table_source_type` is `BIGQUERY_VIEW`.
      * 
* * .google.cloud.datacatalog.v1.ViewSpec view_spec = 2; @@ -940,8 +940,8 @@ public Builder setViewSpec(com.google.cloud.datacatalog.v1.ViewSpec.Builder buil * * *
-     * Table view specification. This field should only be populated if
-     * `table_source_type` is `BIGQUERY_VIEW`.
+     * Table view specification. Populated only if
+     * the `table_source_type` is `BIGQUERY_VIEW`.
      * 
* * .google.cloud.datacatalog.v1.ViewSpec view_spec = 2; @@ -972,8 +972,8 @@ public Builder mergeViewSpec(com.google.cloud.datacatalog.v1.ViewSpec value) { * * *
-     * Table view specification. This field should only be populated if
-     * `table_source_type` is `BIGQUERY_VIEW`.
+     * Table view specification. Populated only if
+     * the `table_source_type` is `BIGQUERY_VIEW`.
      * 
* * .google.cloud.datacatalog.v1.ViewSpec view_spec = 2; @@ -998,8 +998,8 @@ public Builder clearViewSpec() { * * *
-     * Table view specification. This field should only be populated if
-     * `table_source_type` is `BIGQUERY_VIEW`.
+     * Table view specification. Populated only if
+     * the `table_source_type` is `BIGQUERY_VIEW`.
      * 
* * .google.cloud.datacatalog.v1.ViewSpec view_spec = 2; @@ -1011,8 +1011,8 @@ public com.google.cloud.datacatalog.v1.ViewSpec.Builder getViewSpecBuilder() { * * *
-     * Table view specification. This field should only be populated if
-     * `table_source_type` is `BIGQUERY_VIEW`.
+     * Table view specification. Populated only if
+     * the `table_source_type` is `BIGQUERY_VIEW`.
      * 
* * .google.cloud.datacatalog.v1.ViewSpec view_spec = 2; @@ -1032,8 +1032,8 @@ public com.google.cloud.datacatalog.v1.ViewSpecOrBuilder getViewSpecOrBuilder() * * *
-     * Table view specification. This field should only be populated if
-     * `table_source_type` is `BIGQUERY_VIEW`.
+     * Table view specification. Populated only if
+     * the `table_source_type` is `BIGQUERY_VIEW`.
      * 
* * .google.cloud.datacatalog.v1.ViewSpec view_spec = 2; @@ -1072,8 +1072,8 @@ public com.google.cloud.datacatalog.v1.ViewSpecOrBuilder getViewSpecOrBuilder() * * *
-     * Spec of a BigQuery table. This field should only be populated if
-     * `table_source_type` is `BIGQUERY_TABLE`.
+     * Specification of a BigQuery table. Populated only if
+     * the `table_source_type` is `BIGQUERY_TABLE`.
      * 
* * .google.cloud.datacatalog.v1.TableSpec table_spec = 3; @@ -1088,8 +1088,8 @@ public boolean hasTableSpec() { * * *
-     * Spec of a BigQuery table. This field should only be populated if
-     * `table_source_type` is `BIGQUERY_TABLE`.
+     * Specification of a BigQuery table. Populated only if
+     * the `table_source_type` is `BIGQUERY_TABLE`.
      * 
* * .google.cloud.datacatalog.v1.TableSpec table_spec = 3; @@ -1114,8 +1114,8 @@ public com.google.cloud.datacatalog.v1.TableSpec getTableSpec() { * * *
-     * Spec of a BigQuery table. This field should only be populated if
-     * `table_source_type` is `BIGQUERY_TABLE`.
+     * Specification of a BigQuery table. Populated only if
+     * the `table_source_type` is `BIGQUERY_TABLE`.
      * 
* * .google.cloud.datacatalog.v1.TableSpec table_spec = 3; @@ -1137,8 +1137,8 @@ public Builder setTableSpec(com.google.cloud.datacatalog.v1.TableSpec value) { * * *
-     * Spec of a BigQuery table. This field should only be populated if
-     * `table_source_type` is `BIGQUERY_TABLE`.
+     * Specification of a BigQuery table. Populated only if
+     * the `table_source_type` is `BIGQUERY_TABLE`.
      * 
* * .google.cloud.datacatalog.v1.TableSpec table_spec = 3; @@ -1157,8 +1157,8 @@ public Builder setTableSpec(com.google.cloud.datacatalog.v1.TableSpec.Builder bu * * *
-     * Spec of a BigQuery table. This field should only be populated if
-     * `table_source_type` is `BIGQUERY_TABLE`.
+     * Specification of a BigQuery table. Populated only if
+     * the `table_source_type` is `BIGQUERY_TABLE`.
      * 
* * .google.cloud.datacatalog.v1.TableSpec table_spec = 3; @@ -1189,8 +1189,8 @@ public Builder mergeTableSpec(com.google.cloud.datacatalog.v1.TableSpec value) { * * *
-     * Spec of a BigQuery table. This field should only be populated if
-     * `table_source_type` is `BIGQUERY_TABLE`.
+     * Specification of a BigQuery table. Populated only if
+     * the `table_source_type` is `BIGQUERY_TABLE`.
      * 
* * .google.cloud.datacatalog.v1.TableSpec table_spec = 3; @@ -1215,8 +1215,8 @@ public Builder clearTableSpec() { * * *
-     * Spec of a BigQuery table. This field should only be populated if
-     * `table_source_type` is `BIGQUERY_TABLE`.
+     * Specification of a BigQuery table. Populated only if
+     * the `table_source_type` is `BIGQUERY_TABLE`.
      * 
* * .google.cloud.datacatalog.v1.TableSpec table_spec = 3; @@ -1228,8 +1228,8 @@ public com.google.cloud.datacatalog.v1.TableSpec.Builder getTableSpecBuilder() { * * *
-     * Spec of a BigQuery table. This field should only be populated if
-     * `table_source_type` is `BIGQUERY_TABLE`.
+     * Specification of a BigQuery table. Populated only if
+     * the `table_source_type` is `BIGQUERY_TABLE`.
      * 
* * .google.cloud.datacatalog.v1.TableSpec table_spec = 3; @@ -1249,8 +1249,8 @@ public com.google.cloud.datacatalog.v1.TableSpecOrBuilder getTableSpecOrBuilder( * * *
-     * Spec of a BigQuery table. This field should only be populated if
-     * `table_source_type` is `BIGQUERY_TABLE`.
+     * Specification of a BigQuery table. Populated only if
+     * the `table_source_type` is `BIGQUERY_TABLE`.
      * 
* * .google.cloud.datacatalog.v1.TableSpec table_spec = 3; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpecOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpecOrBuilder.java index 5bf7abed..de994b20 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpecOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpecOrBuilder.java @@ -56,8 +56,8 @@ public interface BigQueryTableSpecOrBuilder * * *
-   * Table view specification. This field should only be populated if
-   * `table_source_type` is `BIGQUERY_VIEW`.
+   * Table view specification. Populated only if
+   * the `table_source_type` is `BIGQUERY_VIEW`.
    * 
* * .google.cloud.datacatalog.v1.ViewSpec view_spec = 2; @@ -69,8 +69,8 @@ public interface BigQueryTableSpecOrBuilder * * *
-   * Table view specification. This field should only be populated if
-   * `table_source_type` is `BIGQUERY_VIEW`.
+   * Table view specification. Populated only if
+   * the `table_source_type` is `BIGQUERY_VIEW`.
    * 
* * .google.cloud.datacatalog.v1.ViewSpec view_spec = 2; @@ -82,8 +82,8 @@ public interface BigQueryTableSpecOrBuilder * * *
-   * Table view specification. This field should only be populated if
-   * `table_source_type` is `BIGQUERY_VIEW`.
+   * Table view specification. Populated only if
+   * the `table_source_type` is `BIGQUERY_VIEW`.
    * 
* * .google.cloud.datacatalog.v1.ViewSpec view_spec = 2; @@ -94,8 +94,8 @@ public interface BigQueryTableSpecOrBuilder * * *
-   * Spec of a BigQuery table. This field should only be populated if
-   * `table_source_type` is `BIGQUERY_TABLE`.
+   * Specification of a BigQuery table. Populated only if
+   * the `table_source_type` is `BIGQUERY_TABLE`.
    * 
* * .google.cloud.datacatalog.v1.TableSpec table_spec = 3; @@ -107,8 +107,8 @@ public interface BigQueryTableSpecOrBuilder * * *
-   * Spec of a BigQuery table. This field should only be populated if
-   * `table_source_type` is `BIGQUERY_TABLE`.
+   * Specification of a BigQuery table. Populated only if
+   * the `table_source_type` is `BIGQUERY_TABLE`.
    * 
* * .google.cloud.datacatalog.v1.TableSpec table_spec = 3; @@ -120,8 +120,8 @@ public interface BigQueryTableSpecOrBuilder * * *
-   * Spec of a BigQuery table. This field should only be populated if
-   * `table_source_type` is `BIGQUERY_TABLE`.
+   * Specification of a BigQuery table. Populated only if
+   * the `table_source_type` is `BIGQUERY_TABLE`.
    * 
* * .google.cloud.datacatalog.v1.TableSpec table_spec = 3; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpec.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpec.java new file mode 100644 index 00000000..63344274 --- /dev/null +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpec.java @@ -0,0 +1,1149 @@ +/* + * Copyright 2020 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/v1/bigquery.proto + +package com.google.cloud.datacatalog.v1; + +/** + * + * + *
+ * Specification for the BigQuery connection to a Cloud SQL instance.
+ * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec} + */ +public final class CloudSqlBigQueryConnectionSpec extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) + CloudSqlBigQueryConnectionSpecOrBuilder { + private static final long serialVersionUID = 0L; + // Use CloudSqlBigQueryConnectionSpec.newBuilder() to construct. + private CloudSqlBigQueryConnectionSpec( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CloudSqlBigQueryConnectionSpec() { + instanceId_ = ""; + database_ = ""; + type_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CloudSqlBigQueryConnectionSpec(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private CloudSqlBigQueryConnectionSpec( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + instanceId_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + database_ = s; + break; + } + case 24: + { + int rawValue = input.readEnum(); + + type_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.BigQueryProto + .internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1.BigQueryProto + .internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.class, + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder.class); + } + + /** + * + * + *
+   * Supported Cloud SQL database types.
+   * 
+ * + * Protobuf enum {@code google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType} + */ + public enum DatabaseType implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Unspecified database type.
+     * 
+ * + * DATABASE_TYPE_UNSPECIFIED = 0; + */ + DATABASE_TYPE_UNSPECIFIED(0), + /** + * + * + *
+     * Cloud SQL for PostgreSQL.
+     * 
+ * + * POSTGRES = 1; + */ + POSTGRES(1), + /** + * + * + *
+     * Cloud SQL for MySQL.
+     * 
+ * + * MYSQL = 2; + */ + MYSQL(2), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * Unspecified database type.
+     * 
+ * + * DATABASE_TYPE_UNSPECIFIED = 0; + */ + public static final int DATABASE_TYPE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * Cloud SQL for PostgreSQL.
+     * 
+ * + * POSTGRES = 1; + */ + public static final int POSTGRES_VALUE = 1; + /** + * + * + *
+     * Cloud SQL for MySQL.
+     * 
+ * + * MYSQL = 2; + */ + public static final int MYSQL_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 DatabaseType 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 DatabaseType forNumber(int value) { + switch (value) { + case 0: + return DATABASE_TYPE_UNSPECIFIED; + case 1: + return POSTGRES; + case 2: + return MYSQL; + 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 DatabaseType findValueByNumber(int number) { + return DatabaseType.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.v1.CloudSqlBigQueryConnectionSpec.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final DatabaseType[] VALUES = values(); + + public static DatabaseType 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 DatabaseType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType) + } + + public static final int INSTANCE_ID_FIELD_NUMBER = 1; + private volatile java.lang.Object instanceId_; + /** + * + * + *
+   * Cloud SQL instance ID in the format of `project:location:instance`.
+   * 
+ * + * string instance_id = 1; + * + * @return The instanceId. + */ + @java.lang.Override + public java.lang.String getInstanceId() { + java.lang.Object ref = instanceId_; + 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(); + instanceId_ = s; + return s; + } + } + /** + * + * + *
+   * Cloud SQL instance ID in the format of `project:location:instance`.
+   * 
+ * + * string instance_id = 1; + * + * @return The bytes for instanceId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getInstanceIdBytes() { + java.lang.Object ref = instanceId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + instanceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DATABASE_FIELD_NUMBER = 2; + private volatile java.lang.Object database_; + /** + * + * + *
+   * Database name.
+   * 
+ * + * string database = 2; + * + * @return The database. + */ + @java.lang.Override + public java.lang.String getDatabase() { + java.lang.Object ref = database_; + 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(); + database_ = s; + return s; + } + } + /** + * + * + *
+   * Database name.
+   * 
+ * + * string database = 2; + * + * @return The bytes for database. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDatabaseBytes() { + java.lang.Object ref = database_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + database_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TYPE_FIELD_NUMBER = 3; + private int type_; + /** + * + * + *
+   * Type of the Cloud SQL database.
+   * 
+ * + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; + * + * @return The enum numeric value on the wire for type. + */ + @java.lang.Override + public int getTypeValue() { + return type_; + } + /** + * + * + *
+   * Type of the Cloud SQL database.
+   * 
+ * + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; + * + * @return The type. + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType getType() { + @SuppressWarnings("deprecation") + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType result = + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType.valueOf(type_); + return result == null + ? com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType.UNRECOGNIZED + : result; + } + + 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 (!getInstanceIdBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceId_); + } + if (!getDatabaseBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, database_); + } + if (type_ + != com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType + .DATABASE_TYPE_UNSPECIFIED + .getNumber()) { + output.writeEnum(3, type_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getInstanceIdBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instanceId_); + } + if (!getDatabaseBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, database_); + } + if (type_ + != com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType + .DATABASE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, type_); + } + size += unknownFields.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.v1.CloudSqlBigQueryConnectionSpec)) { + return super.equals(obj); + } + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec other = + (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) obj; + + if (!getInstanceId().equals(other.getInstanceId())) return false; + if (!getDatabase().equals(other.getDatabase())) return false; + if (type_ != other.type_) return false; + if (!unknownFields.equals(other.unknownFields)) 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) + INSTANCE_ID_FIELD_NUMBER; + hash = (53 * hash) + getInstanceId().hashCode(); + hash = (37 * hash) + DATABASE_FIELD_NUMBER; + hash = (53 * hash) + getDatabase().hashCode(); + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + type_; + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec 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.v1.CloudSqlBigQueryConnectionSpec parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec 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.v1.CloudSqlBigQueryConnectionSpec parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec 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.v1.CloudSqlBigQueryConnectionSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec 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.v1.CloudSqlBigQueryConnectionSpec parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec 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.v1.CloudSqlBigQueryConnectionSpec 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; + } + /** + * + * + *
+   * Specification for the BigQuery connection to a Cloud SQL instance.
+   * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.BigQueryProto + .internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1.BigQueryProto + .internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.class, + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.Builder.class); + } + + // Construct using com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + instanceId_ = ""; + + database_ = ""; + + type_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.BigQueryProto + .internal_static_google_cloud_datacatalog_v1_CloudSqlBigQueryConnectionSpec_descriptor; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec + getDefaultInstanceForType() { + return com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec build() { + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec buildPartial() { + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec result = + new com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec(this); + result.instanceId_ = instanceId_; + result.database_ = database_; + result.type_ = type_; + onBuilt(); + return result; + } + + @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.v1.CloudSqlBigQueryConnectionSpec) { + return mergeFrom((com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec other) { + if (other + == com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.getDefaultInstance()) + return this; + if (!other.getInstanceId().isEmpty()) { + instanceId_ = other.instanceId_; + onChanged(); + } + if (!other.getDatabase().isEmpty()) { + database_ = other.database_; + onChanged(); + } + if (other.type_ != 0) { + setTypeValue(other.getTypeValue()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object instanceId_ = ""; + /** + * + * + *
+     * Cloud SQL instance ID in the format of `project:location:instance`.
+     * 
+ * + * string instance_id = 1; + * + * @return The instanceId. + */ + public java.lang.String getInstanceId() { + java.lang.Object ref = instanceId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + instanceId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Cloud SQL instance ID in the format of `project:location:instance`.
+     * 
+ * + * string instance_id = 1; + * + * @return The bytes for instanceId. + */ + public com.google.protobuf.ByteString getInstanceIdBytes() { + java.lang.Object ref = instanceId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + instanceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Cloud SQL instance ID in the format of `project:location:instance`.
+     * 
+ * + * string instance_id = 1; + * + * @param value The instanceId to set. + * @return This builder for chaining. + */ + public Builder setInstanceId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + instanceId_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Cloud SQL instance ID in the format of `project:location:instance`.
+     * 
+ * + * string instance_id = 1; + * + * @return This builder for chaining. + */ + public Builder clearInstanceId() { + + instanceId_ = getDefaultInstance().getInstanceId(); + onChanged(); + return this; + } + /** + * + * + *
+     * Cloud SQL instance ID in the format of `project:location:instance`.
+     * 
+ * + * string instance_id = 1; + * + * @param value The bytes for instanceId to set. + * @return This builder for chaining. + */ + public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + instanceId_ = value; + onChanged(); + return this; + } + + private java.lang.Object database_ = ""; + /** + * + * + *
+     * Database name.
+     * 
+ * + * string database = 2; + * + * @return The database. + */ + public java.lang.String getDatabase() { + java.lang.Object ref = database_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + database_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Database name.
+     * 
+ * + * string database = 2; + * + * @return The bytes for database. + */ + public com.google.protobuf.ByteString getDatabaseBytes() { + java.lang.Object ref = database_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + database_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Database name.
+     * 
+ * + * string database = 2; + * + * @param value The database to set. + * @return This builder for chaining. + */ + public Builder setDatabase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + database_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Database name.
+     * 
+ * + * string database = 2; + * + * @return This builder for chaining. + */ + public Builder clearDatabase() { + + database_ = getDefaultInstance().getDatabase(); + onChanged(); + return this; + } + /** + * + * + *
+     * Database name.
+     * 
+ * + * string database = 2; + * + * @param value The bytes for database to set. + * @return This builder for chaining. + */ + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + database_ = value; + onChanged(); + return this; + } + + private int type_ = 0; + /** + * + * + *
+     * Type of the Cloud SQL database.
+     * 
+ * + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; + * + * + * @return The enum numeric value on the wire for type. + */ + @java.lang.Override + public int getTypeValue() { + return type_; + } + /** + * + * + *
+     * Type of the Cloud SQL database.
+     * 
+ * + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; + * + * + * @param value The enum numeric value on the wire for type to set. + * @return This builder for chaining. + */ + public Builder setTypeValue(int value) { + + type_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Type of the Cloud SQL database.
+     * 
+ * + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; + * + * + * @return The type. + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType getType() { + @SuppressWarnings("deprecation") + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType result = + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType.valueOf( + type_); + return result == null + ? com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType.UNRECOGNIZED + : result; + } + /** + * + * + *
+     * Type of the Cloud SQL database.
+     * 
+ * + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; + * + * + * @param value The type to set. + * @return This builder for chaining. + */ + public Builder setType( + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType value) { + if (value == null) { + throw new NullPointerException(); + } + + type_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * Type of the Cloud SQL database.
+     * 
+ * + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; + * + * + * @return This builder for chaining. + */ + public Builder clearType() { + + type_ = 0; + 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.v1.CloudSqlBigQueryConnectionSpec) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) + private static final com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec(); + } + + public static com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudSqlBigQueryConnectionSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CloudSqlBigQueryConnectionSpec(input, extensionRegistry); + } + }; + + 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.v1.CloudSqlBigQueryConnectionSpec + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpecOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpecOrBuilder.java new file mode 100644 index 00000000..cbeb5b3b --- /dev/null +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpecOrBuilder.java @@ -0,0 +1,100 @@ +/* + * Copyright 2020 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/v1/bigquery.proto + +package com.google.cloud.datacatalog.v1; + +public interface CloudSqlBigQueryConnectionSpecOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Cloud SQL instance ID in the format of `project:location:instance`.
+   * 
+ * + * string instance_id = 1; + * + * @return The instanceId. + */ + java.lang.String getInstanceId(); + /** + * + * + *
+   * Cloud SQL instance ID in the format of `project:location:instance`.
+   * 
+ * + * string instance_id = 1; + * + * @return The bytes for instanceId. + */ + com.google.protobuf.ByteString getInstanceIdBytes(); + + /** + * + * + *
+   * Database name.
+   * 
+ * + * string database = 2; + * + * @return The database. + */ + java.lang.String getDatabase(); + /** + * + * + *
+   * Database name.
+   * 
+ * + * string database = 2; + * + * @return The bytes for database. + */ + com.google.protobuf.ByteString getDatabaseBytes(); + + /** + * + * + *
+   * Type of the Cloud SQL database.
+   * 
+ * + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; + * + * @return The enum numeric value on the wire for type. + */ + int getTypeValue(); + /** + * + * + *
+   * Type of the Cloud SQL database.
+   * 
+ * + * .google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3; + * + * @return The type. + */ + com.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType getType(); +} diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchema.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchema.java index e78bd882..bd6e9837 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchema.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchema.java @@ -22,7 +22,7 @@ * * *
- * Representation of a column within a schema. Columns could be nested inside
+ * A column within a schema. Columns can be nested inside
  * other columns.
  * 
* @@ -316,7 +316,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * *
-   * Optional. A column's mode indicates if values in this column are required,
+   * Optional. A column's mode indicates whether values in this column are required,
    * nullable, or repeated.
    * Only `NULLABLE`, `REQUIRED`, and `REPEATED` values are supported.
    * Default mode is `NULLABLE`.
@@ -342,7 +342,7 @@ public java.lang.String getMode() {
    *
    *
    * 
-   * Optional. A column's mode indicates if values in this column are required,
+   * Optional. A column's mode indicates whether values in this column are required,
    * nullable, or repeated.
    * Only `NULLABLE`, `REQUIRED`, and `REPEATED` values are supported.
    * Default mode is `NULLABLE`.
@@ -645,7 +645,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    *
    * 
-   * Representation of a column within a schema. Columns could be nested inside
+   * A column within a schema. Columns can be nested inside
    * other columns.
    * 
* @@ -1215,7 +1215,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. A column's mode indicates if values in this column are required,
+     * Optional. A column's mode indicates whether values in this column are required,
      * nullable, or repeated.
      * Only `NULLABLE`, `REQUIRED`, and `REPEATED` values are supported.
      * Default mode is `NULLABLE`.
@@ -1240,7 +1240,7 @@ public java.lang.String getMode() {
      *
      *
      * 
-     * Optional. A column's mode indicates if values in this column are required,
+     * Optional. A column's mode indicates whether values in this column are required,
      * nullable, or repeated.
      * Only `NULLABLE`, `REQUIRED`, and `REPEATED` values are supported.
      * Default mode is `NULLABLE`.
@@ -1265,7 +1265,7 @@ public com.google.protobuf.ByteString getModeBytes() {
      *
      *
      * 
-     * Optional. A column's mode indicates if values in this column are required,
+     * Optional. A column's mode indicates whether values in this column are required,
      * nullable, or repeated.
      * Only `NULLABLE`, `REQUIRED`, and `REPEATED` values are supported.
      * Default mode is `NULLABLE`.
@@ -1289,7 +1289,7 @@ public Builder setMode(java.lang.String value) {
      *
      *
      * 
-     * Optional. A column's mode indicates if values in this column are required,
+     * Optional. A column's mode indicates whether values in this column are required,
      * nullable, or repeated.
      * Only `NULLABLE`, `REQUIRED`, and `REPEATED` values are supported.
      * Default mode is `NULLABLE`.
@@ -1309,7 +1309,7 @@ public Builder clearMode() {
      *
      *
      * 
-     * Optional. A column's mode indicates if values in this column are required,
+     * Optional. A column's mode indicates whether values in this column are required,
      * nullable, or repeated.
      * Only `NULLABLE`, `REQUIRED`, and `REPEATED` values are supported.
      * Default mode is `NULLABLE`.
diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchemaOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchemaOrBuilder.java
index f405cec5..324e8e2b 100644
--- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchemaOrBuilder.java
+++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchemaOrBuilder.java
@@ -112,7 +112,7 @@ public interface ColumnSchemaOrBuilder
    *
    *
    * 
-   * Optional. A column's mode indicates if values in this column are required,
+   * Optional. A column's mode indicates whether values in this column are required,
    * nullable, or repeated.
    * Only `NULLABLE`, `REQUIRED`, and `REPEATED` values are supported.
    * Default mode is `NULLABLE`.
@@ -127,7 +127,7 @@ public interface ColumnSchemaOrBuilder
    *
    *
    * 
-   * Optional. A column's mode indicates if values in this column are required,
+   * Optional. A column's mode indicates whether values in this column are required,
    * nullable, or repeated.
    * Only `NULLABLE`, `REQUIRED`, and `REPEATED` values are supported.
    * Default mode is `NULLABLE`.
diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequest.java
index 4c313a22..2b0e7d5b 100644
--- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequest.java
+++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequest.java
@@ -142,8 +142,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    *
    * 
-   * Required. The name of the project this entry group belongs to. Example:
-   * `projects/{project_id}/locations/{location}`
+   * Required. The names of the project and location that the new entry group belongs to.
    * Note: The entry group itself and its child resources might not be
    * stored in the location specified in its name.
    * 
@@ -170,8 +169,7 @@ public java.lang.String getParent() { * * *
-   * Required. The name of the project this entry group belongs to. Example:
-   * `projects/{project_id}/locations/{location}`
+   * Required. The names of the project and location that the new entry group belongs to.
    * Note: The entry group itself and its child resources might not be
    * stored in the location specified in its name.
    * 
@@ -256,7 +254,7 @@ public com.google.protobuf.ByteString getEntryGroupIdBytes() { * * *
-   * The entry group to create. Defaults to an empty entry group.
+   * The entry group to create. Defaults to empty.
    * 
* * .google.cloud.datacatalog.v1.EntryGroup entry_group = 2; @@ -271,7 +269,7 @@ public boolean hasEntryGroup() { * * *
-   * The entry group to create. Defaults to an empty entry group.
+   * The entry group to create. Defaults to empty.
    * 
* * .google.cloud.datacatalog.v1.EntryGroup entry_group = 2; @@ -288,7 +286,7 @@ public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroup() { * * *
-   * The entry group to create. Defaults to an empty entry group.
+   * The entry group to create. Defaults to empty.
    * 
* * .google.cloud.datacatalog.v1.EntryGroup entry_group = 2; @@ -667,8 +665,7 @@ public Builder mergeFrom( * * *
-     * Required. The name of the project this entry group belongs to. Example:
-     * `projects/{project_id}/locations/{location}`
+     * Required. The names of the project and location that the new entry group belongs to.
      * Note: The entry group itself and its child resources might not be
      * stored in the location specified in its name.
      * 
@@ -694,8 +691,7 @@ public java.lang.String getParent() { * * *
-     * Required. The name of the project this entry group belongs to. Example:
-     * `projects/{project_id}/locations/{location}`
+     * Required. The names of the project and location that the new entry group belongs to.
      * Note: The entry group itself and its child resources might not be
      * stored in the location specified in its name.
      * 
@@ -721,8 +717,7 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required. The name of the project this entry group belongs to. Example:
-     * `projects/{project_id}/locations/{location}`
+     * Required. The names of the project and location that the new entry group belongs to.
      * Note: The entry group itself and its child resources might not be
      * stored in the location specified in its name.
      * 
@@ -747,8 +742,7 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required. The name of the project this entry group belongs to. Example:
-     * `projects/{project_id}/locations/{location}`
+     * Required. The names of the project and location that the new entry group belongs to.
      * Note: The entry group itself and its child resources might not be
      * stored in the location specified in its name.
      * 
@@ -769,8 +763,7 @@ public Builder clearParent() { * * *
-     * Required. The name of the project this entry group belongs to. Example:
-     * `projects/{project_id}/locations/{location}`
+     * Required. The names of the project and location that the new entry group belongs to.
      * Note: The entry group itself and its child resources might not be
      * stored in the location specified in its name.
      * 
@@ -924,7 +917,7 @@ public Builder setEntryGroupIdBytes(com.google.protobuf.ByteString value) { * * *
-     * The entry group to create. Defaults to an empty entry group.
+     * The entry group to create. Defaults to empty.
      * 
* * .google.cloud.datacatalog.v1.EntryGroup entry_group = 2; @@ -938,7 +931,7 @@ public boolean hasEntryGroup() { * * *
-     * The entry group to create. Defaults to an empty entry group.
+     * The entry group to create. Defaults to empty.
      * 
* * .google.cloud.datacatalog.v1.EntryGroup entry_group = 2; @@ -958,7 +951,7 @@ public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroup() { * * *
-     * The entry group to create. Defaults to an empty entry group.
+     * The entry group to create. Defaults to empty.
      * 
* * .google.cloud.datacatalog.v1.EntryGroup entry_group = 2; @@ -980,7 +973,7 @@ public Builder setEntryGroup(com.google.cloud.datacatalog.v1.EntryGroup value) { * * *
-     * The entry group to create. Defaults to an empty entry group.
+     * The entry group to create. Defaults to empty.
      * 
* * .google.cloud.datacatalog.v1.EntryGroup entry_group = 2; @@ -1000,7 +993,7 @@ public Builder setEntryGroup( * * *
-     * The entry group to create. Defaults to an empty entry group.
+     * The entry group to create. Defaults to empty.
      * 
* * .google.cloud.datacatalog.v1.EntryGroup entry_group = 2; @@ -1026,7 +1019,7 @@ public Builder mergeEntryGroup(com.google.cloud.datacatalog.v1.EntryGroup value) * * *
-     * The entry group to create. Defaults to an empty entry group.
+     * The entry group to create. Defaults to empty.
      * 
* * .google.cloud.datacatalog.v1.EntryGroup entry_group = 2; @@ -1046,7 +1039,7 @@ public Builder clearEntryGroup() { * * *
-     * The entry group to create. Defaults to an empty entry group.
+     * The entry group to create. Defaults to empty.
      * 
* * .google.cloud.datacatalog.v1.EntryGroup entry_group = 2; @@ -1060,7 +1053,7 @@ public com.google.cloud.datacatalog.v1.EntryGroup.Builder getEntryGroupBuilder() * * *
-     * The entry group to create. Defaults to an empty entry group.
+     * The entry group to create. Defaults to empty.
      * 
* * .google.cloud.datacatalog.v1.EntryGroup entry_group = 2; @@ -1078,7 +1071,7 @@ public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupOrBuilde * * *
-     * The entry group to create. Defaults to an empty entry group.
+     * The entry group to create. Defaults to empty.
      * 
* * .google.cloud.datacatalog.v1.EntryGroup entry_group = 2; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequestOrBuilder.java index 08fdbe34..25a114ff 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryGroupRequestOrBuilder.java @@ -27,8 +27,7 @@ public interface CreateEntryGroupRequestOrBuilder * * *
-   * Required. The name of the project this entry group belongs to. Example:
-   * `projects/{project_id}/locations/{location}`
+   * Required. The names of the project and location that the new entry group belongs to.
    * Note: The entry group itself and its child resources might not be
    * stored in the location specified in its name.
    * 
@@ -44,8 +43,7 @@ public interface CreateEntryGroupRequestOrBuilder * * *
-   * Required. The name of the project this entry group belongs to. Example:
-   * `projects/{project_id}/locations/{location}`
+   * Required. The names of the project and location that the new entry group belongs to.
    * Note: The entry group itself and its child resources might not be
    * stored in the location specified in its name.
    * 
@@ -93,7 +91,7 @@ public interface CreateEntryGroupRequestOrBuilder * * *
-   * The entry group to create. Defaults to an empty entry group.
+   * The entry group to create. Defaults to empty.
    * 
* * .google.cloud.datacatalog.v1.EntryGroup entry_group = 2; @@ -105,7 +103,7 @@ public interface CreateEntryGroupRequestOrBuilder * * *
-   * The entry group to create. Defaults to an empty entry group.
+   * The entry group to create. Defaults to empty.
    * 
* * .google.cloud.datacatalog.v1.EntryGroup entry_group = 2; @@ -117,7 +115,7 @@ public interface CreateEntryGroupRequestOrBuilder * * *
-   * The entry group to create. Defaults to an empty entry group.
+   * The entry group to create. Defaults to empty.
    * 
* * .google.cloud.datacatalog.v1.EntryGroup entry_group = 2; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequest.java index f4fde6f5..cd0a28e0 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequest.java @@ -142,8 +142,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The name of the entry group this entry belongs to. Example:
-   * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`
+   * Required. The name of the entry group this entry belongs to.
    * Note: The entry itself and its child resources might not be stored in
    * the location specified in its name.
    * 
@@ -170,8 +169,7 @@ public java.lang.String getParent() { * * *
-   * Required. The name of the entry group this entry belongs to. Example:
-   * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`
+   * Required. The name of the entry group this entry belongs to.
    * Note: The entry itself and its child resources might not be stored in
    * the location specified in its name.
    * 
@@ -667,8 +665,7 @@ public Builder mergeFrom( * * *
-     * Required. The name of the entry group this entry belongs to. Example:
-     * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`
+     * Required. The name of the entry group this entry belongs to.
      * Note: The entry itself and its child resources might not be stored in
      * the location specified in its name.
      * 
@@ -694,8 +691,7 @@ public java.lang.String getParent() { * * *
-     * Required. The name of the entry group this entry belongs to. Example:
-     * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`
+     * Required. The name of the entry group this entry belongs to.
      * Note: The entry itself and its child resources might not be stored in
      * the location specified in its name.
      * 
@@ -721,8 +717,7 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required. The name of the entry group this entry belongs to. Example:
-     * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`
+     * Required. The name of the entry group this entry belongs to.
      * Note: The entry itself and its child resources might not be stored in
      * the location specified in its name.
      * 
@@ -747,8 +742,7 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required. The name of the entry group this entry belongs to. Example:
-     * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`
+     * Required. The name of the entry group this entry belongs to.
      * Note: The entry itself and its child resources might not be stored in
      * the location specified in its name.
      * 
@@ -769,8 +763,7 @@ public Builder clearParent() { * * *
-     * Required. The name of the entry group this entry belongs to. Example:
-     * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`
+     * Required. The name of the entry group this entry belongs to.
      * Note: The entry itself and its child resources might not be stored in
      * the location specified in its name.
      * 
diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequestOrBuilder.java index cd2b97ee..92565797 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateEntryRequestOrBuilder.java @@ -27,8 +27,7 @@ public interface CreateEntryRequestOrBuilder * * *
-   * Required. The name of the entry group this entry belongs to. Example:
-   * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`
+   * Required. The name of the entry group this entry belongs to.
    * Note: The entry itself and its child resources might not be stored in
    * the location specified in its name.
    * 
@@ -44,8 +43,7 @@ public interface CreateEntryRequestOrBuilder * * *
-   * Required. The name of the entry group this entry belongs to. Example:
-   * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`
+   * Required. The name of the entry group this entry belongs to.
    * Note: The entry itself and its child resources might not be stored in
    * the location specified in its name.
    * 
diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequest.java index 6a96399b..73d0de58 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequest.java @@ -134,7 +134,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Resource name of the taxonomy that the policy tag will belong to.
+   * Required. Resource name of the taxonomy that the policy tag will belong to.<br /><br
+   * />
    * 
* * @@ -159,7 +160,8 @@ public java.lang.String getParent() { * * *
-   * Required. Resource name of the taxonomy that the policy tag will belong to.
+   * Required. Resource name of the taxonomy that the policy tag will belong to.<br /><br
+   * />
    * 
* * @@ -187,7 +189,7 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * The policy tag to be created.
+   * The policy tag to create.
    * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; @@ -202,7 +204,7 @@ public boolean hasPolicyTag() { * * *
-   * The policy tag to be created.
+   * The policy tag to create.
    * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; @@ -219,7 +221,7 @@ public com.google.cloud.datacatalog.v1.PolicyTag getPolicyTag() { * * *
-   * The policy tag to be created.
+   * The policy tag to create.
    * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; @@ -582,7 +584,8 @@ public Builder mergeFrom( * * *
-     * Required. Resource name of the taxonomy that the policy tag will belong to.
+     * Required. Resource name of the taxonomy that the policy tag will belong to.<br /><br
+     * />
      * 
* * @@ -606,7 +609,8 @@ public java.lang.String getParent() { * * *
-     * Required. Resource name of the taxonomy that the policy tag will belong to.
+     * Required. Resource name of the taxonomy that the policy tag will belong to.<br /><br
+     * />
      * 
* * @@ -630,7 +634,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required. Resource name of the taxonomy that the policy tag will belong to.
+     * Required. Resource name of the taxonomy that the policy tag will belong to.<br /><br
+     * />
      * 
* * @@ -653,7 +658,8 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required. Resource name of the taxonomy that the policy tag will belong to.
+     * Required. Resource name of the taxonomy that the policy tag will belong to.<br /><br
+     * />
      * 
* * @@ -672,7 +678,8 @@ public Builder clearParent() { * * *
-     * Required. Resource name of the taxonomy that the policy tag will belong to.
+     * Required. Resource name of the taxonomy that the policy tag will belong to.<br /><br
+     * />
      * 
* * @@ -703,7 +710,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * The policy tag to be created.
+     * The policy tag to create.
      * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; @@ -717,7 +724,7 @@ public boolean hasPolicyTag() { * * *
-     * The policy tag to be created.
+     * The policy tag to create.
      * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; @@ -737,7 +744,7 @@ public com.google.cloud.datacatalog.v1.PolicyTag getPolicyTag() { * * *
-     * The policy tag to be created.
+     * The policy tag to create.
      * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; @@ -759,7 +766,7 @@ public Builder setPolicyTag(com.google.cloud.datacatalog.v1.PolicyTag value) { * * *
-     * The policy tag to be created.
+     * The policy tag to create.
      * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; @@ -778,7 +785,7 @@ public Builder setPolicyTag(com.google.cloud.datacatalog.v1.PolicyTag.Builder bu * * *
-     * The policy tag to be created.
+     * The policy tag to create.
      * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; @@ -804,7 +811,7 @@ public Builder mergePolicyTag(com.google.cloud.datacatalog.v1.PolicyTag value) { * * *
-     * The policy tag to be created.
+     * The policy tag to create.
      * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; @@ -824,7 +831,7 @@ public Builder clearPolicyTag() { * * *
-     * The policy tag to be created.
+     * The policy tag to create.
      * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; @@ -838,7 +845,7 @@ public com.google.cloud.datacatalog.v1.PolicyTag.Builder getPolicyTagBuilder() { * * *
-     * The policy tag to be created.
+     * The policy tag to create.
      * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; @@ -856,7 +863,7 @@ public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagOrBuilder( * * *
-     * The policy tag to be created.
+     * The policy tag to create.
      * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequestOrBuilder.java index 8e493598..f723dfb7 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreatePolicyTagRequestOrBuilder.java @@ -27,7 +27,8 @@ public interface CreatePolicyTagRequestOrBuilder * * *
-   * Required. Resource name of the taxonomy that the policy tag will belong to.
+   * Required. Resource name of the taxonomy that the policy tag will belong to.<br /><br
+   * />
    * 
* * @@ -41,7 +42,8 @@ public interface CreatePolicyTagRequestOrBuilder * * *
-   * Required. Resource name of the taxonomy that the policy tag will belong to.
+   * Required. Resource name of the taxonomy that the policy tag will belong to.<br /><br
+   * />
    * 
* * @@ -56,7 +58,7 @@ public interface CreatePolicyTagRequestOrBuilder * * *
-   * The policy tag to be created.
+   * The policy tag to create.
    * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; @@ -68,7 +70,7 @@ public interface CreatePolicyTagRequestOrBuilder * * *
-   * The policy tag to be created.
+   * The policy tag to create.
    * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; @@ -80,7 +82,7 @@ public interface CreatePolicyTagRequestOrBuilder * * *
-   * The policy tag to be created.
+   * The policy tag to create.
    * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 2; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequest.java index fea83b7a..af73a906 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequest.java @@ -134,9 +134,9 @@ 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. An entry can have up to 1000 attached tags. Example:
-   * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}`
+   * Required. The name of the resource to attach this tag to.
+   * Tags can be attached to entries or entry groups. An entry can have up to
+   * 1000 attached tags.
    * Note: The tag and its child resources might not be stored in
    * the location specified in its name.
    * 
@@ -163,9 +163,9 @@ public java.lang.String getParent() { * * *
-   * Required. The name of the resource to attach this tag to. Tags can be attached to
-   * entries. An entry can have up to 1000 attached tags. Example:
-   * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}`
+   * Required. The name of the resource to attach this tag to.
+   * Tags can be attached to entries or entry groups. An entry can have up to
+   * 1000 attached tags.
    * Note: The tag and its child resources might not be stored in
    * the location specified in its name.
    * 
@@ -589,9 +589,9 @@ public Builder mergeFrom( * * *
-     * Required. The name of the resource to attach this tag to. Tags can be attached to
-     * entries. An entry can have up to 1000 attached tags. Example:
-     * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}`
+     * Required. The name of the resource to attach this tag to.
+     * Tags can be attached to entries or entry groups. An entry can have up to
+     * 1000 attached tags.
      * Note: The tag and its child resources might not be stored in
      * the location specified in its name.
      * 
@@ -617,9 +617,9 @@ public java.lang.String getParent() { * * *
-     * Required. The name of the resource to attach this tag to. Tags can be attached to
-     * entries. An entry can have up to 1000 attached tags. Example:
-     * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}`
+     * Required. The name of the resource to attach this tag to.
+     * Tags can be attached to entries or entry groups. An entry can have up to
+     * 1000 attached tags.
      * Note: The tag and its child resources might not be stored in
      * the location specified in its name.
      * 
@@ -645,9 +645,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required. The name of the resource to attach this tag to. Tags can be attached to
-     * entries. An entry can have up to 1000 attached tags. Example:
-     * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}`
+     * Required. The name of the resource to attach this tag to.
+     * Tags can be attached to entries or entry groups. An entry can have up to
+     * 1000 attached tags.
      * Note: The tag and its child resources might not be stored in
      * the location specified in its name.
      * 
@@ -672,9 +672,9 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required. The name of the resource to attach this tag to. Tags can be attached to
-     * entries. An entry can have up to 1000 attached tags. Example:
-     * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}`
+     * Required. The name of the resource to attach this tag to.
+     * Tags can be attached to entries or entry groups. An entry can have up to
+     * 1000 attached tags.
      * Note: The tag and its child resources might not be stored in
      * the location specified in its name.
      * 
@@ -695,9 +695,9 @@ public Builder clearParent() { * * *
-     * Required. The name of the resource to attach this tag to. Tags can be attached to
-     * entries. An entry can have up to 1000 attached tags. Example:
-     * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}`
+     * Required. The name of the resource to attach this tag to.
+     * Tags can be attached to entries or entry groups. An entry can have up to
+     * 1000 attached tags.
      * Note: The tag and its child resources might not be stored in
      * the location specified in its name.
      * 
diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequestOrBuilder.java index 21235de1..3840bdfc 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagRequestOrBuilder.java @@ -27,9 +27,9 @@ public interface CreateTagRequestOrBuilder * * *
-   * Required. The name of the resource to attach this tag to. Tags can be attached to
-   * entries. An entry can have up to 1000 attached tags. Example:
-   * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}`
+   * Required. The name of the resource to attach this tag to.
+   * Tags can be attached to entries or entry groups. An entry can have up to
+   * 1000 attached tags.
    * Note: The tag and its child resources might not be stored in
    * the location specified in its name.
    * 
@@ -45,9 +45,9 @@ public interface CreateTagRequestOrBuilder * * *
-   * Required. The name of the resource to attach this tag to. Tags can be attached to
-   * entries. An entry can have up to 1000 attached tags. Example:
-   * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}`
+   * Required. The name of the resource to attach this tag to.
+   * Tags can be attached to entries or entry groups. An entry can have up to
+   * 1000 attached tags.
    * Note: The tag and its child resources might not be stored in
    * the location specified in its name.
    * 
diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequest.java index 0062f60c..cef08240 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequest.java @@ -144,8 +144,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
-   * Example:
-   * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
    * 
* * @@ -172,8 +170,6 @@ public java.lang.String getParent() { *
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
-   * Example:
-   * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
    * 
* * @@ -682,8 +678,6 @@ public Builder mergeFrom( *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
-     * Example:
-     * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
      * 
* * @@ -709,8 +703,6 @@ public java.lang.String getParent() { *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
-     * Example:
-     * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
      * 
* * @@ -736,8 +728,6 @@ public com.google.protobuf.ByteString getParentBytes() { *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
-     * Example:
-     * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
      * 
* * @@ -762,8 +752,6 @@ public Builder setParent(java.lang.String value) { *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
-     * Example:
-     * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
      * 
* * @@ -784,8 +772,6 @@ public Builder clearParent() { *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
-     * Example:
-     * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
      * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequestOrBuilder.java index d2bf3d1b..d0f02907 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateFieldRequestOrBuilder.java @@ -29,8 +29,6 @@ public interface CreateTagTemplateFieldRequestOrBuilder *
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
-   * Example:
-   * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
    * 
* * @@ -46,8 +44,6 @@ public interface CreateTagTemplateFieldRequestOrBuilder *
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
-   * Example:
-   * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
    * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequest.java index 2805db75..2fd28fad 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequest.java @@ -144,8 +144,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
-   * Example:
-   * * projects/{project_id}/locations/us-central1
    * 
* * @@ -172,8 +170,6 @@ public java.lang.String getParent() { *
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
-   * Example:
-   * * projects/{project_id}/locations/us-central1
    * 
* * @@ -675,8 +671,6 @@ public Builder mergeFrom( *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
-     * Example:
-     * * projects/{project_id}/locations/us-central1
      * 
* * @@ -702,8 +696,6 @@ public java.lang.String getParent() { *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
-     * Example:
-     * * projects/{project_id}/locations/us-central1
      * 
* * @@ -729,8 +721,6 @@ public com.google.protobuf.ByteString getParentBytes() { *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
-     * Example:
-     * * projects/{project_id}/locations/us-central1
      * 
* * @@ -755,8 +745,6 @@ public Builder setParent(java.lang.String value) { *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
-     * Example:
-     * * projects/{project_id}/locations/us-central1
      * 
* * @@ -777,8 +765,6 @@ public Builder clearParent() { *
      * Required. The name of the project and the template location
      * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
-     * Example:
-     * * projects/{project_id}/locations/us-central1
      * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequestOrBuilder.java index dd065e30..1fd828d9 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTagTemplateRequestOrBuilder.java @@ -29,8 +29,6 @@ public interface CreateTagTemplateRequestOrBuilder *
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
-   * Example:
-   * * projects/{project_id}/locations/us-central1
    * 
* * @@ -46,8 +44,6 @@ public interface CreateTagTemplateRequestOrBuilder *
    * Required. The name of the project and the template location
    * [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
-   * Example:
-   * * projects/{project_id}/locations/us-central1
    * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequest.java index b15246b9..c7f993f8 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequest.java @@ -187,7 +187,7 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * The taxonomy to be created.
+   * The taxonomy to create.
    * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; @@ -202,7 +202,7 @@ public boolean hasTaxonomy() { * * *
-   * The taxonomy to be created.
+   * The taxonomy to create.
    * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; @@ -219,7 +219,7 @@ public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomy() { * * *
-   * The taxonomy to be created.
+   * The taxonomy to create.
    * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; @@ -703,7 +703,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * The taxonomy to be created.
+     * The taxonomy to create.
      * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; @@ -717,7 +717,7 @@ public boolean hasTaxonomy() { * * *
-     * The taxonomy to be created.
+     * The taxonomy to create.
      * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; @@ -737,7 +737,7 @@ public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomy() { * * *
-     * The taxonomy to be created.
+     * The taxonomy to create.
      * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; @@ -759,7 +759,7 @@ public Builder setTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy value) { * * *
-     * The taxonomy to be created.
+     * The taxonomy to create.
      * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; @@ -778,7 +778,7 @@ public Builder setTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy.Builder buil * * *
-     * The taxonomy to be created.
+     * The taxonomy to create.
      * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; @@ -804,7 +804,7 @@ public Builder mergeTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy value) { * * *
-     * The taxonomy to be created.
+     * The taxonomy to create.
      * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; @@ -824,7 +824,7 @@ public Builder clearTaxonomy() { * * *
-     * The taxonomy to be created.
+     * The taxonomy to create.
      * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; @@ -838,7 +838,7 @@ public com.google.cloud.datacatalog.v1.Taxonomy.Builder getTaxonomyBuilder() { * * *
-     * The taxonomy to be created.
+     * The taxonomy to create.
      * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; @@ -856,7 +856,7 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomyOrBuilder() * * *
-     * The taxonomy to be created.
+     * The taxonomy to create.
      * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequestOrBuilder.java index 3f2dd045..f6370896 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CreateTaxonomyRequestOrBuilder.java @@ -56,7 +56,7 @@ public interface CreateTaxonomyRequestOrBuilder * * *
-   * The taxonomy to be created.
+   * The taxonomy to create.
    * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; @@ -68,7 +68,7 @@ public interface CreateTaxonomyRequestOrBuilder * * *
-   * The taxonomy to be created.
+   * The taxonomy to create.
    * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; @@ -80,7 +80,7 @@ public interface CreateTaxonomyRequestOrBuilder * * *
-   * The taxonomy to be created.
+   * The taxonomy to create.
    * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 2; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSource.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSource.java index 2f9e9254..c5844b74 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSource.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSource.java @@ -118,7 +118,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The resource name of the source taxonomy to be imported.
+   * Required. The resource name of the source taxonomy to import.
    * 
* * @@ -143,7 +143,7 @@ public java.lang.String getTaxonomy() { * * *
-   * Required. The resource name of the source taxonomy to be imported.
+   * Required. The resource name of the source taxonomy to import.
    * 
* * @@ -489,7 +489,7 @@ public Builder mergeFrom( * * *
-     * Required. The resource name of the source taxonomy to be imported.
+     * Required. The resource name of the source taxonomy to import.
      * 
* * @@ -513,7 +513,7 @@ public java.lang.String getTaxonomy() { * * *
-     * Required. The resource name of the source taxonomy to be imported.
+     * Required. The resource name of the source taxonomy to import.
      * 
* * @@ -537,7 +537,7 @@ public com.google.protobuf.ByteString getTaxonomyBytes() { * * *
-     * Required. The resource name of the source taxonomy to be imported.
+     * Required. The resource name of the source taxonomy to import.
      * 
* * @@ -560,7 +560,7 @@ public Builder setTaxonomy(java.lang.String value) { * * *
-     * Required. The resource name of the source taxonomy to be imported.
+     * Required. The resource name of the source taxonomy to import.
      * 
* * @@ -579,7 +579,7 @@ public Builder clearTaxonomy() { * * *
-     * Required. The resource name of the source taxonomy to be imported.
+     * Required. The resource name of the source taxonomy to import.
      * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSourceOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSourceOrBuilder.java index eed6435f..093b6b5b 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSourceOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSourceOrBuilder.java @@ -27,7 +27,7 @@ public interface CrossRegionalSourceOrBuilder * * *
-   * Required. The resource name of the source taxonomy to be imported.
+   * Required. The resource name of the source taxonomy to import.
    * 
* * @@ -41,7 +41,7 @@ public interface CrossRegionalSourceOrBuilder * * *
-   * Required. The resource name of the source taxonomy to be imported.
+   * Required. The resource name of the source taxonomy to import.
    * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSource.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSource.java index 47b05860..49cb9029 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSource.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSource.java @@ -22,7 +22,7 @@ * * *
- * Describes the physical location of an entry.
+ * Physical location of an entry.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.DataSource} @@ -123,7 +123,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Service name where the data is stored.
+   * Name of a service that stores the data.
    * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.DataSource.Service} @@ -282,7 +282,7 @@ private Service(int value) { * * *
-   * Service in which the data is physically stored.
+   * Service that physically stores the data.
    * 
* * .google.cloud.datacatalog.v1.DataSource.Service service = 1; @@ -297,7 +297,7 @@ public int getServiceValue() { * * *
-   * Service in which the data is physically stored.
+   * Service that physically stores the data.
    * 
* * .google.cloud.datacatalog.v1.DataSource.Service service = 1; @@ -320,8 +320,8 @@ public com.google.cloud.datacatalog.v1.DataSource.Service getService() { * * *
-   * Full name of the resource as defined by the service, e.g.
-   * //bigquery.googleapis.com/projects/{project_id}/locations/{location}/datasets/{dataset_id}/tables/{table_id}
+   * Full name of a resource as defined by the service. For example:
+   * `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
    * 
* * string resource = 2; @@ -344,8 +344,8 @@ public java.lang.String getResource() { * * *
-   * Full name of the resource as defined by the service, e.g.
-   * //bigquery.googleapis.com/projects/{project_id}/locations/{location}/datasets/{dataset_id}/tables/{table_id}
+   * Full name of a resource as defined by the service. For example:
+   * `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
    * 
* * string resource = 2; @@ -539,7 +539,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Describes the physical location of an entry.
+   * Physical location of an entry.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.DataSource} @@ -703,7 +703,7 @@ public Builder mergeFrom( * * *
-     * Service in which the data is physically stored.
+     * Service that physically stores the data.
      * 
* * .google.cloud.datacatalog.v1.DataSource.Service service = 1; @@ -718,7 +718,7 @@ public int getServiceValue() { * * *
-     * Service in which the data is physically stored.
+     * Service that physically stores the data.
      * 
* * .google.cloud.datacatalog.v1.DataSource.Service service = 1; @@ -736,7 +736,7 @@ public Builder setServiceValue(int value) { * * *
-     * Service in which the data is physically stored.
+     * Service that physically stores the data.
      * 
* * .google.cloud.datacatalog.v1.DataSource.Service service = 1; @@ -756,7 +756,7 @@ public com.google.cloud.datacatalog.v1.DataSource.Service getService() { * * *
-     * Service in which the data is physically stored.
+     * Service that physically stores the data.
      * 
* * .google.cloud.datacatalog.v1.DataSource.Service service = 1; @@ -777,7 +777,7 @@ public Builder setService(com.google.cloud.datacatalog.v1.DataSource.Service val * * *
-     * Service in which the data is physically stored.
+     * Service that physically stores the data.
      * 
* * .google.cloud.datacatalog.v1.DataSource.Service service = 1; @@ -796,8 +796,8 @@ public Builder clearService() { * * *
-     * Full name of the resource as defined by the service, e.g.
-     * //bigquery.googleapis.com/projects/{project_id}/locations/{location}/datasets/{dataset_id}/tables/{table_id}
+     * Full name of a resource as defined by the service. For example:
+     * `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
      * 
* * string resource = 2; @@ -819,8 +819,8 @@ public java.lang.String getResource() { * * *
-     * Full name of the resource as defined by the service, e.g.
-     * //bigquery.googleapis.com/projects/{project_id}/locations/{location}/datasets/{dataset_id}/tables/{table_id}
+     * Full name of a resource as defined by the service. For example:
+     * `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
      * 
* * string resource = 2; @@ -842,8 +842,8 @@ public com.google.protobuf.ByteString getResourceBytes() { * * *
-     * Full name of the resource as defined by the service, e.g.
-     * //bigquery.googleapis.com/projects/{project_id}/locations/{location}/datasets/{dataset_id}/tables/{table_id}
+     * Full name of a resource as defined by the service. For example:
+     * `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
      * 
* * string resource = 2; @@ -864,8 +864,8 @@ public Builder setResource(java.lang.String value) { * * *
-     * Full name of the resource as defined by the service, e.g.
-     * //bigquery.googleapis.com/projects/{project_id}/locations/{location}/datasets/{dataset_id}/tables/{table_id}
+     * Full name of a resource as defined by the service. For example:
+     * `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
      * 
* * string resource = 2; @@ -882,8 +882,8 @@ public Builder clearResource() { * * *
-     * Full name of the resource as defined by the service, e.g.
-     * //bigquery.googleapis.com/projects/{project_id}/locations/{location}/datasets/{dataset_id}/tables/{table_id}
+     * Full name of a resource as defined by the service. For example:
+     * `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
      * 
* * string resource = 2; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpec.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpec.java new file mode 100644 index 00000000..f58c92f5 --- /dev/null +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpec.java @@ -0,0 +1,754 @@ +/* + * Copyright 2020 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/v1/datacatalog.proto + +package com.google.cloud.datacatalog.v1; + +/** + * + * + *
+ * Specification that applies to a data source connection. Valid only for
+ * entries with the `DATA_SOURCE_CONNECTION` type.
+ * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1.DataSourceConnectionSpec} + */ +public final class DataSourceConnectionSpec extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.DataSourceConnectionSpec) + DataSourceConnectionSpecOrBuilder { + private static final long serialVersionUID = 0L; + // Use DataSourceConnectionSpec.newBuilder() to construct. + private DataSourceConnectionSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private DataSourceConnectionSpec() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DataSourceConnectionSpec(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private DataSourceConnectionSpec( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder subBuilder = null; + if (bigqueryConnectionSpec_ != null) { + subBuilder = bigqueryConnectionSpec_.toBuilder(); + } + bigqueryConnectionSpec_ = + input.readMessage( + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(bigqueryConnectionSpec_); + bigqueryConnectionSpec_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.class, + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder.class); + } + + public static final int BIGQUERY_CONNECTION_SPEC_FIELD_NUMBER = 1; + private com.google.cloud.datacatalog.v1.BigQueryConnectionSpec bigqueryConnectionSpec_; + /** + * + * + *
+   * Fields specific to BigQuery connections.
+   * 
+ * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * + * @return Whether the bigqueryConnectionSpec field is set. + */ + @java.lang.Override + public boolean hasBigqueryConnectionSpec() { + return bigqueryConnectionSpec_ != null; + } + /** + * + * + *
+   * Fields specific to BigQuery connections.
+   * 
+ * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * + * @return The bigqueryConnectionSpec. + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec getBigqueryConnectionSpec() { + return bigqueryConnectionSpec_ == null + ? com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.getDefaultInstance() + : bigqueryConnectionSpec_; + } + /** + * + * + *
+   * Fields specific to BigQuery connections.
+   * 
+ * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder + getBigqueryConnectionSpecOrBuilder() { + return getBigqueryConnectionSpec(); + } + + 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 (bigqueryConnectionSpec_ != null) { + output.writeMessage(1, getBigqueryConnectionSpec()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (bigqueryConnectionSpec_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBigqueryConnectionSpec()); + } + size += unknownFields.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.v1.DataSourceConnectionSpec)) { + return super.equals(obj); + } + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec other = + (com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) obj; + + if (hasBigqueryConnectionSpec() != other.hasBigqueryConnectionSpec()) return false; + if (hasBigqueryConnectionSpec()) { + if (!getBigqueryConnectionSpec().equals(other.getBigqueryConnectionSpec())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasBigqueryConnectionSpec()) { + hash = (37 * hash) + BIGQUERY_CONNECTION_SPEC_FIELD_NUMBER; + hash = (53 * hash) + getBigqueryConnectionSpec().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec 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.v1.DataSourceConnectionSpec parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec 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.v1.DataSourceConnectionSpec parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec 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.v1.DataSourceConnectionSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec 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.v1.DataSourceConnectionSpec parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec 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.v1.DataSourceConnectionSpec 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; + } + /** + * + * + *
+   * Specification that applies to a data source connection. Valid only for
+   * entries with the `DATA_SOURCE_CONNECTION` type.
+   * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1.DataSourceConnectionSpec} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.DataSourceConnectionSpec) + com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.class, + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder.class); + } + + // Construct using com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (bigqueryConnectionSpecBuilder_ == null) { + bigqueryConnectionSpec_ = null; + } else { + bigqueryConnectionSpec_ = null; + bigqueryConnectionSpecBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_descriptor; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1.DataSourceConnectionSpec getDefaultInstanceForType() { + return com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1.DataSourceConnectionSpec build() { + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1.DataSourceConnectionSpec buildPartial() { + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec result = + new com.google.cloud.datacatalog.v1.DataSourceConnectionSpec(this); + if (bigqueryConnectionSpecBuilder_ == null) { + result.bigqueryConnectionSpec_ = bigqueryConnectionSpec_; + } else { + result.bigqueryConnectionSpec_ = bigqueryConnectionSpecBuilder_.build(); + } + onBuilt(); + return result; + } + + @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.v1.DataSourceConnectionSpec) { + return mergeFrom((com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datacatalog.v1.DataSourceConnectionSpec other) { + if (other == com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.getDefaultInstance()) + return this; + if (other.hasBigqueryConnectionSpec()) { + mergeBigqueryConnectionSpec(other.getBigqueryConnectionSpec()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.cloud.datacatalog.v1.BigQueryConnectionSpec bigqueryConnectionSpec_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec, + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder, + com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder> + bigqueryConnectionSpecBuilder_; + /** + * + * + *
+     * Fields specific to BigQuery connections.
+     * 
+ * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * + * + * @return Whether the bigqueryConnectionSpec field is set. + */ + public boolean hasBigqueryConnectionSpec() { + return bigqueryConnectionSpecBuilder_ != null || bigqueryConnectionSpec_ != null; + } + /** + * + * + *
+     * Fields specific to BigQuery connections.
+     * 
+ * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * + * + * @return The bigqueryConnectionSpec. + */ + public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec getBigqueryConnectionSpec() { + if (bigqueryConnectionSpecBuilder_ == null) { + return bigqueryConnectionSpec_ == null + ? com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.getDefaultInstance() + : bigqueryConnectionSpec_; + } else { + return bigqueryConnectionSpecBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Fields specific to BigQuery connections.
+     * 
+ * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * + */ + public Builder setBigqueryConnectionSpec( + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec value) { + if (bigqueryConnectionSpecBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + bigqueryConnectionSpec_ = value; + onChanged(); + } else { + bigqueryConnectionSpecBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Fields specific to BigQuery connections.
+     * 
+ * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * + */ + public Builder setBigqueryConnectionSpec( + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder builderForValue) { + if (bigqueryConnectionSpecBuilder_ == null) { + bigqueryConnectionSpec_ = builderForValue.build(); + onChanged(); + } else { + bigqueryConnectionSpecBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Fields specific to BigQuery connections.
+     * 
+ * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * + */ + public Builder mergeBigqueryConnectionSpec( + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec value) { + if (bigqueryConnectionSpecBuilder_ == null) { + if (bigqueryConnectionSpec_ != null) { + bigqueryConnectionSpec_ = + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.newBuilder( + bigqueryConnectionSpec_) + .mergeFrom(value) + .buildPartial(); + } else { + bigqueryConnectionSpec_ = value; + } + onChanged(); + } else { + bigqueryConnectionSpecBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Fields specific to BigQuery connections.
+     * 
+ * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * + */ + public Builder clearBigqueryConnectionSpec() { + if (bigqueryConnectionSpecBuilder_ == null) { + bigqueryConnectionSpec_ = null; + onChanged(); + } else { + bigqueryConnectionSpec_ = null; + bigqueryConnectionSpecBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Fields specific to BigQuery connections.
+     * 
+ * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * + */ + public com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder + getBigqueryConnectionSpecBuilder() { + + onChanged(); + return getBigqueryConnectionSpecFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Fields specific to BigQuery connections.
+     * 
+ * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * + */ + public com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder + getBigqueryConnectionSpecOrBuilder() { + if (bigqueryConnectionSpecBuilder_ != null) { + return bigqueryConnectionSpecBuilder_.getMessageOrBuilder(); + } else { + return bigqueryConnectionSpec_ == null + ? com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.getDefaultInstance() + : bigqueryConnectionSpec_; + } + } + /** + * + * + *
+     * Fields specific to BigQuery connections.
+     * 
+ * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec, + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder, + com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder> + getBigqueryConnectionSpecFieldBuilder() { + if (bigqueryConnectionSpecBuilder_ == null) { + bigqueryConnectionSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec, + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec.Builder, + com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder>( + getBigqueryConnectionSpec(), getParentForChildren(), isClean()); + bigqueryConnectionSpec_ = null; + } + return bigqueryConnectionSpecBuilder_; + } + + @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.v1.DataSourceConnectionSpec) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.DataSourceConnectionSpec) + private static final com.google.cloud.datacatalog.v1.DataSourceConnectionSpec DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.DataSourceConnectionSpec(); + } + + public static com.google.cloud.datacatalog.v1.DataSourceConnectionSpec getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataSourceConnectionSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DataSourceConnectionSpec(input, extensionRegistry); + } + }; + + 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.v1.DataSourceConnectionSpec getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpecOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpecOrBuilder.java new file mode 100644 index 00000000..533ec79b --- /dev/null +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpecOrBuilder.java @@ -0,0 +1,61 @@ +/* + * Copyright 2020 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/v1/datacatalog.proto + +package com.google.cloud.datacatalog.v1; + +public interface DataSourceConnectionSpecOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.DataSourceConnectionSpec) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Fields specific to BigQuery connections.
+   * 
+ * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * + * @return Whether the bigqueryConnectionSpec field is set. + */ + boolean hasBigqueryConnectionSpec(); + /** + * + * + *
+   * Fields specific to BigQuery connections.
+   * 
+ * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + * + * @return The bigqueryConnectionSpec. + */ + com.google.cloud.datacatalog.v1.BigQueryConnectionSpec getBigqueryConnectionSpec(); + /** + * + * + *
+   * Fields specific to BigQuery connections.
+   * 
+ * + * .google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1; + */ + com.google.cloud.datacatalog.v1.BigQueryConnectionSpecOrBuilder + getBigqueryConnectionSpecOrBuilder(); +} diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceOrBuilder.java index 9621f41e..25b4c521 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceOrBuilder.java @@ -27,7 +27,7 @@ public interface DataSourceOrBuilder * * *
-   * Service in which the data is physically stored.
+   * Service that physically stores the data.
    * 
* * .google.cloud.datacatalog.v1.DataSource.Service service = 1; @@ -39,7 +39,7 @@ public interface DataSourceOrBuilder * * *
-   * Service in which the data is physically stored.
+   * Service that physically stores the data.
    * 
* * .google.cloud.datacatalog.v1.DataSource.Service service = 1; @@ -52,8 +52,8 @@ public interface DataSourceOrBuilder * * *
-   * Full name of the resource as defined by the service, e.g.
-   * //bigquery.googleapis.com/projects/{project_id}/locations/{location}/datasets/{dataset_id}/tables/{table_id}
+   * Full name of a resource as defined by the service. For example:
+   * `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
    * 
* * string resource = 2; @@ -65,8 +65,8 @@ public interface DataSourceOrBuilder * * *
-   * Full name of the resource as defined by the service, e.g.
-   * //bigquery.googleapis.com/projects/{project_id}/locations/{location}/datasets/{dataset_id}/tables/{table_id}
+   * Full name of a resource as defined by the service. For example:
+   * `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
    * 
* * string resource = 2; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpec.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpec.java index 9b1fe419..0692eca6 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpec.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpec.java @@ -22,8 +22,8 @@ * * *
- * Specification that applies to a table resource. Only valid
- * for entries of `TABLE` type.
+ * Specification that applies to a table resource. Valid only
+ * for entries with the `TABLE` type.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.DatabaseTableSpec} @@ -476,8 +476,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Specification that applies to a table resource. Only valid
-   * for entries of `TABLE` type.
+   * Specification that applies to a table resource. Valid only
+   * for entries with the `TABLE` type.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.DatabaseTableSpec} diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Datacatalog.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Datacatalog.java index 6b4ce6a1..92458d00 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Datacatalog.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Datacatalog.java @@ -87,10 +87,26 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_datacatalog_v1_Entry_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_datacatalog_v1_Entry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_Entry_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_Entry_LabelsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_RoutineSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_datacatalog_v1_EntryGroup_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -172,330 +188,361 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "g.proto\022\033google.cloud.datacatalog.v1\032\034go" + "ogle/api/annotations.proto\032\027google/api/c" + "lient.proto\032\037google/api/field_behavior.p" - + "roto\032\031google/api/resource.proto\032(google/" - + "cloud/datacatalog/v1/common.proto\032-googl" - + "e/cloud/datacatalog/v1/data_source.proto" - + "\0322google/cloud/datacatalog/v1/gcs_filese" - + "t_spec.proto\032(google/cloud/datacatalog/v" - + "1/schema.proto\032(google/cloud/datacatalog" - + "/v1/search.proto\032,google/cloud/datacatal" - + "og/v1/table_spec.proto\032&google/cloud/dat" - + "acatalog/v1/tags.proto\032,google/cloud/dat" - + "acatalog/v1/timestamps.proto\032\036google/iam" - + "/v1/iam_policy.proto\032\032google/iam/v1/poli" - + "cy.proto\032\033google/protobuf/empty.proto\032 g" - + "oogle/protobuf/field_mask.proto\032\037google/" - + "protobuf/timestamp.proto\"\275\002\n\024SearchCatal" - + "ogRequest\022K\n\005scope\030\006 \001(\01327.google.cloud." - + "datacatalog.v1.SearchCatalogRequest.Scop" - + "eB\003\340A\002\022\022\n\005query\030\001 \001(\tB\003\340A\001\022\021\n\tpage_size\030" - + "\002 \001(\005\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\022\020\n\010order_" - + "by\030\005 \001(\t\032\205\001\n\005Scope\022\027\n\017include_org_ids\030\002 " - + "\003(\t\022\033\n\023include_project_ids\030\003 \003(\t\022#\n\033incl" - + "ude_gcp_public_datasets\030\007 \001(\010\022!\n\024restric" - + "ted_locations\030\020 \003(\tB\003\340A\001\"\210\001\n\025SearchCatal" - + "ogResponse\022A\n\007results\030\001 \003(\01320.google.clo" - + "ud.datacatalog.v1.SearchCatalogResult\022\027\n" - + "\017next_page_token\030\003 \001(\t\022\023\n\013unreachable\030\006 " - + "\003(\t\"\263\001\n\027CreateEntryGroupRequest\022=\n\006paren" - + "t\030\001 \001(\tB-\340A\002\372A\'\022%datacatalog.googleapis." - + "com/EntryGroup\022\033\n\016entry_group_id\030\003 \001(\tB\003" - + "\340A\002\022<\n\013entry_group\030\002 \001(\0132\'.google.cloud." - + "datacatalog.v1.EntryGroup\"\215\001\n\027UpdateEntr" - + "yGroupRequest\022A\n\013entry_group\030\001 \001(\0132\'.goo" - + "gle.cloud.datacatalog.v1.EntryGroupB\003\340A\002" - + "\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf." - + "FieldMask\"\202\001\n\024GetEntryGroupRequest\022;\n\004na" - + "me\030\001 \001(\tB-\340A\002\372A\'\n%datacatalog.googleapis" - + ".com/EntryGroup\022-\n\tread_mask\030\002 \001(\0132\032.goo" - + "gle.protobuf.FieldMask\"j\n\027DeleteEntryGro" - + "upRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%datacat" - + "alog.googleapis.com/EntryGroup\022\022\n\005force\030" - + "\002 \001(\010B\003\340A\001\"\210\001\n\026ListEntryGroupsRequest\022=\n" - + "\006parent\030\001 \001(\tB-\340A\002\372A\'\n%datacatalog.googl" - + "eapis.com/EntryGroup\022\026\n\tpage_size\030\002 \001(\005B" - + "\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\"q\n\027ListEnt" - + "ryGroupsResponse\022=\n\014entry_groups\030\001 \003(\0132\'" - + ".google.cloud.datacatalog.v1.EntryGroup\022" - + "\027\n\017next_page_token\030\002 \001(\t\"\242\001\n\022CreateEntry" - + "Request\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%datacat" - + "alog.googleapis.com/EntryGroup\022\025\n\010entry_" - + "id\030\003 \001(\tB\003\340A\002\0226\n\005entry\030\002 \001(\0132\".google.cl" - + "oud.datacatalog.v1.EntryB\003\340A\002\"}\n\022UpdateE" - + "ntryRequest\0226\n\005entry\030\001 \001(\0132\".google.clou" - + "d.datacatalog.v1.EntryB\003\340A\002\022/\n\013update_ma" - + "sk\030\002 \001(\0132\032.google.protobuf.FieldMask\"L\n\022" - + "DeleteEntryRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"" - + "\n datacatalog.googleapis.com/Entry\"I\n\017Ge" - + "tEntryRequest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n dat" - + "acatalog.googleapis.com/Entry\"v\n\022LookupE" - + "ntryRequest\022\031\n\017linked_resource\030\001 \001(\tH\000\022\026" - + "\n\014sql_resource\030\003 \001(\tH\000\022\036\n\024fully_qualifie" - + "d_name\030\005 \001(\tH\000B\r\n\013target_name\"\242\010\n\005Entry\022" - + ";\n\004name\030\001 \001(\tB-\340A\003\372A\'\n%datacatalog.googl" - + "eapis.com/EntryGroup\022\027\n\017linked_resource\030" - + "\t \001(\t\022\034\n\024fully_qualified_name\030\035 \001(\t\0226\n\004t" - + "ype\030\002 \001(\0162&.google.cloud.datacatalog.v1." - + "EntryTypeH\000\022\035\n\023user_specified_type\030\020 \001(\t" - + "H\000\022O\n\021integrated_system\030\021 \001(\0162-.google.c" - + "loud.datacatalog.v1.IntegratedSystemB\003\340A" - + "\003H\001\022\037\n\025user_specified_system\030\022 \001(\tH\001\022G\n\020" - + "gcs_fileset_spec\030\006 \001(\0132+.google.cloud.da" - + "tacatalog.v1.GcsFilesetSpecH\002\022M\n\023bigquer" - + "y_table_spec\030\014 \001(\0132..google.cloud.dataca" - + "talog.v1.BigQueryTableSpecH\002\022Z\n\032bigquery" - + "_date_sharded_spec\030\017 \001(\01324.google.cloud." - + "datacatalog.v1.BigQueryDateShardedSpecH\002" - + "\022M\n\023database_table_spec\030\030 \001(\0132..google.c" - + "loud.datacatalog.v1.DatabaseTableSpecH\003\022" - + "\024\n\014display_name\030\003 \001(\t\022\023\n\013description\030\004 \001" - + "(\t\0223\n\006schema\030\005 \001(\0132#.google.cloud.dataca" - + "talog.v1.Schema\022O\n\030source_system_timesta" - + "mps\030\007 \001(\0132-.google.cloud.datacatalog.v1." - + "SystemTimestamps\022A\n\013data_source\030\024 \001(\0132\'." - + "google.cloud.datacatalog.v1.DataSourceB\003" - + "\340A\003:x\352Au\n datacatalog.googleapis.com/Ent" - + "ry\022Qprojects/{project}/locations/{locati" - + "on}/entryGroups/{entry_group}/entries/{e" - + "ntry}B\014\n\nentry_typeB\010\n\006systemB\013\n\ttype_sp" - + "ecB\006\n\004spec\"\236\001\n\021DatabaseTableSpec\022F\n\004type" - + "\030\001 \001(\01628.google.cloud.datacatalog.v1.Dat" - + "abaseTableSpec.TableType\"A\n\tTableType\022\032\n" - + "\026TABLE_TYPE_UNSPECIFIED\020\000\022\n\n\006NATIVE\020\001\022\014\n" - + "\010EXTERNAL\020\002\"\211\002\n\nEntryGroup\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\022S\n\027data_catalog_timestamps\030\004 \001(\0132-.g" - + "oogle.cloud.datacatalog.v1.SystemTimesta" - + "mpsB\003\340A\003:m\352Aj\n%datacatalog.googleapis.co" - + "m/EntryGroup\022Aprojects/{project}/locatio" - + "ns/{location}/entryGroups/{entry_group}\"" - + "\275\001\n\030CreateTagTemplateRequest\022>\n\006parent\030\001" - + " \001(\tB.\340A\002\372A(\022&datacatalog.googleapis.com" - + "/TagTemplate\022\034\n\017tag_template_id\030\003 \001(\tB\003\340" - + "A\002\022C\n\014tag_template\030\002 \001(\0132(.google.cloud." - + "datacatalog.v1.TagTemplateB\003\340A\002\"U\n\025GetTa" - + "gTemplateRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&" - + "datacatalog.googleapis.com/TagTemplate\"\220" - + "\001\n\030UpdateTagTemplateRequest\022C\n\014tag_templ" - + "ate\030\001 \001(\0132(.google.cloud.datacatalog.v1." - + "TagTemplateB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032." - + "google.protobuf.FieldMask\"l\n\030DeleteTagTe" - + "mplateRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&dat" - + "acatalog.googleapis.com/TagTemplate\022\022\n\005f" - + "orce\030\002 \001(\010B\003\340A\002\"~\n\020CreateTagRequest\0226\n\006p" - + "arent\030\001 \001(\tB&\340A\002\372A \n\036datacatalog.googlea" - + "pis.com/Tag\0222\n\003tag\030\002 \001(\0132 .google.cloud." - + "datacatalog.v1.TagB\003\340A\002\"w\n\020UpdateTagRequ" - + "est\0222\n\003tag\030\001 \001(\0132 .google.cloud.datacata" - + "log.v1.TagB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.g" - + "oogle.protobuf.FieldMask\"H\n\020DeleteTagReq" - + "uest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \022\036datacatalog." - + "googleapis.com/Tag\"\323\001\n\035CreateTagTemplate" - + "FieldRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\n&da" - + "tacatalog.googleapis.com/TagTemplate\022\"\n\025" - + "tag_template_field_id\030\002 \001(\tB\003\340A\002\022N\n\022tag_" - + "template_field\030\003 \001(\0132-.google.cloud.data" - + "catalog.v1.TagTemplateFieldB\003\340A\002\"\350\001\n\035Upd" - + "ateTagTemplateFieldRequest\022A\n\004name\030\001 \001(\t" + + "roto\032\031google/api/resource.proto\032*google/" + + "cloud/datacatalog/v1/bigquery.proto\032(goo" + + "gle/cloud/datacatalog/v1/common.proto\032-g" + + "oogle/cloud/datacatalog/v1/data_source.p" + + "roto\0322google/cloud/datacatalog/v1/gcs_fi" + + "leset_spec.proto\032(google/cloud/datacatal" + + "og/v1/schema.proto\032(google/cloud/datacat" + + "alog/v1/search.proto\032,google/cloud/datac" + + "atalog/v1/table_spec.proto\032&google/cloud" + + "/datacatalog/v1/tags.proto\032,google/cloud" + + "/datacatalog/v1/timestamps.proto\032\'google" + + "/cloud/datacatalog/v1/usage.proto\032\036googl" + + "e/iam/v1/iam_policy.proto\032\032google/iam/v1" + + "/policy.proto\032\033google/protobuf/empty.pro" + + "to\032 google/protobuf/field_mask.proto\032\037go" + + "ogle/protobuf/timestamp.proto\"\350\002\n\024Search" + + "CatalogRequest\022K\n\005scope\030\006 \001(\01327.google.c" + + "loud.datacatalog.v1.SearchCatalogRequest" + + ".ScopeB\003\340A\002\022\022\n\005query\030\001 \001(\tB\003\340A\001\022\021\n\tpage_" + + "size\030\002 \001(\005\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\022\020\n\010o" + + "rder_by\030\005 \001(\t\032\260\001\n\005Scope\022\027\n\017include_org_i" + + "ds\030\002 \003(\t\022\033\n\023include_project_ids\030\003 \003(\t\022#\n" + + "\033include_gcp_public_datasets\030\007 \001(\010\022!\n\024re" + + "stricted_locations\030\020 \003(\tB\003\340A\001\022)\n\034include" + + "_public_tag_templates\030\023 \001(\010B\003\340A\001\"\210\001\n\025Sea" + + "rchCatalogResponse\022A\n\007results\030\001 \003(\01320.go" + + "ogle.cloud.datacatalog.v1.SearchCatalogR" + + "esult\022\027\n\017next_page_token\030\003 \001(\t\022\023\n\013unreac" + + "hable\030\006 \003(\t\"\263\001\n\027CreateEntryGroupRequest\022" + + "=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%datacatalog.goo" + + "gleapis.com/EntryGroup\022\033\n\016entry_group_id" + + "\030\003 \001(\tB\003\340A\002\022<\n\013entry_group\030\002 \001(\0132\'.googl" + + "e.cloud.datacatalog.v1.EntryGroup\"\215\001\n\027Up" + + "dateEntryGroupRequest\022A\n\013entry_group\030\001 \001" + + "(\0132\'.google.cloud.datacatalog.v1.EntryGr" + + "oupB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.p" + + "rotobuf.FieldMask\"\202\001\n\024GetEntryGroupReque" + + "st\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%datacatalog.go" + + "ogleapis.com/EntryGroup\022-\n\tread_mask\030\002 \001" + + "(\0132\032.google.protobuf.FieldMask\"j\n\027Delete" + + "EntryGroupRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n" + + "%datacatalog.googleapis.com/EntryGroup\022\022" + + "\n\005force\030\002 \001(\010B\003\340A\001\"\210\001\n\026ListEntryGroupsRe" + + "quest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%datacatal" + + "og.googleapis.com/EntryGroup\022\026\n\tpage_siz" + + "e\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\"q\n" + + "\027ListEntryGroupsResponse\022=\n\014entry_groups" + + "\030\001 \003(\0132\'.google.cloud.datacatalog.v1.Ent" + + "ryGroup\022\027\n\017next_page_token\030\002 \001(\t\"\242\001\n\022Cre" + + "ateEntryRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n" + + "%datacatalog.googleapis.com/EntryGroup\022\025" + + "\n\010entry_id\030\003 \001(\tB\003\340A\002\0226\n\005entry\030\002 \001(\0132\".g" + + "oogle.cloud.datacatalog.v1.EntryB\003\340A\002\"}\n" + + "\022UpdateEntryRequest\0226\n\005entry\030\001 \001(\0132\".goo" + + "gle.cloud.datacatalog.v1.EntryB\003\340A\002\022/\n\013u" + + "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field" + + "Mask\"L\n\022DeleteEntryRequest\0226\n\004name\030\001 \001(\t" + + "B(\340A\002\372A\"\n datacatalog.googleapis.com/Ent" + + "ry\"I\n\017GetEntryRequest\0226\n\004name\030\001 \001(\tB(\340A\002" + + "\372A\"\n datacatalog.googleapis.com/Entry\"v\n" + + "\022LookupEntryRequest\022\031\n\017linked_resource\030\001" + + " \001(\tH\000\022\026\n\014sql_resource\030\003 \001(\tH\000\022\036\n\024fully_" + + "qualified_name\030\005 \001(\tH\000B\r\n\013target_name\"\366\n" + + "\n\005Entry\022;\n\004name\030\001 \001(\tB-\340A\003\372A\'\n%datacatal" + + "og.googleapis.com/EntryGroup\022\027\n\017linked_r" + + "esource\030\t \001(\t\022\034\n\024fully_qualified_name\030\035 " + + "\001(\t\0226\n\004type\030\002 \001(\0162&.google.cloud.datacat" + + "alog.v1.EntryTypeH\000\022\035\n\023user_specified_ty" + + "pe\030\020 \001(\tH\000\022O\n\021integrated_system\030\021 \001(\0162-." + + "google.cloud.datacatalog.v1.IntegratedSy" + + "stemB\003\340A\003H\001\022\037\n\025user_specified_system\030\022 \001" + + "(\tH\001\022G\n\020gcs_fileset_spec\030\006 \001(\0132+.google." + + "cloud.datacatalog.v1.GcsFilesetSpecH\002\022M\n" + + "\023bigquery_table_spec\030\014 \001(\0132..google.clou" + + "d.datacatalog.v1.BigQueryTableSpecH\002\022Z\n\032" + + "bigquery_date_sharded_spec\030\017 \001(\01324.googl" + + "e.cloud.datacatalog.v1.BigQueryDateShard" + + "edSpecH\002\022M\n\023database_table_spec\030\030 \001(\0132.." + + "google.cloud.datacatalog.v1.DatabaseTabl" + + "eSpecH\003\022\\\n\033data_source_connection_spec\030\033" + + " \001(\01325.google.cloud.datacatalog.v1.DataS" + + "ourceConnectionSpecH\003\022@\n\014routine_spec\030\034 " + + "\001(\0132(.google.cloud.datacatalog.v1.Routin" + + "eSpecH\003\022\024\n\014display_name\030\003 \001(\t\022\023\n\013descrip" + + "tion\030\004 \001(\t\0223\n\006schema\030\005 \001(\0132#.google.clou" + + "d.datacatalog.v1.Schema\022O\n\030source_system" + + "_timestamps\030\007 \001(\0132-.google.cloud.datacat" + + "alog.v1.SystemTimestamps\022C\n\014usage_signal" + + "\030\r \001(\0132(.google.cloud.datacatalog.v1.Usa" + + "geSignalB\003\340A\003\022>\n\006labels\030\016 \003(\0132..google.c" + + "loud.datacatalog.v1.Entry.LabelsEntry\022A\n" + + "\013data_source\030\024 \001(\0132\'.google.cloud.dataca" + + "talog.v1.DataSourceB\003\340A\003\032-\n\013LabelsEntry\022" + + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:x\352Au\n da" + + "tacatalog.googleapis.com/Entry\022Qprojects" + + "/{project}/locations/{location}/entryGro" + + "ups/{entry_group}/entries/{entry}B\014\n\nent" + + "ry_typeB\010\n\006systemB\013\n\ttype_specB\006\n\004spec\"\236" + + "\001\n\021DatabaseTableSpec\022F\n\004type\030\001 \001(\01628.goo" + + "gle.cloud.datacatalog.v1.DatabaseTableSp" + + "ec.TableType\"A\n\tTableType\022\032\n\026TABLE_TYPE_" + + "UNSPECIFIED\020\000\022\n\n\006NATIVE\020\001\022\014\n\010EXTERNAL\020\002\"" + + "q\n\030DataSourceConnectionSpec\022U\n\030bigquery_" + + "connection_spec\030\001 \001(\01323.google.cloud.dat" + + "acatalog.v1.BigQueryConnectionSpec\"\303\004\n\013R" + + "outineSpec\022J\n\014routine_type\030\001 \001(\01624.googl" + + "e.cloud.datacatalog.v1.RoutineSpec.Routi" + + "neType\022\020\n\010language\030\002 \001(\t\022L\n\021routine_argu" + + "ments\030\003 \003(\01321.google.cloud.datacatalog.v" + + "1.RoutineSpec.Argument\022\023\n\013return_type\030\004 " + + "\001(\t\022\027\n\017definition_body\030\005 \001(\t\022Q\n\025bigquery" + + "_routine_spec\030\006 \001(\01320.google.cloud.datac" + + "atalog.v1.BigQueryRoutineSpecH\000\032\246\001\n\010Argu" + + "ment\022\014\n\004name\030\001 \001(\t\022D\n\004mode\030\002 \001(\01626.googl" + + "e.cloud.datacatalog.v1.RoutineSpec.Argum" + + "ent.Mode\022\014\n\004type\030\003 \001(\t\"8\n\004Mode\022\024\n\020MODE_U" + + "NSPECIFIED\020\000\022\006\n\002IN\020\001\022\007\n\003OUT\020\002\022\t\n\005INOUT\020\003" + + "\"O\n\013RoutineType\022\034\n\030ROUTINE_TYPE_UNSPECIF" + + "IED\020\000\022\023\n\017SCALAR_FUNCTION\020\001\022\r\n\tPROCEDURE\020" + + "\002B\r\n\013system_spec\"\211\002\n\nEntryGroup\022\014\n\004name\030" + + "\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022\023\n\013descripti" + + "on\030\003 \001(\t\022S\n\027data_catalog_timestamps\030\004 \001(" + + "\0132-.google.cloud.datacatalog.v1.SystemTi" + + "mestampsB\003\340A\003:m\352Aj\n%datacatalog.googleap" + + "is.com/EntryGroup\022Aprojects/{project}/lo" + + "cations/{location}/entryGroups/{entry_gr" + + "oup}\"\275\001\n\030CreateTagTemplateRequest\022>\n\006par" + + "ent\030\001 \001(\tB.\340A\002\372A(\022&datacatalog.googleapi" + + "s.com/TagTemplate\022\034\n\017tag_template_id\030\003 \001" + + "(\tB\003\340A\002\022C\n\014tag_template\030\002 \001(\0132(.google.c" + + "loud.datacatalog.v1.TagTemplateB\003\340A\002\"U\n\025" + + "GetTagTemplateRequest\022<\n\004name\030\001 \001(\tB.\340A\002" + + "\372A(\n&datacatalog.googleapis.com/TagTempl" + + "ate\"\220\001\n\030UpdateTagTemplateRequest\022C\n\014tag_" + + "template\030\001 \001(\0132(.google.cloud.datacatalo" + + "g.v1.TagTemplateB\003\340A\002\022/\n\013update_mask\030\002 \001" + + "(\0132\032.google.protobuf.FieldMask\"l\n\030Delete" + + "TagTemplateRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(" + + "\n&datacatalog.googleapis.com/TagTemplate" + + "\022\022\n\005force\030\002 \001(\010B\003\340A\002\"~\n\020CreateTagRequest" + + "\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \n\036datacatalog.go" + + "ogleapis.com/Tag\0222\n\003tag\030\002 \001(\0132 .google.c" + + "loud.datacatalog.v1.TagB\003\340A\002\"w\n\020UpdateTa" + + "gRequest\0222\n\003tag\030\001 \001(\0132 .google.cloud.dat" + + "acatalog.v1.TagB\003\340A\002\022/\n\013update_mask\030\002 \001(" + + "\0132\032.google.protobuf.FieldMask\"H\n\020DeleteT" + + "agRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \022\036datacat" + + "alog.googleapis.com/Tag\"\323\001\n\035CreateTagTem" + + "plateFieldRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A" + + "(\n&datacatalog.googleapis.com/TagTemplat" + + "e\022\"\n\025tag_template_field_id\030\002 \001(\tB\003\340A\002\022N\n" + + "\022tag_template_field\030\003 \001(\0132-.google.cloud" + + ".datacatalog.v1.TagTemplateFieldB\003\340A\002\"\350\001" + + "\n\035UpdateTagTemplateFieldRequest\022A\n\004name\030" + + "\001 \001(\tB3\340A\002\372A-\n+datacatalog.googleapis.co" + + "m/TagTemplateField\022N\n\022tag_template_field" + + "\030\002 \001(\0132-.google.cloud.datacatalog.v1.Tag" + + "TemplateFieldB\003\340A\002\0224\n\013update_mask\030\003 \001(\0132" + + "\032.google.protobuf.FieldMaskB\003\340A\001\"\212\001\n\035Ren" + + "ameTagTemplateFieldRequest\022A\n\004name\030\001 \001(\t" + "B3\340A\002\372A-\n+datacatalog.googleapis.com/Tag" - + "TemplateField\022N\n\022tag_template_field\030\002 \001(" - + "\0132-.google.cloud.datacatalog.v1.TagTempl" - + "ateFieldB\003\340A\002\0224\n\013update_mask\030\003 \001(\0132\032.goo" - + "gle.protobuf.FieldMaskB\003\340A\001\"\212\001\n\035RenameTa" - + "gTemplateFieldRequest\022A\n\004name\030\001 \001(\tB3\340A\002" - + "\372A-\n+datacatalog.googleapis.com/TagTempl" - + "ateField\022&\n\031new_tag_template_field_id\030\002 " - + "\001(\tB\003\340A\002\"\236\001\n&RenameTagTemplateFieldEnumV" - + "alueRequest\022J\n\004name\030\001 \001(\tB<\340A\002\372A6\n4datac" - + "atalog.googleapis.com/TagTemplateFieldEn" - + "umValue\022(\n\033new_enum_value_display_name\030\002" - + " \001(\tB\003\340A\002\"v\n\035DeleteTagTemplateFieldReque" - + "st\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+datacatalog.go" - + "ogleapis.com/TagTemplateField\022\022\n\005force\030\002" - + " \001(\010B\003\340A\002\"p\n\017ListTagsRequest\0226\n\006parent\030\001" - + " \001(\tB&\340A\002\372A \022\036datacatalog.googleapis.com" - + "/Tag\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 " - + "\001(\t\"[\n\020ListTagsResponse\022.\n\004tags\030\001 \003(\0132 ." - + "google.cloud.datacatalog.v1.Tag\022\027\n\017next_" - + "page_token\030\002 \001(\t\"\251\001\n\022ListEntriesRequest\022" - + "=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%datacatalog.goo" - + "gleapis.com/EntryGroup\022\021\n\tpage_size\030\002 \001(" - + "\005\022\022\n\npage_token\030\003 \001(\t\022-\n\tread_mask\030\004 \001(\013" - + "2\032.google.protobuf.FieldMask\"c\n\023ListEntr" - + "iesResponse\0223\n\007entries\030\001 \003(\0132\".google.cl" - + "oud.datacatalog.v1.Entry\022\027\n\017next_page_to" - + "ken\030\002 \001(\t*v\n\tEntryType\022\032\n\026ENTRY_TYPE_UNS" - + "PECIFIED\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\004\022\014\n\010DATABASE\020\007\022\013\n\007" - + "SERVICE\020\0162\3021\n\013DataCatalog\022\243\001\n\rSearchCata" - + "log\0221.google.cloud.datacatalog.v1.Search" - + "CatalogRequest\0322.google.cloud.datacatalo" - + "g.v1.SearchCatalogResponse\"+\202\323\344\223\002\027\"\022/v1/" - + "catalog:search:\001*\332A\013scope,query\022\333\001\n\020Crea" - + "teEntryGroup\0224.google.cloud.datacatalog." - + "v1.CreateEntryGroupRequest\032\'.google.clou" - + "d.datacatalog.v1.EntryGroup\"h\202\323\344\223\002>\"//v1" - + "/{parent=projects/*/locations/*}/entryGr" - + "oups:\013entry_group\332A!parent,entry_group_i" - + "d,entry_group\022\274\001\n\rGetEntryGroup\0221.google" - + ".cloud.datacatalog.v1.GetEntryGroupReque" - + "st\032\'.google.cloud.datacatalog.v1.EntryGr" - + "oup\"O\202\323\344\223\0021\022//v1/{name=projects/*/locati" - + "ons/*/entryGroups/*}\332A\004name\332A\016name,read_" - + "mask\022\353\001\n\020UpdateEntryGroup\0224.google.cloud" - + ".datacatalog.v1.UpdateEntryGroupRequest\032" - + "\'.google.cloud.datacatalog.v1.EntryGroup" - + "\"x\202\323\344\223\002J2;/v1/{entry_group.name=projects" - + "/*/locations/*/entryGroups/*}:\013entry_gro" - + "up\332A\013entry_group\332A\027entry_group,update_ma" - + "sk\022\240\001\n\020DeleteEntryGroup\0224.google.cloud.d" - + "atacatalog.v1.DeleteEntryGroupRequest\032\026." - + "google.protobuf.Empty\">\202\323\344\223\0021*//v1/{name" - + "=projects/*/locations/*/entryGroups/*}\332A" - + "\004name\022\276\001\n\017ListEntryGroups\0223.google.cloud" - + ".datacatalog.v1.ListEntryGroupsRequest\0324" - + ".google.cloud.datacatalog.v1.ListEntryGr" - + "oupsResponse\"@\202\323\344\223\0021\022//v1/{parent=projec" - + "ts/*/locations/*}/entryGroups\332A\006parent\022\304" - + "\001\n\013CreateEntry\022/.google.cloud.datacatalo" - + "g.v1.CreateEntryRequest\032\".google.cloud.d" - + "atacatalog.v1.Entry\"`\202\323\344\223\002B\"9/v1/{parent" - + "=projects/*/locations/*/entryGroups/*}/e" - + "ntries:\005entry\332A\025parent,entry_id,entry\022\316\001" - + "\n\013UpdateEntry\022/.google.cloud.datacatalog" - + ".v1.UpdateEntryRequest\032\".google.cloud.da" - + "tacatalog.v1.Entry\"j\202\323\344\223\002H2?/v1/{entry.n" - + "ame=projects/*/locations/*/entryGroups/*" - + "/entries/*}:\005entry\332A\005entry\332A\021entry,updat" - + "e_mask\022\240\001\n\013DeleteEntry\022/.google.cloud.da" - + "tacatalog.v1.DeleteEntryRequest\032\026.google" - + ".protobuf.Empty\"H\202\323\344\223\002;*9/v1/{name=proje" - + "cts/*/locations/*/entryGroups/*/entries/" - + "*}\332A\004name\022\246\001\n\010GetEntry\022,.google.cloud.da" - + "tacatalog.v1.GetEntryRequest\032\".google.cl" - + "oud.datacatalog.v1.Entry\"H\202\323\344\223\002;\0229/v1/{n" - + "ame=projects/*/locations/*/entryGroups/*" - + "/entries/*}\332A\004name\022~\n\013LookupEntry\022/.goog" - + "le.cloud.datacatalog.v1.LookupEntryReque" - + "st\032\".google.cloud.datacatalog.v1.Entry\"\032" - + "\202\323\344\223\002\024\022\022/v1/entries:lookup\022\274\001\n\013ListEntri" - + "es\022/.google.cloud.datacatalog.v1.ListEnt" - + "riesRequest\0320.google.cloud.datacatalog.v" - + "1.ListEntriesResponse\"J\202\323\344\223\002;\0229/v1/{pare" - + "nt=projects/*/locations/*/entryGroups/*}" - + "/entries\332A\006parent\022\342\001\n\021CreateTagTemplate\022" - + "5.google.cloud.datacatalog.v1.CreateTagT" - + "emplateRequest\032(.google.cloud.datacatalo" - + "g.v1.TagTemplate\"l\202\323\344\223\002@\"0/v1/{parent=pr" - + "ojects/*/locations/*}/tagTemplates:\014tag_" - + "template\332A#parent,tag_template_id,tag_te" - + "mplate\022\257\001\n\016GetTagTemplate\0222.google.cloud" - + ".datacatalog.v1.GetTagTemplateRequest\032(." - + "google.cloud.datacatalog.v1.TagTemplate\"" - + "?\202\323\344\223\0022\0220/v1/{name=projects/*/locations/" - + "*/tagTemplates/*}\332A\004name\022\363\001\n\021UpdateTagTe" - + "mplate\0225.google.cloud.datacatalog.v1.Upd" - + "ateTagTemplateRequest\032(.google.cloud.dat" - + "acatalog.v1.TagTemplate\"}\202\323\344\223\002M2=/v1/{ta" - + "g_template.name=projects/*/locations/*/t" - + "agTemplates/*}:\014tag_template\332A\014tag_templ" - + "ate\332A\030tag_template,update_mask\022\251\001\n\021Delet" - + "eTagTemplate\0225.google.cloud.datacatalog." - + "v1.DeleteTagTemplateRequest\032\026.google.pro" - + "tobuf.Empty\"E\202\323\344\223\0022*0/v1/{name=projects/" - + "*/locations/*/tagTemplates/*}\332A\nname,for" - + "ce\022\215\002\n\026CreateTagTemplateField\022:.google.c" - + "loud.datacatalog.v1.CreateTagTemplateFie" - + "ldRequest\032-.google.cloud.datacatalog.v1." - + "TagTemplateField\"\207\001\202\323\344\223\002O\"9/v1/{parent=p" - + "rojects/*/locations/*/tagTemplates/*}/fi" - + "elds:\022tag_template_field\332A/parent,tag_te" - + "mplate_field_id,tag_template_field\022\233\002\n\026U" - + "pdateTagTemplateField\022:.google.cloud.dat" - + "acatalog.v1.UpdateTagTemplateFieldReques" - + "t\032-.google.cloud.datacatalog.v1.TagTempl" - + "ateField\"\225\001\202\323\344\223\002O29/v1/{name=projects/*/" - + "locations/*/tagTemplates/*/fields/*}:\022ta" - + "g_template_field\332A\027name,tag_template_fie" - + "ld\332A#name,tag_template_field,update_mask" - + "\022\361\001\n\026RenameTagTemplateField\022:.google.clo" - + "ud.datacatalog.v1.RenameTagTemplateField" - + "Request\032-.google.cloud.datacatalog.v1.Ta" - + "gTemplateField\"l\202\323\344\223\002E\"@/v1/{name=projec" - + "ts/*/locations/*/tagTemplates/*/fields/*" - + "}:rename:\001*\332A\036name,new_tag_template_fiel" - + "d_id\022\222\002\n\037RenameTagTemplateFieldEnumValue" - + "\022C.google.cloud.datacatalog.v1.RenameTag" - + "TemplateFieldEnumValueRequest\032-.google.c" - + "loud.datacatalog.v1.TagTemplateField\"{\202\323" - + "\344\223\002R\"M/v1/{name=projects/*/locations/*/t" - + "agTemplates/*/fields/*/enumValues/*}:ren" - + "ame:\001*\332A name,new_enum_value_display_nam" - + "e\022\274\001\n\026DeleteTagTemplateField\022:.google.cl" - + "oud.datacatalog.v1.DeleteTagTemplateFiel" - + "dRequest\032\026.google.protobuf.Empty\"N\202\323\344\223\002;" - + "*9/v1/{name=projects/*/locations/*/tagTe" - + "mplates/*/fields/*}\332A\nname,force\022\371\001\n\tCre" - + "ateTag\022-.google.cloud.datacatalog.v1.Cre" - + "ateTagRequest\032 .google.cloud.datacatalog" - + ".v1.Tag\"\232\001\202\323\344\223\002\206\001\"@/v1/{parent=projects/" - + "*/locations/*/entryGroups/*/entries/*}/t" - + "ags:\003tagZ=\"6/v1/{parent=projects/*/locat" - + "ions/*/entryGroups/*}/tags:\003tag\332A\nparent" - + ",tag\022\214\002\n\tUpdateTag\022-.google.cloud.dataca" - + "talog.v1.UpdateTagRequest\032 .google.cloud" - + ".datacatalog.v1.Tag\"\255\001\202\323\344\223\002\216\0012D/v1/{tag." - + "name=projects/*/locations/*/entryGroups/" - + "*/entries/*/tags/*}:\003tagZA2:/v1/{tag.nam" - + "e=projects/*/locations/*/entryGroups/*/t" - + "ags/*}:\003tag\332A\003tag\332A\017tag,update_mask\022\336\001\n\t" - + "DeleteTag\022-.google.cloud.datacatalog.v1." - + "DeleteTagRequest\032\026.google.protobuf.Empty" - + "\"\211\001\202\323\344\223\002|*@/v1/{name=projects/*/location" - + "s/*/entryGroups/*/entries/*/tags/*}Z8*6/" - + "v1/{name=projects/*/locations/*/entryGro" - + "ups/*/tags/*}\332A\004name\022\365\001\n\010ListTags\022,.goog" - + "le.cloud.datacatalog.v1.ListTagsRequest\032" - + "-.google.cloud.datacatalog.v1.ListTagsRe" - + "sponse\"\213\001\202\323\344\223\002|\022@/v1/{parent=projects/*/" - + "locations/*/entryGroups/*/entries/*}/tag" - + "sZ8\0226/v1/{parent=projects/*/locations/*/" - + "entryGroups/*}/tags\332A\006parent\022\362\001\n\014SetIamP" - + "olicy\022\".google.iam.v1.SetIamPolicyReques" - + "t\032\025.google.iam.v1.Policy\"\246\001\202\323\344\223\002\215\001\"A/v1/" - + "{resource=projects/*/locations/*/tagTemp" - + "lates/*}:setIamPolicy:\001*ZE\"@/v1/{resourc" - + "e=projects/*/locations/*/entryGroups/*}:" - + "setIamPolicy:\001*\332A\017resource,policy\022\274\002\n\014Ge" - + "tIamPolicy\022\".google.iam.v1.GetIamPolicyR" - + "equest\032\025.google.iam.v1.Policy\"\360\001\202\323\344\223\002\336\001\"" - + "A/v1/{resource=projects/*/locations/*/ta" - + "gTemplates/*}:getIamPolicy:\001*ZE\"@/v1/{re" - + "source=projects/*/locations/*/entryGroup" - + "s/*}:getIamPolicy:\001*ZO\"J/v1/{resource=pr" - + "ojects/*/locations/*/entryGroups/*/entri" - + "es/*}:getIamPolicy:\001*\332A\010resource\022\343\002\n\022Tes" - + "tIamPermissions\022(.google.iam.v1.TestIamP" - + "ermissionsRequest\032).google.iam.v1.TestIa" - + "mPermissionsResponse\"\367\001\202\323\344\223\002\360\001\"G/v1/{res" - + "ource=projects/*/locations/*/tagTemplate" - + "s/*}:testIamPermissions:\001*ZK\"F/v1/{resou" - + "rce=projects/*/locations/*/entryGroups/*" - + "}:testIamPermissions:\001*ZU\"P/v1/{resource" + + "TemplateField\022&\n\031new_tag_template_field_" + + "id\030\002 \001(\tB\003\340A\002\"\236\001\n&RenameTagTemplateField" + + "EnumValueRequest\022J\n\004name\030\001 \001(\tB<\340A\002\372A6\n4" + + "datacatalog.googleapis.com/TagTemplateFi" + + "eldEnumValue\022(\n\033new_enum_value_display_n" + + "ame\030\002 \001(\tB\003\340A\002\"v\n\035DeleteTagTemplateField" + + "Request\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+datacatal" + + "og.googleapis.com/TagTemplateField\022\022\n\005fo" + + "rce\030\002 \001(\010B\003\340A\002\"p\n\017ListTagsRequest\0226\n\006par" + + "ent\030\001 \001(\tB&\340A\002\372A \022\036datacatalog.googleapi" + + "s.com/Tag\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" + + "en\030\003 \001(\t\"[\n\020ListTagsResponse\022.\n\004tags\030\001 \003" + + "(\0132 .google.cloud.datacatalog.v1.Tag\022\027\n\017" + + "next_page_token\030\002 \001(\t\"\251\001\n\022ListEntriesReq" + + "uest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%datacatalo" + + "g.googleapis.com/EntryGroup\022\021\n\tpage_size" + + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022-\n\tread_mask\030" + + "\004 \001(\0132\032.google.protobuf.FieldMask\"c\n\023Lis" + + "tEntriesResponse\0223\n\007entries\030\001 \003(\0132\".goog" + + "le.cloud.datacatalog.v1.Entry\022\027\n\017next_pa" + + "ge_token\030\002 \001(\t*\254\001\n\tEntryType\022\032\n\026ENTRY_TY" + + "PE_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\004\022\013\n\007CLUSTER\020" + + "\006\022\014\n\010DATABASE\020\007\022\032\n\026DATA_SOURCE_CONNECTIO" + + "N\020\010\022\013\n\007ROUTINE\020\t\022\013\n\007SERVICE\020\0162\3021\n\013DataCa" + + "talog\022\243\001\n\rSearchCatalog\0221.google.cloud.d" + + "atacatalog.v1.SearchCatalogRequest\0322.goo" + + "gle.cloud.datacatalog.v1.SearchCatalogRe" + + "sponse\"+\202\323\344\223\002\027\"\022/v1/catalog:search:\001*\332A\013" + + "scope,query\022\333\001\n\020CreateEntryGroup\0224.googl" + + "e.cloud.datacatalog.v1.CreateEntryGroupR" + + "equest\032\'.google.cloud.datacatalog.v1.Ent" + + "ryGroup\"h\202\323\344\223\002>\"//v1/{parent=projects/*/" + + "locations/*}/entryGroups:\013entry_group\332A!" + + "parent,entry_group_id,entry_group\022\274\001\n\rGe" + + "tEntryGroup\0221.google.cloud.datacatalog.v" + + "1.GetEntryGroupRequest\032\'.google.cloud.da" + + "tacatalog.v1.EntryGroup\"O\202\323\344\223\0021\022//v1/{na" + + "me=projects/*/locations/*/entryGroups/*}" + + "\332A\004name\332A\016name,read_mask\022\353\001\n\020UpdateEntry" + + "Group\0224.google.cloud.datacatalog.v1.Upda" + + "teEntryGroupRequest\032\'.google.cloud.datac" + + "atalog.v1.EntryGroup\"x\202\323\344\223\002J2;/v1/{entry" + + "_group.name=projects/*/locations/*/entry" + + "Groups/*}:\013entry_group\332A\013entry_group\332A\027e" + + "ntry_group,update_mask\022\240\001\n\020DeleteEntryGr" + + "oup\0224.google.cloud.datacatalog.v1.Delete" + + "EntryGroupRequest\032\026.google.protobuf.Empt" + + "y\">\202\323\344\223\0021*//v1/{name=projects/*/location" + + "s/*/entryGroups/*}\332A\004name\022\276\001\n\017ListEntryG" + + "roups\0223.google.cloud.datacatalog.v1.List" + + "EntryGroupsRequest\0324.google.cloud.dataca" + + "talog.v1.ListEntryGroupsResponse\"@\202\323\344\223\0021" + + "\022//v1/{parent=projects/*/locations/*}/en" + + "tryGroups\332A\006parent\022\304\001\n\013CreateEntry\022/.goo" + + "gle.cloud.datacatalog.v1.CreateEntryRequ" + + "est\032\".google.cloud.datacatalog.v1.Entry\"" + + "`\202\323\344\223\002B\"9/v1/{parent=projects/*/location" + + "s/*/entryGroups/*}/entries:\005entry\332A\025pare" + + "nt,entry_id,entry\022\316\001\n\013UpdateEntry\022/.goog" + + "le.cloud.datacatalog.v1.UpdateEntryReque" + + "st\032\".google.cloud.datacatalog.v1.Entry\"j" + + "\202\323\344\223\002H2?/v1/{entry.name=projects/*/locat" + + "ions/*/entryGroups/*/entries/*}:\005entry\332A" + + "\005entry\332A\021entry,update_mask\022\240\001\n\013DeleteEnt" + + "ry\022/.google.cloud.datacatalog.v1.DeleteE" + + "ntryRequest\032\026.google.protobuf.Empty\"H\202\323\344" + + "\223\002;*9/v1/{name=projects/*/locations/*/en" + + "tryGroups/*/entries/*}\332A\004name\022\246\001\n\010GetEnt" + + "ry\022,.google.cloud.datacatalog.v1.GetEntr" + + "yRequest\032\".google.cloud.datacatalog.v1.E" + + "ntry\"H\202\323\344\223\002;\0229/v1/{name=projects/*/locat" + + "ions/*/entryGroups/*/entries/*}\332A\004name\022~" + + "\n\013LookupEntry\022/.google.cloud.datacatalog" + + ".v1.LookupEntryRequest\032\".google.cloud.da" + + "tacatalog.v1.Entry\"\032\202\323\344\223\002\024\022\022/v1/entries:" + + "lookup\022\274\001\n\013ListEntries\022/.google.cloud.da" + + "tacatalog.v1.ListEntriesRequest\0320.google" + + ".cloud.datacatalog.v1.ListEntriesRespons" + + "e\"J\202\323\344\223\002;\0229/v1/{parent=projects/*/locati" + + "ons/*/entryGroups/*}/entries\332A\006parent\022\342\001" + + "\n\021CreateTagTemplate\0225.google.cloud.datac" + + "atalog.v1.CreateTagTemplateRequest\032(.goo" + + "gle.cloud.datacatalog.v1.TagTemplate\"l\202\323" + + "\344\223\002@\"0/v1/{parent=projects/*/locations/*" + + "}/tagTemplates:\014tag_template\332A#parent,ta" + + "g_template_id,tag_template\022\257\001\n\016GetTagTem" + + "plate\0222.google.cloud.datacatalog.v1.GetT" + + "agTemplateRequest\032(.google.cloud.datacat" + + "alog.v1.TagTemplate\"?\202\323\344\223\0022\0220/v1/{name=p" + + "rojects/*/locations/*/tagTemplates/*}\332A\004" + + "name\022\363\001\n\021UpdateTagTemplate\0225.google.clou" + + "d.datacatalog.v1.UpdateTagTemplateReques" + + "t\032(.google.cloud.datacatalog.v1.TagTempl" + + "ate\"}\202\323\344\223\002M2=/v1/{tag_template.name=proj" + + "ects/*/locations/*/tagTemplates/*}:\014tag_" + + "template\332A\014tag_template\332A\030tag_template,u" + + "pdate_mask\022\251\001\n\021DeleteTagTemplate\0225.googl" + + "e.cloud.datacatalog.v1.DeleteTagTemplate" + + "Request\032\026.google.protobuf.Empty\"E\202\323\344\223\0022*" + + "0/v1/{name=projects/*/locations/*/tagTem" + + "plates/*}\332A\nname,force\022\215\002\n\026CreateTagTemp" + + "lateField\022:.google.cloud.datacatalog.v1." + + "CreateTagTemplateFieldRequest\032-.google.c" + + "loud.datacatalog.v1.TagTemplateField\"\207\001\202" + + "\323\344\223\002O\"9/v1/{parent=projects/*/locations/" + + "*/tagTemplates/*}/fields:\022tag_template_f" + + "ield\332A/parent,tag_template_field_id,tag_" + + "template_field\022\233\002\n\026UpdateTagTemplateFiel" + + "d\022:.google.cloud.datacatalog.v1.UpdateTa" + + "gTemplateFieldRequest\032-.google.cloud.dat" + + "acatalog.v1.TagTemplateField\"\225\001\202\323\344\223\002O29/" + + "v1/{name=projects/*/locations/*/tagTempl" + + "ates/*/fields/*}:\022tag_template_field\332A\027n" + + "ame,tag_template_field\332A#name,tag_templa" + + "te_field,update_mask\022\361\001\n\026RenameTagTempla" + + "teField\022:.google.cloud.datacatalog.v1.Re" + + "nameTagTemplateFieldRequest\032-.google.clo" + + "ud.datacatalog.v1.TagTemplateField\"l\202\323\344\223" + + "\002E\"@/v1/{name=projects/*/locations/*/tag" + + "Templates/*/fields/*}:rename:\001*\332A\036name,n" + + "ew_tag_template_field_id\022\222\002\n\037RenameTagTe" + + "mplateFieldEnumValue\022C.google.cloud.data" + + "catalog.v1.RenameTagTemplateFieldEnumVal" + + "ueRequest\032-.google.cloud.datacatalog.v1." + + "TagTemplateField\"{\202\323\344\223\002R\"M/v1/{name=proj" + + "ects/*/locations/*/tagTemplates/*/fields" + + "/*/enumValues/*}:rename:\001*\332A name,new_en" + + "um_value_display_name\022\274\001\n\026DeleteTagTempl" + + "ateField\022:.google.cloud.datacatalog.v1.D" + + "eleteTagTemplateFieldRequest\032\026.google.pr" + + "otobuf.Empty\"N\202\323\344\223\002;*9/v1/{name=projects" + + "/*/locations/*/tagTemplates/*/fields/*}\332" + + "A\nname,force\022\371\001\n\tCreateTag\022-.google.clou" + + "d.datacatalog.v1.CreateTagRequest\032 .goog" + + "le.cloud.datacatalog.v1.Tag\"\232\001\202\323\344\223\002\206\001\"@/" + + "v1/{parent=projects/*/locations/*/entryG" + + "roups/*/entries/*}/tags:\003tagZ=\"6/v1/{par" + + "ent=projects/*/locations/*/entryGroups/*" + + "}/tags:\003tag\332A\nparent,tag\022\214\002\n\tUpdateTag\022-" + + ".google.cloud.datacatalog.v1.UpdateTagRe" + + "quest\032 .google.cloud.datacatalog.v1.Tag\"" + + "\255\001\202\323\344\223\002\216\0012D/v1/{tag.name=projects/*/loca" + + "tions/*/entryGroups/*/entries/*/tags/*}:" + + "\003tagZA2:/v1/{tag.name=projects/*/locatio" + + "ns/*/entryGroups/*/tags/*}:\003tag\332A\003tag\332A\017" + + "tag,update_mask\022\336\001\n\tDeleteTag\022-.google.c" + + "loud.datacatalog.v1.DeleteTagRequest\032\026.g" + + "oogle.protobuf.Empty\"\211\001\202\323\344\223\002|*@/v1/{name" + "=projects/*/locations/*/entryGroups/*/en" - + "tries/*}:testIamPermissions:\001*\032N\312A\032datac" - + "atalog.googleapis.com\322A.https://www.goog" - + "leapis.com/auth/cloud-platformB\217\003\n\037com.g" - + "oogle.cloud.datacatalog.v1P\001ZFgoogle.gol" - + "ang.org/genproto/googleapis/cloud/dataca" - + "talog/v1;datacatalog\370\001\001\252\002\033Google.Cloud.D" - + "ataCatalog.V1\312\002\033Google\\Cloud\\DataCatalog" - + "\\V1\352\002\036Google::Cloud::DataCatalog::V1\352A\300\001" - + "\n4datacatalog.googleapis.com/TagTemplate" - + "FieldEnumValue\022\207\001projects/{project}/loca" - + "tions/{location}/tagTemplates/{tag_templ" - + "ate}/fields/{tag_template_field_id}/enum" - + "Values/{enum_value_display_name}b\006proto3" + + "tries/*/tags/*}Z8*6/v1/{name=projects/*/" + + "locations/*/entryGroups/*/tags/*}\332A\004name" + + "\022\365\001\n\010ListTags\022,.google.cloud.datacatalog" + + ".v1.ListTagsRequest\032-.google.cloud.datac" + + "atalog.v1.ListTagsResponse\"\213\001\202\323\344\223\002|\022@/v1" + + "/{parent=projects/*/locations/*/entryGro" + + "ups/*/entries/*}/tagsZ8\0226/v1/{parent=pro" + + "jects/*/locations/*/entryGroups/*}/tags\332" + + "A\006parent\022\362\001\n\014SetIamPolicy\022\".google.iam.v" + + "1.SetIamPolicyRequest\032\025.google.iam.v1.Po" + + "licy\"\246\001\202\323\344\223\002\215\001\"A/v1/{resource=projects/*" + + "/locations/*/tagTemplates/*}:setIamPolic" + + "y:\001*ZE\"@/v1/{resource=projects/*/locatio" + + "ns/*/entryGroups/*}:setIamPolicy:\001*\332A\017re" + + "source,policy\022\274\002\n\014GetIamPolicy\022\".google." + + "iam.v1.GetIamPolicyRequest\032\025.google.iam." + + "v1.Policy\"\360\001\202\323\344\223\002\336\001\"A/v1/{resource=proje" + + "cts/*/locations/*/tagTemplates/*}:getIam" + + "Policy:\001*ZE\"@/v1/{resource=projects/*/lo" + + "cations/*/entryGroups/*}:getIamPolicy:\001*" + + "ZO\"J/v1/{resource=projects/*/locations/*" + + "/entryGroups/*/entries/*}:getIamPolicy:\001" + + "*\332A\010resource\022\343\002\n\022TestIamPermissions\022(.go" + + "ogle.iam.v1.TestIamPermissionsRequest\032)." + + "google.iam.v1.TestIamPermissionsResponse" + + "\"\367\001\202\323\344\223\002\360\001\"G/v1/{resource=projects/*/loc" + + "ations/*/tagTemplates/*}:testIamPermissi" + + "ons:\001*ZK\"F/v1/{resource=projects/*/locat" + + "ions/*/entryGroups/*}:testIamPermissions" + + ":\001*ZU\"P/v1/{resource=projects/*/location" + + "s/*/entryGroups/*/entries/*}:testIamPerm" + + "issions:\001*\032N\312A\032datacatalog.googleapis.co" + + "m\322A.https://www.googleapis.com/auth/clou" + + "d-platformB\217\003\n\037com.google.cloud.datacata" + + "log.v1P\001ZFgoogle.golang.org/genproto/goo" + + "gleapis/cloud/datacatalog/v1;datacatalog" + + "\370\001\001\252\002\033Google.Cloud.DataCatalog.V1\312\002\033Goog" + + "le\\Cloud\\DataCatalog\\V1\352\002\036Google::Cloud:" + + ":DataCatalog::V1\352A\300\001\n4datacatalog.google" + + "apis.com/TagTemplateFieldEnumValue\022\207\001pro" + + "jects/{project}/locations/{location}/tag" + + "Templates/{tag_template}/fields/{tag_tem" + + "plate_field_id}/enumValues/{enum_value_d" + + "isplay_name}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -505,6 +552,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.ClientProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.datacatalog.v1.BigQueryProto.getDescriptor(), com.google.cloud.datacatalog.v1.Common.getDescriptor(), com.google.cloud.datacatalog.v1.DataSourceProto.getDescriptor(), com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass.getDescriptor(), @@ -513,6 +561,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.cloud.datacatalog.v1.TableSpecOuterClass.getDescriptor(), com.google.cloud.datacatalog.v1.Tags.getDescriptor(), com.google.cloud.datacatalog.v1.Timestamps.getDescriptor(), + com.google.cloud.datacatalog.v1.Usage.getDescriptor(), com.google.iam.v1.IamPolicyProto.getDescriptor(), com.google.iam.v1.PolicyProto.getDescriptor(), com.google.protobuf.EmptyProto.getDescriptor(), @@ -539,6 +588,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "IncludeProjectIds", "IncludeGcpPublicDatasets", "RestrictedLocations", + "IncludePublicTagTemplates", }); internal_static_google_cloud_datacatalog_v1_SearchCatalogResponse_descriptor = getDescriptor().getMessageTypes().get(1); @@ -653,16 +703,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BigqueryTableSpec", "BigqueryDateShardedSpec", "DatabaseTableSpec", + "DataSourceConnectionSpec", + "RoutineSpec", "DisplayName", "Description", "Schema", "SourceSystemTimestamps", + "UsageSignal", + "Labels", "DataSource", "EntryType", "System", "TypeSpec", "Spec", }); + internal_static_google_cloud_datacatalog_v1_Entry_LabelsEntry_descriptor = + internal_static_google_cloud_datacatalog_v1_Entry_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datacatalog_v1_Entry_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_Entry_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_google_cloud_datacatalog_v1_DatabaseTableSpec_fieldAccessorTable = @@ -671,8 +733,38 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Type", }); - internal_static_google_cloud_datacatalog_v1_EntryGroup_descriptor = + internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_descriptor = getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_DataSourceConnectionSpec_descriptor, + new java.lang.String[] { + "BigqueryConnectionSpec", + }); + internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_datacatalog_v1_RoutineSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor, + new java.lang.String[] { + "RoutineType", + "Language", + "RoutineArguments", + "ReturnType", + "DefinitionBody", + "BigqueryRoutineSpec", + "SystemSpec", + }); + internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_descriptor = + internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_descriptor, + new java.lang.String[] { + "Name", "Mode", "Type", + }); + internal_static_google_cloud_datacatalog_v1_EntryGroup_descriptor = + getDescriptor().getMessageTypes().get(17); internal_static_google_cloud_datacatalog_v1_EntryGroup_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_datacatalog_v1_EntryGroup_descriptor, @@ -680,7 +772,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "DisplayName", "Description", "DataCatalogTimestamps", }); internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(16); + getDescriptor().getMessageTypes().get(18); internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_datacatalog_v1_CreateTagTemplateRequest_descriptor, @@ -688,7 +780,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "TagTemplateId", "TagTemplate", }); internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(17); + getDescriptor().getMessageTypes().get(19); internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_datacatalog_v1_GetTagTemplateRequest_descriptor, @@ -696,7 +788,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(18); + getDescriptor().getMessageTypes().get(20); internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateRequest_descriptor, @@ -704,7 +796,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "TagTemplate", "UpdateMask", }); internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(19); + getDescriptor().getMessageTypes().get(21); internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateRequest_descriptor, @@ -712,7 +804,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "Force", }); internal_static_google_cloud_datacatalog_v1_CreateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(20); + getDescriptor().getMessageTypes().get(22); internal_static_google_cloud_datacatalog_v1_CreateTagRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_datacatalog_v1_CreateTagRequest_descriptor, @@ -720,7 +812,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "Tag", }); internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(21); + getDescriptor().getMessageTypes().get(23); internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_datacatalog_v1_UpdateTagRequest_descriptor, @@ -728,7 +820,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Tag", "UpdateMask", }); internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_descriptor = - getDescriptor().getMessageTypes().get(22); + getDescriptor().getMessageTypes().get(24); internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_datacatalog_v1_DeleteTagRequest_descriptor, @@ -736,7 +828,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_descriptor = - getDescriptor().getMessageTypes().get(23); + getDescriptor().getMessageTypes().get(25); internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_datacatalog_v1_CreateTagTemplateFieldRequest_descriptor, @@ -744,7 +836,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "TagTemplateFieldId", "TagTemplateField", }); internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_descriptor = - getDescriptor().getMessageTypes().get(24); + getDescriptor().getMessageTypes().get(26); internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_datacatalog_v1_UpdateTagTemplateFieldRequest_descriptor, @@ -752,7 +844,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "TagTemplateField", "UpdateMask", }); internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_descriptor = - getDescriptor().getMessageTypes().get(25); + getDescriptor().getMessageTypes().get(27); internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldRequest_descriptor, @@ -760,7 +852,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "NewTagTemplateFieldId", }); internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_descriptor = - getDescriptor().getMessageTypes().get(26); + getDescriptor().getMessageTypes().get(28); internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_datacatalog_v1_RenameTagTemplateFieldEnumValueRequest_descriptor, @@ -768,7 +860,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "NewEnumValueDisplayName", }); internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_descriptor = - getDescriptor().getMessageTypes().get(27); + getDescriptor().getMessageTypes().get(29); internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_datacatalog_v1_DeleteTagTemplateFieldRequest_descriptor, @@ -776,7 +868,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "Force", }); internal_static_google_cloud_datacatalog_v1_ListTagsRequest_descriptor = - getDescriptor().getMessageTypes().get(28); + getDescriptor().getMessageTypes().get(30); internal_static_google_cloud_datacatalog_v1_ListTagsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_datacatalog_v1_ListTagsRequest_descriptor, @@ -784,7 +876,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageSize", "PageToken", }); internal_static_google_cloud_datacatalog_v1_ListTagsResponse_descriptor = - getDescriptor().getMessageTypes().get(29); + getDescriptor().getMessageTypes().get(31); internal_static_google_cloud_datacatalog_v1_ListTagsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_datacatalog_v1_ListTagsResponse_descriptor, @@ -792,7 +884,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Tags", "NextPageToken", }); internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_descriptor = - getDescriptor().getMessageTypes().get(30); + getDescriptor().getMessageTypes().get(32); internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_datacatalog_v1_ListEntriesRequest_descriptor, @@ -800,7 +892,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageSize", "PageToken", "ReadMask", }); internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_descriptor = - getDescriptor().getMessageTypes().get(31); + getDescriptor().getMessageTypes().get(33); internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_datacatalog_v1_ListEntriesResponse_descriptor, @@ -823,6 +915,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.ClientProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.datacatalog.v1.BigQueryProto.getDescriptor(); com.google.cloud.datacatalog.v1.Common.getDescriptor(); com.google.cloud.datacatalog.v1.DataSourceProto.getDescriptor(); com.google.cloud.datacatalog.v1.GcsFilesetSpecOuterClass.getDescriptor(); @@ -831,6 +924,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.cloud.datacatalog.v1.TableSpecOuterClass.getDescriptor(); com.google.cloud.datacatalog.v1.Tags.getDescriptor(); com.google.cloud.datacatalog.v1.Timestamps.getDescriptor(); + com.google.cloud.datacatalog.v1.Usage.getDescriptor(); com.google.iam.v1.IamPolicyProto.getDescriptor(); com.google.iam.v1.PolicyProto.getDescriptor(); com.google.protobuf.EmptyProto.getDescriptor(); diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequest.java index 05ea0532..91f51c04 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequest.java @@ -123,8 +123,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The name of the entry group. For example,
-   * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
+   * Required. The name of the entry group to delete.
    * 
* * @@ -149,8 +148,7 @@ public java.lang.String getName() { * * *
-   * Required. The name of the entry group. For example,
-   * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
+   * Required. The name of the entry group to delete.
    * 
* * @@ -530,8 +528,7 @@ public Builder mergeFrom( * * *
-     * Required. The name of the entry group. For example,
-     * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
+     * Required. The name of the entry group to delete.
      * 
* * @@ -555,8 +552,7 @@ public java.lang.String getName() { * * *
-     * Required. The name of the entry group. For example,
-     * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
+     * Required. The name of the entry group to delete.
      * 
* * @@ -580,8 +576,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The name of the entry group. For example,
-     * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
+     * Required. The name of the entry group to delete.
      * 
* * @@ -604,8 +599,7 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The name of the entry group. For example,
-     * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
+     * Required. The name of the entry group to delete.
      * 
* * @@ -624,8 +618,7 @@ public Builder clearName() { * * *
-     * Required. The name of the entry group. For example,
-     * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
+     * Required. The name of the entry group to delete.
      * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequestOrBuilder.java index a0215ab2..1257cc04 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryGroupRequestOrBuilder.java @@ -27,8 +27,7 @@ public interface DeleteEntryGroupRequestOrBuilder * * *
-   * Required. The name of the entry group. For example,
-   * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
+   * Required. The name of the entry group to delete.
    * 
* * @@ -42,8 +41,7 @@ public interface DeleteEntryGroupRequestOrBuilder * * *
-   * Required. The name of the entry group. For example,
-   * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
+   * Required. The name of the entry group to delete.
    * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequest.java index 989c302b..769f0715 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequest.java @@ -118,8 +118,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The name of the entry. Example:
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+   * Required. The name of the entry to delete.
    * 
* * @@ -144,8 +143,7 @@ public java.lang.String getName() { * * *
-   * Required. The name of the entry. Example:
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+   * Required. The name of the entry to delete.
    * 
* * @@ -491,8 +489,7 @@ public Builder mergeFrom( * * *
-     * Required. The name of the entry. Example:
-     * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+     * Required. The name of the entry to delete.
      * 
* * @@ -516,8 +513,7 @@ public java.lang.String getName() { * * *
-     * Required. The name of the entry. Example:
-     * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+     * Required. The name of the entry to delete.
      * 
* * @@ -541,8 +537,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The name of the entry. Example:
-     * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+     * Required. The name of the entry to delete.
      * 
* * @@ -565,8 +560,7 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The name of the entry. Example:
-     * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+     * Required. The name of the entry to delete.
      * 
* * @@ -585,8 +579,7 @@ public Builder clearName() { * * *
-     * Required. The name of the entry. Example:
-     * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+     * Required. The name of the entry to delete.
      * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequestOrBuilder.java index 5504b90b..f69fc193 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteEntryRequestOrBuilder.java @@ -27,8 +27,7 @@ public interface DeleteEntryRequestOrBuilder * * *
-   * Required. The name of the entry. Example:
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+   * Required. The name of the entry to delete.
    * 
* * @@ -42,8 +41,7 @@ public interface DeleteEntryRequestOrBuilder * * *
-   * Required. The name of the entry. Example:
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+   * Required. The name of the entry to delete.
    * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequest.java index 7937040c..a9bee861 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequest.java @@ -118,8 +118,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 delete.
+   * Note: All of its descendant policy tags are also deleted.
    * 
* * @@ -144,8 +144,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 delete.
+   * Note: All of its descendant policy tags are also deleted.
    * 
* * @@ -492,8 +492,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 delete.
+     * Note: All of its descendant policy tags are also deleted.
      * 
* * @@ -517,8 +517,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 delete.
+     * Note: All of its descendant policy tags are also deleted.
      * 
* * @@ -542,8 +542,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 delete.
+     * Note: All of its descendant policy tags are also deleted.
      * 
* * @@ -566,8 +566,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 delete.
+     * Note: All of its descendant policy tags are also deleted.
      * 
* * @@ -586,8 +586,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 delete.
+     * Note: All of its descendant policy tags are also deleted.
      * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequestOrBuilder.java index 91eb76b3..bad944d4 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeletePolicyTagRequestOrBuilder.java @@ -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 delete.
+   * Note: All of its descendant policy tags are also 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 delete.
+   * Note: All of its descendant policy tags are also deleted.
    * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequest.java index 0f376206..4d4b2e82 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequest.java @@ -118,8 +118,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The name of the tag to delete. Example:
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
+   * Required. The name of the tag to delete.
    * 
* * @@ -144,8 +143,7 @@ public java.lang.String getName() { * * *
-   * Required. The name of the tag to delete. Example:
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
+   * Required. The name of the tag to delete.
    * 
* * @@ -490,8 +488,7 @@ public Builder mergeFrom( * * *
-     * Required. The name of the tag to delete. Example:
-     * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
+     * Required. The name of the tag to delete.
      * 
* * @@ -515,8 +512,7 @@ public java.lang.String getName() { * * *
-     * Required. The name of the tag to delete. Example:
-     * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
+     * Required. The name of the tag to delete.
      * 
* * @@ -540,8 +536,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The name of the tag to delete. Example:
-     * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
+     * Required. The name of the tag to delete.
      * 
* * @@ -564,8 +559,7 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The name of the tag to delete. Example:
-     * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
+     * Required. The name of the tag to delete.
      * 
* * @@ -584,8 +578,7 @@ public Builder clearName() { * * *
-     * Required. The name of the tag to delete. Example:
-     * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
+     * Required. The name of the tag to delete.
      * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequestOrBuilder.java index 7ed7d8cf..f215e3a7 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagRequestOrBuilder.java @@ -27,8 +27,7 @@ public interface DeleteTagRequestOrBuilder * * *
-   * Required. The name of the tag to delete. Example:
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
+   * Required. The name of the tag to delete.
    * 
* * @@ -42,8 +41,7 @@ public interface DeleteTagRequestOrBuilder * * *
-   * Required. The name of the tag to delete. Example:
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
+   * Required. The name of the tag to delete.
    * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequest.java index c2a2f2a4..eae27fc9 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequest.java @@ -123,8 +123,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The name of the tag template field to delete. Example:
-   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
+   * Required. The name of the tag template field to delete.
    * 
* * @@ -149,8 +148,7 @@ public java.lang.String getName() { * * *
-   * Required. The name of the tag template field to delete. Example:
-   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
+   * Required. The name of the tag template field to delete.
    * 
* * @@ -178,9 +176,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Required. Currently, this field must always be set to `true`.
-   * This confirms the deletion of this field from any tags using this field.
-   * `force = false` will be supported in the future.
+   * Required. If true, deletes this field from any tags that use it.
+   * Currently, `true` is the only supported value.
    * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -535,8 +532,7 @@ public Builder mergeFrom( * * *
-     * Required. The name of the tag template field to delete. Example:
-     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
+     * Required. The name of the tag template field to delete.
      * 
* * @@ -560,8 +556,7 @@ public java.lang.String getName() { * * *
-     * Required. The name of the tag template field to delete. Example:
-     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
+     * Required. The name of the tag template field to delete.
      * 
* * @@ -585,8 +580,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The name of the tag template field to delete. Example:
-     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
+     * Required. The name of the tag template field to delete.
      * 
* * @@ -609,8 +603,7 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The name of the tag template field to delete. Example:
-     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
+     * Required. The name of the tag template field to delete.
      * 
* * @@ -629,8 +622,7 @@ public Builder clearName() { * * *
-     * Required. The name of the tag template field to delete. Example:
-     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
+     * Required. The name of the tag template field to delete.
      * 
* * @@ -656,9 +648,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Currently, this field must always be set to `true`.
-     * This confirms the deletion of this field from any tags using this field.
-     * `force = false` will be supported in the future.
+     * Required. If true, deletes this field from any tags that use it.
+     * Currently, `true` is the only supported value.
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -673,9 +664,8 @@ public boolean getForce() { * * *
-     * Required. Currently, this field must always be set to `true`.
-     * This confirms the deletion of this field from any tags using this field.
-     * `force = false` will be supported in the future.
+     * Required. If true, deletes this field from any tags that use it.
+     * Currently, `true` is the only supported value.
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -693,9 +683,8 @@ public Builder setForce(boolean value) { * * *
-     * Required. Currently, this field must always be set to `true`.
-     * This confirms the deletion of this field from any tags using this field.
-     * `force = false` will be supported in the future.
+     * Required. If true, deletes this field from any tags that use it.
+     * Currently, `true` is the only supported value.
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequestOrBuilder.java index 3d099fd8..13e7a164 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateFieldRequestOrBuilder.java @@ -27,8 +27,7 @@ public interface DeleteTagTemplateFieldRequestOrBuilder * * *
-   * Required. The name of the tag template field to delete. Example:
-   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
+   * Required. The name of the tag template field to delete.
    * 
* * @@ -42,8 +41,7 @@ public interface DeleteTagTemplateFieldRequestOrBuilder * * *
-   * Required. The name of the tag template field to delete. Example:
-   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
+   * Required. The name of the tag template field to delete.
    * 
* * @@ -58,9 +56,8 @@ public interface DeleteTagTemplateFieldRequestOrBuilder * * *
-   * Required. Currently, this field must always be set to `true`.
-   * This confirms the deletion of this field from any tags using this field.
-   * `force = false` will be supported in the future.
+   * Required. If true, deletes this field from any tags that use it.
+   * Currently, `true` is the only supported value.
    * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequest.java index 0ea7af14..de481f63 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequest.java @@ -123,8 +123,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The name of the tag template to delete. Example:
-   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
+   * Required. The name of the tag template to delete.
    * 
* * @@ -149,8 +148,7 @@ public java.lang.String getName() { * * *
-   * Required. The name of the tag template to delete. Example:
-   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
+   * Required. The name of the tag template to delete.
    * 
* * @@ -178,9 +176,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Required. Currently, this field must always be set to `true`.
-   * This confirms the deletion of any possible tags using this template.
-   * `force = false` will be supported in the future.
+   * Required. If true, deletes all tags that use this template.
+   * Currently, `true` is the only supported value.
    * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -532,8 +529,7 @@ public Builder mergeFrom( * * *
-     * Required. The name of the tag template to delete. Example:
-     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
+     * Required. The name of the tag template to delete.
      * 
* * @@ -557,8 +553,7 @@ public java.lang.String getName() { * * *
-     * Required. The name of the tag template to delete. Example:
-     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
+     * Required. The name of the tag template to delete.
      * 
* * @@ -582,8 +577,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The name of the tag template to delete. Example:
-     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
+     * Required. The name of the tag template to delete.
      * 
* * @@ -606,8 +600,7 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The name of the tag template to delete. Example:
-     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
+     * Required. The name of the tag template to delete.
      * 
* * @@ -626,8 +619,7 @@ public Builder clearName() { * * *
-     * Required. The name of the tag template to delete. Example:
-     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
+     * Required. The name of the tag template to delete.
      * 
* * @@ -653,9 +645,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Currently, this field must always be set to `true`.
-     * This confirms the deletion of any possible tags using this template.
-     * `force = false` will be supported in the future.
+     * Required. If true, deletes all tags that use this template.
+     * Currently, `true` is the only supported value.
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -670,9 +661,8 @@ public boolean getForce() { * * *
-     * Required. Currently, this field must always be set to `true`.
-     * This confirms the deletion of any possible tags using this template.
-     * `force = false` will be supported in the future.
+     * Required. If true, deletes all tags that use this template.
+     * Currently, `true` is the only supported value.
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -690,9 +680,8 @@ public Builder setForce(boolean value) { * * *
-     * Required. Currently, this field must always be set to `true`.
-     * This confirms the deletion of any possible tags using this template.
-     * `force = false` will be supported in the future.
+     * Required. If true, deletes all tags that use this template.
+     * Currently, `true` is the only supported value.
      * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequestOrBuilder.java index 1a68b1aa..eb28ef50 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTagTemplateRequestOrBuilder.java @@ -27,8 +27,7 @@ public interface DeleteTagTemplateRequestOrBuilder * * *
-   * Required. The name of the tag template to delete. Example:
-   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
+   * Required. The name of the tag template to delete.
    * 
* * @@ -42,8 +41,7 @@ public interface DeleteTagTemplateRequestOrBuilder * * *
-   * Required. The name of the tag template to delete. Example:
-   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
+   * Required. The name of the tag template to delete.
    * 
* * @@ -58,9 +56,8 @@ public interface DeleteTagTemplateRequestOrBuilder * * *
-   * Required. Currently, this field must always be set to `true`.
-   * This confirms the deletion of any possible tags using this template.
-   * `force = false` will be supported in the future.
+   * Required. If true, deletes all tags that use this template.
+   * Currently, `true` is the only supported value.
    * 
* * bool force = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequest.java index 4de4b72e..519d234a 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequest.java @@ -118,8 +118,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Resource name of the taxonomy to be deleted. All policy tags in
-   * this taxonomy will also be deleted.
+   * Required. Resource name of the taxonomy to delete.
+   * Note: All policy tags in this taxonomy are also deleted.
    * 
* * @@ -144,8 +144,8 @@ public java.lang.String getName() { * * *
-   * Required. Resource name of the taxonomy to be deleted. All policy tags in
-   * this taxonomy will also be deleted.
+   * Required. Resource name of the taxonomy to delete.
+   * Note: All policy tags in this taxonomy are also deleted.
    * 
* * @@ -492,8 +492,8 @@ public Builder mergeFrom( * * *
-     * Required. Resource name of the taxonomy to be deleted. All policy tags in
-     * this taxonomy will also be deleted.
+     * Required. Resource name of the taxonomy to delete.
+     * Note: All policy tags in this taxonomy are also deleted.
      * 
* * @@ -517,8 +517,8 @@ public java.lang.String getName() { * * *
-     * Required. Resource name of the taxonomy to be deleted. All policy tags in
-     * this taxonomy will also be deleted.
+     * Required. Resource name of the taxonomy to delete.
+     * Note: All policy tags in this taxonomy are also deleted.
      * 
* * @@ -542,8 +542,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. Resource name of the taxonomy to be deleted. All policy tags in
-     * this taxonomy will also be deleted.
+     * Required. Resource name of the taxonomy to delete.
+     * Note: All policy tags in this taxonomy are also deleted.
      * 
* * @@ -566,8 +566,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. Resource name of the taxonomy to be deleted. All policy tags in
-     * this taxonomy will also be deleted.
+     * Required. Resource name of the taxonomy to delete.
+     * Note: All policy tags in this taxonomy are also deleted.
      * 
* * @@ -586,8 +586,8 @@ public Builder clearName() { * * *
-     * Required. Resource name of the taxonomy to be deleted. All policy tags in
-     * this taxonomy will also be deleted.
+     * Required. Resource name of the taxonomy to delete.
+     * Note: All policy tags in this taxonomy are also deleted.
      * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequestOrBuilder.java index ed8e3122..eaa080cc 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DeleteTaxonomyRequestOrBuilder.java @@ -27,8 +27,8 @@ public interface DeleteTaxonomyRequestOrBuilder * * *
-   * Required. Resource name of the taxonomy to be deleted. All policy tags in
-   * this taxonomy will also be deleted.
+   * Required. Resource name of the taxonomy to delete.
+   * Note: All policy tags in this taxonomy are also deleted.
    * 
* * @@ -42,8 +42,8 @@ public interface DeleteTaxonomyRequestOrBuilder * * *
-   * Required. Resource name of the taxonomy to be deleted. All policy tags in
-   * this taxonomy will also be deleted.
+   * Required. Resource name of the taxonomy to delete.
+   * Note: All policy tags in this taxonomy are also deleted.
    * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Entry.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Entry.java index 00234f11..eb1f3222 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Entry.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Entry.java @@ -22,14 +22,14 @@ * * *
- * Entry Metadata.
- * A Data Catalog Entry resource represents another resource in Google
+ * Entry metadata.
+ * A Data Catalog entry represents another resource in Google
  * Cloud Platform (such as a BigQuery dataset or a Pub/Sub topic) or
- * outside of Google Cloud Platform. Clients can use the `linked_resource` field
- * in the Entry resource to refer to the original resource ID of the source
+ * outside of it. You can use the `linked_resource` field
+ * in the entry resource to refer to the original resource ID of the source
  * system.
- * An Entry resource contains resource details, such as its schema. An Entry can
- * also be used to attach flexible metadata, such as a
+ * An entry resource contains resource details, for example, its schema.
+ * Additionally, you can attach flexible metadata to an entry in the form of a
  * [Tag][google.cloud.datacatalog.v1.Tag].
  * 
* @@ -72,6 +72,7 @@ private Entry( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } + int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -184,6 +185,35 @@ private Entry( typeSpecCase_ = 12; break; } + case 106: + { + com.google.cloud.datacatalog.v1.UsageSignal.Builder subBuilder = null; + if (usageSignal_ != null) { + subBuilder = usageSignal_.toBuilder(); + } + usageSignal_ = + input.readMessage( + com.google.cloud.datacatalog.v1.UsageSignal.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(usageSignal_); + usageSignal_ = subBuilder.buildPartial(); + } + + break; + } + case 114: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = + com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); + break; + } case 122: { com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec.Builder subBuilder = null; @@ -259,6 +289,41 @@ private Entry( specCase_ = 24; break; } + case 218: + { + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder subBuilder = null; + if (specCase_ == 27) { + subBuilder = + ((com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) spec_).toBuilder(); + } + spec_ = + input.readMessage( + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) spec_); + spec_ = subBuilder.buildPartial(); + } + specCase_ = 27; + break; + } + case 226: + { + com.google.cloud.datacatalog.v1.RoutineSpec.Builder subBuilder = null; + if (specCase_ == 28) { + subBuilder = ((com.google.cloud.datacatalog.v1.RoutineSpec) spec_).toBuilder(); + } + spec_ = + input.readMessage( + com.google.cloud.datacatalog.v1.RoutineSpec.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.datacatalog.v1.RoutineSpec) spec_); + spec_ = subBuilder.buildPartial(); + } + specCase_ = 28; + break; + } case 234: { java.lang.String s = input.readStringRequireUtf8(); @@ -290,6 +355,17 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { .internal_static_google_cloud_datacatalog_v1_Entry_descriptor; } + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 14: + return internalGetLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -452,6 +528,8 @@ public enum SpecCase com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DATABASE_TABLE_SPEC(24), + DATA_SOURCE_CONNECTION_SPEC(27), + ROUTINE_SPEC(28), SPEC_NOT_SET(0); private final int value; @@ -472,6 +550,10 @@ public static SpecCase forNumber(int value) { switch (value) { case 24: return DATABASE_TABLE_SPEC; + case 27: + return DATA_SOURCE_CONNECTION_SPEC; + case 28: + return ROUTINE_SPEC; case 0: return SPEC_NOT_SET; default: @@ -495,8 +577,6 @@ public SpecCase getSpecCase() { * *
    * Output only. The resource name of an entry in URL format.
-   * Example:
-   * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}`
    * Note: The entry itself and its child resources might not be
    * stored in the location specified in its name.
    * 
@@ -524,8 +604,6 @@ public java.lang.String getName() { * *
    * Output only. The resource name of an entry in URL format.
-   * Example:
-   * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}`
    * Note: The entry itself and its child resources might not be
    * stored in the location specified in its name.
    * 
@@ -556,12 +634,12 @@ public com.google.protobuf.ByteString getNameBytes() { * *
    * The resource this metadata entry refers to.
-   * For Google Cloud Platform resources, `linked_resource` is the [full name of
-   * the
-   * resource](https://cloud.google.com/apis/design/resource_names#full_resource_name).
+   * For Google Cloud Platform resources, `linked_resource` is the
+   * [Full Resource Name]
+   * (https://cloud.google.com/apis/design/resource_names#full_resource_name).
    * For example, the `linked_resource` for a table resource from BigQuery is:
-   * `//bigquery.googleapis.com/projects/{projectId}/datasets/{datasetId}/tables/{tableId}`
-   * Output only when entry is one of the types in the `EntryType` enum.
+   * `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
+   * Output only when the entry is one of the types in the `EntryType` enum.
    * For entries with a `user_specified_type`, this field is optional and
    * defaults to an empty string.
    * The resource string must contain only letters (a-z, A-Z), numbers (0-9),
@@ -591,12 +669,12 @@ public java.lang.String getLinkedResource() {
    *
    * 
    * The resource this metadata entry refers to.
-   * For Google Cloud Platform resources, `linked_resource` is the [full name of
-   * the
-   * resource](https://cloud.google.com/apis/design/resource_names#full_resource_name).
+   * For Google Cloud Platform resources, `linked_resource` is the
+   * [Full Resource Name]
+   * (https://cloud.google.com/apis/design/resource_names#full_resource_name).
    * For example, the `linked_resource` for a table resource from BigQuery is:
-   * `//bigquery.googleapis.com/projects/{projectId}/datasets/{datasetId}/tables/{tableId}`
-   * Output only when entry is one of the types in the `EntryType` enum.
+   * `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
+   * Output only when the entry is one of the types in the `EntryType` enum.
    * For entries with a `user_specified_type`, this field is optional and
    * defaults to an empty string.
    * The resource string must contain only letters (a-z, A-Z), numbers (0-9),
@@ -637,7 +715,7 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() {
    * * For regionalized resources:
    *   `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
    * Example for a DPMS table:
-   * `dataproc_metastore:project_id.location_id.instance_id.database_id.table_id`
+   * `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}`
    * 
* * string fully_qualified_name = 29; @@ -669,7 +747,7 @@ public java.lang.String getFullyQualifiedName() { * * For regionalized resources: * `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` * Example for a DPMS table: - * `dataproc_metastore:project_id.location_id.instance_id.database_id.table_id` + * `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}` *
* * string fully_qualified_name = 29; @@ -695,7 +773,9 @@ public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { * *
    * The type of the entry.
-   * Only used for Entries with types in the EntryType enum.
+   * 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`.
    * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; @@ -710,7 +790,9 @@ public boolean hasType() { * *
    * The type of the entry.
-   * Only used for Entries with types in the EntryType enum.
+   * 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`.
    * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; @@ -728,7 +810,9 @@ public int getTypeValue() { * *
    * The type of the entry.
-   * Only used for Entries with types in the EntryType enum.
+   * 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`.
    * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; @@ -750,15 +834,16 @@ public com.google.cloud.datacatalog.v1.EntryType getType() { * * *
-   * Entry type if it does not fit any of the input-allowed values listed in
-   * `EntryType` enum above. When creating an entry, users should check the
-   * enum values first, if nothing matches the entry to be created, then
-   * provide a custom value, for example "my_special_type".
-   * `user_specified_type` strings must begin with a letter or underscore and
-   * can only contain letters, numbers, and underscores; are case insensitive;
-   * must be at least 1 character and at most 64 characters long.
-   * Currently, only FILESET enum value is allowed. All other entries created
-   * through Data Catalog must use `user_specified_type`.
+   * Custom entry type that doesn't match any of the values allowed for input
+   * and listed in the `EntryType` enum.
+   * When creating an entry, first check the type values in the enum.
+   * If there are no appropriate types for the new entry,
+   * provide a custom value, for example, `my_special_type`.
+   * The `user_specified_type` string has the following limitations:
+   * * Is case insensitive.
+   * * Must begin with a letter or underscore.
+   * * Can only contain letters, numbers, and underscores.
+   * * Must be at least 1 character and at most 64 characters long.
    * 
* * string user_specified_type = 16; @@ -772,15 +857,16 @@ public boolean hasUserSpecifiedType() { * * *
-   * Entry type if it does not fit any of the input-allowed values listed in
-   * `EntryType` enum above. When creating an entry, users should check the
-   * enum values first, if nothing matches the entry to be created, then
-   * provide a custom value, for example "my_special_type".
-   * `user_specified_type` strings must begin with a letter or underscore and
-   * can only contain letters, numbers, and underscores; are case insensitive;
-   * must be at least 1 character and at most 64 characters long.
-   * Currently, only FILESET enum value is allowed. All other entries created
-   * through Data Catalog must use `user_specified_type`.
+   * Custom entry type that doesn't match any of the values allowed for input
+   * and listed in the `EntryType` enum.
+   * When creating an entry, first check the type values in the enum.
+   * If there are no appropriate types for the new entry,
+   * provide a custom value, for example, `my_special_type`.
+   * The `user_specified_type` string has the following limitations:
+   * * Is case insensitive.
+   * * Must begin with a letter or underscore.
+   * * Can only contain letters, numbers, and underscores.
+   * * Must be at least 1 character and at most 64 characters long.
    * 
* * string user_specified_type = 16; @@ -807,15 +893,16 @@ public java.lang.String getUserSpecifiedType() { * * *
-   * Entry type if it does not fit any of the input-allowed values listed in
-   * `EntryType` enum above. When creating an entry, users should check the
-   * enum values first, if nothing matches the entry to be created, then
-   * provide a custom value, for example "my_special_type".
-   * `user_specified_type` strings must begin with a letter or underscore and
-   * can only contain letters, numbers, and underscores; are case insensitive;
-   * must be at least 1 character and at most 64 characters long.
-   * Currently, only FILESET enum value is allowed. All other entries created
-   * through Data Catalog must use `user_specified_type`.
+   * Custom entry type that doesn't match any of the values allowed for input
+   * and listed in the `EntryType` enum.
+   * When creating an entry, first check the type values in the enum.
+   * If there are no appropriate types for the new entry,
+   * provide a custom value, for example, `my_special_type`.
+   * The `user_specified_type` string has the following limitations:
+   * * Is case insensitive.
+   * * Must begin with a letter or underscore.
+   * * Can only contain letters, numbers, and underscores.
+   * * Must be at least 1 character and at most 64 characters long.
    * 
* * string user_specified_type = 16; @@ -844,8 +931,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. Indicates the entry's source system that Data Catalog
+   * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
    * 
* * @@ -861,8 +948,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. Indicates the entry's source system that Data Catalog
+   * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
    * 
* * @@ -881,8 +968,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. Indicates the entry's source system that Data Catalog
+   * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
    * 
* * @@ -908,11 +995,13 @@ public com.google.cloud.datacatalog.v1.IntegratedSystem getIntegratedSystem() { * * *
-   * This field indicates the entry's source system that Data Catalog does not
-   * integrate with. `user_specified_system` strings must begin with a letter
-   * or underscore and can only contain letters, numbers, and underscores; are
-   * case insensitive; must be at least 1 character and at most 64 characters
-   * long.
+   * Indicates the entry's source system that Data Catalog doesn't
+   * automatically integrate with.
+   * The `user_specified_system` string has the following limitations:
+   * * Is case insensitive.
+   * * Must begin with a letter or underscore.
+   * * Can only contain letters, numbers, and underscores.
+   * * Must be at least 1 character and at most 64 characters long.
    * 
* * string user_specified_system = 18; @@ -926,11 +1015,13 @@ public boolean hasUserSpecifiedSystem() { * * *
-   * This field indicates the entry's source system that Data Catalog does not
-   * integrate with. `user_specified_system` strings must begin with a letter
-   * or underscore and can only contain letters, numbers, and underscores; are
-   * case insensitive; must be at least 1 character and at most 64 characters
-   * long.
+   * Indicates the entry's source system that Data Catalog doesn't
+   * automatically integrate with.
+   * The `user_specified_system` string has the following limitations:
+   * * Is case insensitive.
+   * * Must begin with a letter or underscore.
+   * * Can only contain letters, numbers, and underscores.
+   * * Must be at least 1 character and at most 64 characters long.
    * 
* * string user_specified_system = 18; @@ -957,11 +1048,13 @@ public java.lang.String getUserSpecifiedSystem() { * * *
-   * This field indicates the entry's source system that Data Catalog does not
-   * integrate with. `user_specified_system` strings must begin with a letter
-   * or underscore and can only contain letters, numbers, and underscores; are
-   * case insensitive; must be at least 1 character and at most 64 characters
-   * long.
+   * Indicates the entry's source system that Data Catalog doesn't
+   * automatically integrate with.
+   * The `user_specified_system` string has the following limitations:
+   * * Is case insensitive.
+   * * Must begin with a letter or underscore.
+   * * Can only contain letters, numbers, and underscores.
+   * * Must be at least 1 character and at most 64 characters long.
    * 
* * string user_specified_system = 18; @@ -990,8 +1083,8 @@ public com.google.protobuf.ByteString getUserSpecifiedSystemBytes() { * * *
-   * Specification that applies to a Cloud Storage fileset. This is only valid
-   * on entries of type FILESET.
+   * Specification that applies to a Cloud Storage fileset. Valid only
+   * for entries with the `FILESET` type.
    * 
* * .google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6; @@ -1006,8 +1099,8 @@ public boolean hasGcsFilesetSpec() { * * *
-   * Specification that applies to a Cloud Storage fileset. This is only valid
-   * on entries of type FILESET.
+   * Specification that applies to a Cloud Storage fileset. Valid only
+   * for entries with the `FILESET` type.
    * 
* * .google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6; @@ -1025,8 +1118,8 @@ public com.google.cloud.datacatalog.v1.GcsFilesetSpec getGcsFilesetSpec() { * * *
-   * Specification that applies to a Cloud Storage fileset. This is only valid
-   * on entries of type FILESET.
+   * Specification that applies to a Cloud Storage fileset. Valid only
+   * for entries with the `FILESET` type.
    * 
* * .google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6; @@ -1044,8 +1137,8 @@ public com.google.cloud.datacatalog.v1.GcsFilesetSpecOrBuilder getGcsFilesetSpec * * *
-   * Specification that applies to a BigQuery table. This is only valid on
-   * entries of type `TABLE`.
+   * Specification that applies to a BigQuery table. Valid only for
+   * entries with the `TABLE` type.
    * 
* * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12; @@ -1060,8 +1153,8 @@ public boolean hasBigqueryTableSpec() { * * *
-   * Specification that applies to a BigQuery table. This is only valid on
-   * entries of type `TABLE`.
+   * Specification that applies to a BigQuery table. Valid only for
+   * entries with the `TABLE` type.
    * 
* * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12; @@ -1079,8 +1172,8 @@ public com.google.cloud.datacatalog.v1.BigQueryTableSpec getBigqueryTableSpec() * * *
-   * Specification that applies to a BigQuery table. This is only valid on
-   * entries of type `TABLE`.
+   * Specification that applies to a BigQuery table. Valid only for
+   * entries with the `TABLE` type.
    * 
* * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12; @@ -1099,9 +1192,10 @@ public com.google.cloud.datacatalog.v1.BigQueryTableSpec getBigqueryTableSpec() * * *
-   * Specification for a group of BigQuery tables with name pattern
-   * `[prefix]YYYYMMDD`. Context:
-   * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
+   * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
+   * name pattern.
+   * For more information, see [Introduction to partitioned tables]
+   * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
    * 
* * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; @@ -1117,9 +1211,10 @@ public boolean hasBigqueryDateShardedSpec() { * * *
-   * Specification for a group of BigQuery tables with name pattern
-   * `[prefix]YYYYMMDD`. Context:
-   * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
+   * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
+   * name pattern.
+   * For more information, see [Introduction to partitioned tables]
+   * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
    * 
* * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; @@ -1138,9 +1233,10 @@ public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec getBigqueryDateSh * * *
-   * Specification for a group of BigQuery tables with name pattern
-   * `[prefix]YYYYMMDD`. Context:
-   * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
+   * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
+   * name pattern.
+   * For more information, see [Introduction to partitioned tables]
+   * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
    * 
* * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; @@ -1160,8 +1256,8 @@ public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec getBigqueryDateSh * * *
-   * Specification that applies to a table resource. Only valid
-   * for entries of `TABLE` type.
+   * Specification that applies to a table resource. Valid only
+   * for entries with the `TABLE` type.
    * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; @@ -1176,8 +1272,8 @@ public boolean hasDatabaseTableSpec() { * * *
-   * Specification that applies to a table resource. Only valid
-   * for entries of `TABLE` type.
+   * Specification that applies to a table resource. Valid only
+   * for entries with the `TABLE` type.
    * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; @@ -1195,8 +1291,8 @@ public com.google.cloud.datacatalog.v1.DatabaseTableSpec getDatabaseTableSpec() * * *
-   * Specification that applies to a table resource. Only valid
-   * for entries of `TABLE` type.
+   * Specification that applies to a table resource. Valid only
+   * for entries with the `TABLE` type.
    * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; @@ -1210,6 +1306,118 @@ public com.google.cloud.datacatalog.v1.DatabaseTableSpec getDatabaseTableSpec() return com.google.cloud.datacatalog.v1.DatabaseTableSpec.getDefaultInstance(); } + public static final int DATA_SOURCE_CONNECTION_SPEC_FIELD_NUMBER = 27; + /** + * + * + *
+   * Specification that applies to a data source connection. Valid only
+   * for entries with the `DATA_SOURCE_CONNECTION` type.
+   * 
+ * + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * + * + * @return Whether the dataSourceConnectionSpec field is set. + */ + @java.lang.Override + public boolean hasDataSourceConnectionSpec() { + return specCase_ == 27; + } + /** + * + * + *
+   * Specification that applies to a data source connection. Valid only
+   * for entries with the `DATA_SOURCE_CONNECTION` type.
+   * 
+ * + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * + * + * @return The dataSourceConnectionSpec. + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.DataSourceConnectionSpec getDataSourceConnectionSpec() { + if (specCase_ == 27) { + return (com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) spec_; + } + return com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.getDefaultInstance(); + } + /** + * + * + *
+   * Specification that applies to a data source connection. Valid only
+   * for entries with the `DATA_SOURCE_CONNECTION` type.
+   * 
+ * + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder + getDataSourceConnectionSpecOrBuilder() { + if (specCase_ == 27) { + return (com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) spec_; + } + return com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.getDefaultInstance(); + } + + public static final int ROUTINE_SPEC_FIELD_NUMBER = 28; + /** + * + * + *
+   * Specification that applies to a user-defined function or procedure. Valid
+   * only for entries with the `ROUTINE` type.
+   * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec routine_spec = 28; + * + * @return Whether the routineSpec field is set. + */ + @java.lang.Override + public boolean hasRoutineSpec() { + return specCase_ == 28; + } + /** + * + * + *
+   * Specification that applies to a user-defined function or procedure. Valid
+   * only for entries with the `ROUTINE` type.
+   * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec routine_spec = 28; + * + * @return The routineSpec. + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.RoutineSpec getRoutineSpec() { + if (specCase_ == 28) { + return (com.google.cloud.datacatalog.v1.RoutineSpec) spec_; + } + return com.google.cloud.datacatalog.v1.RoutineSpec.getDefaultInstance(); + } + /** + * + * + *
+   * Specification that applies to a user-defined function or procedure. Valid
+   * only for entries with the `ROUTINE` type.
+   * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec routine_spec = 28; + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.RoutineSpecOrBuilder getRoutineSpecOrBuilder() { + if (specCase_ == 28) { + return (com.google.cloud.datacatalog.v1.RoutineSpec) spec_; + } + return com.google.cloud.datacatalog.v1.RoutineSpec.getDefaultInstance(); + } + public static final int DISPLAY_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object displayName_; /** @@ -1380,10 +1588,11 @@ public com.google.cloud.datacatalog.v1.SchemaOrBuilder getSchemaOrBuilder() { * * *
-   * 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.
+   * Timestamps from the underlying resource, not from the Data Catalog
+   * entry.
+   * Output only when the entry has a type listed in the `EntryType` enum.
+   * For entries with `user_specified_type`, this field is optional and defaults
+   * to an empty timestamp.
    * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; @@ -1398,10 +1607,11 @@ public boolean hasSourceSystemTimestamps() { * * *
-   * 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.
+   * Timestamps from the underlying resource, not from the Data Catalog
+   * entry.
+   * Output only when the entry has a type listed in the `EntryType` enum.
+   * For entries with `user_specified_type`, this field is optional and defaults
+   * to an empty timestamp.
    * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; @@ -1418,10 +1628,11 @@ public com.google.cloud.datacatalog.v1.SystemTimestamps getSourceSystemTimestamp * * *
-   * 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.
+   * Timestamps from the underlying resource, not from the Data Catalog
+   * entry.
+   * Output only when the entry has a type listed in the `EntryType` enum.
+   * For entries with `user_specified_type`, this field is optional and defaults
+   * to an empty timestamp.
    * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; @@ -1432,6 +1643,170 @@ public com.google.cloud.datacatalog.v1.SystemTimestamps getSourceSystemTimestamp return getSourceSystemTimestamps(); } + public static final int USAGE_SIGNAL_FIELD_NUMBER = 13; + private com.google.cloud.datacatalog.v1.UsageSignal usageSignal_; + /** + * + * + *
+   * Output only. Resource usage statistics.
+   * 
+ * + * + * .google.cloud.datacatalog.v1.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. Resource usage statistics.
+   * 
+ * + * + * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The usageSignal. + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.UsageSignal getUsageSignal() { + return usageSignal_ == null + ? com.google.cloud.datacatalog.v1.UsageSignal.getDefaultInstance() + : usageSignal_; + } + /** + * + * + *
+   * Output only. Resource usage statistics.
+   * 
+ * + * + * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.UsageSignalOrBuilder getUsageSignalOrBuilder() { + return getUsageSignal(); + } + + public static final int LABELS_FIELD_NUMBER = 14; + + private static final class LabelsDefaultEntryHolder { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_Entry_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { + if (labels_ == null) { + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + } + return labels_; + } + + public int getLabelsCount() { + return internalGetLabels().getMap().size(); + } + /** + * + * + *
+   * Cloud labels attached to the entry.
+   * In Data Catalog, you can create and modify labels attached only to custom
+   * entries. Synced entries have unmodifiable labels that come from the source
+   * system.
+   * 
+ * + * map<string, string> labels = 14; + */ + @java.lang.Override + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + return internalGetLabels().getMap().containsKey(key); + } + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLabels() { + return getLabelsMap(); + } + /** + * + * + *
+   * Cloud labels attached to the entry.
+   * In Data Catalog, you can create and modify labels attached only to custom
+   * entries. Synced entries have unmodifiable labels that come from the source
+   * system.
+   * 
+ * + * map<string, string> labels = 14; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + /** + * + * + *
+   * Cloud labels attached to the entry.
+   * In Data Catalog, you can create and modify labels attached only to custom
+   * entries. Synced entries have unmodifiable labels that come from the source
+   * system.
+   * 
+ * + * map<string, string> labels = 14; + */ + @java.lang.Override + public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+   * Cloud labels attached to the entry.
+   * In Data Catalog, you can create and modify labels attached only to custom
+   * entries. Synced entries have unmodifiable labels that come from the source
+   * system.
+   * 
+ * + * map<string, string> labels = 14; + */ + @java.lang.Override + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetLabels().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + public static final int DATA_SOURCE_FIELD_NUMBER = 20; private com.google.cloud.datacatalog.v1.DataSource dataSource_; /** @@ -1527,6 +1902,11 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (typeSpecCase_ == 12) { output.writeMessage(12, (com.google.cloud.datacatalog.v1.BigQueryTableSpec) typeSpec_); } + if (usageSignal_ != null) { + output.writeMessage(13, getUsageSignal()); + } + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 14); if (typeSpecCase_ == 15) { output.writeMessage(15, (com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec) typeSpec_); } @@ -1545,6 +1925,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (specCase_ == 24) { output.writeMessage(24, (com.google.cloud.datacatalog.v1.DatabaseTableSpec) spec_); } + if (specCase_ == 27) { + output.writeMessage(27, (com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) spec_); + } + if (specCase_ == 28) { + output.writeMessage(28, (com.google.cloud.datacatalog.v1.RoutineSpec) spec_); + } if (!getFullyQualifiedNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 29, fullyQualifiedName_); } @@ -1591,6 +1977,19 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 12, (com.google.cloud.datacatalog.v1.BigQueryTableSpec) typeSpec_); } + if (usageSignal_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getUsageSignal()); + } + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, labels__); + } if (typeSpecCase_ == 15) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( @@ -1614,6 +2013,16 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 24, (com.google.cloud.datacatalog.v1.DatabaseTableSpec) spec_); } + if (specCase_ == 27) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 27, (com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) spec_); + } + if (specCase_ == 28) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 28, (com.google.cloud.datacatalog.v1.RoutineSpec) spec_); + } if (!getFullyQualifiedNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(29, fullyQualifiedName_); } @@ -1645,6 +2054,11 @@ 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 (!internalGetLabels().equals(other.internalGetLabels())) return false; if (hasDataSource() != other.hasDataSource()) return false; if (hasDataSource()) { if (!getDataSource().equals(other.getDataSource())) return false; @@ -1690,6 +2104,13 @@ public boolean equals(final java.lang.Object obj) { case 24: if (!getDatabaseTableSpec().equals(other.getDatabaseTableSpec())) return false; break; + case 27: + if (!getDataSourceConnectionSpec().equals(other.getDataSourceConnectionSpec())) + return false; + break; + case 28: + if (!getRoutineSpec().equals(other.getRoutineSpec())) return false; + break; case 0: default: } @@ -1722,6 +2143,14 @@ 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(); + } + if (!internalGetLabels().getMap().isEmpty()) { + hash = (37 * hash) + LABELS_FIELD_NUMBER; + hash = (53 * hash) + internalGetLabels().hashCode(); + } if (hasDataSource()) { hash = (37 * hash) + DATA_SOURCE_FIELD_NUMBER; hash = (53 * hash) + getDataSource().hashCode(); @@ -1771,6 +2200,14 @@ public int hashCode() { hash = (37 * hash) + DATABASE_TABLE_SPEC_FIELD_NUMBER; hash = (53 * hash) + getDatabaseTableSpec().hashCode(); break; + case 27: + hash = (37 * hash) + DATA_SOURCE_CONNECTION_SPEC_FIELD_NUMBER; + hash = (53 * hash) + getDataSourceConnectionSpec().hashCode(); + break; + case 28: + hash = (37 * hash) + ROUTINE_SPEC_FIELD_NUMBER; + hash = (53 * hash) + getRoutineSpec().hashCode(); + break; case 0: default: } @@ -1877,14 +2314,14 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Entry Metadata.
-   * A Data Catalog Entry resource represents another resource in Google
+   * Entry metadata.
+   * A Data Catalog entry represents another resource in Google
    * Cloud Platform (such as a BigQuery dataset or a Pub/Sub topic) or
-   * outside of Google Cloud Platform. Clients can use the `linked_resource` field
-   * in the Entry resource to refer to the original resource ID of the source
+   * outside of it. You can use the `linked_resource` field
+   * in the entry resource to refer to the original resource ID of the source
    * system.
-   * An Entry resource contains resource details, such as its schema. An Entry can
-   * also be used to attach flexible metadata, such as a
+   * An entry resource contains resource details, for example, its schema.
+   * Additionally, you can attach flexible metadata to an entry in the form of a
    * [Tag][google.cloud.datacatalog.v1.Tag].
    * 
* @@ -1899,6 +2336,26 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { .internal_static_google_cloud_datacatalog_v1_Entry_descriptor; } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 14: + return internalGetLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + switch (number) { + case 14: + return internalGetMutableLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -1948,6 +2405,13 @@ public Builder clear() { sourceSystemTimestamps_ = null; sourceSystemTimestampsBuilder_ = null; } + if (usageSignalBuilder_ == null) { + usageSignal_ = null; + } else { + usageSignal_ = null; + usageSignalBuilder_ = null; + } + internalGetMutableLabels().clear(); if (dataSourceBuilder_ == null) { dataSource_ = null; } else { @@ -1989,6 +2453,7 @@ public com.google.cloud.datacatalog.v1.Entry build() { public com.google.cloud.datacatalog.v1.Entry buildPartial() { com.google.cloud.datacatalog.v1.Entry result = new com.google.cloud.datacatalog.v1.Entry(this); + int from_bitField0_ = bitField0_; result.name_ = name_; result.linkedResource_ = linkedResource_; result.fullyQualifiedName_ = fullyQualifiedName_; @@ -2032,6 +2497,20 @@ public com.google.cloud.datacatalog.v1.Entry buildPartial() { result.spec_ = databaseTableSpecBuilder_.build(); } } + if (specCase_ == 27) { + if (dataSourceConnectionSpecBuilder_ == null) { + result.spec_ = spec_; + } else { + result.spec_ = dataSourceConnectionSpecBuilder_.build(); + } + } + if (specCase_ == 28) { + if (routineSpecBuilder_ == null) { + result.spec_ = spec_; + } else { + result.spec_ = routineSpecBuilder_.build(); + } + } result.displayName_ = displayName_; result.description_ = description_; if (schemaBuilder_ == null) { @@ -2044,6 +2523,13 @@ public com.google.cloud.datacatalog.v1.Entry buildPartial() { } else { result.sourceSystemTimestamps_ = sourceSystemTimestampsBuilder_.build(); } + if (usageSignalBuilder_ == null) { + result.usageSignal_ = usageSignal_; + } else { + result.usageSignal_ = usageSignalBuilder_.build(); + } + result.labels_ = internalGetLabels(); + result.labels_.makeImmutable(); if (dataSourceBuilder_ == null) { result.dataSource_ = dataSource_; } else { @@ -2128,6 +2614,10 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.Entry other) { if (other.hasSourceSystemTimestamps()) { mergeSourceSystemTimestamps(other.getSourceSystemTimestamps()); } + if (other.hasUsageSignal()) { + mergeUsageSignal(other.getUsageSignal()); + } + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); if (other.hasDataSource()) { mergeDataSource(other.getDataSource()); } @@ -2194,6 +2684,16 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.Entry other) { mergeDatabaseTableSpec(other.getDatabaseTableSpec()); break; } + case DATA_SOURCE_CONNECTION_SPEC: + { + mergeDataSourceConnectionSpec(other.getDataSourceConnectionSpec()); + break; + } + case ROUTINE_SPEC: + { + mergeRoutineSpec(other.getRoutineSpec()); + break; + } case SPEC_NOT_SET: { break; @@ -2284,14 +2784,14 @@ public Builder clearSpec() { return this; } + private int bitField0_; + private java.lang.Object name_ = ""; /** * * *
      * Output only. The resource name of an entry in URL format.
-     * Example:
-     * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}`
      * Note: The entry itself and its child resources might not be
      * stored in the location specified in its name.
      * 
@@ -2318,8 +2818,6 @@ public java.lang.String getName() { * *
      * Output only. The resource name of an entry in URL format.
-     * Example:
-     * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}`
      * Note: The entry itself and its child resources might not be
      * stored in the location specified in its name.
      * 
@@ -2346,8 +2844,6 @@ public com.google.protobuf.ByteString getNameBytes() { * *
      * Output only. The resource name of an entry in URL format.
-     * Example:
-     * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}`
      * Note: The entry itself and its child resources might not be
      * stored in the location specified in its name.
      * 
@@ -2373,8 +2869,6 @@ public Builder setName(java.lang.String value) { * *
      * Output only. The resource name of an entry in URL format.
-     * Example:
-     * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}`
      * Note: The entry itself and its child resources might not be
      * stored in the location specified in its name.
      * 
@@ -2396,8 +2890,6 @@ public Builder clearName() { * *
      * Output only. The resource name of an entry in URL format.
-     * Example:
-     * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}`
      * Note: The entry itself and its child resources might not be
      * stored in the location specified in its name.
      * 
@@ -2426,12 +2918,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * *
      * The resource this metadata entry refers to.
-     * For Google Cloud Platform resources, `linked_resource` is the [full name of
-     * the
-     * resource](https://cloud.google.com/apis/design/resource_names#full_resource_name).
+     * For Google Cloud Platform resources, `linked_resource` is the
+     * [Full Resource Name]
+     * (https://cloud.google.com/apis/design/resource_names#full_resource_name).
      * For example, the `linked_resource` for a table resource from BigQuery is:
-     * `//bigquery.googleapis.com/projects/{projectId}/datasets/{datasetId}/tables/{tableId}`
-     * Output only when entry is one of the types in the `EntryType` enum.
+     * `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
+     * Output only when the entry is one of the types in the `EntryType` enum.
      * For entries with a `user_specified_type`, this field is optional and
      * defaults to an empty string.
      * The resource string must contain only letters (a-z, A-Z), numbers (0-9),
@@ -2460,12 +2952,12 @@ public java.lang.String getLinkedResource() {
      *
      * 
      * The resource this metadata entry refers to.
-     * For Google Cloud Platform resources, `linked_resource` is the [full name of
-     * the
-     * resource](https://cloud.google.com/apis/design/resource_names#full_resource_name).
+     * For Google Cloud Platform resources, `linked_resource` is the
+     * [Full Resource Name]
+     * (https://cloud.google.com/apis/design/resource_names#full_resource_name).
      * For example, the `linked_resource` for a table resource from BigQuery is:
-     * `//bigquery.googleapis.com/projects/{projectId}/datasets/{datasetId}/tables/{tableId}`
-     * Output only when entry is one of the types in the `EntryType` enum.
+     * `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
+     * Output only when the entry is one of the types in the `EntryType` enum.
      * For entries with a `user_specified_type`, this field is optional and
      * defaults to an empty string.
      * The resource string must contain only letters (a-z, A-Z), numbers (0-9),
@@ -2494,12 +2986,12 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() {
      *
      * 
      * The resource this metadata entry refers to.
-     * For Google Cloud Platform resources, `linked_resource` is the [full name of
-     * the
-     * resource](https://cloud.google.com/apis/design/resource_names#full_resource_name).
+     * For Google Cloud Platform resources, `linked_resource` is the
+     * [Full Resource Name]
+     * (https://cloud.google.com/apis/design/resource_names#full_resource_name).
      * For example, the `linked_resource` for a table resource from BigQuery is:
-     * `//bigquery.googleapis.com/projects/{projectId}/datasets/{datasetId}/tables/{tableId}`
-     * Output only when entry is one of the types in the `EntryType` enum.
+     * `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
+     * Output only when the entry is one of the types in the `EntryType` enum.
      * For entries with a `user_specified_type`, this field is optional and
      * defaults to an empty string.
      * The resource string must contain only letters (a-z, A-Z), numbers (0-9),
@@ -2527,12 +3019,12 @@ public Builder setLinkedResource(java.lang.String value) {
      *
      * 
      * The resource this metadata entry refers to.
-     * For Google Cloud Platform resources, `linked_resource` is the [full name of
-     * the
-     * resource](https://cloud.google.com/apis/design/resource_names#full_resource_name).
+     * For Google Cloud Platform resources, `linked_resource` is the
+     * [Full Resource Name]
+     * (https://cloud.google.com/apis/design/resource_names#full_resource_name).
      * For example, the `linked_resource` for a table resource from BigQuery is:
-     * `//bigquery.googleapis.com/projects/{projectId}/datasets/{datasetId}/tables/{tableId}`
-     * Output only when entry is one of the types in the `EntryType` enum.
+     * `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
+     * Output only when the entry is one of the types in the `EntryType` enum.
      * For entries with a `user_specified_type`, this field is optional and
      * defaults to an empty string.
      * The resource string must contain only letters (a-z, A-Z), numbers (0-9),
@@ -2556,12 +3048,12 @@ public Builder clearLinkedResource() {
      *
      * 
      * The resource this metadata entry refers to.
-     * For Google Cloud Platform resources, `linked_resource` is the [full name of
-     * the
-     * resource](https://cloud.google.com/apis/design/resource_names#full_resource_name).
+     * For Google Cloud Platform resources, `linked_resource` is the
+     * [Full Resource Name]
+     * (https://cloud.google.com/apis/design/resource_names#full_resource_name).
      * For example, the `linked_resource` for a table resource from BigQuery is:
-     * `//bigquery.googleapis.com/projects/{projectId}/datasets/{datasetId}/tables/{tableId}`
-     * Output only when entry is one of the types in the `EntryType` enum.
+     * `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
+     * Output only when the entry is one of the types in the `EntryType` enum.
      * For entries with a `user_specified_type`, this field is optional and
      * defaults to an empty string.
      * The resource string must contain only letters (a-z, A-Z), numbers (0-9),
@@ -2600,7 +3092,7 @@ public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) {
      * * For regionalized resources:
      *   `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
      * Example for a DPMS table:
-     * `dataproc_metastore:project_id.location_id.instance_id.database_id.table_id`
+     * `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}`
      * 
* * string fully_qualified_name = 29; @@ -2631,7 +3123,7 @@ public java.lang.String getFullyQualifiedName() { * * For regionalized resources: * `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` * Example for a DPMS table: - * `dataproc_metastore:project_id.location_id.instance_id.database_id.table_id` + * `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}` *
* * string fully_qualified_name = 29; @@ -2662,7 +3154,7 @@ public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { * * For regionalized resources: * `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` * Example for a DPMS table: - * `dataproc_metastore:project_id.location_id.instance_id.database_id.table_id` + * `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}` *
* * string fully_qualified_name = 29; @@ -2692,7 +3184,7 @@ public Builder setFullyQualifiedName(java.lang.String value) { * * For regionalized resources: * `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` * Example for a DPMS table: - * `dataproc_metastore:project_id.location_id.instance_id.database_id.table_id` + * `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}` *
* * string fully_qualified_name = 29; @@ -2718,7 +3210,7 @@ public Builder clearFullyQualifiedName() { * * For regionalized resources: * `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` * Example for a DPMS table: - * `dataproc_metastore:project_id.location_id.instance_id.database_id.table_id` + * `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}` *
* * string fully_qualified_name = 29; @@ -2742,7 +3234,9 @@ public Builder setFullyQualifiedNameBytes(com.google.protobuf.ByteString value) * *
      * The type of the entry.
-     * Only used for Entries with types in the EntryType enum.
+     * 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`.
      * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; @@ -2758,7 +3252,9 @@ public boolean hasType() { * *
      * The type of the entry.
-     * Only used for Entries with types in the EntryType enum.
+     * 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`.
      * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; @@ -2777,7 +3273,9 @@ public int getTypeValue() { * *
      * The type of the entry.
-     * Only used for Entries with types in the EntryType enum.
+     * 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`.
      * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; @@ -2796,7 +3294,9 @@ public Builder setTypeValue(int value) { * *
      * The type of the entry.
-     * Only used for Entries with types in the EntryType enum.
+     * 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`.
      * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; @@ -2818,7 +3318,9 @@ public com.google.cloud.datacatalog.v1.EntryType getType() { * *
      * The type of the entry.
-     * Only used for Entries with types in the EntryType enum.
+     * 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`.
      * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; @@ -2840,7 +3342,9 @@ public Builder setType(com.google.cloud.datacatalog.v1.EntryType value) { * *
      * The type of the entry.
-     * Only used for Entries with types in the EntryType enum.
+     * 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`.
      * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; @@ -2860,15 +3364,16 @@ public Builder clearType() { * * *
-     * Entry type if it does not fit any of the input-allowed values listed in
-     * `EntryType` enum above. When creating an entry, users should check the
-     * enum values first, if nothing matches the entry to be created, then
-     * provide a custom value, for example "my_special_type".
-     * `user_specified_type` strings must begin with a letter or underscore and
-     * can only contain letters, numbers, and underscores; are case insensitive;
-     * must be at least 1 character and at most 64 characters long.
-     * Currently, only FILESET enum value is allowed. All other entries created
-     * through Data Catalog must use `user_specified_type`.
+     * Custom entry type that doesn't match any of the values allowed for input
+     * and listed in the `EntryType` enum.
+     * When creating an entry, first check the type values in the enum.
+     * If there are no appropriate types for the new entry,
+     * provide a custom value, for example, `my_special_type`.
+     * The `user_specified_type` string has the following limitations:
+     * * Is case insensitive.
+     * * Must begin with a letter or underscore.
+     * * Can only contain letters, numbers, and underscores.
+     * * Must be at least 1 character and at most 64 characters long.
      * 
* * string user_specified_type = 16; @@ -2883,15 +3388,16 @@ public boolean hasUserSpecifiedType() { * * *
-     * Entry type if it does not fit any of the input-allowed values listed in
-     * `EntryType` enum above. When creating an entry, users should check the
-     * enum values first, if nothing matches the entry to be created, then
-     * provide a custom value, for example "my_special_type".
-     * `user_specified_type` strings must begin with a letter or underscore and
-     * can only contain letters, numbers, and underscores; are case insensitive;
-     * must be at least 1 character and at most 64 characters long.
-     * Currently, only FILESET enum value is allowed. All other entries created
-     * through Data Catalog must use `user_specified_type`.
+     * Custom entry type that doesn't match any of the values allowed for input
+     * and listed in the `EntryType` enum.
+     * When creating an entry, first check the type values in the enum.
+     * If there are no appropriate types for the new entry,
+     * provide a custom value, for example, `my_special_type`.
+     * The `user_specified_type` string has the following limitations:
+     * * Is case insensitive.
+     * * Must begin with a letter or underscore.
+     * * Can only contain letters, numbers, and underscores.
+     * * Must be at least 1 character and at most 64 characters long.
      * 
* * string user_specified_type = 16; @@ -2919,15 +3425,16 @@ public java.lang.String getUserSpecifiedType() { * * *
-     * Entry type if it does not fit any of the input-allowed values listed in
-     * `EntryType` enum above. When creating an entry, users should check the
-     * enum values first, if nothing matches the entry to be created, then
-     * provide a custom value, for example "my_special_type".
-     * `user_specified_type` strings must begin with a letter or underscore and
-     * can only contain letters, numbers, and underscores; are case insensitive;
-     * must be at least 1 character and at most 64 characters long.
-     * Currently, only FILESET enum value is allowed. All other entries created
-     * through Data Catalog must use `user_specified_type`.
+     * Custom entry type that doesn't match any of the values allowed for input
+     * and listed in the `EntryType` enum.
+     * When creating an entry, first check the type values in the enum.
+     * If there are no appropriate types for the new entry,
+     * provide a custom value, for example, `my_special_type`.
+     * The `user_specified_type` string has the following limitations:
+     * * Is case insensitive.
+     * * Must begin with a letter or underscore.
+     * * Can only contain letters, numbers, and underscores.
+     * * Must be at least 1 character and at most 64 characters long.
      * 
* * string user_specified_type = 16; @@ -2955,15 +3462,16 @@ public com.google.protobuf.ByteString getUserSpecifiedTypeBytes() { * * *
-     * Entry type if it does not fit any of the input-allowed values listed in
-     * `EntryType` enum above. When creating an entry, users should check the
-     * enum values first, if nothing matches the entry to be created, then
-     * provide a custom value, for example "my_special_type".
-     * `user_specified_type` strings must begin with a letter or underscore and
-     * can only contain letters, numbers, and underscores; are case insensitive;
-     * must be at least 1 character and at most 64 characters long.
-     * Currently, only FILESET enum value is allowed. All other entries created
-     * through Data Catalog must use `user_specified_type`.
+     * Custom entry type that doesn't match any of the values allowed for input
+     * and listed in the `EntryType` enum.
+     * When creating an entry, first check the type values in the enum.
+     * If there are no appropriate types for the new entry,
+     * provide a custom value, for example, `my_special_type`.
+     * The `user_specified_type` string has the following limitations:
+     * * Is case insensitive.
+     * * Must begin with a letter or underscore.
+     * * Can only contain letters, numbers, and underscores.
+     * * Must be at least 1 character and at most 64 characters long.
      * 
* * string user_specified_type = 16; @@ -2984,15 +3492,16 @@ public Builder setUserSpecifiedType(java.lang.String value) { * * *
-     * Entry type if it does not fit any of the input-allowed values listed in
-     * `EntryType` enum above. When creating an entry, users should check the
-     * enum values first, if nothing matches the entry to be created, then
-     * provide a custom value, for example "my_special_type".
-     * `user_specified_type` strings must begin with a letter or underscore and
-     * can only contain letters, numbers, and underscores; are case insensitive;
-     * must be at least 1 character and at most 64 characters long.
-     * Currently, only FILESET enum value is allowed. All other entries created
-     * through Data Catalog must use `user_specified_type`.
+     * Custom entry type that doesn't match any of the values allowed for input
+     * and listed in the `EntryType` enum.
+     * When creating an entry, first check the type values in the enum.
+     * If there are no appropriate types for the new entry,
+     * provide a custom value, for example, `my_special_type`.
+     * The `user_specified_type` string has the following limitations:
+     * * Is case insensitive.
+     * * Must begin with a letter or underscore.
+     * * Can only contain letters, numbers, and underscores.
+     * * Must be at least 1 character and at most 64 characters long.
      * 
* * string user_specified_type = 16; @@ -3011,15 +3520,16 @@ public Builder clearUserSpecifiedType() { * * *
-     * Entry type if it does not fit any of the input-allowed values listed in
-     * `EntryType` enum above. When creating an entry, users should check the
-     * enum values first, if nothing matches the entry to be created, then
-     * provide a custom value, for example "my_special_type".
-     * `user_specified_type` strings must begin with a letter or underscore and
-     * can only contain letters, numbers, and underscores; are case insensitive;
-     * must be at least 1 character and at most 64 characters long.
-     * Currently, only FILESET enum value is allowed. All other entries created
-     * through Data Catalog must use `user_specified_type`.
+     * Custom entry type that doesn't match any of the values allowed for input
+     * and listed in the `EntryType` enum.
+     * When creating an entry, first check the type values in the enum.
+     * If there are no appropriate types for the new entry,
+     * provide a custom value, for example, `my_special_type`.
+     * The `user_specified_type` string has the following limitations:
+     * * Is case insensitive.
+     * * Must begin with a letter or underscore.
+     * * Can only contain letters, numbers, and underscores.
+     * * Must be at least 1 character and at most 64 characters long.
      * 
* * string user_specified_type = 16; @@ -3042,8 +3552,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. Indicates the entry's source system that Data Catalog
+     * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
      * 
* * @@ -3060,8 +3570,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. Indicates the entry's source system that Data Catalog
+     * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
      * 
* * @@ -3081,8 +3591,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. Indicates the entry's source system that Data Catalog
+     * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
      * 
* * @@ -3102,8 +3612,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. Indicates the entry's source system that Data Catalog
+     * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
      * 
* * @@ -3128,8 +3638,8 @@ public com.google.cloud.datacatalog.v1.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. Indicates the entry's source system that Data Catalog
+     * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
      * 
* * @@ -3152,8 +3662,8 @@ public Builder setIntegratedSystem(com.google.cloud.datacatalog.v1.IntegratedSys * * *
-     * Output only. This field indicates the entry's source system that Data Catalog
-     * integrates with, such as BigQuery or Pub/Sub.
+     * Output only. Indicates the entry's source system that Data Catalog
+     * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
      * 
* * @@ -3175,11 +3685,13 @@ public Builder clearIntegratedSystem() { * * *
-     * This field indicates the entry's source system that Data Catalog does not
-     * integrate with. `user_specified_system` strings must begin with a letter
-     * or underscore and can only contain letters, numbers, and underscores; are
-     * case insensitive; must be at least 1 character and at most 64 characters
-     * long.
+     * Indicates the entry's source system that Data Catalog doesn't
+     * automatically integrate with.
+     * The `user_specified_system` string has the following limitations:
+     * * Is case insensitive.
+     * * Must begin with a letter or underscore.
+     * * Can only contain letters, numbers, and underscores.
+     * * Must be at least 1 character and at most 64 characters long.
      * 
* * string user_specified_system = 18; @@ -3194,11 +3706,13 @@ public boolean hasUserSpecifiedSystem() { * * *
-     * This field indicates the entry's source system that Data Catalog does not
-     * integrate with. `user_specified_system` strings must begin with a letter
-     * or underscore and can only contain letters, numbers, and underscores; are
-     * case insensitive; must be at least 1 character and at most 64 characters
-     * long.
+     * Indicates the entry's source system that Data Catalog doesn't
+     * automatically integrate with.
+     * The `user_specified_system` string has the following limitations:
+     * * Is case insensitive.
+     * * Must begin with a letter or underscore.
+     * * Can only contain letters, numbers, and underscores.
+     * * Must be at least 1 character and at most 64 characters long.
      * 
* * string user_specified_system = 18; @@ -3226,11 +3740,13 @@ public java.lang.String getUserSpecifiedSystem() { * * *
-     * This field indicates the entry's source system that Data Catalog does not
-     * integrate with. `user_specified_system` strings must begin with a letter
-     * or underscore and can only contain letters, numbers, and underscores; are
-     * case insensitive; must be at least 1 character and at most 64 characters
-     * long.
+     * Indicates the entry's source system that Data Catalog doesn't
+     * automatically integrate with.
+     * The `user_specified_system` string has the following limitations:
+     * * Is case insensitive.
+     * * Must begin with a letter or underscore.
+     * * Can only contain letters, numbers, and underscores.
+     * * Must be at least 1 character and at most 64 characters long.
      * 
* * string user_specified_system = 18; @@ -3258,11 +3774,13 @@ public com.google.protobuf.ByteString getUserSpecifiedSystemBytes() { * * *
-     * This field indicates the entry's source system that Data Catalog does not
-     * integrate with. `user_specified_system` strings must begin with a letter
-     * or underscore and can only contain letters, numbers, and underscores; are
-     * case insensitive; must be at least 1 character and at most 64 characters
-     * long.
+     * Indicates the entry's source system that Data Catalog doesn't
+     * automatically integrate with.
+     * The `user_specified_system` string has the following limitations:
+     * * Is case insensitive.
+     * * Must begin with a letter or underscore.
+     * * Can only contain letters, numbers, and underscores.
+     * * Must be at least 1 character and at most 64 characters long.
      * 
* * string user_specified_system = 18; @@ -3283,11 +3801,13 @@ public Builder setUserSpecifiedSystem(java.lang.String value) { * * *
-     * This field indicates the entry's source system that Data Catalog does not
-     * integrate with. `user_specified_system` strings must begin with a letter
-     * or underscore and can only contain letters, numbers, and underscores; are
-     * case insensitive; must be at least 1 character and at most 64 characters
-     * long.
+     * Indicates the entry's source system that Data Catalog doesn't
+     * automatically integrate with.
+     * The `user_specified_system` string has the following limitations:
+     * * Is case insensitive.
+     * * Must begin with a letter or underscore.
+     * * Can only contain letters, numbers, and underscores.
+     * * Must be at least 1 character and at most 64 characters long.
      * 
* * string user_specified_system = 18; @@ -3306,11 +3826,13 @@ public Builder clearUserSpecifiedSystem() { * * *
-     * This field indicates the entry's source system that Data Catalog does not
-     * integrate with. `user_specified_system` strings must begin with a letter
-     * or underscore and can only contain letters, numbers, and underscores; are
-     * case insensitive; must be at least 1 character and at most 64 characters
-     * long.
+     * Indicates the entry's source system that Data Catalog doesn't
+     * automatically integrate with.
+     * The `user_specified_system` string has the following limitations:
+     * * Is case insensitive.
+     * * Must begin with a letter or underscore.
+     * * Can only contain letters, numbers, and underscores.
+     * * Must be at least 1 character and at most 64 characters long.
      * 
* * string user_specified_system = 18; @@ -3338,8 +3860,8 @@ public Builder setUserSpecifiedSystemBytes(com.google.protobuf.ByteString value) * * *
-     * Specification that applies to a Cloud Storage fileset. This is only valid
-     * on entries of type FILESET.
+     * Specification that applies to a Cloud Storage fileset. Valid only
+     * for entries with the `FILESET` type.
      * 
* * .google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6; @@ -3354,8 +3876,8 @@ public boolean hasGcsFilesetSpec() { * * *
-     * Specification that applies to a Cloud Storage fileset. This is only valid
-     * on entries of type FILESET.
+     * Specification that applies to a Cloud Storage fileset. Valid only
+     * for entries with the `FILESET` type.
      * 
* * .google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6; @@ -3380,8 +3902,8 @@ public com.google.cloud.datacatalog.v1.GcsFilesetSpec getGcsFilesetSpec() { * * *
-     * Specification that applies to a Cloud Storage fileset. This is only valid
-     * on entries of type FILESET.
+     * Specification that applies to a Cloud Storage fileset. Valid only
+     * for entries with the `FILESET` type.
      * 
* * .google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6; @@ -3403,8 +3925,8 @@ public Builder setGcsFilesetSpec(com.google.cloud.datacatalog.v1.GcsFilesetSpec * * *
-     * Specification that applies to a Cloud Storage fileset. This is only valid
-     * on entries of type FILESET.
+     * Specification that applies to a Cloud Storage fileset. Valid only
+     * for entries with the `FILESET` type.
      * 
* * .google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6; @@ -3424,8 +3946,8 @@ public Builder setGcsFilesetSpec( * * *
-     * Specification that applies to a Cloud Storage fileset. This is only valid
-     * on entries of type FILESET.
+     * Specification that applies to a Cloud Storage fileset. Valid only
+     * for entries with the `FILESET` type.
      * 
* * .google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6; @@ -3456,8 +3978,8 @@ public Builder mergeGcsFilesetSpec(com.google.cloud.datacatalog.v1.GcsFilesetSpe * * *
-     * Specification that applies to a Cloud Storage fileset. This is only valid
-     * on entries of type FILESET.
+     * Specification that applies to a Cloud Storage fileset. Valid only
+     * for entries with the `FILESET` type.
      * 
* * .google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6; @@ -3482,8 +4004,8 @@ public Builder clearGcsFilesetSpec() { * * *
-     * Specification that applies to a Cloud Storage fileset. This is only valid
-     * on entries of type FILESET.
+     * Specification that applies to a Cloud Storage fileset. Valid only
+     * for entries with the `FILESET` type.
      * 
* * .google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6; @@ -3495,8 +4017,8 @@ public com.google.cloud.datacatalog.v1.GcsFilesetSpec.Builder getGcsFilesetSpecB * * *
-     * Specification that applies to a Cloud Storage fileset. This is only valid
-     * on entries of type FILESET.
+     * Specification that applies to a Cloud Storage fileset. Valid only
+     * for entries with the `FILESET` type.
      * 
* * .google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6; @@ -3516,8 +4038,8 @@ public com.google.cloud.datacatalog.v1.GcsFilesetSpecOrBuilder getGcsFilesetSpec * * *
-     * Specification that applies to a Cloud Storage fileset. This is only valid
-     * on entries of type FILESET.
+     * Specification that applies to a Cloud Storage fileset. Valid only
+     * for entries with the `FILESET` type.
      * 
* * .google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6; @@ -3556,8 +4078,8 @@ public com.google.cloud.datacatalog.v1.GcsFilesetSpecOrBuilder getGcsFilesetSpec * * *
-     * Specification that applies to a BigQuery table. This is only valid on
-     * entries of type `TABLE`.
+     * Specification that applies to a BigQuery table. Valid only for
+     * entries with the `TABLE` type.
      * 
* * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12; @@ -3572,8 +4094,8 @@ public boolean hasBigqueryTableSpec() { * * *
-     * Specification that applies to a BigQuery table. This is only valid on
-     * entries of type `TABLE`.
+     * Specification that applies to a BigQuery table. Valid only for
+     * entries with the `TABLE` type.
      * 
* * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12; @@ -3598,8 +4120,8 @@ public com.google.cloud.datacatalog.v1.BigQueryTableSpec getBigqueryTableSpec() * * *
-     * Specification that applies to a BigQuery table. This is only valid on
-     * entries of type `TABLE`.
+     * Specification that applies to a BigQuery table. Valid only for
+     * entries with the `TABLE` type.
      * 
* * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12; @@ -3621,8 +4143,8 @@ public Builder setBigqueryTableSpec(com.google.cloud.datacatalog.v1.BigQueryTabl * * *
-     * Specification that applies to a BigQuery table. This is only valid on
-     * entries of type `TABLE`.
+     * Specification that applies to a BigQuery table. Valid only for
+     * entries with the `TABLE` type.
      * 
* * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12; @@ -3642,8 +4164,8 @@ public Builder setBigqueryTableSpec( * * *
-     * Specification that applies to a BigQuery table. This is only valid on
-     * entries of type `TABLE`.
+     * Specification that applies to a BigQuery table. Valid only for
+     * entries with the `TABLE` type.
      * 
* * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12; @@ -3675,8 +4197,8 @@ public Builder mergeBigqueryTableSpec(com.google.cloud.datacatalog.v1.BigQueryTa * * *
-     * Specification that applies to a BigQuery table. This is only valid on
-     * entries of type `TABLE`.
+     * Specification that applies to a BigQuery table. Valid only for
+     * entries with the `TABLE` type.
      * 
* * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12; @@ -3701,8 +4223,8 @@ public Builder clearBigqueryTableSpec() { * * *
-     * Specification that applies to a BigQuery table. This is only valid on
-     * entries of type `TABLE`.
+     * Specification that applies to a BigQuery table. Valid only for
+     * entries with the `TABLE` type.
      * 
* * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12; @@ -3714,8 +4236,8 @@ public com.google.cloud.datacatalog.v1.BigQueryTableSpec.Builder getBigqueryTabl * * *
-     * Specification that applies to a BigQuery table. This is only valid on
-     * entries of type `TABLE`.
+     * Specification that applies to a BigQuery table. Valid only for
+     * entries with the `TABLE` type.
      * 
* * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12; @@ -3736,8 +4258,8 @@ public com.google.cloud.datacatalog.v1.BigQueryTableSpec.Builder getBigqueryTabl * * *
-     * Specification that applies to a BigQuery table. This is only valid on
-     * entries of type `TABLE`.
+     * Specification that applies to a BigQuery table. Valid only for
+     * entries with the `TABLE` type.
      * 
* * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12; @@ -3776,9 +4298,10 @@ public com.google.cloud.datacatalog.v1.BigQueryTableSpec.Builder getBigqueryTabl * * *
-     * Specification for a group of BigQuery tables with name pattern
-     * `[prefix]YYYYMMDD`. Context:
-     * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
+     * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
+     * name pattern.
+     * For more information, see [Introduction to partitioned tables]
+     * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; @@ -3794,9 +4317,10 @@ public boolean hasBigqueryDateShardedSpec() { * * *
-     * Specification for a group of BigQuery tables with name pattern
-     * `[prefix]YYYYMMDD`. Context:
-     * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
+     * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
+     * name pattern.
+     * For more information, see [Introduction to partitioned tables]
+     * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; @@ -3822,9 +4346,10 @@ public com.google.cloud.datacatalog.v1.BigQueryDateShardedSpec getBigqueryDateSh * * *
-     * Specification for a group of BigQuery tables with name pattern
-     * `[prefix]YYYYMMDD`. Context:
-     * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
+     * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
+     * name pattern.
+     * For more information, see [Introduction to partitioned tables]
+     * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; @@ -3848,9 +4373,10 @@ public Builder setBigqueryDateShardedSpec( * * *
-     * Specification for a group of BigQuery tables with name pattern
-     * `[prefix]YYYYMMDD`. Context:
-     * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
+     * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
+     * name pattern.
+     * For more information, see [Introduction to partitioned tables]
+     * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; @@ -3871,9 +4397,10 @@ public Builder setBigqueryDateShardedSpec( * * *
-     * Specification for a group of BigQuery tables with name pattern
-     * `[prefix]YYYYMMDD`. Context:
-     * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
+     * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
+     * name pattern.
+     * For more information, see [Introduction to partitioned tables]
+     * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; @@ -3907,9 +4434,10 @@ public Builder mergeBigqueryDateShardedSpec( * * *
-     * Specification for a group of BigQuery tables with name pattern
-     * `[prefix]YYYYMMDD`. Context:
-     * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
+     * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
+     * name pattern.
+     * For more information, see [Introduction to partitioned tables]
+     * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; @@ -3935,9 +4463,10 @@ public Builder clearBigqueryDateShardedSpec() { * * *
-     * Specification for a group of BigQuery tables with name pattern
-     * `[prefix]YYYYMMDD`. Context:
-     * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
+     * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
+     * name pattern.
+     * For more information, see [Introduction to partitioned tables]
+     * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; @@ -3951,9 +4480,10 @@ public Builder clearBigqueryDateShardedSpec() { * * *
-     * Specification for a group of BigQuery tables with name pattern
-     * `[prefix]YYYYMMDD`. Context:
-     * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
+     * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
+     * name pattern.
+     * For more information, see [Introduction to partitioned tables]
+     * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; @@ -3975,9 +4505,10 @@ public Builder clearBigqueryDateShardedSpec() { * * *
-     * Specification for a group of BigQuery tables with name pattern
-     * `[prefix]YYYYMMDD`. Context:
-     * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
+     * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
+     * name pattern.
+     * For more information, see [Introduction to partitioned tables]
+     * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
      * 
* * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; @@ -4017,8 +4548,8 @@ public Builder clearBigqueryDateShardedSpec() { * * *
-     * Specification that applies to a table resource. Only valid
-     * for entries of `TABLE` type.
+     * Specification that applies to a table resource. Valid only
+     * for entries with the `TABLE` type.
      * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; @@ -4033,8 +4564,8 @@ public boolean hasDatabaseTableSpec() { * * *
-     * Specification that applies to a table resource. Only valid
-     * for entries of `TABLE` type.
+     * Specification that applies to a table resource. Valid only
+     * for entries with the `TABLE` type.
      * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; @@ -4059,8 +4590,8 @@ public com.google.cloud.datacatalog.v1.DatabaseTableSpec getDatabaseTableSpec() * * *
-     * Specification that applies to a table resource. Only valid
-     * for entries of `TABLE` type.
+     * Specification that applies to a table resource. Valid only
+     * for entries with the `TABLE` type.
      * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; @@ -4082,8 +4613,8 @@ public Builder setDatabaseTableSpec(com.google.cloud.datacatalog.v1.DatabaseTabl * * *
-     * Specification that applies to a table resource. Only valid
-     * for entries of `TABLE` type.
+     * Specification that applies to a table resource. Valid only
+     * for entries with the `TABLE` type.
      * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; @@ -4103,8 +4634,8 @@ public Builder setDatabaseTableSpec( * * *
-     * Specification that applies to a table resource. Only valid
-     * for entries of `TABLE` type.
+     * Specification that applies to a table resource. Valid only
+     * for entries with the `TABLE` type.
      * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; @@ -4135,8 +4666,8 @@ public Builder mergeDatabaseTableSpec(com.google.cloud.datacatalog.v1.DatabaseTa * * *
-     * Specification that applies to a table resource. Only valid
-     * for entries of `TABLE` type.
+     * Specification that applies to a table resource. Valid only
+     * for entries with the `TABLE` type.
      * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; @@ -4161,8 +4692,8 @@ public Builder clearDatabaseTableSpec() { * * *
-     * Specification that applies to a table resource. Only valid
-     * for entries of `TABLE` type.
+     * Specification that applies to a table resource. Valid only
+     * for entries with the `TABLE` type.
      * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; @@ -4174,8 +4705,8 @@ public com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder getDatabaseTabl * * *
-     * Specification that applies to a table resource. Only valid
-     * for entries of `TABLE` type.
+     * Specification that applies to a table resource. Valid only
+     * for entries with the `TABLE` type.
      * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; @@ -4196,8 +4727,8 @@ public com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder getDatabaseTabl * * *
-     * Specification that applies to a table resource. Only valid
-     * for entries of `TABLE` type.
+     * Specification that applies to a table resource. Valid only
+     * for entries with the `TABLE` type.
      * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; @@ -4227,23 +4758,473 @@ public com.google.cloud.datacatalog.v1.DatabaseTableSpec.Builder getDatabaseTabl return databaseTableSpecBuilder_; } - private java.lang.Object displayName_ = ""; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec, + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder, + com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder> + dataSourceConnectionSpecBuilder_; /** * * *
-     * Display name of an entry.
-     * The name must contain only Unicode letters, numbers (0-9), underscores (_),
-     * dashes (-), spaces ( ), and can't start or end with spaces.
-     * The maximum size is 200 bytes when encoded in UTF-8.
-     * Default value is an empty string.
+     * Specification that applies to a data source connection. Valid only
+     * for entries with the `DATA_SOURCE_CONNECTION` type.
      * 
* - * string display_name = 3; + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * * - * @return The displayName. + * @return Whether the dataSourceConnectionSpec field is set. */ - public java.lang.String getDisplayName() { + @java.lang.Override + public boolean hasDataSourceConnectionSpec() { + return specCase_ == 27; + } + /** + * + * + *
+     * Specification that applies to a data source connection. Valid only
+     * for entries with the `DATA_SOURCE_CONNECTION` type.
+     * 
+ * + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * + * + * @return The dataSourceConnectionSpec. + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.DataSourceConnectionSpec getDataSourceConnectionSpec() { + if (dataSourceConnectionSpecBuilder_ == null) { + if (specCase_ == 27) { + return (com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) spec_; + } + return com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.getDefaultInstance(); + } else { + if (specCase_ == 27) { + return dataSourceConnectionSpecBuilder_.getMessage(); + } + return com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.getDefaultInstance(); + } + } + /** + * + * + *
+     * Specification that applies to a data source connection. Valid only
+     * for entries with the `DATA_SOURCE_CONNECTION` type.
+     * 
+ * + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * + */ + public Builder setDataSourceConnectionSpec( + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec value) { + if (dataSourceConnectionSpecBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + spec_ = value; + onChanged(); + } else { + dataSourceConnectionSpecBuilder_.setMessage(value); + } + specCase_ = 27; + return this; + } + /** + * + * + *
+     * Specification that applies to a data source connection. Valid only
+     * for entries with the `DATA_SOURCE_CONNECTION` type.
+     * 
+ * + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * + */ + public Builder setDataSourceConnectionSpec( + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder builderForValue) { + if (dataSourceConnectionSpecBuilder_ == null) { + spec_ = builderForValue.build(); + onChanged(); + } else { + dataSourceConnectionSpecBuilder_.setMessage(builderForValue.build()); + } + specCase_ = 27; + return this; + } + /** + * + * + *
+     * Specification that applies to a data source connection. Valid only
+     * for entries with the `DATA_SOURCE_CONNECTION` type.
+     * 
+ * + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * + */ + public Builder mergeDataSourceConnectionSpec( + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec value) { + if (dataSourceConnectionSpecBuilder_ == null) { + if (specCase_ == 27 + && spec_ + != com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.getDefaultInstance()) { + spec_ = + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.newBuilder( + (com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) spec_) + .mergeFrom(value) + .buildPartial(); + } else { + spec_ = value; + } + onChanged(); + } else { + if (specCase_ == 27) { + dataSourceConnectionSpecBuilder_.mergeFrom(value); + } + dataSourceConnectionSpecBuilder_.setMessage(value); + } + specCase_ = 27; + return this; + } + /** + * + * + *
+     * Specification that applies to a data source connection. Valid only
+     * for entries with the `DATA_SOURCE_CONNECTION` type.
+     * 
+ * + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * + */ + public Builder clearDataSourceConnectionSpec() { + if (dataSourceConnectionSpecBuilder_ == null) { + if (specCase_ == 27) { + specCase_ = 0; + spec_ = null; + onChanged(); + } + } else { + if (specCase_ == 27) { + specCase_ = 0; + spec_ = null; + } + dataSourceConnectionSpecBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Specification that applies to a data source connection. Valid only
+     * for entries with the `DATA_SOURCE_CONNECTION` type.
+     * 
+ * + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * + */ + public com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder + getDataSourceConnectionSpecBuilder() { + return getDataSourceConnectionSpecFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Specification that applies to a data source connection. Valid only
+     * for entries with the `DATA_SOURCE_CONNECTION` type.
+     * 
+ * + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder + getDataSourceConnectionSpecOrBuilder() { + if ((specCase_ == 27) && (dataSourceConnectionSpecBuilder_ != null)) { + return dataSourceConnectionSpecBuilder_.getMessageOrBuilder(); + } else { + if (specCase_ == 27) { + return (com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) spec_; + } + return com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.getDefaultInstance(); + } + } + /** + * + * + *
+     * Specification that applies to a data source connection. Valid only
+     * for entries with the `DATA_SOURCE_CONNECTION` type.
+     * 
+ * + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec, + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder, + com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder> + getDataSourceConnectionSpecFieldBuilder() { + if (dataSourceConnectionSpecBuilder_ == null) { + if (!(specCase_ == 27)) { + spec_ = com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.getDefaultInstance(); + } + dataSourceConnectionSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec, + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec.Builder, + com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder>( + (com.google.cloud.datacatalog.v1.DataSourceConnectionSpec) spec_, + getParentForChildren(), + isClean()); + spec_ = null; + } + specCase_ = 27; + onChanged(); + ; + return dataSourceConnectionSpecBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.RoutineSpec, + com.google.cloud.datacatalog.v1.RoutineSpec.Builder, + com.google.cloud.datacatalog.v1.RoutineSpecOrBuilder> + routineSpecBuilder_; + /** + * + * + *
+     * Specification that applies to a user-defined function or procedure. Valid
+     * only for entries with the `ROUTINE` type.
+     * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec routine_spec = 28; + * + * @return Whether the routineSpec field is set. + */ + @java.lang.Override + public boolean hasRoutineSpec() { + return specCase_ == 28; + } + /** + * + * + *
+     * Specification that applies to a user-defined function or procedure. Valid
+     * only for entries with the `ROUTINE` type.
+     * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec routine_spec = 28; + * + * @return The routineSpec. + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.RoutineSpec getRoutineSpec() { + if (routineSpecBuilder_ == null) { + if (specCase_ == 28) { + return (com.google.cloud.datacatalog.v1.RoutineSpec) spec_; + } + return com.google.cloud.datacatalog.v1.RoutineSpec.getDefaultInstance(); + } else { + if (specCase_ == 28) { + return routineSpecBuilder_.getMessage(); + } + return com.google.cloud.datacatalog.v1.RoutineSpec.getDefaultInstance(); + } + } + /** + * + * + *
+     * Specification that applies to a user-defined function or procedure. Valid
+     * only for entries with the `ROUTINE` type.
+     * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec routine_spec = 28; + */ + public Builder setRoutineSpec(com.google.cloud.datacatalog.v1.RoutineSpec value) { + if (routineSpecBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + spec_ = value; + onChanged(); + } else { + routineSpecBuilder_.setMessage(value); + } + specCase_ = 28; + return this; + } + /** + * + * + *
+     * Specification that applies to a user-defined function or procedure. Valid
+     * only for entries with the `ROUTINE` type.
+     * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec routine_spec = 28; + */ + public Builder setRoutineSpec( + com.google.cloud.datacatalog.v1.RoutineSpec.Builder builderForValue) { + if (routineSpecBuilder_ == null) { + spec_ = builderForValue.build(); + onChanged(); + } else { + routineSpecBuilder_.setMessage(builderForValue.build()); + } + specCase_ = 28; + return this; + } + /** + * + * + *
+     * Specification that applies to a user-defined function or procedure. Valid
+     * only for entries with the `ROUTINE` type.
+     * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec routine_spec = 28; + */ + public Builder mergeRoutineSpec(com.google.cloud.datacatalog.v1.RoutineSpec value) { + if (routineSpecBuilder_ == null) { + if (specCase_ == 28 + && spec_ != com.google.cloud.datacatalog.v1.RoutineSpec.getDefaultInstance()) { + spec_ = + com.google.cloud.datacatalog.v1.RoutineSpec.newBuilder( + (com.google.cloud.datacatalog.v1.RoutineSpec) spec_) + .mergeFrom(value) + .buildPartial(); + } else { + spec_ = value; + } + onChanged(); + } else { + if (specCase_ == 28) { + routineSpecBuilder_.mergeFrom(value); + } + routineSpecBuilder_.setMessage(value); + } + specCase_ = 28; + return this; + } + /** + * + * + *
+     * Specification that applies to a user-defined function or procedure. Valid
+     * only for entries with the `ROUTINE` type.
+     * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec routine_spec = 28; + */ + public Builder clearRoutineSpec() { + if (routineSpecBuilder_ == null) { + if (specCase_ == 28) { + specCase_ = 0; + spec_ = null; + onChanged(); + } + } else { + if (specCase_ == 28) { + specCase_ = 0; + spec_ = null; + } + routineSpecBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Specification that applies to a user-defined function or procedure. Valid
+     * only for entries with the `ROUTINE` type.
+     * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec routine_spec = 28; + */ + public com.google.cloud.datacatalog.v1.RoutineSpec.Builder getRoutineSpecBuilder() { + return getRoutineSpecFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Specification that applies to a user-defined function or procedure. Valid
+     * only for entries with the `ROUTINE` type.
+     * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec routine_spec = 28; + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.RoutineSpecOrBuilder getRoutineSpecOrBuilder() { + if ((specCase_ == 28) && (routineSpecBuilder_ != null)) { + return routineSpecBuilder_.getMessageOrBuilder(); + } else { + if (specCase_ == 28) { + return (com.google.cloud.datacatalog.v1.RoutineSpec) spec_; + } + return com.google.cloud.datacatalog.v1.RoutineSpec.getDefaultInstance(); + } + } + /** + * + * + *
+     * Specification that applies to a user-defined function or procedure. Valid
+     * only for entries with the `ROUTINE` type.
+     * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec routine_spec = 28; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.RoutineSpec, + com.google.cloud.datacatalog.v1.RoutineSpec.Builder, + com.google.cloud.datacatalog.v1.RoutineSpecOrBuilder> + getRoutineSpecFieldBuilder() { + if (routineSpecBuilder_ == null) { + if (!(specCase_ == 28)) { + spec_ = com.google.cloud.datacatalog.v1.RoutineSpec.getDefaultInstance(); + } + routineSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.RoutineSpec, + com.google.cloud.datacatalog.v1.RoutineSpec.Builder, + com.google.cloud.datacatalog.v1.RoutineSpecOrBuilder>( + (com.google.cloud.datacatalog.v1.RoutineSpec) spec_, + getParentForChildren(), + isClean()); + spec_ = null; + } + specCase_ = 28; + onChanged(); + ; + return routineSpecBuilder_; + } + + private java.lang.Object displayName_ = ""; + /** + * + * + *
+     * Display name of an entry.
+     * The name must contain only Unicode letters, numbers (0-9), underscores (_),
+     * dashes (-), spaces ( ), and can't start or end with spaces.
+     * The maximum size is 200 bytes when encoded in UTF-8.
+     * Default value is an empty string.
+     * 
+ * + * string display_name = 3; + * + * @return The displayName. + */ + public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; @@ -4684,10 +5665,11 @@ public com.google.cloud.datacatalog.v1.SchemaOrBuilder getSchemaOrBuilder() { * * *
-     * 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.
+     * Timestamps from the underlying resource, not from the Data Catalog
+     * entry.
+     * Output only when the entry has a type listed in the `EntryType` enum.
+     * For entries with `user_specified_type`, this field is optional and defaults
+     * to an empty timestamp.
      * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; @@ -4701,10 +5683,11 @@ public boolean hasSourceSystemTimestamps() { * * *
-     * 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.
+     * Timestamps from the underlying resource, not from the Data Catalog
+     * entry.
+     * Output only when the entry has a type listed in the `EntryType` enum.
+     * For entries with `user_specified_type`, this field is optional and defaults
+     * to an empty timestamp.
      * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; @@ -4724,10 +5707,11 @@ public com.google.cloud.datacatalog.v1.SystemTimestamps getSourceSystemTimestamp * * *
-     * 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.
+     * Timestamps from the underlying resource, not from the Data Catalog
+     * entry.
+     * Output only when the entry has a type listed in the `EntryType` enum.
+     * For entries with `user_specified_type`, this field is optional and defaults
+     * to an empty timestamp.
      * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; @@ -4750,10 +5734,11 @@ public Builder setSourceSystemTimestamps( * * *
-     * 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.
+     * Timestamps from the underlying resource, not from the Data Catalog
+     * entry.
+     * Output only when the entry has a type listed in the `EntryType` enum.
+     * For entries with `user_specified_type`, this field is optional and defaults
+     * to an empty timestamp.
      * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; @@ -4773,10 +5758,11 @@ public Builder setSourceSystemTimestamps( * * *
-     * 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.
+     * Timestamps from the underlying resource, not from the Data Catalog
+     * entry.
+     * Output only when the entry has a type listed in the `EntryType` enum.
+     * For entries with `user_specified_type`, this field is optional and defaults
+     * to an empty timestamp.
      * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; @@ -4803,10 +5789,11 @@ public Builder mergeSourceSystemTimestamps( * * *
-     * 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.
+     * Timestamps from the underlying resource, not from the Data Catalog
+     * entry.
+     * Output only when the entry has a type listed in the `EntryType` enum.
+     * For entries with `user_specified_type`, this field is optional and defaults
+     * to an empty timestamp.
      * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; @@ -4826,10 +5813,11 @@ public Builder clearSourceSystemTimestamps() { * * *
-     * 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.
+     * Timestamps from the underlying resource, not from the Data Catalog
+     * entry.
+     * Output only when the entry has a type listed in the `EntryType` enum.
+     * For entries with `user_specified_type`, this field is optional and defaults
+     * to an empty timestamp.
      * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; @@ -4844,10 +5832,11 @@ public Builder clearSourceSystemTimestamps() { * * *
-     * 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.
+     * Timestamps from the underlying resource, not from the Data Catalog
+     * entry.
+     * Output only when the entry has a type listed in the `EntryType` enum.
+     * For entries with `user_specified_type`, this field is optional and defaults
+     * to an empty timestamp.
      * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; @@ -4866,10 +5855,11 @@ public Builder clearSourceSystemTimestamps() { * * *
-     * 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.
+     * Timestamps from the underlying resource, not from the Data Catalog
+     * entry.
+     * Output only when the entry has a type listed in the `EntryType` enum.
+     * For entries with `user_specified_type`, this field is optional and defaults
+     * to an empty timestamp.
      * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; @@ -4891,6 +5881,388 @@ public Builder clearSourceSystemTimestamps() { return sourceSystemTimestampsBuilder_; } + private com.google.cloud.datacatalog.v1.UsageSignal usageSignal_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.UsageSignal, + com.google.cloud.datacatalog.v1.UsageSignal.Builder, + com.google.cloud.datacatalog.v1.UsageSignalOrBuilder> + usageSignalBuilder_; + /** + * + * + *
+     * Output only. Resource usage statistics.
+     * 
+ * + * + * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the usageSignal field is set. + */ + public boolean hasUsageSignal() { + return usageSignalBuilder_ != null || usageSignal_ != null; + } + /** + * + * + *
+     * Output only. Resource usage statistics.
+     * 
+ * + * + * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The usageSignal. + */ + public com.google.cloud.datacatalog.v1.UsageSignal getUsageSignal() { + if (usageSignalBuilder_ == null) { + return usageSignal_ == null + ? com.google.cloud.datacatalog.v1.UsageSignal.getDefaultInstance() + : usageSignal_; + } else { + return usageSignalBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. Resource usage statistics.
+     * 
+ * + * + * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setUsageSignal(com.google.cloud.datacatalog.v1.UsageSignal value) { + if (usageSignalBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + usageSignal_ = value; + onChanged(); + } else { + usageSignalBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Output only. Resource usage statistics.
+     * 
+ * + * + * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setUsageSignal( + com.google.cloud.datacatalog.v1.UsageSignal.Builder builderForValue) { + if (usageSignalBuilder_ == null) { + usageSignal_ = builderForValue.build(); + onChanged(); + } else { + usageSignalBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Output only. Resource usage statistics.
+     * 
+ * + * + * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeUsageSignal(com.google.cloud.datacatalog.v1.UsageSignal value) { + if (usageSignalBuilder_ == null) { + if (usageSignal_ != null) { + usageSignal_ = + com.google.cloud.datacatalog.v1.UsageSignal.newBuilder(usageSignal_) + .mergeFrom(value) + .buildPartial(); + } else { + usageSignal_ = value; + } + onChanged(); + } else { + usageSignalBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Output only. Resource usage statistics.
+     * 
+ * + * + * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearUsageSignal() { + if (usageSignalBuilder_ == null) { + usageSignal_ = null; + onChanged(); + } else { + usageSignal_ = null; + usageSignalBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Output only. Resource usage statistics.
+     * 
+ * + * + * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.datacatalog.v1.UsageSignal.Builder getUsageSignalBuilder() { + + onChanged(); + return getUsageSignalFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. Resource usage statistics.
+     * 
+ * + * + * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.datacatalog.v1.UsageSignalOrBuilder getUsageSignalOrBuilder() { + if (usageSignalBuilder_ != null) { + return usageSignalBuilder_.getMessageOrBuilder(); + } else { + return usageSignal_ == null + ? com.google.cloud.datacatalog.v1.UsageSignal.getDefaultInstance() + : usageSignal_; + } + } + /** + * + * + *
+     * Output only. Resource usage statistics.
+     * 
+ * + * + * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.UsageSignal, + com.google.cloud.datacatalog.v1.UsageSignal.Builder, + com.google.cloud.datacatalog.v1.UsageSignalOrBuilder> + getUsageSignalFieldBuilder() { + if (usageSignalBuilder_ == null) { + usageSignalBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.UsageSignal, + com.google.cloud.datacatalog.v1.UsageSignal.Builder, + com.google.cloud.datacatalog.v1.UsageSignalOrBuilder>( + getUsageSignal(), getParentForChildren(), isClean()); + usageSignal_ = null; + } + return usageSignalBuilder_; + } + + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { + if (labels_ == null) { + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + } + return labels_; + } + + private com.google.protobuf.MapField + internalGetMutableLabels() { + onChanged(); + ; + if (labels_ == null) { + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + } + if (!labels_.isMutable()) { + labels_ = labels_.copy(); + } + return labels_; + } + + public int getLabelsCount() { + return internalGetLabels().getMap().size(); + } + /** + * + * + *
+     * Cloud labels attached to the entry.
+     * In Data Catalog, you can create and modify labels attached only to custom
+     * entries. Synced entries have unmodifiable labels that come from the source
+     * system.
+     * 
+ * + * map<string, string> labels = 14; + */ + @java.lang.Override + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + return internalGetLabels().getMap().containsKey(key); + } + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLabels() { + return getLabelsMap(); + } + /** + * + * + *
+     * Cloud labels attached to the entry.
+     * In Data Catalog, you can create and modify labels attached only to custom
+     * entries. Synced entries have unmodifiable labels that come from the source
+     * system.
+     * 
+ * + * map<string, string> labels = 14; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + /** + * + * + *
+     * Cloud labels attached to the entry.
+     * In Data Catalog, you can create and modify labels attached only to custom
+     * entries. Synced entries have unmodifiable labels that come from the source
+     * system.
+     * 
+ * + * map<string, string> labels = 14; + */ + @java.lang.Override + public java.lang.String getLabelsOrDefault( + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+     * Cloud labels attached to the entry.
+     * In Data Catalog, you can create and modify labels attached only to custom
+     * entries. Synced entries have unmodifiable labels that come from the source
+     * system.
+     * 
+ * + * map<string, string> labels = 14; + */ + @java.lang.Override + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetLabels().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearLabels() { + internalGetMutableLabels().getMutableMap().clear(); + return this; + } + /** + * + * + *
+     * Cloud labels attached to the entry.
+     * In Data Catalog, you can create and modify labels attached only to custom
+     * entries. Synced entries have unmodifiable labels that come from the source
+     * system.
+     * 
+ * + * map<string, string> labels = 14; + */ + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + internalGetMutableLabels().getMutableMap().remove(key); + return this; + } + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map getMutableLabels() { + return internalGetMutableLabels().getMutableMap(); + } + /** + * + * + *
+     * Cloud labels attached to the entry.
+     * In Data Catalog, you can create and modify labels attached only to custom
+     * entries. Synced entries have unmodifiable labels that come from the source
+     * system.
+     * 
+ * + * map<string, string> labels = 14; + */ + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + if (value == null) { + throw new java.lang.NullPointerException(); + } + internalGetMutableLabels().getMutableMap().put(key, value); + return this; + } + /** + * + * + *
+     * Cloud labels attached to the entry.
+     * In Data Catalog, you can create and modify labels attached only to custom
+     * entries. Synced entries have unmodifiable labels that come from the source
+     * system.
+     * 
+ * + * map<string, string> labels = 14; + */ + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); + return this; + } + private com.google.cloud.datacatalog.v1.DataSource dataSource_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.datacatalog.v1.DataSource, diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroup.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroup.java index a7ca49f0..d80b1fc9 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroup.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroup.java @@ -22,8 +22,8 @@ * * *
- * EntryGroup Metadata.
- * An EntryGroup resource represents a logical grouping of zero or more
+ * Entry group metadata.
+ * An `EntryGroup` resource represents a logical grouping of zero or more
  * Data Catalog [Entry][google.cloud.datacatalog.v1.Entry] resources.
  * 
* @@ -151,8 +151,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The resource name of the entry group in URL format. Example:
-   * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`
+   * The resource name of the entry group in URL format.
    * Note: The entry group itself and its child resources might not be
    * stored in the location specified in its name.
    * 
@@ -177,8 +176,7 @@ public java.lang.String getName() { * * *
-   * The resource name of the entry group in URL format. Example:
-   * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`
+   * The resource name of the entry group in URL format.
    * Note: The entry group itself and its child resources might not be
    * stored in the location specified in its name.
    * 
@@ -257,9 +255,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * * *
-   * Entry group description, which can consist of several sentences or
-   * paragraphs that describe entry group contents. Default value is an empty
-   * string.
+   * Entry group description. Can consist of several sentences or
+   * paragraphs that describe the entry group contents.
+   * Default value is an empty string.
    * 
* * string description = 3; @@ -282,9 +280,9 @@ public java.lang.String getDescription() { * * *
-   * Entry group description, which can consist of several sentences or
-   * paragraphs that describe entry group contents. Default value is an empty
-   * string.
+   * Entry group description. Can consist of several sentences or
+   * paragraphs that describe the entry group contents.
+   * Default value is an empty string.
    * 
* * string description = 3; @@ -310,7 +308,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * *
-   * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+   * Output only. Timestamps of the entry group. Default value is empty.
    * 
* * @@ -327,7 +325,7 @@ public boolean hasDataCatalogTimestamps() { * * *
-   * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+   * Output only. Timestamps of the entry group. Default value is empty.
    * 
* * @@ -346,7 +344,7 @@ public com.google.cloud.datacatalog.v1.SystemTimestamps getDataCatalogTimestamps * * *
-   * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+   * Output only. Timestamps of the entry group. Default value is empty.
    * 
* * @@ -555,8 +553,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * EntryGroup Metadata.
-   * An EntryGroup resource represents a logical grouping of zero or more
+   * Entry group metadata.
+   * An `EntryGroup` resource represents a logical grouping of zero or more
    * Data Catalog [Entry][google.cloud.datacatalog.v1.Entry] resources.
    * 
* @@ -743,8 +741,7 @@ public Builder mergeFrom( * * *
-     * The resource name of the entry group in URL format. Example:
-     * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`
+     * The resource name of the entry group in URL format.
      * Note: The entry group itself and its child resources might not be
      * stored in the location specified in its name.
      * 
@@ -768,8 +765,7 @@ public java.lang.String getName() { * * *
-     * The resource name of the entry group in URL format. Example:
-     * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`
+     * The resource name of the entry group in URL format.
      * Note: The entry group itself and its child resources might not be
      * stored in the location specified in its name.
      * 
@@ -793,8 +789,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The resource name of the entry group in URL format. Example:
-     * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`
+     * The resource name of the entry group in URL format.
      * Note: The entry group itself and its child resources might not be
      * stored in the location specified in its name.
      * 
@@ -817,8 +812,7 @@ public Builder setName(java.lang.String value) { * * *
-     * The resource name of the entry group in URL format. Example:
-     * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`
+     * The resource name of the entry group in URL format.
      * Note: The entry group itself and its child resources might not be
      * stored in the location specified in its name.
      * 
@@ -837,8 +831,7 @@ public Builder clearName() { * * *
-     * The resource name of the entry group in URL format. Example:
-     * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`
+     * The resource name of the entry group in URL format.
      * Note: The entry group itself and its child resources might not be
      * stored in the location specified in its name.
      * 
@@ -975,9 +968,9 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Entry group description, which can consist of several sentences or
-     * paragraphs that describe entry group contents. Default value is an empty
-     * string.
+     * Entry group description. Can consist of several sentences or
+     * paragraphs that describe the entry group contents.
+     * Default value is an empty string.
      * 
* * string description = 3; @@ -999,9 +992,9 @@ public java.lang.String getDescription() { * * *
-     * Entry group description, which can consist of several sentences or
-     * paragraphs that describe entry group contents. Default value is an empty
-     * string.
+     * Entry group description. Can consist of several sentences or
+     * paragraphs that describe the entry group contents.
+     * Default value is an empty string.
      * 
* * string description = 3; @@ -1023,9 +1016,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * *
-     * Entry group description, which can consist of several sentences or
-     * paragraphs that describe entry group contents. Default value is an empty
-     * string.
+     * Entry group description. Can consist of several sentences or
+     * paragraphs that describe the entry group contents.
+     * Default value is an empty string.
      * 
* * string description = 3; @@ -1046,9 +1039,9 @@ public Builder setDescription(java.lang.String value) { * * *
-     * Entry group description, which can consist of several sentences or
-     * paragraphs that describe entry group contents. Default value is an empty
-     * string.
+     * Entry group description. Can consist of several sentences or
+     * paragraphs that describe the entry group contents.
+     * Default value is an empty string.
      * 
* * string description = 3; @@ -1065,9 +1058,9 @@ public Builder clearDescription() { * * *
-     * Entry group description, which can consist of several sentences or
-     * paragraphs that describe entry group contents. Default value is an empty
-     * string.
+     * Entry group description. Can consist of several sentences or
+     * paragraphs that describe the entry group contents.
+     * Default value is an empty string.
      * 
* * string description = 3; @@ -1096,7 +1089,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * * *
-     * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+     * Output only. Timestamps of the entry group. Default value is empty.
      * 
* * @@ -1112,7 +1105,7 @@ public boolean hasDataCatalogTimestamps() { * * *
-     * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+     * Output only. Timestamps of the entry group. Default value is empty.
      * 
* * @@ -1134,7 +1127,7 @@ public com.google.cloud.datacatalog.v1.SystemTimestamps getDataCatalogTimestamps * * *
-     * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+     * Output only. Timestamps of the entry group. Default value is empty.
      * 
* * @@ -1159,7 +1152,7 @@ public Builder setDataCatalogTimestamps( * * *
-     * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+     * Output only. Timestamps of the entry group. Default value is empty.
      * 
* * @@ -1181,7 +1174,7 @@ public Builder setDataCatalogTimestamps( * * *
-     * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+     * Output only. Timestamps of the entry group. Default value is empty.
      * 
* * @@ -1210,7 +1203,7 @@ public Builder mergeDataCatalogTimestamps( * * *
-     * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+     * Output only. Timestamps of the entry group. Default value is empty.
      * 
* * @@ -1232,7 +1225,7 @@ public Builder clearDataCatalogTimestamps() { * * *
-     * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+     * Output only. Timestamps of the entry group. Default value is empty.
      * 
* * @@ -1249,7 +1242,7 @@ public Builder clearDataCatalogTimestamps() { * * *
-     * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+     * Output only. Timestamps of the entry group. Default value is empty.
      * 
* * @@ -1270,7 +1263,7 @@ public Builder clearDataCatalogTimestamps() { * * *
-     * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+     * Output only. Timestamps of the entry group. Default value is empty.
      * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupOrBuilder.java index a69343b5..70ef44bb 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryGroupOrBuilder.java @@ -27,8 +27,7 @@ public interface EntryGroupOrBuilder * * *
-   * The resource name of the entry group in URL format. Example:
-   * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`
+   * The resource name of the entry group in URL format.
    * Note: The entry group itself and its child resources might not be
    * stored in the location specified in its name.
    * 
@@ -42,8 +41,7 @@ public interface EntryGroupOrBuilder * * *
-   * The resource name of the entry group in URL format. Example:
-   * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`
+   * The resource name of the entry group in URL format.
    * Note: The entry group itself and its child resources might not be
    * stored in the location specified in its name.
    * 
@@ -85,9 +83,9 @@ public interface EntryGroupOrBuilder * * *
-   * Entry group description, which can consist of several sentences or
-   * paragraphs that describe entry group contents. Default value is an empty
-   * string.
+   * Entry group description. Can consist of several sentences or
+   * paragraphs that describe the entry group contents.
+   * Default value is an empty string.
    * 
* * string description = 3; @@ -99,9 +97,9 @@ public interface EntryGroupOrBuilder * * *
-   * Entry group description, which can consist of several sentences or
-   * paragraphs that describe entry group contents. Default value is an empty
-   * string.
+   * Entry group description. Can consist of several sentences or
+   * paragraphs that describe the entry group contents.
+   * Default value is an empty string.
    * 
* * string description = 3; @@ -114,7 +112,7 @@ public interface EntryGroupOrBuilder * * *
-   * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+   * Output only. Timestamps of the entry group. Default value is empty.
    * 
* * @@ -128,7 +126,7 @@ public interface EntryGroupOrBuilder * * *
-   * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+   * Output only. Timestamps of the entry group. Default value is empty.
    * 
* * @@ -142,7 +140,7 @@ public interface EntryGroupOrBuilder * * *
-   * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+   * Output only. Timestamps of the entry group. Default value is empty.
    * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOrBuilder.java index 1d44a4ff..e4be0662 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOrBuilder.java @@ -28,8 +28,6 @@ public interface EntryOrBuilder * *
    * Output only. The resource name of an entry in URL format.
-   * Example:
-   * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}`
    * Note: The entry itself and its child resources might not be
    * stored in the location specified in its name.
    * 
@@ -46,8 +44,6 @@ public interface EntryOrBuilder * *
    * Output only. The resource name of an entry in URL format.
-   * Example:
-   * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}`
    * Note: The entry itself and its child resources might not be
    * stored in the location specified in its name.
    * 
@@ -65,12 +61,12 @@ public interface EntryOrBuilder * *
    * The resource this metadata entry refers to.
-   * For Google Cloud Platform resources, `linked_resource` is the [full name of
-   * the
-   * resource](https://cloud.google.com/apis/design/resource_names#full_resource_name).
+   * For Google Cloud Platform resources, `linked_resource` is the
+   * [Full Resource Name]
+   * (https://cloud.google.com/apis/design/resource_names#full_resource_name).
    * For example, the `linked_resource` for a table resource from BigQuery is:
-   * `//bigquery.googleapis.com/projects/{projectId}/datasets/{datasetId}/tables/{tableId}`
-   * Output only when entry is one of the types in the `EntryType` enum.
+   * `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
+   * Output only when the entry is one of the types in the `EntryType` enum.
    * For entries with a `user_specified_type`, this field is optional and
    * defaults to an empty string.
    * The resource string must contain only letters (a-z, A-Z), numbers (0-9),
@@ -89,12 +85,12 @@ public interface EntryOrBuilder
    *
    * 
    * The resource this metadata entry refers to.
-   * For Google Cloud Platform resources, `linked_resource` is the [full name of
-   * the
-   * resource](https://cloud.google.com/apis/design/resource_names#full_resource_name).
+   * For Google Cloud Platform resources, `linked_resource` is the
+   * [Full Resource Name]
+   * (https://cloud.google.com/apis/design/resource_names#full_resource_name).
    * For example, the `linked_resource` for a table resource from BigQuery is:
-   * `//bigquery.googleapis.com/projects/{projectId}/datasets/{datasetId}/tables/{tableId}`
-   * Output only when entry is one of the types in the `EntryType` enum.
+   * `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
+   * Output only when the entry is one of the types in the `EntryType` enum.
    * For entries with a `user_specified_type`, this field is optional and
    * defaults to an empty string.
    * The resource string must contain only letters (a-z, A-Z), numbers (0-9),
@@ -122,7 +118,7 @@ public interface EntryOrBuilder
    * * For regionalized resources:
    *   `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
    * Example for a DPMS table:
-   * `dataproc_metastore:project_id.location_id.instance_id.database_id.table_id`
+   * `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}`
    * 
* * string fully_qualified_name = 29; @@ -143,7 +139,7 @@ public interface EntryOrBuilder * * For regionalized resources: * `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` * Example for a DPMS table: - * `dataproc_metastore:project_id.location_id.instance_id.database_id.table_id` + * `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}` *
* * string fully_qualified_name = 29; @@ -157,7 +153,9 @@ public interface EntryOrBuilder * *
    * The type of the entry.
-   * Only used for Entries with types in the EntryType enum.
+   * 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`.
    * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; @@ -170,7 +168,9 @@ public interface EntryOrBuilder * *
    * The type of the entry.
-   * Only used for Entries with types in the EntryType enum.
+   * 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`.
    * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; @@ -183,7 +183,9 @@ public interface EntryOrBuilder * *
    * The type of the entry.
-   * Only used for Entries with types in the EntryType enum.
+   * 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`.
    * 
* * .google.cloud.datacatalog.v1.EntryType type = 2; @@ -196,15 +198,16 @@ public interface EntryOrBuilder * * *
-   * Entry type if it does not fit any of the input-allowed values listed in
-   * `EntryType` enum above. When creating an entry, users should check the
-   * enum values first, if nothing matches the entry to be created, then
-   * provide a custom value, for example "my_special_type".
-   * `user_specified_type` strings must begin with a letter or underscore and
-   * can only contain letters, numbers, and underscores; are case insensitive;
-   * must be at least 1 character and at most 64 characters long.
-   * Currently, only FILESET enum value is allowed. All other entries created
-   * through Data Catalog must use `user_specified_type`.
+   * Custom entry type that doesn't match any of the values allowed for input
+   * and listed in the `EntryType` enum.
+   * When creating an entry, first check the type values in the enum.
+   * If there are no appropriate types for the new entry,
+   * provide a custom value, for example, `my_special_type`.
+   * The `user_specified_type` string has the following limitations:
+   * * Is case insensitive.
+   * * Must begin with a letter or underscore.
+   * * Can only contain letters, numbers, and underscores.
+   * * Must be at least 1 character and at most 64 characters long.
    * 
* * string user_specified_type = 16; @@ -216,15 +219,16 @@ public interface EntryOrBuilder * * *
-   * Entry type if it does not fit any of the input-allowed values listed in
-   * `EntryType` enum above. When creating an entry, users should check the
-   * enum values first, if nothing matches the entry to be created, then
-   * provide a custom value, for example "my_special_type".
-   * `user_specified_type` strings must begin with a letter or underscore and
-   * can only contain letters, numbers, and underscores; are case insensitive;
-   * must be at least 1 character and at most 64 characters long.
-   * Currently, only FILESET enum value is allowed. All other entries created
-   * through Data Catalog must use `user_specified_type`.
+   * Custom entry type that doesn't match any of the values allowed for input
+   * and listed in the `EntryType` enum.
+   * When creating an entry, first check the type values in the enum.
+   * If there are no appropriate types for the new entry,
+   * provide a custom value, for example, `my_special_type`.
+   * The `user_specified_type` string has the following limitations:
+   * * Is case insensitive.
+   * * Must begin with a letter or underscore.
+   * * Can only contain letters, numbers, and underscores.
+   * * Must be at least 1 character and at most 64 characters long.
    * 
* * string user_specified_type = 16; @@ -236,15 +240,16 @@ public interface EntryOrBuilder * * *
-   * Entry type if it does not fit any of the input-allowed values listed in
-   * `EntryType` enum above. When creating an entry, users should check the
-   * enum values first, if nothing matches the entry to be created, then
-   * provide a custom value, for example "my_special_type".
-   * `user_specified_type` strings must begin with a letter or underscore and
-   * can only contain letters, numbers, and underscores; are case insensitive;
-   * must be at least 1 character and at most 64 characters long.
-   * Currently, only FILESET enum value is allowed. All other entries created
-   * through Data Catalog must use `user_specified_type`.
+   * Custom entry type that doesn't match any of the values allowed for input
+   * and listed in the `EntryType` enum.
+   * When creating an entry, first check the type values in the enum.
+   * If there are no appropriate types for the new entry,
+   * provide a custom value, for example, `my_special_type`.
+   * The `user_specified_type` string has the following limitations:
+   * * Is case insensitive.
+   * * Must begin with a letter or underscore.
+   * * Can only contain letters, numbers, and underscores.
+   * * Must be at least 1 character and at most 64 characters long.
    * 
* * string user_specified_type = 16; @@ -257,8 +262,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. Indicates the entry's source system that Data Catalog
+   * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
    * 
* * @@ -272,8 +277,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. Indicates the entry's source system that Data Catalog
+   * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
    * 
* * @@ -287,8 +292,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. Indicates the entry's source system that Data Catalog
+   * integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
    * 
* * @@ -303,11 +308,13 @@ public interface EntryOrBuilder * * *
-   * This field indicates the entry's source system that Data Catalog does not
-   * integrate with. `user_specified_system` strings must begin with a letter
-   * or underscore and can only contain letters, numbers, and underscores; are
-   * case insensitive; must be at least 1 character and at most 64 characters
-   * long.
+   * Indicates the entry's source system that Data Catalog doesn't
+   * automatically integrate with.
+   * The `user_specified_system` string has the following limitations:
+   * * Is case insensitive.
+   * * Must begin with a letter or underscore.
+   * * Can only contain letters, numbers, and underscores.
+   * * Must be at least 1 character and at most 64 characters long.
    * 
* * string user_specified_system = 18; @@ -319,11 +326,13 @@ public interface EntryOrBuilder * * *
-   * This field indicates the entry's source system that Data Catalog does not
-   * integrate with. `user_specified_system` strings must begin with a letter
-   * or underscore and can only contain letters, numbers, and underscores; are
-   * case insensitive; must be at least 1 character and at most 64 characters
-   * long.
+   * Indicates the entry's source system that Data Catalog doesn't
+   * automatically integrate with.
+   * The `user_specified_system` string has the following limitations:
+   * * Is case insensitive.
+   * * Must begin with a letter or underscore.
+   * * Can only contain letters, numbers, and underscores.
+   * * Must be at least 1 character and at most 64 characters long.
    * 
* * string user_specified_system = 18; @@ -335,11 +344,13 @@ public interface EntryOrBuilder * * *
-   * This field indicates the entry's source system that Data Catalog does not
-   * integrate with. `user_specified_system` strings must begin with a letter
-   * or underscore and can only contain letters, numbers, and underscores; are
-   * case insensitive; must be at least 1 character and at most 64 characters
-   * long.
+   * Indicates the entry's source system that Data Catalog doesn't
+   * automatically integrate with.
+   * The `user_specified_system` string has the following limitations:
+   * * Is case insensitive.
+   * * Must begin with a letter or underscore.
+   * * Can only contain letters, numbers, and underscores.
+   * * Must be at least 1 character and at most 64 characters long.
    * 
* * string user_specified_system = 18; @@ -352,8 +363,8 @@ public interface EntryOrBuilder * * *
-   * Specification that applies to a Cloud Storage fileset. This is only valid
-   * on entries of type FILESET.
+   * Specification that applies to a Cloud Storage fileset. Valid only
+   * for entries with the `FILESET` type.
    * 
* * .google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6; @@ -365,8 +376,8 @@ public interface EntryOrBuilder * * *
-   * Specification that applies to a Cloud Storage fileset. This is only valid
-   * on entries of type FILESET.
+   * Specification that applies to a Cloud Storage fileset. Valid only
+   * for entries with the `FILESET` type.
    * 
* * .google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6; @@ -378,8 +389,8 @@ public interface EntryOrBuilder * * *
-   * Specification that applies to a Cloud Storage fileset. This is only valid
-   * on entries of type FILESET.
+   * Specification that applies to a Cloud Storage fileset. Valid only
+   * for entries with the `FILESET` type.
    * 
* * .google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6; @@ -390,8 +401,8 @@ public interface EntryOrBuilder * * *
-   * Specification that applies to a BigQuery table. This is only valid on
-   * entries of type `TABLE`.
+   * Specification that applies to a BigQuery table. Valid only for
+   * entries with the `TABLE` type.
    * 
* * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12; @@ -403,8 +414,8 @@ public interface EntryOrBuilder * * *
-   * Specification that applies to a BigQuery table. This is only valid on
-   * entries of type `TABLE`.
+   * Specification that applies to a BigQuery table. Valid only for
+   * entries with the `TABLE` type.
    * 
* * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12; @@ -416,8 +427,8 @@ public interface EntryOrBuilder * * *
-   * Specification that applies to a BigQuery table. This is only valid on
-   * entries of type `TABLE`.
+   * Specification that applies to a BigQuery table. Valid only for
+   * entries with the `TABLE` type.
    * 
* * .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12; @@ -428,9 +439,10 @@ public interface EntryOrBuilder * * *
-   * Specification for a group of BigQuery tables with name pattern
-   * `[prefix]YYYYMMDD`. Context:
-   * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
+   * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
+   * name pattern.
+   * For more information, see [Introduction to partitioned tables]
+   * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
    * 
* * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; @@ -443,9 +455,10 @@ public interface EntryOrBuilder * * *
-   * Specification for a group of BigQuery tables with name pattern
-   * `[prefix]YYYYMMDD`. Context:
-   * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
+   * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
+   * name pattern.
+   * For more information, see [Introduction to partitioned tables]
+   * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
    * 
* * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; @@ -458,9 +471,10 @@ public interface EntryOrBuilder * * *
-   * Specification for a group of BigQuery tables with name pattern
-   * `[prefix]YYYYMMDD`. Context:
-   * https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
+   * Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
+   * name pattern.
+   * For more information, see [Introduction to partitioned tables]
+   * (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
    * 
* * .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; @@ -473,8 +487,8 @@ public interface EntryOrBuilder * * *
-   * Specification that applies to a table resource. Only valid
-   * for entries of `TABLE` type.
+   * Specification that applies to a table resource. Valid only
+   * for entries with the `TABLE` type.
    * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; @@ -486,8 +500,8 @@ public interface EntryOrBuilder * * *
-   * Specification that applies to a table resource. Only valid
-   * for entries of `TABLE` type.
+   * Specification that applies to a table resource. Valid only
+   * for entries with the `TABLE` type.
    * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; @@ -499,14 +513,94 @@ public interface EntryOrBuilder * * *
-   * Specification that applies to a table resource. Only valid
-   * for entries of `TABLE` type.
+   * Specification that applies to a table resource. Valid only
+   * for entries with the `TABLE` type.
    * 
* * .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24; */ com.google.cloud.datacatalog.v1.DatabaseTableSpecOrBuilder getDatabaseTableSpecOrBuilder(); + /** + * + * + *
+   * Specification that applies to a data source connection. Valid only
+   * for entries with the `DATA_SOURCE_CONNECTION` type.
+   * 
+ * + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * + * + * @return Whether the dataSourceConnectionSpec field is set. + */ + boolean hasDataSourceConnectionSpec(); + /** + * + * + *
+   * Specification that applies to a data source connection. Valid only
+   * for entries with the `DATA_SOURCE_CONNECTION` type.
+   * 
+ * + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * + * + * @return The dataSourceConnectionSpec. + */ + com.google.cloud.datacatalog.v1.DataSourceConnectionSpec getDataSourceConnectionSpec(); + /** + * + * + *
+   * Specification that applies to a data source connection. Valid only
+   * for entries with the `DATA_SOURCE_CONNECTION` type.
+   * 
+ * + * .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27; + * + */ + com.google.cloud.datacatalog.v1.DataSourceConnectionSpecOrBuilder + getDataSourceConnectionSpecOrBuilder(); + + /** + * + * + *
+   * Specification that applies to a user-defined function or procedure. Valid
+   * only for entries with the `ROUTINE` type.
+   * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec routine_spec = 28; + * + * @return Whether the routineSpec field is set. + */ + boolean hasRoutineSpec(); + /** + * + * + *
+   * Specification that applies to a user-defined function or procedure. Valid
+   * only for entries with the `ROUTINE` type.
+   * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec routine_spec = 28; + * + * @return The routineSpec. + */ + com.google.cloud.datacatalog.v1.RoutineSpec getRoutineSpec(); + /** + * + * + *
+   * Specification that applies to a user-defined function or procedure. Valid
+   * only for entries with the `ROUTINE` type.
+   * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec routine_spec = 28; + */ + com.google.cloud.datacatalog.v1.RoutineSpecOrBuilder getRoutineSpecOrBuilder(); + /** * * @@ -616,10 +710,11 @@ public interface EntryOrBuilder * * *
-   * 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.
+   * Timestamps from the underlying resource, not from the Data Catalog
+   * entry.
+   * Output only when the entry has a type listed in the `EntryType` enum.
+   * For entries with `user_specified_type`, this field is optional and defaults
+   * to an empty timestamp.
    * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; @@ -631,10 +726,11 @@ public interface EntryOrBuilder * * *
-   * 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.
+   * Timestamps from the underlying resource, not from the Data Catalog
+   * entry.
+   * Output only when the entry has a type listed in the `EntryType` enum.
+   * For entries with `user_specified_type`, this field is optional and defaults
+   * to an empty timestamp.
    * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; @@ -646,16 +742,127 @@ public interface EntryOrBuilder * * *
-   * 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.
+   * Timestamps from the underlying resource, not from the Data Catalog
+   * entry.
+   * Output only when the entry has a type listed in the `EntryType` enum.
+   * For entries with `user_specified_type`, this field is optional and defaults
+   * to an empty timestamp.
    * 
* * .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7; */ com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getSourceSystemTimestampsOrBuilder(); + /** + * + * + *
+   * Output only. Resource usage statistics.
+   * 
+ * + * + * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the usageSignal field is set. + */ + boolean hasUsageSignal(); + /** + * + * + *
+   * Output only. Resource usage statistics.
+   * 
+ * + * + * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The usageSignal. + */ + com.google.cloud.datacatalog.v1.UsageSignal getUsageSignal(); + /** + * + * + *
+   * Output only. Resource usage statistics.
+   * 
+ * + * + * .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.datacatalog.v1.UsageSignalOrBuilder getUsageSignalOrBuilder(); + + /** + * + * + *
+   * Cloud labels attached to the entry.
+   * In Data Catalog, you can create and modify labels attached only to custom
+   * entries. Synced entries have unmodifiable labels that come from the source
+   * system.
+   * 
+ * + * map<string, string> labels = 14; + */ + int getLabelsCount(); + /** + * + * + *
+   * Cloud labels attached to the entry.
+   * In Data Catalog, you can create and modify labels attached only to custom
+   * entries. Synced entries have unmodifiable labels that come from the source
+   * system.
+   * 
+ * + * map<string, string> labels = 14; + */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Deprecated + java.util.Map getLabels(); + /** + * + * + *
+   * Cloud labels attached to the entry.
+   * In Data Catalog, you can create and modify labels attached only to custom
+   * entries. Synced entries have unmodifiable labels that come from the source
+   * system.
+   * 
+ * + * map<string, string> labels = 14; + */ + java.util.Map getLabelsMap(); + /** + * + * + *
+   * Cloud labels attached to the entry.
+   * In Data Catalog, you can create and modify labels attached only to custom
+   * entries. Synced entries have unmodifiable labels that come from the source
+   * system.
+   * 
+ * + * map<string, string> labels = 14; + */ + java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue); + /** + * + * + *
+   * Cloud labels attached to the entry.
+   * In Data Catalog, you can create and modify labels attached only to custom
+   * entries. Synced entries have unmodifiable labels that come from the source
+   * system.
+   * 
+ * + * map<string, string> labels = 14; + */ + java.lang.String getLabelsOrThrow(java.lang.String key); + /** * * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryType.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryType.java index d9e0dcfd..b460deaa 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryType.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryType.java @@ -22,9 +22,8 @@ * * *
- * Entry resources in Data Catalog can be of different types e.g. a BigQuery
- * Table entry is of type `TABLE`. This enum describes all the possible types
- * Data Catalog contains.
+ * The enum field that lists all the types of entry resources in Data
+ * Catalog. For example, a BigQuery table entry has the `TABLE` type.
  * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.EntryType} @@ -44,7 +43,7 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { * * *
-   * Output only. The type of entry that has a GoogleSQL schema, including
+   * Output only. The entry type that has a GoogleSQL schema, including
    * logical views.
    * 
* @@ -55,8 +54,9 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { * * *
-   * Output only. The type of models, examples include
-   * https://cloud.google.com/bigquery-ml/docs/bigqueryml-intro
+   * Output only. The type of models.
+   * For more information, see [Supported models in BigQuery ML]
+   * (https://cloud.google.com/bigquery-ml/docs/introduction#supported_models_in).
    * 
* * MODEL = 5; @@ -66,8 +66,7 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { * * *
-   * An entry type which is used for streaming entries. Example:
-   * Pub/Sub topic.
+   * An entry type for streaming entries. For example, a Pub/Sub topic.
    * 
* * DATA_STREAM = 3; @@ -77,13 +76,23 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { * * *
-   * An entry type which is a set of files or objects. Example:
+   * An entry type for a set of files or objects. For example, a
    * Cloud Storage fileset.
    * 
* * FILESET = 4; */ FILESET(4), + /** + * + * + *
+   * A group of servers that work together. For example, a Kafka cluster.
+   * 
+ * + * CLUSTER = 6; + */ + CLUSTER(6), /** * * @@ -94,6 +103,27 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { * DATABASE = 7; */ DATABASE(7), + /** + * + * + *
+   * Output only. Connection to a data source. For example, a BigQuery
+   * connection.
+   * 
+ * + * DATA_SOURCE_CONNECTION = 8; + */ + DATA_SOURCE_CONNECTION(8), + /** + * + * + *
+   * Output only. Routine, for example, a BigQuery routine.
+   * 
+ * + * ROUTINE = 9; + */ + ROUTINE(9), /** * * @@ -121,7 +151,7 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { * * *
-   * Output only. The type of entry that has a GoogleSQL schema, including
+   * Output only. The entry type that has a GoogleSQL schema, including
    * logical views.
    * 
* @@ -132,8 +162,9 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { * * *
-   * Output only. The type of models, examples include
-   * https://cloud.google.com/bigquery-ml/docs/bigqueryml-intro
+   * Output only. The type of models.
+   * For more information, see [Supported models in BigQuery ML]
+   * (https://cloud.google.com/bigquery-ml/docs/introduction#supported_models_in).
    * 
* * MODEL = 5; @@ -143,8 +174,7 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { * * *
-   * An entry type which is used for streaming entries. Example:
-   * Pub/Sub topic.
+   * An entry type for streaming entries. For example, a Pub/Sub topic.
    * 
* * DATA_STREAM = 3; @@ -154,13 +184,23 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { * * *
-   * An entry type which is a set of files or objects. Example:
+   * An entry type for a set of files or objects. For example, a
    * Cloud Storage fileset.
    * 
* * FILESET = 4; */ public static final int FILESET_VALUE = 4; + /** + * + * + *
+   * A group of servers that work together. For example, a Kafka cluster.
+   * 
+ * + * CLUSTER = 6; + */ + public static final int CLUSTER_VALUE = 6; /** * * @@ -171,6 +211,27 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum { * DATABASE = 7; */ public static final int DATABASE_VALUE = 7; + /** + * + * + *
+   * Output only. Connection to a data source. For example, a BigQuery
+   * connection.
+   * 
+ * + * DATA_SOURCE_CONNECTION = 8; + */ + public static final int DATA_SOURCE_CONNECTION_VALUE = 8; + /** + * + * + *
+   * Output only. Routine, for example, a BigQuery routine.
+   * 
+ * + * ROUTINE = 9; + */ + public static final int ROUTINE_VALUE = 9; /** * * @@ -216,8 +277,14 @@ public static EntryType forNumber(int value) { return DATA_STREAM; case 4: return FILESET; + case 6: + return CLUSTER; case 7: return DATABASE; + case 8: + return DATA_SOURCE_CONNECTION; + case 9: + return ROUTINE; case 14: return SERVICE; default: diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequest.java index ad92b9ea..7126a55c 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequest.java @@ -236,7 +236,7 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * Required. Resource names of the taxonomies to be exported.
+   * Required. Resource names of the taxonomies to export.
    * 
* * @@ -252,7 +252,7 @@ public com.google.protobuf.ProtocolStringList getTaxonomiesList() { * * *
-   * Required. Resource names of the taxonomies to be exported.
+   * Required. Resource names of the taxonomies to export.
    * 
* * @@ -268,7 +268,7 @@ public int getTaxonomiesCount() { * * *
-   * Required. Resource names of the taxonomies to be exported.
+   * Required. Resource names of the taxonomies to export.
    * 
* * @@ -285,7 +285,7 @@ public java.lang.String getTaxonomies(int index) { * * *
-   * Required. Resource names of the taxonomies to be exported.
+   * Required. Resource names of the taxonomies to export.
    * 
* * @@ -304,8 +304,8 @@ public com.google.protobuf.ByteString getTaxonomiesBytes(int index) { * * *
-   * Export taxonomies as serialized taxonomies, which contain all the policy
-   * tags as nested protos.
+   * Serialized export taxonomies that contain all the policy
+   * tags as nested protocol buffers.
    * 
* * bool serialized_taxonomies = 3; @@ -320,8 +320,8 @@ public boolean hasSerializedTaxonomies() { * * *
-   * Export taxonomies as serialized taxonomies, which contain all the policy
-   * tags as nested protos.
+   * Serialized export taxonomies that contain all the policy
+   * tags as nested protocol buffers.
    * 
* * bool serialized_taxonomies = 3; @@ -876,7 +876,7 @@ private void ensureTaxonomiesIsMutable() { * * *
-     * Required. Resource names of the taxonomies to be exported.
+     * Required. Resource names of the taxonomies to export.
      * 
* * @@ -892,7 +892,7 @@ public com.google.protobuf.ProtocolStringList getTaxonomiesList() { * * *
-     * Required. Resource names of the taxonomies to be exported.
+     * Required. Resource names of the taxonomies to export.
      * 
* * @@ -908,7 +908,7 @@ public int getTaxonomiesCount() { * * *
-     * Required. Resource names of the taxonomies to be exported.
+     * Required. Resource names of the taxonomies to export.
      * 
* * @@ -925,7 +925,7 @@ public java.lang.String getTaxonomies(int index) { * * *
-     * Required. Resource names of the taxonomies to be exported.
+     * Required. Resource names of the taxonomies to export.
      * 
* * @@ -942,7 +942,7 @@ public com.google.protobuf.ByteString getTaxonomiesBytes(int index) { * * *
-     * Required. Resource names of the taxonomies to be exported.
+     * Required. Resource names of the taxonomies to export.
      * 
* * @@ -966,7 +966,7 @@ public Builder setTaxonomies(int index, java.lang.String value) { * * *
-     * Required. Resource names of the taxonomies to be exported.
+     * Required. Resource names of the taxonomies to export.
      * 
* * @@ -989,7 +989,7 @@ public Builder addTaxonomies(java.lang.String value) { * * *
-     * Required. Resource names of the taxonomies to be exported.
+     * Required. Resource names of the taxonomies to export.
      * 
* * @@ -1009,7 +1009,7 @@ public Builder addAllTaxonomies(java.lang.Iterable values) { * * *
-     * Required. Resource names of the taxonomies to be exported.
+     * Required. Resource names of the taxonomies to export.
      * 
* * @@ -1028,7 +1028,7 @@ public Builder clearTaxonomies() { * * *
-     * Required. Resource names of the taxonomies to be exported.
+     * Required. Resource names of the taxonomies to export.
      * 
* * @@ -1053,8 +1053,8 @@ public Builder addTaxonomiesBytes(com.google.protobuf.ByteString value) { * * *
-     * Export taxonomies as serialized taxonomies, which contain all the policy
-     * tags as nested protos.
+     * Serialized export taxonomies that contain all the policy
+     * tags as nested protocol buffers.
      * 
* * bool serialized_taxonomies = 3; @@ -1068,8 +1068,8 @@ public boolean hasSerializedTaxonomies() { * * *
-     * Export taxonomies as serialized taxonomies, which contain all the policy
-     * tags as nested protos.
+     * Serialized export taxonomies that contain all the policy
+     * tags as nested protocol buffers.
      * 
* * bool serialized_taxonomies = 3; @@ -1086,8 +1086,8 @@ public boolean getSerializedTaxonomies() { * * *
-     * Export taxonomies as serialized taxonomies, which contain all the policy
-     * tags as nested protos.
+     * Serialized export taxonomies that contain all the policy
+     * tags as nested protocol buffers.
      * 
* * bool serialized_taxonomies = 3; @@ -1105,8 +1105,8 @@ public Builder setSerializedTaxonomies(boolean value) { * * *
-     * Export taxonomies as serialized taxonomies, which contain all the policy
-     * tags as nested protos.
+     * Serialized export taxonomies that contain all the policy
+     * tags as nested protocol buffers.
      * 
* * bool serialized_taxonomies = 3; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequestOrBuilder.java index c4dfaa69..2d5ec72f 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesRequestOrBuilder.java @@ -56,7 +56,7 @@ public interface ExportTaxonomiesRequestOrBuilder * * *
-   * Required. Resource names of the taxonomies to be exported.
+   * Required. Resource names of the taxonomies to export.
    * 
* * @@ -70,7 +70,7 @@ public interface ExportTaxonomiesRequestOrBuilder * * *
-   * Required. Resource names of the taxonomies to be exported.
+   * Required. Resource names of the taxonomies to export.
    * 
* * @@ -84,7 +84,7 @@ public interface ExportTaxonomiesRequestOrBuilder * * *
-   * Required. Resource names of the taxonomies to be exported.
+   * Required. Resource names of the taxonomies to export.
    * 
* * @@ -99,7 +99,7 @@ public interface ExportTaxonomiesRequestOrBuilder * * *
-   * Required. Resource names of the taxonomies to be exported.
+   * Required. Resource names of the taxonomies to export.
    * 
* * @@ -115,8 +115,8 @@ public interface ExportTaxonomiesRequestOrBuilder * * *
-   * Export taxonomies as serialized taxonomies, which contain all the policy
-   * tags as nested protos.
+   * Serialized export taxonomies that contain all the policy
+   * tags as nested protocol buffers.
    * 
* * bool serialized_taxonomies = 3; @@ -128,8 +128,8 @@ public interface ExportTaxonomiesRequestOrBuilder * * *
-   * Export taxonomies as serialized taxonomies, which contain all the policy
-   * tags as nested protos.
+   * Serialized export taxonomies that contain all the policy
+   * tags as nested protocol buffers.
    * 
* * bool serialized_taxonomies = 3; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponse.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponse.java index d42331a7..30d537ad 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponse.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponse.java @@ -128,7 +128,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * List of taxonomies and policy tags as nested protos.
+   * List of taxonomies and policy tags as nested protocol buffers.
    * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; @@ -141,7 +141,7 @@ public java.util.List getTax * * *
-   * List of taxonomies and policy tags as nested protos.
+   * List of taxonomies and policy tags as nested protocol buffers.
    * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; @@ -155,7 +155,7 @@ public java.util.List getTax * * *
-   * List of taxonomies and policy tags as nested protos.
+   * List of taxonomies and policy tags as nested protocol buffers.
    * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; @@ -168,7 +168,7 @@ public int getTaxonomiesCount() { * * *
-   * List of taxonomies and policy tags as nested protos.
+   * List of taxonomies and policy tags as nested protocol buffers.
    * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; @@ -181,7 +181,7 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomy getTaxonomies(int inde * * *
-   * List of taxonomies and policy tags as nested protos.
+   * List of taxonomies and policy tags as nested protocol buffers.
    * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; @@ -576,7 +576,7 @@ private void ensureTaxonomiesIsMutable() { * * *
-     * List of taxonomies and policy tags as nested protos.
+     * List of taxonomies and policy tags as nested protocol buffers.
      * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; @@ -592,7 +592,7 @@ public java.util.List getTax * * *
-     * List of taxonomies and policy tags as nested protos.
+     * List of taxonomies and policy tags as nested protocol buffers.
      * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; @@ -608,7 +608,7 @@ public int getTaxonomiesCount() { * * *
-     * List of taxonomies and policy tags as nested protos.
+     * List of taxonomies and policy tags as nested protocol buffers.
      * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; @@ -624,7 +624,7 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomy getTaxonomies(int inde * * *
-     * List of taxonomies and policy tags as nested protos.
+     * List of taxonomies and policy tags as nested protocol buffers.
      * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; @@ -647,7 +647,7 @@ public Builder setTaxonomies( * * *
-     * List of taxonomies and policy tags as nested protos.
+     * List of taxonomies and policy tags as nested protocol buffers.
      * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; @@ -667,7 +667,7 @@ public Builder setTaxonomies( * * *
-     * List of taxonomies and policy tags as nested protos.
+     * List of taxonomies and policy tags as nested protocol buffers.
      * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; @@ -689,7 +689,7 @@ public Builder addTaxonomies(com.google.cloud.datacatalog.v1.SerializedTaxonomy * * *
-     * List of taxonomies and policy tags as nested protos.
+     * List of taxonomies and policy tags as nested protocol buffers.
      * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; @@ -712,7 +712,7 @@ public Builder addTaxonomies( * * *
-     * List of taxonomies and policy tags as nested protos.
+     * List of taxonomies and policy tags as nested protocol buffers.
      * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; @@ -732,7 +732,7 @@ public Builder addTaxonomies( * * *
-     * List of taxonomies and policy tags as nested protos.
+     * List of taxonomies and policy tags as nested protocol buffers.
      * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; @@ -752,7 +752,7 @@ public Builder addTaxonomies( * * *
-     * List of taxonomies and policy tags as nested protos.
+     * List of taxonomies and policy tags as nested protocol buffers.
      * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; @@ -772,7 +772,7 @@ public Builder addAllTaxonomies( * * *
-     * List of taxonomies and policy tags as nested protos.
+     * List of taxonomies and policy tags as nested protocol buffers.
      * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; @@ -791,7 +791,7 @@ public Builder clearTaxonomies() { * * *
-     * List of taxonomies and policy tags as nested protos.
+     * List of taxonomies and policy tags as nested protocol buffers.
      * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; @@ -810,7 +810,7 @@ public Builder removeTaxonomies(int index) { * * *
-     * List of taxonomies and policy tags as nested protos.
+     * List of taxonomies and policy tags as nested protocol buffers.
      * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; @@ -823,7 +823,7 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder getTaxonomiesB * * *
-     * List of taxonomies and policy tags as nested protos.
+     * List of taxonomies and policy tags as nested protocol buffers.
      * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; @@ -840,7 +840,7 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomies * * *
-     * List of taxonomies and policy tags as nested protos.
+     * List of taxonomies and policy tags as nested protocol buffers.
      * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; @@ -857,7 +857,7 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomies * * *
-     * List of taxonomies and policy tags as nested protos.
+     * List of taxonomies and policy tags as nested protocol buffers.
      * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; @@ -870,7 +870,7 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder addTaxonomiesB * * *
-     * List of taxonomies and policy tags as nested protos.
+     * List of taxonomies and policy tags as nested protocol buffers.
      * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; @@ -885,7 +885,7 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder addTaxonomiesB * * *
-     * List of taxonomies and policy tags as nested protos.
+     * List of taxonomies and policy tags as nested protocol buffers.
      * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponseOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponseOrBuilder.java index eb396785..5ab817d5 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponseOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ExportTaxonomiesResponseOrBuilder.java @@ -27,7 +27,7 @@ public interface ExportTaxonomiesResponseOrBuilder * * *
-   * List of taxonomies and policy tags as nested protos.
+   * List of taxonomies and policy tags as nested protocol buffers.
    * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; @@ -37,7 +37,7 @@ public interface ExportTaxonomiesResponseOrBuilder * * *
-   * List of taxonomies and policy tags as nested protos.
+   * List of taxonomies and policy tags as nested protocol buffers.
    * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; @@ -47,7 +47,7 @@ public interface ExportTaxonomiesResponseOrBuilder * * *
-   * List of taxonomies and policy tags as nested protos.
+   * List of taxonomies and policy tags as nested protocol buffers.
    * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; @@ -57,7 +57,7 @@ public interface ExportTaxonomiesResponseOrBuilder * * *
-   * List of taxonomies and policy tags as nested protos.
+   * List of taxonomies and policy tags as nested protocol buffers.
    * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; @@ -68,7 +68,7 @@ public interface ExportTaxonomiesResponseOrBuilder * * *
-   * List of taxonomies and policy tags as nested protos.
+   * List of taxonomies and policy tags as nested protocol buffers.
    * 
* * repeated .google.cloud.datacatalog.v1.SerializedTaxonomy taxonomies = 1; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldType.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldType.java index 036fc2a8..e8a493d4 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldType.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldType.java @@ -126,7 +126,7 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * This is the default invalid value for a type.
+     * The default invalid value for a type.
      * 
* * PRIMITIVE_TYPE_UNSPECIFIED = 0; @@ -172,6 +172,16 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { * TIMESTAMP = 4; */ TIMESTAMP(4), + /** + * + * + *
+     * A Richtext description.
+     * 
+ * + * RICHTEXT = 5; + */ + RICHTEXT(5), UNRECOGNIZED(-1), ; @@ -179,7 +189,7 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * This is the default invalid value for a type.
+     * The default invalid value for a type.
      * 
* * PRIMITIVE_TYPE_UNSPECIFIED = 0; @@ -225,6 +235,16 @@ public enum PrimitiveType implements com.google.protobuf.ProtocolMessageEnum { * TIMESTAMP = 4; */ public static final int TIMESTAMP_VALUE = 4; + /** + * + * + *
+     * A Richtext description.
+     * 
+ * + * RICHTEXT = 5; + */ + public static final int RICHTEXT_VALUE = 5; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -260,6 +280,8 @@ public static PrimitiveType forNumber(int value) { return BOOL; case 4: return TIMESTAMP; + case 5: + return RICHTEXT; default: return null; } @@ -327,7 +349,7 @@ public interface EnumTypeOrBuilder * The display names of the values in this set must not be empty and must * be case-insensitively unique within this set. * The order of items in this set is preserved. This field can be used to - * create, remove and reorder enum values. To rename enum values, use the + * create, remove, and reorder enum values. To rename enum values, use the * `RenameTagTemplateFieldEnumValue` method. *
* @@ -345,7 +367,7 @@ public interface EnumTypeOrBuilder * The display names of the values in this set must not be empty and must * be case-insensitively unique within this set. * The order of items in this set is preserved. This field can be used to - * create, remove and reorder enum values. To rename enum values, use the + * create, remove, and reorder enum values. To rename enum values, use the * `RenameTagTemplateFieldEnumValue` method. *
* @@ -362,7 +384,7 @@ public interface EnumTypeOrBuilder * The display names of the values in this set must not be empty and must * be case-insensitively unique within this set. * The order of items in this set is preserved. This field can be used to - * create, remove and reorder enum values. To rename enum values, use the + * create, remove, and reorder enum values. To rename enum values, use the * `RenameTagTemplateFieldEnumValue` method. *
* @@ -379,7 +401,7 @@ public interface EnumTypeOrBuilder * The display names of the values in this set must not be empty and must * be case-insensitively unique within this set. * The order of items in this set is preserved. This field can be used to - * create, remove and reorder enum values. To rename enum values, use the + * create, remove, and reorder enum values. To rename enum values, use the * `RenameTagTemplateFieldEnumValue` method. *
* @@ -397,7 +419,7 @@ public interface EnumTypeOrBuilder * The display names of the values in this set must not be empty and must * be case-insensitively unique within this set. * The order of items in this set is preserved. This field can be used to - * create, remove and reorder enum values. To rename enum values, use the + * create, remove, and reorder enum values. To rename enum values, use the * `RenameTagTemplateFieldEnumValue` method. *
* @@ -1187,7 +1209,7 @@ public com.google.protobuf.Parser getParserForType() { * The display names of the values in this set must not be empty and must * be case-insensitively unique within this set. * The order of items in this set is preserved. This field can be used to - * create, remove and reorder enum values. To rename enum values, use the + * create, remove, and reorder enum values. To rename enum values, use the * `RenameTagTemplateFieldEnumValue` method. *
* @@ -1208,7 +1230,7 @@ public com.google.protobuf.Parser getParserForType() { * The display names of the values in this set must not be empty and must * be case-insensitively unique within this set. * The order of items in this set is preserved. This field can be used to - * create, remove and reorder enum values. To rename enum values, use the + * create, remove, and reorder enum values. To rename enum values, use the * `RenameTagTemplateFieldEnumValue` method. *
* @@ -1230,7 +1252,7 @@ public com.google.protobuf.Parser getParserForType() { * The display names of the values in this set must not be empty and must * be case-insensitively unique within this set. * The order of items in this set is preserved. This field can be used to - * create, remove and reorder enum values. To rename enum values, use the + * create, remove, and reorder enum values. To rename enum values, use the * `RenameTagTemplateFieldEnumValue` method. *
* @@ -1250,7 +1272,7 @@ public int getAllowedValuesCount() { * The display names of the values in this set must not be empty and must * be case-insensitively unique within this set. * The order of items in this set is preserved. This field can be used to - * create, remove and reorder enum values. To rename enum values, use the + * create, remove, and reorder enum values. To rename enum values, use the * `RenameTagTemplateFieldEnumValue` method. *
* @@ -1271,7 +1293,7 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue getAllowedVa * The display names of the values in this set must not be empty and must * be case-insensitively unique within this set. * The order of items in this set is preserved. This field can be used to - * create, remove and reorder enum values. To rename enum values, use the + * create, remove, and reorder enum values. To rename enum values, use the * `RenameTagTemplateFieldEnumValue` method. *
* @@ -1667,7 +1689,7 @@ private void ensureAllowedValuesIsMutable() { * The display names of the values in this set must not be empty and must * be case-insensitively unique within this set. * The order of items in this set is preserved. This field can be used to - * create, remove and reorder enum values. To rename enum values, use the + * create, remove, and reorder enum values. To rename enum values, use the * `RenameTagTemplateFieldEnumValue` method. *
* @@ -1692,7 +1714,7 @@ private void ensureAllowedValuesIsMutable() { * The display names of the values in this set must not be empty and must * be case-insensitively unique within this set. * The order of items in this set is preserved. This field can be used to - * create, remove and reorder enum values. To rename enum values, use the + * create, remove, and reorder enum values. To rename enum values, use the * `RenameTagTemplateFieldEnumValue` method. *
* @@ -1716,7 +1738,7 @@ public int getAllowedValuesCount() { * The display names of the values in this set must not be empty and must * be case-insensitively unique within this set. * The order of items in this set is preserved. This field can be used to - * create, remove and reorder enum values. To rename enum values, use the + * create, remove, and reorder enum values. To rename enum values, use the * `RenameTagTemplateFieldEnumValue` method. *
* @@ -1741,7 +1763,7 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue getAllowedVa * The display names of the values in this set must not be empty and must * be case-insensitively unique within this set. * The order of items in this set is preserved. This field can be used to - * create, remove and reorder enum values. To rename enum values, use the + * create, remove, and reorder enum values. To rename enum values, use the * `RenameTagTemplateFieldEnumValue` method. *
* @@ -1772,7 +1794,7 @@ public Builder setAllowedValues( * The display names of the values in this set must not be empty and must * be case-insensitively unique within this set. * The order of items in this set is preserved. This field can be used to - * create, remove and reorder enum values. To rename enum values, use the + * create, remove, and reorder enum values. To rename enum values, use the * `RenameTagTemplateFieldEnumValue` method. * * @@ -1801,7 +1823,7 @@ public Builder setAllowedValues( * The display names of the values in this set must not be empty and must * be case-insensitively unique within this set. * The order of items in this set is preserved. This field can be used to - * create, remove and reorder enum values. To rename enum values, use the + * create, remove, and reorder enum values. To rename enum values, use the * `RenameTagTemplateFieldEnumValue` method. * * @@ -1832,7 +1854,7 @@ public Builder addAllowedValues( * The display names of the values in this set must not be empty and must * be case-insensitively unique within this set. * The order of items in this set is preserved. This field can be used to - * create, remove and reorder enum values. To rename enum values, use the + * create, remove, and reorder enum values. To rename enum values, use the * `RenameTagTemplateFieldEnumValue` method. * * @@ -1863,7 +1885,7 @@ public Builder addAllowedValues( * The display names of the values in this set must not be empty and must * be case-insensitively unique within this set. * The order of items in this set is preserved. This field can be used to - * create, remove and reorder enum values. To rename enum values, use the + * create, remove, and reorder enum values. To rename enum values, use the * `RenameTagTemplateFieldEnumValue` method. * * @@ -1891,7 +1913,7 @@ public Builder addAllowedValues( * The display names of the values in this set must not be empty and must * be case-insensitively unique within this set. * The order of items in this set is preserved. This field can be used to - * create, remove and reorder enum values. To rename enum values, use the + * create, remove, and reorder enum values. To rename enum values, use the * `RenameTagTemplateFieldEnumValue` method. * * @@ -1920,7 +1942,7 @@ public Builder addAllowedValues( * The display names of the values in this set must not be empty and must * be case-insensitively unique within this set. * The order of items in this set is preserved. This field can be used to - * create, remove and reorder enum values. To rename enum values, use the + * create, remove, and reorder enum values. To rename enum values, use the * `RenameTagTemplateFieldEnumValue` method. * * @@ -1949,7 +1971,7 @@ public Builder addAllAllowedValues( * The display names of the values in this set must not be empty and must * be case-insensitively unique within this set. * The order of items in this set is preserved. This field can be used to - * create, remove and reorder enum values. To rename enum values, use the + * create, remove, and reorder enum values. To rename enum values, use the * `RenameTagTemplateFieldEnumValue` method. * * @@ -1976,7 +1998,7 @@ public Builder clearAllowedValues() { * The display names of the values in this set must not be empty and must * be case-insensitively unique within this set. * The order of items in this set is preserved. This field can be used to - * create, remove and reorder enum values. To rename enum values, use the + * create, remove, and reorder enum values. To rename enum values, use the * `RenameTagTemplateFieldEnumValue` method. * * @@ -2003,7 +2025,7 @@ public Builder removeAllowedValues(int index) { * The display names of the values in this set must not be empty and must * be case-insensitively unique within this set. * The order of items in this set is preserved. This field can be used to - * create, remove and reorder enum values. To rename enum values, use the + * create, remove, and reorder enum values. To rename enum values, use the * `RenameTagTemplateFieldEnumValue` method. * * @@ -2024,7 +2046,7 @@ public Builder removeAllowedValues(int index) { * The display names of the values in this set must not be empty and must * be case-insensitively unique within this set. * The order of items in this set is preserved. This field can be used to - * create, remove and reorder enum values. To rename enum values, use the + * create, remove, and reorder enum values. To rename enum values, use the * `RenameTagTemplateFieldEnumValue` method. * * @@ -2049,7 +2071,7 @@ public Builder removeAllowedValues(int index) { * The display names of the values in this set must not be empty and must * be case-insensitively unique within this set. * The order of items in this set is preserved. This field can be used to - * create, remove and reorder enum values. To rename enum values, use the + * create, remove, and reorder enum values. To rename enum values, use the * `RenameTagTemplateFieldEnumValue` method. * * @@ -2075,7 +2097,7 @@ public Builder removeAllowedValues(int index) { * The display names of the values in this set must not be empty and must * be case-insensitively unique within this set. * The order of items in this set is preserved. This field can be used to - * create, remove and reorder enum values. To rename enum values, use the + * create, remove, and reorder enum values. To rename enum values, use the * `RenameTagTemplateFieldEnumValue` method. * * @@ -2098,7 +2120,7 @@ public Builder removeAllowedValues(int index) { * The display names of the values in this set must not be empty and must * be case-insensitively unique within this set. * The order of items in this set is preserved. This field can be used to - * create, remove and reorder enum values. To rename enum values, use the + * create, remove, and reorder enum values. To rename enum values, use the * `RenameTagTemplateFieldEnumValue` method. * * @@ -2122,7 +2144,7 @@ public Builder removeAllowedValues(int index) { * The display names of the values in this set must not be empty and must * be case-insensitively unique within this set. * The order of items in this set is preserved. This field can be used to - * create, remove and reorder enum values. To rename enum values, use the + * create, remove, and reorder enum values. To rename enum values, use the * `RenameTagTemplateFieldEnumValue` method. * * @@ -2259,7 +2281,7 @@ public TypeDeclCase getTypeDeclCase() { * * *
-   * Represents primitive types - string, bool etc.
+   * Primitive types, such as string, boolean, etc.
    * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; @@ -2273,7 +2295,7 @@ public boolean hasPrimitiveType() { * * *
-   * Represents primitive types - string, bool etc.
+   * Primitive types, such as string, boolean, etc.
    * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; @@ -2290,7 +2312,7 @@ public int getPrimitiveTypeValue() { * * *
-   * Represents primitive types - string, bool etc.
+   * Primitive types, such as string, boolean, etc.
    * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; @@ -2315,7 +2337,7 @@ public com.google.cloud.datacatalog.v1.FieldType.PrimitiveType getPrimitiveType( * * *
-   * Represents an enum type.
+   * An enum type.
    * 
* * .google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2; @@ -2330,7 +2352,7 @@ public boolean hasEnumType() { * * *
-   * Represents an enum type.
+   * An enum type.
    * 
* * .google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2; @@ -2348,7 +2370,7 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType getEnumType() { * * *
-   * Represents an enum type.
+   * An enum type.
    * 
* * .google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2; @@ -2738,7 +2760,7 @@ public Builder clearTypeDecl() { * * *
-     * Represents primitive types - string, bool etc.
+     * Primitive types, such as string, boolean, etc.
      * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; @@ -2753,7 +2775,7 @@ public boolean hasPrimitiveType() { * * *
-     * Represents primitive types - string, bool etc.
+     * Primitive types, such as string, boolean, etc.
      * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; @@ -2771,7 +2793,7 @@ public int getPrimitiveTypeValue() { * * *
-     * Represents primitive types - string, bool etc.
+     * Primitive types, such as string, boolean, etc.
      * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; @@ -2789,7 +2811,7 @@ public Builder setPrimitiveTypeValue(int value) { * * *
-     * Represents primitive types - string, bool etc.
+     * Primitive types, such as string, boolean, etc.
      * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; @@ -2813,7 +2835,7 @@ public com.google.cloud.datacatalog.v1.FieldType.PrimitiveType getPrimitiveType( * * *
-     * Represents primitive types - string, bool etc.
+     * Primitive types, such as string, boolean, etc.
      * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; @@ -2834,7 +2856,7 @@ public Builder setPrimitiveType(com.google.cloud.datacatalog.v1.FieldType.Primit * * *
-     * Represents primitive types - string, bool etc.
+     * Primitive types, such as string, boolean, etc.
      * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; @@ -2859,7 +2881,7 @@ public Builder clearPrimitiveType() { * * *
-     * Represents an enum type.
+     * An enum type.
      * 
* * .google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2; @@ -2874,7 +2896,7 @@ public boolean hasEnumType() { * * *
-     * Represents an enum type.
+     * An enum type.
      * 
* * .google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2; @@ -2899,7 +2921,7 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType getEnumType() { * * *
-     * Represents an enum type.
+     * An enum type.
      * 
* * .google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2; @@ -2921,7 +2943,7 @@ public Builder setEnumType(com.google.cloud.datacatalog.v1.FieldType.EnumType va * * *
-     * Represents an enum type.
+     * An enum type.
      * 
* * .google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2; @@ -2941,7 +2963,7 @@ public Builder setEnumType( * * *
-     * Represents an enum type.
+     * An enum type.
      * 
* * .google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2; @@ -2973,7 +2995,7 @@ public Builder mergeEnumType(com.google.cloud.datacatalog.v1.FieldType.EnumType * * *
-     * Represents an enum type.
+     * An enum type.
      * 
* * .google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2; @@ -2998,7 +3020,7 @@ public Builder clearEnumType() { * * *
-     * Represents an enum type.
+     * An enum type.
      * 
* * .google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2; @@ -3010,7 +3032,7 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumType.Builder getEnumTypeBui * * *
-     * Represents an enum type.
+     * An enum type.
      * 
* * .google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2; @@ -3030,7 +3052,7 @@ public com.google.cloud.datacatalog.v1.FieldType.EnumTypeOrBuilder getEnumTypeOr * * *
-     * Represents an enum type.
+     * An enum type.
      * 
* * .google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldTypeOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldTypeOrBuilder.java index 83faf392..e777d0d0 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldTypeOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldTypeOrBuilder.java @@ -27,7 +27,7 @@ public interface FieldTypeOrBuilder * * *
-   * Represents primitive types - string, bool etc.
+   * Primitive types, such as string, boolean, etc.
    * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; @@ -39,7 +39,7 @@ public interface FieldTypeOrBuilder * * *
-   * Represents primitive types - string, bool etc.
+   * Primitive types, such as string, boolean, etc.
    * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; @@ -51,7 +51,7 @@ public interface FieldTypeOrBuilder * * *
-   * Represents primitive types - string, bool etc.
+   * Primitive types, such as string, boolean, etc.
    * 
* * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; @@ -64,7 +64,7 @@ public interface FieldTypeOrBuilder * * *
-   * Represents an enum type.
+   * An enum type.
    * 
* * .google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2; @@ -76,7 +76,7 @@ public interface FieldTypeOrBuilder * * *
-   * Represents an enum type.
+   * An enum type.
    * 
* * .google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2; @@ -88,7 +88,7 @@ public interface FieldTypeOrBuilder * * *
-   * Represents an enum type.
+   * An enum type.
    * 
* * .google.cloud.datacatalog.v1.FieldType.EnumType enum_type = 2; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpec.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpec.java index 6b0323b7..ed26590e 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpec.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpec.java @@ -22,7 +22,7 @@ * * *
- * Specifications of a single file in Cloud Storage.
+ * Specification of a single file in Cloud Storage.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.GcsFileSpec} @@ -138,7 +138,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The full file path. Example: `gs://bucket_name/a/b.txt`.
+   * Required. Full file path. Example: `gs://bucket_name/a/b.txt`.
    * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -161,7 +161,7 @@ public java.lang.String getFilePath() { * * *
-   * Required. The full file path. Example: `gs://bucket_name/a/b.txt`.
+   * Required. Full file path. Example: `gs://bucket_name/a/b.txt`.
    * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -187,7 +187,7 @@ public com.google.protobuf.ByteString getFilePathBytes() { * * *
-   * Output only. Timestamps about the Cloud Storage file.
+   * Output only. Creation, modification, and expiration timestamps of a Cloud Storage file.
    * 
* * @@ -204,7 +204,7 @@ public boolean hasGcsTimestamps() { * * *
-   * Output only. Timestamps about the Cloud Storage file.
+   * Output only. Creation, modification, and expiration timestamps of a Cloud Storage file.
    * 
* * @@ -223,7 +223,7 @@ public com.google.cloud.datacatalog.v1.SystemTimestamps getGcsTimestamps() { * * *
-   * Output only. Timestamps about the Cloud Storage file.
+   * Output only. Creation, modification, and expiration timestamps of a Cloud Storage file.
    * 
* * @@ -241,7 +241,7 @@ public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getGcsTimestamp * * *
-   * Output only. The size of the file, in bytes.
+   * Output only. File size in bytes.
    * 
* * int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -439,7 +439,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Specifications of a single file in Cloud Storage.
+   * Specification of a single file in Cloud Storage.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.GcsFileSpec} @@ -617,7 +617,7 @@ public Builder mergeFrom( * * *
-     * Required. The full file path. Example: `gs://bucket_name/a/b.txt`.
+     * Required. Full file path. Example: `gs://bucket_name/a/b.txt`.
      * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -639,7 +639,7 @@ public java.lang.String getFilePath() { * * *
-     * Required. The full file path. Example: `gs://bucket_name/a/b.txt`.
+     * Required. Full file path. Example: `gs://bucket_name/a/b.txt`.
      * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -661,7 +661,7 @@ public com.google.protobuf.ByteString getFilePathBytes() { * * *
-     * Required. The full file path. Example: `gs://bucket_name/a/b.txt`.
+     * Required. Full file path. Example: `gs://bucket_name/a/b.txt`.
      * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -682,7 +682,7 @@ public Builder setFilePath(java.lang.String value) { * * *
-     * Required. The full file path. Example: `gs://bucket_name/a/b.txt`.
+     * Required. Full file path. Example: `gs://bucket_name/a/b.txt`.
      * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -699,7 +699,7 @@ public Builder clearFilePath() { * * *
-     * Required. The full file path. Example: `gs://bucket_name/a/b.txt`.
+     * Required. Full file path. Example: `gs://bucket_name/a/b.txt`.
      * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -728,7 +728,7 @@ public Builder setFilePathBytes(com.google.protobuf.ByteString value) { * * *
-     * Output only. Timestamps about the Cloud Storage file.
+     * Output only. Creation, modification, and expiration timestamps of a Cloud Storage file.
      * 
* * @@ -744,7 +744,7 @@ public boolean hasGcsTimestamps() { * * *
-     * Output only. Timestamps about the Cloud Storage file.
+     * Output only. Creation, modification, and expiration timestamps of a Cloud Storage file.
      * 
* * @@ -766,7 +766,7 @@ public com.google.cloud.datacatalog.v1.SystemTimestamps getGcsTimestamps() { * * *
-     * Output only. Timestamps about the Cloud Storage file.
+     * Output only. Creation, modification, and expiration timestamps of a Cloud Storage file.
      * 
* * @@ -790,7 +790,7 @@ public Builder setGcsTimestamps(com.google.cloud.datacatalog.v1.SystemTimestamps * * *
-     * Output only. Timestamps about the Cloud Storage file.
+     * Output only. Creation, modification, and expiration timestamps of a Cloud Storage file.
      * 
* * @@ -812,7 +812,7 @@ public Builder setGcsTimestamps( * * *
-     * Output only. Timestamps about the Cloud Storage file.
+     * Output only. Creation, modification, and expiration timestamps of a Cloud Storage file.
      * 
* * @@ -840,7 +840,7 @@ public Builder mergeGcsTimestamps(com.google.cloud.datacatalog.v1.SystemTimestam * * *
-     * Output only. Timestamps about the Cloud Storage file.
+     * Output only. Creation, modification, and expiration timestamps of a Cloud Storage file.
      * 
* * @@ -862,7 +862,7 @@ public Builder clearGcsTimestamps() { * * *
-     * Output only. Timestamps about the Cloud Storage file.
+     * Output only. Creation, modification, and expiration timestamps of a Cloud Storage file.
      * 
* * @@ -878,7 +878,7 @@ public com.google.cloud.datacatalog.v1.SystemTimestamps.Builder getGcsTimestamps * * *
-     * Output only. Timestamps about the Cloud Storage file.
+     * Output only. Creation, modification, and expiration timestamps of a Cloud Storage file.
      * 
* * @@ -898,7 +898,7 @@ public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getGcsTimestamp * * *
-     * Output only. Timestamps about the Cloud Storage file.
+     * Output only. Creation, modification, and expiration timestamps of a Cloud Storage file.
      * 
* * @@ -927,7 +927,7 @@ public com.google.cloud.datacatalog.v1.SystemTimestampsOrBuilder getGcsTimestamp * * *
-     * Output only. The size of the file, in bytes.
+     * Output only. File size in bytes.
      * 
* * int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -942,7 +942,7 @@ public long getSizeBytes() { * * *
-     * Output only. The size of the file, in bytes.
+     * Output only. File size in bytes.
      * 
* * int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -960,7 +960,7 @@ public Builder setSizeBytes(long value) { * * *
-     * Output only. The size of the file, in bytes.
+     * Output only. File size in bytes.
      * 
* * int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpecOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpecOrBuilder.java index 448e1cba..334e0089 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpecOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFileSpecOrBuilder.java @@ -27,7 +27,7 @@ public interface GcsFileSpecOrBuilder * * *
-   * Required. The full file path. Example: `gs://bucket_name/a/b.txt`.
+   * Required. Full file path. Example: `gs://bucket_name/a/b.txt`.
    * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -39,7 +39,7 @@ public interface GcsFileSpecOrBuilder * * *
-   * Required. The full file path. Example: `gs://bucket_name/a/b.txt`.
+   * Required. Full file path. Example: `gs://bucket_name/a/b.txt`.
    * 
* * string file_path = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -52,7 +52,7 @@ public interface GcsFileSpecOrBuilder * * *
-   * Output only. Timestamps about the Cloud Storage file.
+   * Output only. Creation, modification, and expiration timestamps of a Cloud Storage file.
    * 
* * @@ -66,7 +66,7 @@ public interface GcsFileSpecOrBuilder * * *
-   * Output only. Timestamps about the Cloud Storage file.
+   * Output only. Creation, modification, and expiration timestamps of a Cloud Storage file.
    * 
* * @@ -80,7 +80,7 @@ public interface GcsFileSpecOrBuilder * * *
-   * Output only. Timestamps about the Cloud Storage file.
+   * Output only. Creation, modification, and expiration timestamps of a Cloud Storage file.
    * 
* * @@ -93,7 +93,7 @@ public interface GcsFileSpecOrBuilder * * *
-   * Output only. The size of the file, in bytes.
+   * Output only. File size in bytes.
    * 
* * int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpec.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpec.java index 77790be0..78bf3d8a 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpec.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpec.java @@ -141,15 +141,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
-   * See [Cloud Storage
-   * documentation](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames)
-   * for more information. Note that bucket wildcards are currently not
-   * supported.
-   * Examples of valid file_patterns:
-   *  * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
-   *                              directory.
+   * For more information, see [Wildcard Names]
+   * (https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames).
+   * Note: Currently, bucket wildcards are not supported.
+   * Examples of valid `file_patterns`:
+   *  * `gs://bucket_name/dir/*`: matches all files in `bucket_name/dir`
+   *                              directory
    *  * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir`
-   *                               spanning all subdirectories.
+   *                               and all subdirectories
    *  * `gs://bucket_name/file*`: matches files prefixed by `file` in
    *                              `bucket_name`
    *  * `gs://bucket_name/??.txt`: matches files with two characters followed by
@@ -160,10 +159,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *  * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
    *                                  or `m` followed by `.txt` in `bucket_name`
    *  * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
-   *                              `a/*/b` pattern, such as `a/c/b`, `a/d/b`
+   *                              the `a/*/b` pattern, such as `a/c/b`, `a/d/b`
    *  * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
-   * You can combine wildcards to provide more powerful matches, for example:
-   *  * `gs://bucket_name/[a-m]??.j*g`
+   * You can combine wildcards to match complex sets of files, for example:
+   * `gs://bucket_name/[a-m]??.j*g`
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -178,15 +177,14 @@ public com.google.protobuf.ProtocolStringList getFilePatternsList() { * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
-   * See [Cloud Storage
-   * documentation](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames)
-   * for more information. Note that bucket wildcards are currently not
-   * supported.
-   * Examples of valid file_patterns:
-   *  * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
-   *                              directory.
+   * For more information, see [Wildcard Names]
+   * (https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames).
+   * Note: Currently, bucket wildcards are not supported.
+   * Examples of valid `file_patterns`:
+   *  * `gs://bucket_name/dir/*`: matches all files in `bucket_name/dir`
+   *                              directory
    *  * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir`
-   *                               spanning all subdirectories.
+   *                               and all subdirectories
    *  * `gs://bucket_name/file*`: matches files prefixed by `file` in
    *                              `bucket_name`
    *  * `gs://bucket_name/??.txt`: matches files with two characters followed by
@@ -197,10 +195,10 @@ public com.google.protobuf.ProtocolStringList getFilePatternsList() {
    *  * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
    *                                  or `m` followed by `.txt` in `bucket_name`
    *  * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
-   *                              `a/*/b` pattern, such as `a/c/b`, `a/d/b`
+   *                              the `a/*/b` pattern, such as `a/c/b`, `a/d/b`
    *  * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
-   * You can combine wildcards to provide more powerful matches, for example:
-   *  * `gs://bucket_name/[a-m]??.j*g`
+   * You can combine wildcards to match complex sets of files, for example:
+   * `gs://bucket_name/[a-m]??.j*g`
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -215,15 +213,14 @@ public int getFilePatternsCount() { * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
-   * See [Cloud Storage
-   * documentation](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames)
-   * for more information. Note that bucket wildcards are currently not
-   * supported.
-   * Examples of valid file_patterns:
-   *  * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
-   *                              directory.
+   * For more information, see [Wildcard Names]
+   * (https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames).
+   * Note: Currently, bucket wildcards are not supported.
+   * Examples of valid `file_patterns`:
+   *  * `gs://bucket_name/dir/*`: matches all files in `bucket_name/dir`
+   *                              directory
    *  * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir`
-   *                               spanning all subdirectories.
+   *                               and all subdirectories
    *  * `gs://bucket_name/file*`: matches files prefixed by `file` in
    *                              `bucket_name`
    *  * `gs://bucket_name/??.txt`: matches files with two characters followed by
@@ -234,10 +231,10 @@ public int getFilePatternsCount() {
    *  * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
    *                                  or `m` followed by `.txt` in `bucket_name`
    *  * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
-   *                              `a/*/b` pattern, such as `a/c/b`, `a/d/b`
+   *                              the `a/*/b` pattern, such as `a/c/b`, `a/d/b`
    *  * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
-   * You can combine wildcards to provide more powerful matches, for example:
-   *  * `gs://bucket_name/[a-m]??.j*g`
+   * You can combine wildcards to match complex sets of files, for example:
+   * `gs://bucket_name/[a-m]??.j*g`
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -253,15 +250,14 @@ public java.lang.String getFilePatterns(int index) { * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
-   * See [Cloud Storage
-   * documentation](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames)
-   * for more information. Note that bucket wildcards are currently not
-   * supported.
-   * Examples of valid file_patterns:
-   *  * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
-   *                              directory.
+   * For more information, see [Wildcard Names]
+   * (https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames).
+   * Note: Currently, bucket wildcards are not supported.
+   * Examples of valid `file_patterns`:
+   *  * `gs://bucket_name/dir/*`: matches all files in `bucket_name/dir`
+   *                              directory
    *  * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir`
-   *                               spanning all subdirectories.
+   *                               and all subdirectories
    *  * `gs://bucket_name/file*`: matches files prefixed by `file` in
    *                              `bucket_name`
    *  * `gs://bucket_name/??.txt`: matches files with two characters followed by
@@ -272,10 +268,10 @@ public java.lang.String getFilePatterns(int index) {
    *  * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
    *                                  or `m` followed by `.txt` in `bucket_name`
    *  * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
-   *                              `a/*/b` pattern, such as `a/c/b`, `a/d/b`
+   *                              the `a/*/b` pattern, such as `a/c/b`, `a/d/b`
    *  * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
-   * You can combine wildcards to provide more powerful matches, for example:
-   *  * `gs://bucket_name/[a-m]??.j*g`
+   * You can combine wildcards to match complex sets of files, for example:
+   * `gs://bucket_name/[a-m]??.j*g`
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -778,15 +774,14 @@ private void ensureFilePatternsIsMutable() { * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
-     * See [Cloud Storage
-     * documentation](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames)
-     * for more information. Note that bucket wildcards are currently not
-     * supported.
-     * Examples of valid file_patterns:
-     *  * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
-     *                              directory.
+     * For more information, see [Wildcard Names]
+     * (https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames).
+     * Note: Currently, bucket wildcards are not supported.
+     * Examples of valid `file_patterns`:
+     *  * `gs://bucket_name/dir/*`: matches all files in `bucket_name/dir`
+     *                              directory
      *  * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir`
-     *                               spanning all subdirectories.
+     *                               and all subdirectories
      *  * `gs://bucket_name/file*`: matches files prefixed by `file` in
      *                              `bucket_name`
      *  * `gs://bucket_name/??.txt`: matches files with two characters followed by
@@ -797,10 +792,10 @@ private void ensureFilePatternsIsMutable() {
      *  * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
      *                                  or `m` followed by `.txt` in `bucket_name`
      *  * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
-     *                              `a/*/b` pattern, such as `a/c/b`, `a/d/b`
+     *                              the `a/*/b` pattern, such as `a/c/b`, `a/d/b`
      *  * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
-     * You can combine wildcards to provide more powerful matches, for example:
-     *  * `gs://bucket_name/[a-m]??.j*g`
+     * You can combine wildcards to match complex sets of files, for example:
+     * `gs://bucket_name/[a-m]??.j*g`
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -815,15 +810,14 @@ public com.google.protobuf.ProtocolStringList getFilePatternsList() { * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
-     * See [Cloud Storage
-     * documentation](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames)
-     * for more information. Note that bucket wildcards are currently not
-     * supported.
-     * Examples of valid file_patterns:
-     *  * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
-     *                              directory.
+     * For more information, see [Wildcard Names]
+     * (https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames).
+     * Note: Currently, bucket wildcards are not supported.
+     * Examples of valid `file_patterns`:
+     *  * `gs://bucket_name/dir/*`: matches all files in `bucket_name/dir`
+     *                              directory
      *  * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir`
-     *                               spanning all subdirectories.
+     *                               and all subdirectories
      *  * `gs://bucket_name/file*`: matches files prefixed by `file` in
      *                              `bucket_name`
      *  * `gs://bucket_name/??.txt`: matches files with two characters followed by
@@ -834,10 +828,10 @@ public com.google.protobuf.ProtocolStringList getFilePatternsList() {
      *  * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
      *                                  or `m` followed by `.txt` in `bucket_name`
      *  * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
-     *                              `a/*/b` pattern, such as `a/c/b`, `a/d/b`
+     *                              the `a/*/b` pattern, such as `a/c/b`, `a/d/b`
      *  * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
-     * You can combine wildcards to provide more powerful matches, for example:
-     *  * `gs://bucket_name/[a-m]??.j*g`
+     * You can combine wildcards to match complex sets of files, for example:
+     * `gs://bucket_name/[a-m]??.j*g`
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -852,15 +846,14 @@ public int getFilePatternsCount() { * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
-     * See [Cloud Storage
-     * documentation](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames)
-     * for more information. Note that bucket wildcards are currently not
-     * supported.
-     * Examples of valid file_patterns:
-     *  * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
-     *                              directory.
+     * For more information, see [Wildcard Names]
+     * (https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames).
+     * Note: Currently, bucket wildcards are not supported.
+     * Examples of valid `file_patterns`:
+     *  * `gs://bucket_name/dir/*`: matches all files in `bucket_name/dir`
+     *                              directory
      *  * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir`
-     *                               spanning all subdirectories.
+     *                               and all subdirectories
      *  * `gs://bucket_name/file*`: matches files prefixed by `file` in
      *                              `bucket_name`
      *  * `gs://bucket_name/??.txt`: matches files with two characters followed by
@@ -871,10 +864,10 @@ public int getFilePatternsCount() {
      *  * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
      *                                  or `m` followed by `.txt` in `bucket_name`
      *  * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
-     *                              `a/*/b` pattern, such as `a/c/b`, `a/d/b`
+     *                              the `a/*/b` pattern, such as `a/c/b`, `a/d/b`
      *  * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
-     * You can combine wildcards to provide more powerful matches, for example:
-     *  * `gs://bucket_name/[a-m]??.j*g`
+     * You can combine wildcards to match complex sets of files, for example:
+     * `gs://bucket_name/[a-m]??.j*g`
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -890,15 +883,14 @@ public java.lang.String getFilePatterns(int index) { * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
-     * See [Cloud Storage
-     * documentation](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames)
-     * for more information. Note that bucket wildcards are currently not
-     * supported.
-     * Examples of valid file_patterns:
-     *  * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
-     *                              directory.
+     * For more information, see [Wildcard Names]
+     * (https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames).
+     * Note: Currently, bucket wildcards are not supported.
+     * Examples of valid `file_patterns`:
+     *  * `gs://bucket_name/dir/*`: matches all files in `bucket_name/dir`
+     *                              directory
      *  * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir`
-     *                               spanning all subdirectories.
+     *                               and all subdirectories
      *  * `gs://bucket_name/file*`: matches files prefixed by `file` in
      *                              `bucket_name`
      *  * `gs://bucket_name/??.txt`: matches files with two characters followed by
@@ -909,10 +901,10 @@ public java.lang.String getFilePatterns(int index) {
      *  * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
      *                                  or `m` followed by `.txt` in `bucket_name`
      *  * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
-     *                              `a/*/b` pattern, such as `a/c/b`, `a/d/b`
+     *                              the `a/*/b` pattern, such as `a/c/b`, `a/d/b`
      *  * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
-     * You can combine wildcards to provide more powerful matches, for example:
-     *  * `gs://bucket_name/[a-m]??.j*g`
+     * You can combine wildcards to match complex sets of files, for example:
+     * `gs://bucket_name/[a-m]??.j*g`
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -928,15 +920,14 @@ public com.google.protobuf.ByteString getFilePatternsBytes(int index) { * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
-     * See [Cloud Storage
-     * documentation](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames)
-     * for more information. Note that bucket wildcards are currently not
-     * supported.
-     * Examples of valid file_patterns:
-     *  * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
-     *                              directory.
+     * For more information, see [Wildcard Names]
+     * (https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames).
+     * Note: Currently, bucket wildcards are not supported.
+     * Examples of valid `file_patterns`:
+     *  * `gs://bucket_name/dir/*`: matches all files in `bucket_name/dir`
+     *                              directory
      *  * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir`
-     *                               spanning all subdirectories.
+     *                               and all subdirectories
      *  * `gs://bucket_name/file*`: matches files prefixed by `file` in
      *                              `bucket_name`
      *  * `gs://bucket_name/??.txt`: matches files with two characters followed by
@@ -947,10 +938,10 @@ public com.google.protobuf.ByteString getFilePatternsBytes(int index) {
      *  * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
      *                                  or `m` followed by `.txt` in `bucket_name`
      *  * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
-     *                              `a/*/b` pattern, such as `a/c/b`, `a/d/b`
+     *                              the `a/*/b` pattern, such as `a/c/b`, `a/d/b`
      *  * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
-     * You can combine wildcards to provide more powerful matches, for example:
-     *  * `gs://bucket_name/[a-m]??.j*g`
+     * You can combine wildcards to match complex sets of files, for example:
+     * `gs://bucket_name/[a-m]??.j*g`
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -973,15 +964,14 @@ public Builder setFilePatterns(int index, java.lang.String value) { * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
-     * See [Cloud Storage
-     * documentation](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames)
-     * for more information. Note that bucket wildcards are currently not
-     * supported.
-     * Examples of valid file_patterns:
-     *  * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
-     *                              directory.
+     * For more information, see [Wildcard Names]
+     * (https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames).
+     * Note: Currently, bucket wildcards are not supported.
+     * Examples of valid `file_patterns`:
+     *  * `gs://bucket_name/dir/*`: matches all files in `bucket_name/dir`
+     *                              directory
      *  * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir`
-     *                               spanning all subdirectories.
+     *                               and all subdirectories
      *  * `gs://bucket_name/file*`: matches files prefixed by `file` in
      *                              `bucket_name`
      *  * `gs://bucket_name/??.txt`: matches files with two characters followed by
@@ -992,10 +982,10 @@ public Builder setFilePatterns(int index, java.lang.String value) {
      *  * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
      *                                  or `m` followed by `.txt` in `bucket_name`
      *  * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
-     *                              `a/*/b` pattern, such as `a/c/b`, `a/d/b`
+     *                              the `a/*/b` pattern, such as `a/c/b`, `a/d/b`
      *  * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
-     * You can combine wildcards to provide more powerful matches, for example:
-     *  * `gs://bucket_name/[a-m]??.j*g`
+     * You can combine wildcards to match complex sets of files, for example:
+     * `gs://bucket_name/[a-m]??.j*g`
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1017,15 +1007,14 @@ public Builder addFilePatterns(java.lang.String value) { * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
-     * See [Cloud Storage
-     * documentation](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames)
-     * for more information. Note that bucket wildcards are currently not
-     * supported.
-     * Examples of valid file_patterns:
-     *  * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
-     *                              directory.
+     * For more information, see [Wildcard Names]
+     * (https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames).
+     * Note: Currently, bucket wildcards are not supported.
+     * Examples of valid `file_patterns`:
+     *  * `gs://bucket_name/dir/*`: matches all files in `bucket_name/dir`
+     *                              directory
      *  * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir`
-     *                               spanning all subdirectories.
+     *                               and all subdirectories
      *  * `gs://bucket_name/file*`: matches files prefixed by `file` in
      *                              `bucket_name`
      *  * `gs://bucket_name/??.txt`: matches files with two characters followed by
@@ -1036,10 +1025,10 @@ public Builder addFilePatterns(java.lang.String value) {
      *  * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
      *                                  or `m` followed by `.txt` in `bucket_name`
      *  * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
-     *                              `a/*/b` pattern, such as `a/c/b`, `a/d/b`
+     *                              the `a/*/b` pattern, such as `a/c/b`, `a/d/b`
      *  * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
-     * You can combine wildcards to provide more powerful matches, for example:
-     *  * `gs://bucket_name/[a-m]??.j*g`
+     * You can combine wildcards to match complex sets of files, for example:
+     * `gs://bucket_name/[a-m]??.j*g`
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1058,15 +1047,14 @@ public Builder addAllFilePatterns(java.lang.Iterable values) { * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
-     * See [Cloud Storage
-     * documentation](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames)
-     * for more information. Note that bucket wildcards are currently not
-     * supported.
-     * Examples of valid file_patterns:
-     *  * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
-     *                              directory.
+     * For more information, see [Wildcard Names]
+     * (https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames).
+     * Note: Currently, bucket wildcards are not supported.
+     * Examples of valid `file_patterns`:
+     *  * `gs://bucket_name/dir/*`: matches all files in `bucket_name/dir`
+     *                              directory
      *  * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir`
-     *                               spanning all subdirectories.
+     *                               and all subdirectories
      *  * `gs://bucket_name/file*`: matches files prefixed by `file` in
      *                              `bucket_name`
      *  * `gs://bucket_name/??.txt`: matches files with two characters followed by
@@ -1077,10 +1065,10 @@ public Builder addAllFilePatterns(java.lang.Iterable values) {
      *  * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
      *                                  or `m` followed by `.txt` in `bucket_name`
      *  * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
-     *                              `a/*/b` pattern, such as `a/c/b`, `a/d/b`
+     *                              the `a/*/b` pattern, such as `a/c/b`, `a/d/b`
      *  * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
-     * You can combine wildcards to provide more powerful matches, for example:
-     *  * `gs://bucket_name/[a-m]??.j*g`
+     * You can combine wildcards to match complex sets of files, for example:
+     * `gs://bucket_name/[a-m]??.j*g`
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1098,15 +1086,14 @@ public Builder clearFilePatterns() { * *
      * Required. Patterns to identify a set of files in Google Cloud Storage.
-     * See [Cloud Storage
-     * documentation](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames)
-     * for more information. Note that bucket wildcards are currently not
-     * supported.
-     * Examples of valid file_patterns:
-     *  * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
-     *                              directory.
+     * For more information, see [Wildcard Names]
+     * (https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames).
+     * Note: Currently, bucket wildcards are not supported.
+     * Examples of valid `file_patterns`:
+     *  * `gs://bucket_name/dir/*`: matches all files in `bucket_name/dir`
+     *                              directory
      *  * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir`
-     *                               spanning all subdirectories.
+     *                               and all subdirectories
      *  * `gs://bucket_name/file*`: matches files prefixed by `file` in
      *                              `bucket_name`
      *  * `gs://bucket_name/??.txt`: matches files with two characters followed by
@@ -1117,10 +1104,10 @@ public Builder clearFilePatterns() {
      *  * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
      *                                  or `m` followed by `.txt` in `bucket_name`
      *  * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
-     *                              `a/*/b` pattern, such as `a/c/b`, `a/d/b`
+     *                              the `a/*/b` pattern, such as `a/c/b`, `a/d/b`
      *  * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
-     * You can combine wildcards to provide more powerful matches, for example:
-     *  * `gs://bucket_name/[a-m]??.j*g`
+     * You can combine wildcards to match complex sets of files, for example:
+     * `gs://bucket_name/[a-m]??.j*g`
      * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOrBuilder.java index 4f3d368a..aef969fa 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOrBuilder.java @@ -28,15 +28,14 @@ public interface GcsFilesetSpecOrBuilder * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
-   * See [Cloud Storage
-   * documentation](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames)
-   * for more information. Note that bucket wildcards are currently not
-   * supported.
-   * Examples of valid file_patterns:
-   *  * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
-   *                              directory.
+   * For more information, see [Wildcard Names]
+   * (https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames).
+   * Note: Currently, bucket wildcards are not supported.
+   * Examples of valid `file_patterns`:
+   *  * `gs://bucket_name/dir/*`: matches all files in `bucket_name/dir`
+   *                              directory
    *  * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir`
-   *                               spanning all subdirectories.
+   *                               and all subdirectories
    *  * `gs://bucket_name/file*`: matches files prefixed by `file` in
    *                              `bucket_name`
    *  * `gs://bucket_name/??.txt`: matches files with two characters followed by
@@ -47,10 +46,10 @@ public interface GcsFilesetSpecOrBuilder
    *  * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
    *                                  or `m` followed by `.txt` in `bucket_name`
    *  * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
-   *                              `a/*/b` pattern, such as `a/c/b`, `a/d/b`
+   *                              the `a/*/b` pattern, such as `a/c/b`, `a/d/b`
    *  * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
-   * You can combine wildcards to provide more powerful matches, for example:
-   *  * `gs://bucket_name/[a-m]??.j*g`
+   * You can combine wildcards to match complex sets of files, for example:
+   * `gs://bucket_name/[a-m]??.j*g`
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -63,15 +62,14 @@ public interface GcsFilesetSpecOrBuilder * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
-   * See [Cloud Storage
-   * documentation](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames)
-   * for more information. Note that bucket wildcards are currently not
-   * supported.
-   * Examples of valid file_patterns:
-   *  * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
-   *                              directory.
+   * For more information, see [Wildcard Names]
+   * (https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames).
+   * Note: Currently, bucket wildcards are not supported.
+   * Examples of valid `file_patterns`:
+   *  * `gs://bucket_name/dir/*`: matches all files in `bucket_name/dir`
+   *                              directory
    *  * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir`
-   *                               spanning all subdirectories.
+   *                               and all subdirectories
    *  * `gs://bucket_name/file*`: matches files prefixed by `file` in
    *                              `bucket_name`
    *  * `gs://bucket_name/??.txt`: matches files with two characters followed by
@@ -82,10 +80,10 @@ public interface GcsFilesetSpecOrBuilder
    *  * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
    *                                  or `m` followed by `.txt` in `bucket_name`
    *  * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
-   *                              `a/*/b` pattern, such as `a/c/b`, `a/d/b`
+   *                              the `a/*/b` pattern, such as `a/c/b`, `a/d/b`
    *  * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
-   * You can combine wildcards to provide more powerful matches, for example:
-   *  * `gs://bucket_name/[a-m]??.j*g`
+   * You can combine wildcards to match complex sets of files, for example:
+   * `gs://bucket_name/[a-m]??.j*g`
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -98,15 +96,14 @@ public interface GcsFilesetSpecOrBuilder * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
-   * See [Cloud Storage
-   * documentation](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames)
-   * for more information. Note that bucket wildcards are currently not
-   * supported.
-   * Examples of valid file_patterns:
-   *  * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
-   *                              directory.
+   * For more information, see [Wildcard Names]
+   * (https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames).
+   * Note: Currently, bucket wildcards are not supported.
+   * Examples of valid `file_patterns`:
+   *  * `gs://bucket_name/dir/*`: matches all files in `bucket_name/dir`
+   *                              directory
    *  * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir`
-   *                               spanning all subdirectories.
+   *                               and all subdirectories
    *  * `gs://bucket_name/file*`: matches files prefixed by `file` in
    *                              `bucket_name`
    *  * `gs://bucket_name/??.txt`: matches files with two characters followed by
@@ -117,10 +114,10 @@ public interface GcsFilesetSpecOrBuilder
    *  * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
    *                                  or `m` followed by `.txt` in `bucket_name`
    *  * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
-   *                              `a/*/b` pattern, such as `a/c/b`, `a/d/b`
+   *                              the `a/*/b` pattern, such as `a/c/b`, `a/d/b`
    *  * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
-   * You can combine wildcards to provide more powerful matches, for example:
-   *  * `gs://bucket_name/[a-m]??.j*g`
+   * You can combine wildcards to match complex sets of files, for example:
+   * `gs://bucket_name/[a-m]??.j*g`
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -134,15 +131,14 @@ public interface GcsFilesetSpecOrBuilder * *
    * Required. Patterns to identify a set of files in Google Cloud Storage.
-   * See [Cloud Storage
-   * documentation](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames)
-   * for more information. Note that bucket wildcards are currently not
-   * supported.
-   * Examples of valid file_patterns:
-   *  * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
-   *                              directory.
+   * For more information, see [Wildcard Names]
+   * (https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames).
+   * Note: Currently, bucket wildcards are not supported.
+   * Examples of valid `file_patterns`:
+   *  * `gs://bucket_name/dir/*`: matches all files in `bucket_name/dir`
+   *                              directory
    *  * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir`
-   *                               spanning all subdirectories.
+   *                               and all subdirectories
    *  * `gs://bucket_name/file*`: matches files prefixed by `file` in
    *                              `bucket_name`
    *  * `gs://bucket_name/??.txt`: matches files with two characters followed by
@@ -153,10 +149,10 @@ public interface GcsFilesetSpecOrBuilder
    *  * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
    *                                  or `m` followed by `.txt` in `bucket_name`
    *  * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
-   *                              `a/*/b` pattern, such as `a/c/b`, `a/d/b`
+   *                              the `a/*/b` pattern, such as `a/c/b`, `a/d/b`
    *  * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
-   * You can combine wildcards to provide more powerful matches, for example:
-   *  * `gs://bucket_name/[a-m]??.j*g`
+   * You can combine wildcards to match complex sets of files, for example:
+   * `gs://bucket_name/[a-m]??.j*g`
    * 
* * repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequest.java index 62e5911e..332390ef 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequest.java @@ -133,8 +133,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The name of the entry group. For example,
-   * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
+   * Required. The name of the entry group to get.
    * 
* * @@ -159,8 +158,7 @@ public java.lang.String getName() { * * *
-   * Required. The name of the entry group. For example,
-   * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
+   * Required. The name of the entry group to get.
    * 
* * @@ -188,7 +186,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * The fields to return. If not set or empty, all fields are returned.
+   * The fields to return. If empty or omitted, all fields are returned.
    * 
* * .google.protobuf.FieldMask read_mask = 2; @@ -203,7 +201,7 @@ public boolean hasReadMask() { * * *
-   * The fields to return. If not set or empty, all fields are returned.
+   * The fields to return. If empty or omitted, all fields are returned.
    * 
* * .google.protobuf.FieldMask read_mask = 2; @@ -218,7 +216,7 @@ public com.google.protobuf.FieldMask getReadMask() { * * *
-   * The fields to return. If not set or empty, all fields are returned.
+   * The fields to return. If empty or omitted, all fields are returned.
    * 
* * .google.protobuf.FieldMask read_mask = 2; @@ -580,8 +578,7 @@ public Builder mergeFrom( * * *
-     * Required. The name of the entry group. For example,
-     * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
+     * Required. The name of the entry group to get.
      * 
* * @@ -605,8 +602,7 @@ public java.lang.String getName() { * * *
-     * Required. The name of the entry group. For example,
-     * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
+     * Required. The name of the entry group to get.
      * 
* * @@ -630,8 +626,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The name of the entry group. For example,
-     * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
+     * Required. The name of the entry group to get.
      * 
* * @@ -654,8 +649,7 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The name of the entry group. For example,
-     * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
+     * Required. The name of the entry group to get.
      * 
* * @@ -674,8 +668,7 @@ public Builder clearName() { * * *
-     * Required. The name of the entry group. For example,
-     * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
+     * Required. The name of the entry group to get.
      * 
* * @@ -706,7 +699,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * The fields to return. If not set or empty, all fields are returned.
+     * The fields to return. If empty or omitted, all fields are returned.
      * 
* * .google.protobuf.FieldMask read_mask = 2; @@ -720,7 +713,7 @@ public boolean hasReadMask() { * * *
-     * The fields to return. If not set or empty, all fields are returned.
+     * The fields to return. If empty or omitted, all fields are returned.
      * 
* * .google.protobuf.FieldMask read_mask = 2; @@ -738,7 +731,7 @@ public com.google.protobuf.FieldMask getReadMask() { * * *
-     * The fields to return. If not set or empty, all fields are returned.
+     * The fields to return. If empty or omitted, all fields are returned.
      * 
* * .google.protobuf.FieldMask read_mask = 2; @@ -760,7 +753,7 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { * * *
-     * The fields to return. If not set or empty, all fields are returned.
+     * The fields to return. If empty or omitted, all fields are returned.
      * 
* * .google.protobuf.FieldMask read_mask = 2; @@ -779,7 +772,7 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue * * *
-     * The fields to return. If not set or empty, all fields are returned.
+     * The fields to return. If empty or omitted, all fields are returned.
      * 
* * .google.protobuf.FieldMask read_mask = 2; @@ -803,7 +796,7 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { * * *
-     * The fields to return. If not set or empty, all fields are returned.
+     * The fields to return. If empty or omitted, all fields are returned.
      * 
* * .google.protobuf.FieldMask read_mask = 2; @@ -823,7 +816,7 @@ public Builder clearReadMask() { * * *
-     * The fields to return. If not set or empty, all fields are returned.
+     * The fields to return. If empty or omitted, all fields are returned.
      * 
* * .google.protobuf.FieldMask read_mask = 2; @@ -837,7 +830,7 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { * * *
-     * The fields to return. If not set or empty, all fields are returned.
+     * The fields to return. If empty or omitted, all fields are returned.
      * 
* * .google.protobuf.FieldMask read_mask = 2; @@ -853,7 +846,7 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { * * *
-     * The fields to return. If not set or empty, all fields are returned.
+     * The fields to return. If empty or omitted, all fields are returned.
      * 
* * .google.protobuf.FieldMask read_mask = 2; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequestOrBuilder.java index 84e38a5c..5693a4c7 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryGroupRequestOrBuilder.java @@ -27,8 +27,7 @@ public interface GetEntryGroupRequestOrBuilder * * *
-   * Required. The name of the entry group. For example,
-   * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
+   * Required. The name of the entry group to get.
    * 
* * @@ -42,8 +41,7 @@ public interface GetEntryGroupRequestOrBuilder * * *
-   * Required. The name of the entry group. For example,
-   * `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
+   * Required. The name of the entry group to get.
    * 
* * @@ -58,7 +56,7 @@ public interface GetEntryGroupRequestOrBuilder * * *
-   * The fields to return. If not set or empty, all fields are returned.
+   * The fields to return. If empty or omitted, all fields are returned.
    * 
* * .google.protobuf.FieldMask read_mask = 2; @@ -70,7 +68,7 @@ public interface GetEntryGroupRequestOrBuilder * * *
-   * The fields to return. If not set or empty, all fields are returned.
+   * The fields to return. If empty or omitted, all fields are returned.
    * 
* * .google.protobuf.FieldMask read_mask = 2; @@ -82,7 +80,7 @@ public interface GetEntryGroupRequestOrBuilder * * *
-   * The fields to return. If not set or empty, all fields are returned.
+   * The fields to return. If empty or omitted, all fields are returned.
    * 
* * .google.protobuf.FieldMask read_mask = 2; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequest.java index 1c51b6d9..ac506424 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequest.java @@ -118,8 +118,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The name of the entry. Example:
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+   * Required. The name of the entry to get.
    * 
* * @@ -144,8 +143,7 @@ public java.lang.String getName() { * * *
-   * Required. The name of the entry. Example:
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+   * Required. The name of the entry to get.
    * 
* * @@ -490,8 +488,7 @@ public Builder mergeFrom( * * *
-     * Required. The name of the entry. Example:
-     * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+     * Required. The name of the entry to get.
      * 
* * @@ -515,8 +512,7 @@ public java.lang.String getName() { * * *
-     * Required. The name of the entry. Example:
-     * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+     * Required. The name of the entry to get.
      * 
* * @@ -540,8 +536,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The name of the entry. Example:
-     * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+     * Required. The name of the entry to get.
      * 
* * @@ -564,8 +559,7 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The name of the entry. Example:
-     * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+     * Required. The name of the entry to get.
      * 
* * @@ -584,8 +578,7 @@ public Builder clearName() { * * *
-     * Required. The name of the entry. Example:
-     * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+     * Required. The name of the entry to get.
      * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequestOrBuilder.java index 9632b064..0dacd728 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetEntryRequestOrBuilder.java @@ -27,8 +27,7 @@ public interface GetEntryRequestOrBuilder * * *
-   * Required. The name of the entry. Example:
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+   * Required. The name of the entry to get.
    * 
* * @@ -42,8 +41,7 @@ public interface GetEntryRequestOrBuilder * * *
-   * Required. The name of the entry. Example:
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+   * Required. The name of the entry to get.
    * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequest.java index 6cae038f..bcd85435 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequest.java @@ -118,7 +118,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Resource name of the requested policy tag.
+   * Required. Resource name of the policy tag.
    * 
* * @@ -143,7 +143,7 @@ public java.lang.String getName() { * * *
-   * Required. Resource name of the requested policy tag.
+   * Required. Resource name of the policy tag.
    * 
* * @@ -489,7 +489,7 @@ public Builder mergeFrom( * * *
-     * Required. Resource name of the requested policy tag.
+     * Required. Resource name of the policy tag.
      * 
* * @@ -513,7 +513,7 @@ public java.lang.String getName() { * * *
-     * Required. Resource name of the requested policy tag.
+     * Required. Resource name of the policy tag.
      * 
* * @@ -537,7 +537,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. Resource name of the requested policy tag.
+     * Required. Resource name of the policy tag.
      * 
* * @@ -560,7 +560,7 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. Resource name of the requested policy tag.
+     * Required. Resource name of the policy tag.
      * 
* * @@ -579,7 +579,7 @@ public Builder clearName() { * * *
-     * Required. Resource name of the requested policy tag.
+     * Required. Resource name of the policy tag.
      * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequestOrBuilder.java index d013a187..20df6f0a 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetPolicyTagRequestOrBuilder.java @@ -27,7 +27,7 @@ public interface GetPolicyTagRequestOrBuilder * * *
-   * Required. Resource name of the requested policy tag.
+   * Required. Resource name of the policy tag.
    * 
* * @@ -41,7 +41,7 @@ public interface GetPolicyTagRequestOrBuilder * * *
-   * Required. Resource name of the requested policy tag.
+   * Required. Resource name of the policy tag.
    * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequest.java index b90b139b..cbc2dab0 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequest.java @@ -118,8 +118,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The name of the tag template. Example:
-   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
+   * Required. The name of the tag template to get.
    * 
* * @@ -144,8 +143,7 @@ public java.lang.String getName() { * * *
-   * Required. The name of the tag template. Example:
-   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
+   * Required. The name of the tag template to get.
    * 
* * @@ -492,8 +490,7 @@ public Builder mergeFrom( * * *
-     * Required. The name of the tag template. Example:
-     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
+     * Required. The name of the tag template to get.
      * 
* * @@ -517,8 +514,7 @@ public java.lang.String getName() { * * *
-     * Required. The name of the tag template. Example:
-     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
+     * Required. The name of the tag template to get.
      * 
* * @@ -542,8 +538,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The name of the tag template. Example:
-     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
+     * Required. The name of the tag template to get.
      * 
* * @@ -566,8 +561,7 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The name of the tag template. Example:
-     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
+     * Required. The name of the tag template to get.
      * 
* * @@ -586,8 +580,7 @@ public Builder clearName() { * * *
-     * Required. The name of the tag template. Example:
-     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
+     * Required. The name of the tag template to get.
      * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequestOrBuilder.java index 79860864..fdc955d4 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTagTemplateRequestOrBuilder.java @@ -27,8 +27,7 @@ public interface GetTagTemplateRequestOrBuilder * * *
-   * Required. The name of the tag template. Example:
-   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
+   * Required. The name of the tag template to get.
    * 
* * @@ -42,8 +41,7 @@ public interface GetTagTemplateRequestOrBuilder * * *
-   * Required. The name of the tag template. Example:
-   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
+   * Required. The name of the tag template to get.
    * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequest.java index 1ce495aa..6e65ab6e 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequest.java @@ -118,7 +118,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Resource name of the requested taxonomy.
+   * Required. Resource name of the taxonomy to get.
    * 
* * @@ -143,7 +143,7 @@ public java.lang.String getName() { * * *
-   * Required. Resource name of the requested taxonomy.
+   * Required. Resource name of the taxonomy to get.
    * 
* * @@ -489,7 +489,7 @@ public Builder mergeFrom( * * *
-     * Required. Resource name of the requested taxonomy.
+     * Required. Resource name of the taxonomy to get.
      * 
* * @@ -513,7 +513,7 @@ public java.lang.String getName() { * * *
-     * Required. Resource name of the requested taxonomy.
+     * Required. Resource name of the taxonomy to get.
      * 
* * @@ -537,7 +537,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. Resource name of the requested taxonomy.
+     * Required. Resource name of the taxonomy to get.
      * 
* * @@ -560,7 +560,7 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. Resource name of the requested taxonomy.
+     * Required. Resource name of the taxonomy to get.
      * 
* * @@ -579,7 +579,7 @@ public Builder clearName() { * * *
-     * Required. Resource name of the requested taxonomy.
+     * Required. Resource name of the taxonomy to get.
      * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequestOrBuilder.java index 8cad7cc2..87380030 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GetTaxonomyRequestOrBuilder.java @@ -27,7 +27,7 @@ public interface GetTaxonomyRequestOrBuilder * * *
-   * Required. Resource name of the requested taxonomy.
+   * Required. Resource name of the taxonomy to get.
    * 
* * @@ -41,7 +41,7 @@ public interface GetTaxonomyRequestOrBuilder * * *
-   * Required. Resource name of the requested taxonomy.
+   * Required. Resource name of the taxonomy to get.
    * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequest.java index dbcfe7ed..79a26586 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequest.java @@ -251,7 +251,7 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * Inline source used for taxonomies import.
+   * Inline source taxonomy to import.
    * 
* * .google.cloud.datacatalog.v1.InlineSource inline_source = 2; @@ -266,7 +266,7 @@ public boolean hasInlineSource() { * * *
-   * Inline source used for taxonomies import.
+   * Inline source taxonomy to import.
    * 
* * .google.cloud.datacatalog.v1.InlineSource inline_source = 2; @@ -284,7 +284,7 @@ public com.google.cloud.datacatalog.v1.InlineSource getInlineSource() { * * *
-   * Inline source used for taxonomies import.
+   * Inline source taxonomy to import.
    * 
* * .google.cloud.datacatalog.v1.InlineSource inline_source = 2; @@ -302,7 +302,7 @@ public com.google.cloud.datacatalog.v1.InlineSourceOrBuilder getInlineSourceOrBu * * *
-   * Cross-regional source taxonomy to be imported.
+   * Cross-regional source taxonomy to import.
    * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; @@ -317,7 +317,7 @@ public boolean hasCrossRegionalSource() { * * *
-   * Cross-regional source taxonomy to be imported.
+   * Cross-regional source taxonomy to import.
    * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; @@ -335,7 +335,7 @@ public com.google.cloud.datacatalog.v1.CrossRegionalSource getCrossRegionalSourc * * *
-   * Cross-regional source taxonomy to be imported.
+   * Cross-regional source taxonomy to import.
    * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; @@ -880,7 +880,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * Inline source used for taxonomies import.
+     * Inline source taxonomy to import.
      * 
* * .google.cloud.datacatalog.v1.InlineSource inline_source = 2; @@ -895,7 +895,7 @@ public boolean hasInlineSource() { * * *
-     * Inline source used for taxonomies import.
+     * Inline source taxonomy to import.
      * 
* * .google.cloud.datacatalog.v1.InlineSource inline_source = 2; @@ -920,7 +920,7 @@ public com.google.cloud.datacatalog.v1.InlineSource getInlineSource() { * * *
-     * Inline source used for taxonomies import.
+     * Inline source taxonomy to import.
      * 
* * .google.cloud.datacatalog.v1.InlineSource inline_source = 2; @@ -942,7 +942,7 @@ public Builder setInlineSource(com.google.cloud.datacatalog.v1.InlineSource valu * * *
-     * Inline source used for taxonomies import.
+     * Inline source taxonomy to import.
      * 
* * .google.cloud.datacatalog.v1.InlineSource inline_source = 2; @@ -962,7 +962,7 @@ public Builder setInlineSource( * * *
-     * Inline source used for taxonomies import.
+     * Inline source taxonomy to import.
      * 
* * .google.cloud.datacatalog.v1.InlineSource inline_source = 2; @@ -993,7 +993,7 @@ public Builder mergeInlineSource(com.google.cloud.datacatalog.v1.InlineSource va * * *
-     * Inline source used for taxonomies import.
+     * Inline source taxonomy to import.
      * 
* * .google.cloud.datacatalog.v1.InlineSource inline_source = 2; @@ -1018,7 +1018,7 @@ public Builder clearInlineSource() { * * *
-     * Inline source used for taxonomies import.
+     * Inline source taxonomy to import.
      * 
* * .google.cloud.datacatalog.v1.InlineSource inline_source = 2; @@ -1030,7 +1030,7 @@ public com.google.cloud.datacatalog.v1.InlineSource.Builder getInlineSourceBuild * * *
-     * Inline source used for taxonomies import.
+     * Inline source taxonomy to import.
      * 
* * .google.cloud.datacatalog.v1.InlineSource inline_source = 2; @@ -1050,7 +1050,7 @@ public com.google.cloud.datacatalog.v1.InlineSourceOrBuilder getInlineSourceOrBu * * *
-     * Inline source used for taxonomies import.
+     * Inline source taxonomy to import.
      * 
* * .google.cloud.datacatalog.v1.InlineSource inline_source = 2; @@ -1089,7 +1089,7 @@ public com.google.cloud.datacatalog.v1.InlineSourceOrBuilder getInlineSourceOrBu * * *
-     * Cross-regional source taxonomy to be imported.
+     * Cross-regional source taxonomy to import.
      * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; @@ -1104,7 +1104,7 @@ public boolean hasCrossRegionalSource() { * * *
-     * Cross-regional source taxonomy to be imported.
+     * Cross-regional source taxonomy to import.
      * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; @@ -1129,7 +1129,7 @@ public com.google.cloud.datacatalog.v1.CrossRegionalSource getCrossRegionalSourc * * *
-     * Cross-regional source taxonomy to be imported.
+     * Cross-regional source taxonomy to import.
      * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; @@ -1152,7 +1152,7 @@ public Builder setCrossRegionalSource( * * *
-     * Cross-regional source taxonomy to be imported.
+     * Cross-regional source taxonomy to import.
      * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; @@ -1172,7 +1172,7 @@ public Builder setCrossRegionalSource( * * *
-     * Cross-regional source taxonomy to be imported.
+     * Cross-regional source taxonomy to import.
      * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; @@ -1205,7 +1205,7 @@ public Builder mergeCrossRegionalSource( * * *
-     * Cross-regional source taxonomy to be imported.
+     * Cross-regional source taxonomy to import.
      * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; @@ -1230,7 +1230,7 @@ public Builder clearCrossRegionalSource() { * * *
-     * Cross-regional source taxonomy to be imported.
+     * Cross-regional source taxonomy to import.
      * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; @@ -1243,7 +1243,7 @@ public Builder clearCrossRegionalSource() { * * *
-     * Cross-regional source taxonomy to be imported.
+     * Cross-regional source taxonomy to import.
      * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; @@ -1264,7 +1264,7 @@ public Builder clearCrossRegionalSource() { * * *
-     * Cross-regional source taxonomy to be imported.
+     * Cross-regional source taxonomy to import.
      * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequestOrBuilder.java index 0a90c0b8..5babff4b 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesRequestOrBuilder.java @@ -56,7 +56,7 @@ public interface ImportTaxonomiesRequestOrBuilder * * *
-   * Inline source used for taxonomies import.
+   * Inline source taxonomy to import.
    * 
* * .google.cloud.datacatalog.v1.InlineSource inline_source = 2; @@ -68,7 +68,7 @@ public interface ImportTaxonomiesRequestOrBuilder * * *
-   * Inline source used for taxonomies import.
+   * Inline source taxonomy to import.
    * 
* * .google.cloud.datacatalog.v1.InlineSource inline_source = 2; @@ -80,7 +80,7 @@ public interface ImportTaxonomiesRequestOrBuilder * * *
-   * Inline source used for taxonomies import.
+   * Inline source taxonomy to import.
    * 
* * .google.cloud.datacatalog.v1.InlineSource inline_source = 2; @@ -91,7 +91,7 @@ public interface ImportTaxonomiesRequestOrBuilder * * *
-   * Cross-regional source taxonomy to be imported.
+   * Cross-regional source taxonomy to import.
    * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; @@ -103,7 +103,7 @@ public interface ImportTaxonomiesRequestOrBuilder * * *
-   * Cross-regional source taxonomy to be imported.
+   * Cross-regional source taxonomy to import.
    * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; @@ -115,7 +115,7 @@ public interface ImportTaxonomiesRequestOrBuilder * * *
-   * Cross-regional source taxonomy to be imported.
+   * Cross-regional source taxonomy to import.
    * 
* * .google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponse.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponse.java index d13572ee..6acd57b8 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponse.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponse.java @@ -126,7 +126,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Taxonomies that were imported.
+   * Imported taxonomies.
    * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; @@ -139,7 +139,7 @@ public java.util.List getTaxonomiesLis * * *
-   * Taxonomies that were imported.
+   * Imported taxonomies.
    * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; @@ -153,7 +153,7 @@ public java.util.List getTaxonomiesLis * * *
-   * Taxonomies that were imported.
+   * Imported taxonomies.
    * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; @@ -166,7 +166,7 @@ public int getTaxonomiesCount() { * * *
-   * Taxonomies that were imported.
+   * Imported taxonomies.
    * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; @@ -179,7 +179,7 @@ public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomies(int index) { * * *
-   * Taxonomies that were imported.
+   * Imported taxonomies.
    * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; @@ -572,7 +572,7 @@ private void ensureTaxonomiesIsMutable() { * * *
-     * Taxonomies that were imported.
+     * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; @@ -588,7 +588,7 @@ public java.util.List getTaxonomiesLis * * *
-     * Taxonomies that were imported.
+     * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; @@ -604,7 +604,7 @@ public int getTaxonomiesCount() { * * *
-     * Taxonomies that were imported.
+     * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; @@ -620,7 +620,7 @@ public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomies(int index) { * * *
-     * Taxonomies that were imported.
+     * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; @@ -642,7 +642,7 @@ public Builder setTaxonomies(int index, com.google.cloud.datacatalog.v1.Taxonomy * * *
-     * Taxonomies that were imported.
+     * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; @@ -662,7 +662,7 @@ public Builder setTaxonomies( * * *
-     * Taxonomies that were imported.
+     * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; @@ -684,7 +684,7 @@ public Builder addTaxonomies(com.google.cloud.datacatalog.v1.Taxonomy value) { * * *
-     * Taxonomies that were imported.
+     * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; @@ -706,7 +706,7 @@ public Builder addTaxonomies(int index, com.google.cloud.datacatalog.v1.Taxonomy * * *
-     * Taxonomies that were imported.
+     * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; @@ -725,7 +725,7 @@ public Builder addTaxonomies(com.google.cloud.datacatalog.v1.Taxonomy.Builder bu * * *
-     * Taxonomies that were imported.
+     * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; @@ -745,7 +745,7 @@ public Builder addTaxonomies( * * *
-     * Taxonomies that were imported.
+     * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; @@ -765,7 +765,7 @@ public Builder addAllTaxonomies( * * *
-     * Taxonomies that were imported.
+     * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; @@ -784,7 +784,7 @@ public Builder clearTaxonomies() { * * *
-     * Taxonomies that were imported.
+     * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; @@ -803,7 +803,7 @@ public Builder removeTaxonomies(int index) { * * *
-     * Taxonomies that were imported.
+     * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; @@ -815,7 +815,7 @@ public com.google.cloud.datacatalog.v1.Taxonomy.Builder getTaxonomiesBuilder(int * * *
-     * Taxonomies that were imported.
+     * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; @@ -831,7 +831,7 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder( * * *
-     * Taxonomies that were imported.
+     * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; @@ -848,7 +848,7 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder( * * *
-     * Taxonomies that were imported.
+     * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; @@ -861,7 +861,7 @@ public com.google.cloud.datacatalog.v1.Taxonomy.Builder addTaxonomiesBuilder() { * * *
-     * Taxonomies that were imported.
+     * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; @@ -874,7 +874,7 @@ public com.google.cloud.datacatalog.v1.Taxonomy.Builder addTaxonomiesBuilder(int * * *
-     * Taxonomies that were imported.
+     * Imported taxonomies.
      * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponseOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponseOrBuilder.java index aa7011cb..f87b9b49 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponseOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ImportTaxonomiesResponseOrBuilder.java @@ -27,7 +27,7 @@ public interface ImportTaxonomiesResponseOrBuilder * * *
-   * Taxonomies that were imported.
+   * Imported taxonomies.
    * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; @@ -37,7 +37,7 @@ public interface ImportTaxonomiesResponseOrBuilder * * *
-   * Taxonomies that were imported.
+   * Imported taxonomies.
    * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; @@ -47,7 +47,7 @@ public interface ImportTaxonomiesResponseOrBuilder * * *
-   * Taxonomies that were imported.
+   * Imported taxonomies.
    * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; @@ -57,7 +57,7 @@ public interface ImportTaxonomiesResponseOrBuilder * * *
-   * Taxonomies that were imported.
+   * Imported taxonomies.
    * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; @@ -68,7 +68,7 @@ public interface ImportTaxonomiesResponseOrBuilder * * *
-   * Taxonomies that were imported.
+   * Imported taxonomies.
    * 
* * repeated .google.cloud.datacatalog.v1.Taxonomy taxonomies = 1; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSource.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSource.java index 0ee13d05..a04cacf6 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSource.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSource.java @@ -127,7 +127,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Taxonomies to be imported.
+   * Required. Taxonomies to import.
    * 
* * @@ -142,7 +142,7 @@ public java.util.List getTax * * *
-   * Required. Taxonomies to be imported.
+   * Required. Taxonomies to import.
    * 
* * @@ -158,7 +158,7 @@ public java.util.List getTax * * *
-   * Required. Taxonomies to be imported.
+   * Required. Taxonomies to import.
    * 
* * @@ -173,7 +173,7 @@ public int getTaxonomiesCount() { * * *
-   * Required. Taxonomies to be imported.
+   * Required. Taxonomies to import.
    * 
* * @@ -188,7 +188,7 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomy getTaxonomies(int inde * * *
-   * Required. Taxonomies to be imported.
+   * Required. Taxonomies to import.
    * 
* * @@ -581,7 +581,7 @@ private void ensureTaxonomiesIsMutable() { * * *
-     * Required. Taxonomies to be imported.
+     * Required. Taxonomies to import.
      * 
* * @@ -599,7 +599,7 @@ public java.util.List getTax * * *
-     * Required. Taxonomies to be imported.
+     * Required. Taxonomies to import.
      * 
* * @@ -617,7 +617,7 @@ public int getTaxonomiesCount() { * * *
-     * Required. Taxonomies to be imported.
+     * Required. Taxonomies to import.
      * 
* * @@ -635,7 +635,7 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomy getTaxonomies(int inde * * *
-     * Required. Taxonomies to be imported.
+     * Required. Taxonomies to import.
      * 
* * @@ -660,7 +660,7 @@ public Builder setTaxonomies( * * *
-     * Required. Taxonomies to be imported.
+     * Required. Taxonomies to import.
      * 
* * @@ -682,7 +682,7 @@ public Builder setTaxonomies( * * *
-     * Required. Taxonomies to be imported.
+     * Required. Taxonomies to import.
      * 
* * @@ -706,7 +706,7 @@ public Builder addTaxonomies(com.google.cloud.datacatalog.v1.SerializedTaxonomy * * *
-     * Required. Taxonomies to be imported.
+     * Required. Taxonomies to import.
      * 
* * @@ -731,7 +731,7 @@ public Builder addTaxonomies( * * *
-     * Required. Taxonomies to be imported.
+     * Required. Taxonomies to import.
      * 
* * @@ -753,7 +753,7 @@ public Builder addTaxonomies( * * *
-     * Required. Taxonomies to be imported.
+     * Required. Taxonomies to import.
      * 
* * @@ -775,7 +775,7 @@ public Builder addTaxonomies( * * *
-     * Required. Taxonomies to be imported.
+     * Required. Taxonomies to import.
      * 
* * @@ -797,7 +797,7 @@ public Builder addAllTaxonomies( * * *
-     * Required. Taxonomies to be imported.
+     * Required. Taxonomies to import.
      * 
* * @@ -818,7 +818,7 @@ public Builder clearTaxonomies() { * * *
-     * Required. Taxonomies to be imported.
+     * Required. Taxonomies to import.
      * 
* * @@ -839,7 +839,7 @@ public Builder removeTaxonomies(int index) { * * *
-     * Required. Taxonomies to be imported.
+     * Required. Taxonomies to import.
      * 
* * @@ -854,7 +854,7 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder getTaxonomiesB * * *
-     * Required. Taxonomies to be imported.
+     * Required. Taxonomies to import.
      * 
* * @@ -873,7 +873,7 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomies * * *
-     * Required. Taxonomies to be imported.
+     * Required. Taxonomies to import.
      * 
* * @@ -892,7 +892,7 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getTaxonomies * * *
-     * Required. Taxonomies to be imported.
+     * Required. Taxonomies to import.
      * 
* * @@ -907,7 +907,7 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder addTaxonomiesB * * *
-     * Required. Taxonomies to be imported.
+     * Required. Taxonomies to import.
      * 
* * @@ -924,7 +924,7 @@ public com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder addTaxonomiesB * * *
-     * Required. Taxonomies to be imported.
+     * Required. Taxonomies to import.
      * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSourceOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSourceOrBuilder.java index 6657fd47..04c5d1cc 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSourceOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/InlineSourceOrBuilder.java @@ -27,7 +27,7 @@ public interface InlineSourceOrBuilder * * *
-   * Required. Taxonomies to be imported.
+   * Required. Taxonomies to import.
    * 
* * @@ -39,7 +39,7 @@ public interface InlineSourceOrBuilder * * *
-   * Required. Taxonomies to be imported.
+   * Required. Taxonomies to import.
    * 
* * @@ -51,7 +51,7 @@ public interface InlineSourceOrBuilder * * *
-   * Required. Taxonomies to be imported.
+   * Required. Taxonomies to import.
    * 
* * @@ -63,7 +63,7 @@ public interface InlineSourceOrBuilder * * *
-   * Required. Taxonomies to be imported.
+   * Required. Taxonomies to import.
    * 
* * @@ -76,7 +76,7 @@ public interface InlineSourceOrBuilder * * *
-   * Required. Taxonomies to be imported.
+   * Required. Taxonomies to import.
    * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/IntegratedSystem.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/IntegratedSystem.java index 3ccae874..8a4ab43d 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/IntegratedSystem.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/IntegratedSystem.java @@ -22,8 +22,7 @@ * * *
- * This enum describes all the possible systems that Data Catalog integrates
- * with.
+ * This enum lists all the systems that Data Catalog integrates with.
  * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.IntegratedSystem} diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequest.java index 8736aa38..29b54698 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequest.java @@ -146,9 +146,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The name of the entry group that contains the entries, which can
-   * be provided in URL format. Example:
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
+   * Required. The name of the entry group that contains the entries to list.
+   * Can be provided in URL format.
    * 
* * @@ -173,9 +172,8 @@ public java.lang.String getParent() { * * *
-   * Required. The name of the entry group that contains the entries, which can
-   * be provided in URL format. Example:
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
+   * Required. The name of the entry group that contains the entries to list.
+   * Can be provided in URL format.
    * 
* * @@ -203,8 +201,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * The maximum number of items to return. Default is 10. Max limit is 1000.
-   * Throws an invalid argument for `page_size > 1000`.
+   * The maximum number of items to return. Default is 10. Maximum limit is
+   * 1000. Throws an invalid argument if `page_size` is more than 1000.
    * 
* * int32 page_size = 2; @@ -222,8 +220,8 @@ public int getPageSize() { * * *
-   * Token that specifies which page is requested. If empty, the first page is
-   * returned.
+   * Pagination token that specifies the next page to return. If empty, the
+   * first page is returned.
    * 
* * string page_token = 3; @@ -246,8 +244,8 @@ public java.lang.String getPageToken() { * * *
-   * Token that specifies which page is requested. If empty, the first page is
-   * returned.
+   * Pagination token that specifies the next page to return. If empty, the
+   * first page is returned.
    * 
* * string page_token = 3; @@ -273,10 +271,10 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * *
-   * The fields to return for each Entry. If not set or empty, all
+   * The fields to return for each entry. If empty or omitted, all
    * fields are returned.
-   * For example, setting read_mask to contain only one path "name" will cause
-   * ListEntries to return a list of Entries with only "name" field.
+   * For example, to return a list of entries with only the `name` field,
+   * set `read_mask` to only one path with the `name` value.
    * 
* * .google.protobuf.FieldMask read_mask = 4; @@ -291,10 +289,10 @@ public boolean hasReadMask() { * * *
-   * The fields to return for each Entry. If not set or empty, all
+   * The fields to return for each entry. If empty or omitted, all
    * fields are returned.
-   * For example, setting read_mask to contain only one path "name" will cause
-   * ListEntries to return a list of Entries with only "name" field.
+   * For example, to return a list of entries with only the `name` field,
+   * set `read_mask` to only one path with the `name` value.
    * 
* * .google.protobuf.FieldMask read_mask = 4; @@ -309,10 +307,10 @@ public com.google.protobuf.FieldMask getReadMask() { * * *
-   * The fields to return for each Entry. If not set or empty, all
+   * The fields to return for each entry. If empty or omitted, all
    * fields are returned.
-   * For example, setting read_mask to contain only one path "name" will cause
-   * ListEntries to return a list of Entries with only "name" field.
+   * For example, to return a list of entries with only the `name` field,
+   * set `read_mask` to only one path with the `name` value.
    * 
* * .google.protobuf.FieldMask read_mask = 4; @@ -705,9 +703,8 @@ public Builder mergeFrom( * * *
-     * Required. The name of the entry group that contains the entries, which can
-     * be provided in URL format. Example:
-     * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
+     * Required. The name of the entry group that contains the entries to list.
+     * Can be provided in URL format.
      * 
* * @@ -731,9 +728,8 @@ public java.lang.String getParent() { * * *
-     * Required. The name of the entry group that contains the entries, which can
-     * be provided in URL format. Example:
-     * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
+     * Required. The name of the entry group that contains the entries to list.
+     * Can be provided in URL format.
      * 
* * @@ -757,9 +753,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required. The name of the entry group that contains the entries, which can
-     * be provided in URL format. Example:
-     * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
+     * Required. The name of the entry group that contains the entries to list.
+     * Can be provided in URL format.
      * 
* * @@ -782,9 +777,8 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required. The name of the entry group that contains the entries, which can
-     * be provided in URL format. Example:
-     * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
+     * Required. The name of the entry group that contains the entries to list.
+     * Can be provided in URL format.
      * 
* * @@ -803,9 +797,8 @@ public Builder clearParent() { * * *
-     * Required. The name of the entry group that contains the entries, which can
-     * be provided in URL format. Example:
-     * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
+     * Required. The name of the entry group that contains the entries to list.
+     * Can be provided in URL format.
      * 
* * @@ -831,8 +824,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * The maximum number of items to return. Default is 10. Max limit is 1000.
-     * Throws an invalid argument for `page_size > 1000`.
+     * The maximum number of items to return. Default is 10. Maximum limit is
+     * 1000. Throws an invalid argument if `page_size` is more than 1000.
      * 
* * int32 page_size = 2; @@ -847,8 +840,8 @@ public int getPageSize() { * * *
-     * The maximum number of items to return. Default is 10. Max limit is 1000.
-     * Throws an invalid argument for `page_size > 1000`.
+     * The maximum number of items to return. Default is 10. Maximum limit is
+     * 1000. Throws an invalid argument if `page_size` is more than 1000.
      * 
* * int32 page_size = 2; @@ -866,8 +859,8 @@ public Builder setPageSize(int value) { * * *
-     * The maximum number of items to return. Default is 10. Max limit is 1000.
-     * Throws an invalid argument for `page_size > 1000`.
+     * The maximum number of items to return. Default is 10. Maximum limit is
+     * 1000. Throws an invalid argument if `page_size` is more than 1000.
      * 
* * int32 page_size = 2; @@ -886,8 +879,8 @@ public Builder clearPageSize() { * * *
-     * Token that specifies which page is requested. If empty, the first page is
-     * returned.
+     * Pagination token that specifies the next page to return. If empty, the
+     * first page is returned.
      * 
* * string page_token = 3; @@ -909,8 +902,8 @@ public java.lang.String getPageToken() { * * *
-     * Token that specifies which page is requested. If empty, the first page is
-     * returned.
+     * Pagination token that specifies the next page to return. If empty, the
+     * first page is returned.
      * 
* * string page_token = 3; @@ -932,8 +925,8 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * *
-     * Token that specifies which page is requested. If empty, the first page is
-     * returned.
+     * Pagination token that specifies the next page to return. If empty, the
+     * first page is returned.
      * 
* * string page_token = 3; @@ -954,8 +947,8 @@ public Builder setPageToken(java.lang.String value) { * * *
-     * Token that specifies which page is requested. If empty, the first page is
-     * returned.
+     * Pagination token that specifies the next page to return. If empty, the
+     * first page is returned.
      * 
* * string page_token = 3; @@ -972,8 +965,8 @@ public Builder clearPageToken() { * * *
-     * Token that specifies which page is requested. If empty, the first page is
-     * returned.
+     * Pagination token that specifies the next page to return. If empty, the
+     * first page is returned.
      * 
* * string page_token = 3; @@ -1002,10 +995,10 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { * * *
-     * The fields to return for each Entry. If not set or empty, all
+     * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
-     * For example, setting read_mask to contain only one path "name" will cause
-     * ListEntries to return a list of Entries with only "name" field.
+     * For example, to return a list of entries with only the `name` field,
+     * set `read_mask` to only one path with the `name` value.
      * 
* * .google.protobuf.FieldMask read_mask = 4; @@ -1019,10 +1012,10 @@ public boolean hasReadMask() { * * *
-     * The fields to return for each Entry. If not set or empty, all
+     * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
-     * For example, setting read_mask to contain only one path "name" will cause
-     * ListEntries to return a list of Entries with only "name" field.
+     * For example, to return a list of entries with only the `name` field,
+     * set `read_mask` to only one path with the `name` value.
      * 
* * .google.protobuf.FieldMask read_mask = 4; @@ -1040,10 +1033,10 @@ public com.google.protobuf.FieldMask getReadMask() { * * *
-     * The fields to return for each Entry. If not set or empty, all
+     * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
-     * For example, setting read_mask to contain only one path "name" will cause
-     * ListEntries to return a list of Entries with only "name" field.
+     * For example, to return a list of entries with only the `name` field,
+     * set `read_mask` to only one path with the `name` value.
      * 
* * .google.protobuf.FieldMask read_mask = 4; @@ -1065,10 +1058,10 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { * * *
-     * The fields to return for each Entry. If not set or empty, all
+     * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
-     * For example, setting read_mask to contain only one path "name" will cause
-     * ListEntries to return a list of Entries with only "name" field.
+     * For example, to return a list of entries with only the `name` field,
+     * set `read_mask` to only one path with the `name` value.
      * 
* * .google.protobuf.FieldMask read_mask = 4; @@ -1087,10 +1080,10 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue * * *
-     * The fields to return for each Entry. If not set or empty, all
+     * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
-     * For example, setting read_mask to contain only one path "name" will cause
-     * ListEntries to return a list of Entries with only "name" field.
+     * For example, to return a list of entries with only the `name` field,
+     * set `read_mask` to only one path with the `name` value.
      * 
* * .google.protobuf.FieldMask read_mask = 4; @@ -1114,10 +1107,10 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { * * *
-     * The fields to return for each Entry. If not set or empty, all
+     * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
-     * For example, setting read_mask to contain only one path "name" will cause
-     * ListEntries to return a list of Entries with only "name" field.
+     * For example, to return a list of entries with only the `name` field,
+     * set `read_mask` to only one path with the `name` value.
      * 
* * .google.protobuf.FieldMask read_mask = 4; @@ -1137,10 +1130,10 @@ public Builder clearReadMask() { * * *
-     * The fields to return for each Entry. If not set or empty, all
+     * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
-     * For example, setting read_mask to contain only one path "name" will cause
-     * ListEntries to return a list of Entries with only "name" field.
+     * For example, to return a list of entries with only the `name` field,
+     * set `read_mask` to only one path with the `name` value.
      * 
* * .google.protobuf.FieldMask read_mask = 4; @@ -1154,10 +1147,10 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { * * *
-     * The fields to return for each Entry. If not set or empty, all
+     * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
-     * For example, setting read_mask to contain only one path "name" will cause
-     * ListEntries to return a list of Entries with only "name" field.
+     * For example, to return a list of entries with only the `name` field,
+     * set `read_mask` to only one path with the `name` value.
      * 
* * .google.protobuf.FieldMask read_mask = 4; @@ -1173,10 +1166,10 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { * * *
-     * The fields to return for each Entry. If not set or empty, all
+     * The fields to return for each entry. If empty or omitted, all
      * fields are returned.
-     * For example, setting read_mask to contain only one path "name" will cause
-     * ListEntries to return a list of Entries with only "name" field.
+     * For example, to return a list of entries with only the `name` field,
+     * set `read_mask` to only one path with the `name` value.
      * 
* * .google.protobuf.FieldMask read_mask = 4; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequestOrBuilder.java index 81ec6d8e..16c60a37 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesRequestOrBuilder.java @@ -27,9 +27,8 @@ public interface ListEntriesRequestOrBuilder * * *
-   * Required. The name of the entry group that contains the entries, which can
-   * be provided in URL format. Example:
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
+   * Required. The name of the entry group that contains the entries to list.
+   * Can be provided in URL format.
    * 
* * @@ -43,9 +42,8 @@ public interface ListEntriesRequestOrBuilder * * *
-   * Required. The name of the entry group that contains the entries, which can
-   * be provided in URL format. Example:
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
+   * Required. The name of the entry group that contains the entries to list.
+   * Can be provided in URL format.
    * 
* * @@ -60,8 +58,8 @@ public interface ListEntriesRequestOrBuilder * * *
-   * The maximum number of items to return. Default is 10. Max limit is 1000.
-   * Throws an invalid argument for `page_size > 1000`.
+   * The maximum number of items to return. Default is 10. Maximum limit is
+   * 1000. Throws an invalid argument if `page_size` is more than 1000.
    * 
* * int32 page_size = 2; @@ -74,8 +72,8 @@ public interface ListEntriesRequestOrBuilder * * *
-   * Token that specifies which page is requested. If empty, the first page is
-   * returned.
+   * Pagination token that specifies the next page to return. If empty, the
+   * first page is returned.
    * 
* * string page_token = 3; @@ -87,8 +85,8 @@ public interface ListEntriesRequestOrBuilder * * *
-   * Token that specifies which page is requested. If empty, the first page is
-   * returned.
+   * Pagination token that specifies the next page to return. If empty, the
+   * first page is returned.
    * 
* * string page_token = 3; @@ -101,10 +99,10 @@ public interface ListEntriesRequestOrBuilder * * *
-   * The fields to return for each Entry. If not set or empty, all
+   * The fields to return for each entry. If empty or omitted, all
    * fields are returned.
-   * For example, setting read_mask to contain only one path "name" will cause
-   * ListEntries to return a list of Entries with only "name" field.
+   * For example, to return a list of entries with only the `name` field,
+   * set `read_mask` to only one path with the `name` value.
    * 
* * .google.protobuf.FieldMask read_mask = 4; @@ -116,10 +114,10 @@ public interface ListEntriesRequestOrBuilder * * *
-   * The fields to return for each Entry. If not set or empty, all
+   * The fields to return for each entry. If empty or omitted, all
    * fields are returned.
-   * For example, setting read_mask to contain only one path "name" will cause
-   * ListEntries to return a list of Entries with only "name" field.
+   * For example, to return a list of entries with only the `name` field,
+   * set `read_mask` to only one path with the `name` value.
    * 
* * .google.protobuf.FieldMask read_mask = 4; @@ -131,10 +129,10 @@ public interface ListEntriesRequestOrBuilder * * *
-   * The fields to return for each Entry. If not set or empty, all
+   * The fields to return for each entry. If empty or omitted, all
    * fields are returned.
-   * For example, setting read_mask to contain only one path "name" will cause
-   * ListEntries to return a list of Entries with only "name" field.
+   * For example, to return a list of entries with only the `name` field,
+   * set `read_mask` to only one path with the `name` value.
    * 
* * .google.protobuf.FieldMask read_mask = 4; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponse.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponse.java index c7c3e706..db72bfa1 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponse.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponse.java @@ -203,8 +203,8 @@ public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntriesOrBuilder(int in * * *
-   * Token to retrieve the next page of results. It is set to empty if no items
-   * remain in results.
+   * Pagination token of the next results page. Empty if there are no more items
+   * in results.
    * 
* * string next_page_token = 2; @@ -227,8 +227,8 @@ public java.lang.String getNextPageToken() { * * *
-   * Token to retrieve the next page of results. It is set to empty if no items
-   * remain in results.
+   * Pagination token of the next results page. Empty if there are no more items
+   * in results.
    * 
* * string next_page_token = 2; @@ -978,8 +978,8 @@ public java.util.List getEntriesB * * *
-     * Token to retrieve the next page of results. It is set to empty if no items
-     * remain in results.
+     * Pagination token of the next results page. Empty if there are no more items
+     * in results.
      * 
* * string next_page_token = 2; @@ -1001,8 +1001,8 @@ public java.lang.String getNextPageToken() { * * *
-     * Token to retrieve the next page of results. It is set to empty if no items
-     * remain in results.
+     * Pagination token of the next results page. Empty if there are no more items
+     * in results.
      * 
* * string next_page_token = 2; @@ -1024,8 +1024,8 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * * *
-     * Token to retrieve the next page of results. It is set to empty if no items
-     * remain in results.
+     * Pagination token of the next results page. Empty if there are no more items
+     * in results.
      * 
* * string next_page_token = 2; @@ -1046,8 +1046,8 @@ public Builder setNextPageToken(java.lang.String value) { * * *
-     * Token to retrieve the next page of results. It is set to empty if no items
-     * remain in results.
+     * Pagination token of the next results page. Empty if there are no more items
+     * in results.
      * 
* * string next_page_token = 2; @@ -1064,8 +1064,8 @@ public Builder clearNextPageToken() { * * *
-     * Token to retrieve the next page of results. It is set to empty if no items
-     * remain in results.
+     * Pagination token of the next results page. Empty if there are no more items
+     * in results.
      * 
* * string next_page_token = 2; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponseOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponseOrBuilder.java index bbb2b160..32c64d59 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponseOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntriesResponseOrBuilder.java @@ -79,8 +79,8 @@ public interface ListEntriesResponseOrBuilder * * *
-   * Token to retrieve the next page of results. It is set to empty if no items
-   * remain in results.
+   * Pagination token of the next results page. Empty if there are no more items
+   * in results.
    * 
* * string next_page_token = 2; @@ -92,8 +92,8 @@ public interface ListEntriesResponseOrBuilder * * *
-   * Token to retrieve the next page of results. It is set to empty if no items
-   * remain in results.
+   * Pagination token of the next results page. Empty if there are no more items
+   * in results.
    * 
* * string next_page_token = 2; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequest.java index 7cb6d193..397e99ca 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequest.java @@ -131,9 +131,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:
-   * * projects/{project_id}/locations/{location}
+   * Required. The name of the location that contains the entry groups to list.
+   * Can be provided as a URL.
    * 
* * @@ -158,9 +157,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:
-   * * projects/{project_id}/locations/{location}
+   * Required. The name of the location that contains the entry groups to list.
+   * Can be provided as a URL.
    * 
* * @@ -188,8 +186,9 @@ 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. Maximum limit is 1000.
+   * Throws an invalid argument if `page_size` is greater than 1000.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -207,8 +206,8 @@ public int getPageSize() { * * *
-   * Optional. Token that specifies which page is requested. If empty, the first page is
-   * returned.
+   * Optional. Pagination token that specifies the next page to return.
+   * If empty, returns the first page.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -231,8 +230,8 @@ public java.lang.String getPageToken() { * * *
-   * Optional. Token that specifies which page is requested. If empty, the first page is
-   * returned.
+   * Optional. Pagination token that specifies the next page to return.
+   * If empty, returns the first page.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -608,9 +607,8 @@ public Builder mergeFrom( * * *
-     * Required. The name of the location that contains the entry groups, which can be
-     * provided in URL format. Example:
-     * * projects/{project_id}/locations/{location}
+     * Required. The name of the location that contains the entry groups to list.
+     * Can be provided as a URL.
      * 
* * @@ -634,9 +632,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:
-     * * projects/{project_id}/locations/{location}
+     * Required. The name of the location that contains the entry groups to list.
+     * Can be provided as a URL.
      * 
* * @@ -660,9 +657,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:
-     * * projects/{project_id}/locations/{location}
+     * Required. The name of the location that contains the entry groups to list.
+     * Can be provided as a URL.
      * 
* * @@ -685,9 +681,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:
-     * * projects/{project_id}/locations/{location}
+     * Required. The name of the location that contains the entry groups to list.
+     * Can be provided as a URL.
      * 
* * @@ -706,9 +701,8 @@ public Builder clearParent() { * * *
-     * Required. The name of the location that contains the entry groups, which can be
-     * provided in URL format. Example:
-     * * projects/{project_id}/locations/{location}
+     * Required. The name of the location that contains the entry groups to list.
+     * Can be provided as a URL.
      * 
* * @@ -734,8 +728,9 @@ 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. Maximum limit is 1000.
+     * Throws an invalid argument if `page_size` is greater than 1000.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -750,8 +745,9 @@ 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. Maximum limit is 1000.
+     * Throws an invalid argument if `page_size` is greater than 1000.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -769,8 +765,9 @@ 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. Maximum limit is 1000.
+     * Throws an invalid argument if `page_size` is greater than 1000.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -789,8 +786,8 @@ public Builder clearPageSize() { * * *
-     * Optional. Token that specifies which page is requested. If empty, the first page is
-     * returned.
+     * Optional. Pagination token that specifies the next page to return.
+     * If empty, returns the first page.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -812,8 +809,8 @@ public java.lang.String getPageToken() { * * *
-     * Optional. Token that specifies which page is requested. If empty, the first page is
-     * returned.
+     * Optional. Pagination token that specifies the next page to return.
+     * If empty, returns the first page.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -835,8 +832,8 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * *
-     * Optional. Token that specifies which page is requested. If empty, the first page is
-     * returned.
+     * Optional. Pagination token that specifies the next page to return.
+     * If empty, returns the first page.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -857,8 +854,8 @@ public Builder setPageToken(java.lang.String value) { * * *
-     * Optional. Token that specifies which page is requested. If empty, the first page is
-     * returned.
+     * Optional. Pagination token that specifies the next page to return.
+     * If empty, returns the first page.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -875,8 +872,8 @@ public Builder clearPageToken() { * * *
-     * Optional. Token that specifies which page is requested. If empty, the first page is
-     * returned.
+     * Optional. Pagination token that specifies the next page to return.
+     * If empty, returns the first page.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequestOrBuilder.java index ec83aa42..5d7d2998 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsRequestOrBuilder.java @@ -27,9 +27,8 @@ public interface ListEntryGroupsRequestOrBuilder * * *
-   * Required. The name of the location that contains the entry groups, which can be
-   * provided in URL format. Example:
-   * * projects/{project_id}/locations/{location}
+   * Required. The name of the location that contains the entry groups to list.
+   * Can be provided as a URL.
    * 
* * @@ -43,9 +42,8 @@ public interface ListEntryGroupsRequestOrBuilder * * *
-   * Required. The name of the location that contains the entry groups, which can be
-   * provided in URL format. Example:
-   * * projects/{project_id}/locations/{location}
+   * Required. The name of the location that contains the entry groups to list.
+   * Can be provided as a URL.
    * 
* * @@ -60,8 +58,9 @@ 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. Maximum limit is 1000.
+   * Throws an invalid argument if `page_size` is greater than 1000.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -74,8 +73,8 @@ public interface ListEntryGroupsRequestOrBuilder * * *
-   * Optional. Token that specifies which page is requested. If empty, the first page is
-   * returned.
+   * Optional. Pagination token that specifies the next page to return.
+   * If empty, returns the first page.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -87,8 +86,8 @@ public interface ListEntryGroupsRequestOrBuilder * * *
-   * Optional. Token that specifies which page is requested. If empty, the first page is
-   * returned.
+   * Optional. Pagination token that specifies the next page to return.
+   * If empty, returns the first page.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponse.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponse.java index b1db5ee9..5d75b8a9 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponse.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponse.java @@ -135,7 +135,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * EntryGroup details.
+   * Entry group details.
    * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; @@ -148,7 +148,7 @@ public java.util.List getEntryGroups * * *
-   * EntryGroup details.
+   * Entry group details.
    * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; @@ -162,7 +162,7 @@ public java.util.List getEntryGroups * * *
-   * EntryGroup details.
+   * Entry group details.
    * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; @@ -175,7 +175,7 @@ public int getEntryGroupsCount() { * * *
-   * EntryGroup details.
+   * Entry group details.
    * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; @@ -188,7 +188,7 @@ public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroups(int index) { * * *
-   * EntryGroup details.
+   * Entry group details.
    * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; @@ -204,8 +204,8 @@ public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupsOrBuild * * *
-   * Token to retrieve the next page of results. It is set to empty if no items
-   * remain in results.
+   * Pagination token to specify in the next call to retrieve the next page of
+   * results. Empty if there are no more items.
    * 
* * string next_page_token = 2; @@ -228,8 +228,8 @@ public java.lang.String getNextPageToken() { * * *
-   * Token to retrieve the next page of results. It is set to empty if no items
-   * remain in results.
+   * Pagination token to specify in the next call to retrieve the next page of
+   * results. Empty if there are no more items.
    * 
* * string next_page_token = 2; @@ -648,7 +648,7 @@ private void ensureEntryGroupsIsMutable() { * * *
-     * EntryGroup details.
+     * Entry group details.
      * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; @@ -664,7 +664,7 @@ public java.util.List getEntryGroups * * *
-     * EntryGroup details.
+     * Entry group details.
      * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; @@ -680,7 +680,7 @@ public int getEntryGroupsCount() { * * *
-     * EntryGroup details.
+     * Entry group details.
      * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; @@ -696,7 +696,7 @@ public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroups(int index) { * * *
-     * EntryGroup details.
+     * Entry group details.
      * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; @@ -718,7 +718,7 @@ public Builder setEntryGroups(int index, com.google.cloud.datacatalog.v1.EntryGr * * *
-     * EntryGroup details.
+     * Entry group details.
      * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; @@ -738,7 +738,7 @@ public Builder setEntryGroups( * * *
-     * EntryGroup details.
+     * Entry group details.
      * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; @@ -760,7 +760,7 @@ public Builder addEntryGroups(com.google.cloud.datacatalog.v1.EntryGroup value) * * *
-     * EntryGroup details.
+     * Entry group details.
      * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; @@ -782,7 +782,7 @@ public Builder addEntryGroups(int index, com.google.cloud.datacatalog.v1.EntryGr * * *
-     * EntryGroup details.
+     * Entry group details.
      * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; @@ -802,7 +802,7 @@ public Builder addEntryGroups( * * *
-     * EntryGroup details.
+     * Entry group details.
      * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; @@ -822,7 +822,7 @@ public Builder addEntryGroups( * * *
-     * EntryGroup details.
+     * Entry group details.
      * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; @@ -842,7 +842,7 @@ public Builder addAllEntryGroups( * * *
-     * EntryGroup details.
+     * Entry group details.
      * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; @@ -861,7 +861,7 @@ public Builder clearEntryGroups() { * * *
-     * EntryGroup details.
+     * Entry group details.
      * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; @@ -880,7 +880,7 @@ public Builder removeEntryGroups(int index) { * * *
-     * EntryGroup details.
+     * Entry group details.
      * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; @@ -892,7 +892,7 @@ public com.google.cloud.datacatalog.v1.EntryGroup.Builder getEntryGroupsBuilder( * * *
-     * EntryGroup details.
+     * Entry group details.
      * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; @@ -908,7 +908,7 @@ public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupsOrBuild * * *
-     * EntryGroup details.
+     * Entry group details.
      * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; @@ -925,7 +925,7 @@ public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupsOrBuild * * *
-     * EntryGroup details.
+     * Entry group details.
      * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; @@ -938,7 +938,7 @@ public com.google.cloud.datacatalog.v1.EntryGroup.Builder addEntryGroupsBuilder( * * *
-     * EntryGroup details.
+     * Entry group details.
      * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; @@ -951,7 +951,7 @@ public com.google.cloud.datacatalog.v1.EntryGroup.Builder addEntryGroupsBuilder( * * *
-     * EntryGroup details.
+     * Entry group details.
      * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; @@ -983,8 +983,8 @@ public com.google.cloud.datacatalog.v1.EntryGroup.Builder addEntryGroupsBuilder( * * *
-     * Token to retrieve the next page of results. It is set to empty if no items
-     * remain in results.
+     * Pagination token to specify in the next call to retrieve the next page of
+     * results. Empty if there are no more items.
      * 
* * string next_page_token = 2; @@ -1006,8 +1006,8 @@ public java.lang.String getNextPageToken() { * * *
-     * Token to retrieve the next page of results. It is set to empty if no items
-     * remain in results.
+     * Pagination token to specify in the next call to retrieve the next page of
+     * results. Empty if there are no more items.
      * 
* * string next_page_token = 2; @@ -1029,8 +1029,8 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * * *
-     * Token to retrieve the next page of results. It is set to empty if no items
-     * remain in results.
+     * Pagination token to specify in the next call to retrieve the next page of
+     * results. Empty if there are no more items.
      * 
* * string next_page_token = 2; @@ -1051,8 +1051,8 @@ public Builder setNextPageToken(java.lang.String value) { * * *
-     * Token to retrieve the next page of results. It is set to empty if no items
-     * remain in results.
+     * Pagination token to specify in the next call to retrieve the next page of
+     * results. Empty if there are no more items.
      * 
* * string next_page_token = 2; @@ -1069,8 +1069,8 @@ public Builder clearNextPageToken() { * * *
-     * Token to retrieve the next page of results. It is set to empty if no items
-     * remain in results.
+     * Pagination token to specify in the next call to retrieve the next page of
+     * results. Empty if there are no more items.
      * 
* * string next_page_token = 2; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponseOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponseOrBuilder.java index af202930..bfb6b850 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponseOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListEntryGroupsResponseOrBuilder.java @@ -27,7 +27,7 @@ public interface ListEntryGroupsResponseOrBuilder * * *
-   * EntryGroup details.
+   * Entry group details.
    * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; @@ -37,7 +37,7 @@ public interface ListEntryGroupsResponseOrBuilder * * *
-   * EntryGroup details.
+   * Entry group details.
    * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; @@ -47,7 +47,7 @@ public interface ListEntryGroupsResponseOrBuilder * * *
-   * EntryGroup details.
+   * Entry group details.
    * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; @@ -57,7 +57,7 @@ public interface ListEntryGroupsResponseOrBuilder * * *
-   * EntryGroup details.
+   * Entry group details.
    * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; @@ -68,7 +68,7 @@ public interface ListEntryGroupsResponseOrBuilder * * *
-   * EntryGroup details.
+   * Entry group details.
    * 
* * repeated .google.cloud.datacatalog.v1.EntryGroup entry_groups = 1; @@ -79,8 +79,8 @@ public interface ListEntryGroupsResponseOrBuilder * * *
-   * Token to retrieve the next page of results. It is set to empty if no items
-   * remain in results.
+   * Pagination token to specify in the next call to retrieve the next page of
+   * results. Empty if there are no more items.
    * 
* * string next_page_token = 2; @@ -92,8 +92,8 @@ public interface ListEntryGroupsResponseOrBuilder * * *
-   * Token to retrieve the next page of results. It is set to empty if no items
-   * remain in results.
+   * Pagination token to specify in the next call to retrieve the next page of
+   * results. Empty if there are no more items.
    * 
* * string next_page_token = 2; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequest.java index ab464ade..19b6db03 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequest.java @@ -184,7 +184,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * The maximum number of items to return. Must be a value between 1 and 1000.
+   * The maximum number of items to return. Must be a value between 1 and 1000
+   * inclusively.
    * If not set, defaults to 50.
    * 
* @@ -203,8 +204,9 @@ public int getPageSize() { * * *
-   * The next_page_token value returned from a previous List request, if any. If
-   * not set, defaults to an empty string.
+   * The pagination token of the next results page. If not set, returns the
+   * first page.
+   * The token is returned in the response to a previous list request.
    * 
* * string page_token = 3; @@ -227,8 +229,9 @@ public java.lang.String getPageToken() { * * *
-   * The next_page_token value returned from a previous List request, if any. If
-   * not set, defaults to an empty string.
+   * The pagination token of the next results page. If not set, returns the
+   * first page.
+   * The token is returned in the response to a previous list request.
    * 
* * string page_token = 3; @@ -720,7 +723,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * The maximum number of items to return. Must be a value between 1 and 1000.
+     * The maximum number of items to return. Must be a value between 1 and 1000
+     * inclusively.
      * If not set, defaults to 50.
      * 
* @@ -736,7 +740,8 @@ public int getPageSize() { * * *
-     * The maximum number of items to return. Must be a value between 1 and 1000.
+     * The maximum number of items to return. Must be a value between 1 and 1000
+     * inclusively.
      * If not set, defaults to 50.
      * 
* @@ -755,7 +760,8 @@ public Builder setPageSize(int value) { * * *
-     * The maximum number of items to return. Must be a value between 1 and 1000.
+     * The maximum number of items to return. Must be a value between 1 and 1000
+     * inclusively.
      * If not set, defaults to 50.
      * 
* @@ -775,8 +781,9 @@ public Builder clearPageSize() { * * *
-     * The next_page_token value returned from a previous List request, if any. If
-     * not set, defaults to an empty string.
+     * The pagination token of the next results page. If not set, returns the
+     * first page.
+     * The token is returned in the response to a previous list request.
      * 
* * string page_token = 3; @@ -798,8 +805,9 @@ public java.lang.String getPageToken() { * * *
-     * The next_page_token value returned from a previous List request, if any. If
-     * not set, defaults to an empty string.
+     * The pagination token of the next results page. If not set, returns the
+     * first page.
+     * The token is returned in the response to a previous list request.
      * 
* * string page_token = 3; @@ -821,8 +829,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * *
-     * The next_page_token value returned from a previous List request, if any. If
-     * not set, defaults to an empty string.
+     * The pagination token of the next results page. If not set, returns the
+     * first page.
+     * The token is returned in the response to a previous list request.
      * 
* * string page_token = 3; @@ -843,8 +852,9 @@ public Builder setPageToken(java.lang.String value) { * * *
-     * The next_page_token value returned from a previous List request, if any. If
-     * not set, defaults to an empty string.
+     * The pagination token of the next results page. If not set, returns the
+     * first page.
+     * The token is returned in the response to a previous list request.
      * 
* * string page_token = 3; @@ -861,8 +871,9 @@ public Builder clearPageToken() { * * *
-     * The next_page_token value returned from a previous List request, if any. If
-     * not set, defaults to an empty string.
+     * The pagination token of the next results page. If not set, returns the
+     * first page.
+     * The token is returned in the response to a previous list request.
      * 
* * string page_token = 3; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequestOrBuilder.java index 749a4cc0..84740ef4 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsRequestOrBuilder.java @@ -56,7 +56,8 @@ public interface ListPolicyTagsRequestOrBuilder * * *
-   * The maximum number of items to return. Must be a value between 1 and 1000.
+   * The maximum number of items to return. Must be a value between 1 and 1000
+   * inclusively.
    * If not set, defaults to 50.
    * 
* @@ -70,8 +71,9 @@ public interface ListPolicyTagsRequestOrBuilder * * *
-   * The next_page_token value returned from a previous List request, if any. If
-   * not set, defaults to an empty string.
+   * The pagination token of the next results page. If not set, returns the
+   * first page.
+   * The token is returned in the response to a previous list request.
    * 
* * string page_token = 3; @@ -83,8 +85,9 @@ public interface ListPolicyTagsRequestOrBuilder * * *
-   * The next_page_token value returned from a previous List request, if any. If
-   * not set, defaults to an empty string.
+   * The pagination token of the next results page. If not set, returns the
+   * first page.
+   * The token is returned in the response to a previous list request.
    * 
* * string page_token = 3; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponse.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponse.java index 7ab64695..528ff215 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponse.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponse.java @@ -134,7 +134,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The policy tags that are in the requested taxonomy.
+   * The policy tags that belong to the taxonomy.
    * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; @@ -147,7 +147,7 @@ public java.util.List getPolicyTagsLi * * *
-   * The policy tags that are in the requested taxonomy.
+   * The policy tags that belong to the taxonomy.
    * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; @@ -161,7 +161,7 @@ public java.util.List getPolicyTagsLi * * *
-   * The policy tags that are in the requested taxonomy.
+   * The policy tags that belong to the taxonomy.
    * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; @@ -174,7 +174,7 @@ public int getPolicyTagsCount() { * * *
-   * The policy tags that are in the requested taxonomy.
+   * The policy tags that belong to the taxonomy.
    * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; @@ -187,7 +187,7 @@ public com.google.cloud.datacatalog.v1.PolicyTag getPolicyTags(int index) { * * *
-   * The policy tags that are in the requested taxonomy.
+   * The policy tags that belong to the taxonomy.
    * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; @@ -203,7 +203,7 @@ public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagsOrBuilder * * *
-   * Token used to retrieve the next page of results, or empty if there are no
+   * Pagination token of the next results page. Empty if there are no
    * more results in the list.
    * 
* @@ -227,7 +227,7 @@ public java.lang.String getNextPageToken() { * * *
-   * Token used to retrieve the next page of results, or empty if there are no
+   * Pagination token of the next results page. Empty if there are no
    * more results in the list.
    * 
* @@ -647,7 +647,7 @@ private void ensurePolicyTagsIsMutable() { * * *
-     * The policy tags that are in the requested taxonomy.
+     * The policy tags that belong to the taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; @@ -663,7 +663,7 @@ public java.util.List getPolicyTagsLi * * *
-     * The policy tags that are in the requested taxonomy.
+     * The policy tags that belong to the taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; @@ -679,7 +679,7 @@ public int getPolicyTagsCount() { * * *
-     * The policy tags that are in the requested taxonomy.
+     * The policy tags that belong to the taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; @@ -695,7 +695,7 @@ public com.google.cloud.datacatalog.v1.PolicyTag getPolicyTags(int index) { * * *
-     * The policy tags that are in the requested taxonomy.
+     * The policy tags that belong to the taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; @@ -717,7 +717,7 @@ public Builder setPolicyTags(int index, com.google.cloud.datacatalog.v1.PolicyTa * * *
-     * The policy tags that are in the requested taxonomy.
+     * The policy tags that belong to the taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; @@ -737,7 +737,7 @@ public Builder setPolicyTags( * * *
-     * The policy tags that are in the requested taxonomy.
+     * The policy tags that belong to the taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; @@ -759,7 +759,7 @@ public Builder addPolicyTags(com.google.cloud.datacatalog.v1.PolicyTag value) { * * *
-     * The policy tags that are in the requested taxonomy.
+     * The policy tags that belong to the taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; @@ -781,7 +781,7 @@ public Builder addPolicyTags(int index, com.google.cloud.datacatalog.v1.PolicyTa * * *
-     * The policy tags that are in the requested taxonomy.
+     * The policy tags that belong to the taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; @@ -801,7 +801,7 @@ public Builder addPolicyTags( * * *
-     * The policy tags that are in the requested taxonomy.
+     * The policy tags that belong to the taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; @@ -821,7 +821,7 @@ public Builder addPolicyTags( * * *
-     * The policy tags that are in the requested taxonomy.
+     * The policy tags that belong to the taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; @@ -841,7 +841,7 @@ public Builder addAllPolicyTags( * * *
-     * The policy tags that are in the requested taxonomy.
+     * The policy tags that belong to the taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; @@ -860,7 +860,7 @@ public Builder clearPolicyTags() { * * *
-     * The policy tags that are in the requested taxonomy.
+     * The policy tags that belong to the taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; @@ -879,7 +879,7 @@ public Builder removePolicyTags(int index) { * * *
-     * The policy tags that are in the requested taxonomy.
+     * The policy tags that belong to the taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; @@ -891,7 +891,7 @@ public com.google.cloud.datacatalog.v1.PolicyTag.Builder getPolicyTagsBuilder(in * * *
-     * The policy tags that are in the requested taxonomy.
+     * The policy tags that belong to the taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; @@ -907,7 +907,7 @@ public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagsOrBuilder * * *
-     * The policy tags that are in the requested taxonomy.
+     * The policy tags that belong to the taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; @@ -924,7 +924,7 @@ public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagsOrBuilder * * *
-     * The policy tags that are in the requested taxonomy.
+     * The policy tags that belong to the taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; @@ -937,7 +937,7 @@ public com.google.cloud.datacatalog.v1.PolicyTag.Builder addPolicyTagsBuilder() * * *
-     * The policy tags that are in the requested taxonomy.
+     * The policy tags that belong to the taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; @@ -950,7 +950,7 @@ public com.google.cloud.datacatalog.v1.PolicyTag.Builder addPolicyTagsBuilder(in * * *
-     * The policy tags that are in the requested taxonomy.
+     * The policy tags that belong to the taxonomy.
      * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; @@ -982,7 +982,7 @@ public com.google.cloud.datacatalog.v1.PolicyTag.Builder addPolicyTagsBuilder(in * * *
-     * Token used to retrieve the next page of results, or empty if there are no
+     * Pagination token of the next results page. Empty if there are no
      * more results in the list.
      * 
* @@ -1005,7 +1005,7 @@ public java.lang.String getNextPageToken() { * * *
-     * Token used to retrieve the next page of results, or empty if there are no
+     * Pagination token of the next results page. Empty if there are no
      * more results in the list.
      * 
* @@ -1028,7 +1028,7 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * * *
-     * Token used to retrieve the next page of results, or empty if there are no
+     * Pagination token of the next results page. Empty if there are no
      * more results in the list.
      * 
* @@ -1050,7 +1050,7 @@ public Builder setNextPageToken(java.lang.String value) { * * *
-     * Token used to retrieve the next page of results, or empty if there are no
+     * Pagination token of the next results page. Empty if there are no
      * more results in the list.
      * 
* @@ -1068,7 +1068,7 @@ public Builder clearNextPageToken() { * * *
-     * Token used to retrieve the next page of results, or empty if there are no
+     * Pagination token of the next results page. Empty if there are no
      * more results in the list.
      * 
* diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponseOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponseOrBuilder.java index 49dde188..f8999959 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponseOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListPolicyTagsResponseOrBuilder.java @@ -27,7 +27,7 @@ public interface ListPolicyTagsResponseOrBuilder * * *
-   * The policy tags that are in the requested taxonomy.
+   * The policy tags that belong to the taxonomy.
    * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; @@ -37,7 +37,7 @@ public interface ListPolicyTagsResponseOrBuilder * * *
-   * The policy tags that are in the requested taxonomy.
+   * The policy tags that belong to the taxonomy.
    * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; @@ -47,7 +47,7 @@ public interface ListPolicyTagsResponseOrBuilder * * *
-   * The policy tags that are in the requested taxonomy.
+   * The policy tags that belong to the taxonomy.
    * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; @@ -57,7 +57,7 @@ public interface ListPolicyTagsResponseOrBuilder * * *
-   * The policy tags that are in the requested taxonomy.
+   * The policy tags that belong to the taxonomy.
    * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; @@ -68,7 +68,7 @@ public interface ListPolicyTagsResponseOrBuilder * * *
-   * The policy tags that are in the requested taxonomy.
+   * The policy tags that belong to the taxonomy.
    * 
* * repeated .google.cloud.datacatalog.v1.PolicyTag policy_tags = 1; @@ -79,7 +79,7 @@ public interface ListPolicyTagsResponseOrBuilder * * *
-   * Token used to retrieve the next page of results, or empty if there are no
+   * Pagination token of the next results page. Empty if there are no
    * more results in the list.
    * 
* @@ -92,7 +92,7 @@ public interface ListPolicyTagsResponseOrBuilder * * *
-   * Token used to retrieve the next page of results, or empty if there are no
+   * Pagination token of the next results page. Empty if there are no
    * more results in the list.
    * 
* diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequest.java index b4685a93..8c017804 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequest.java @@ -131,12 +131,10 @@ 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.v1.Entry] or an
-   * [EntryGroup][google.cloud.datacatalog.v1.EntryGroup].
-   * Examples:
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+   * Required. The name of the Data Catalog resource to list the tags of.
+   * The resource can be an [Entry][google.cloud.datacatalog.v1.Entry]
+   * or an [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]
+   * (without `/entries/{entries}` at the end).
    * 
* * @@ -161,12 +159,10 @@ 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.v1.Entry] or an
-   * [EntryGroup][google.cloud.datacatalog.v1.EntryGroup].
-   * Examples:
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+   * Required. The name of the Data Catalog resource to list the tags of.
+   * The resource can be an [Entry][google.cloud.datacatalog.v1.Entry]
+   * or an [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]
+   * (without `/entries/{entries}` at the end).
    * 
* * @@ -194,7 +190,7 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * The maximum number of tags to return. Default is 10. Max limit is 1000.
+   * The maximum number of tags to return. Default is 10. Maximum limit is 1000.
    * 
* * int32 page_size = 2; @@ -212,8 +208,8 @@ public int getPageSize() { * * *
-   * Token that specifies which page is requested. If empty, the first page is
-   * returned.
+   * Pagination token that specifies the next page to return. If empty, the
+   * first page is returned.
    * 
* * string page_token = 3; @@ -236,8 +232,8 @@ public java.lang.String getPageToken() { * * *
-   * Token that specifies which page is requested. If empty, the first page is
-   * returned.
+   * Pagination token that specifies the next page to return. If empty, the
+   * first page is returned.
    * 
* * string page_token = 3; @@ -611,12 +607,10 @@ 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.v1.Entry] or an
-     * [EntryGroup][google.cloud.datacatalog.v1.EntryGroup].
-     * Examples:
-     * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
-     * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+     * Required. The name of the Data Catalog resource to list the tags of.
+     * The resource can be an [Entry][google.cloud.datacatalog.v1.Entry]
+     * or an [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]
+     * (without `/entries/{entries}` at the end).
      * 
* * @@ -640,12 +634,10 @@ 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.v1.Entry] or an
-     * [EntryGroup][google.cloud.datacatalog.v1.EntryGroup].
-     * Examples:
-     * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
-     * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+     * Required. The name of the Data Catalog resource to list the tags of.
+     * The resource can be an [Entry][google.cloud.datacatalog.v1.Entry]
+     * or an [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]
+     * (without `/entries/{entries}` at the end).
      * 
* * @@ -669,12 +661,10 @@ 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.v1.Entry] or an
-     * [EntryGroup][google.cloud.datacatalog.v1.EntryGroup].
-     * Examples:
-     * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
-     * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+     * Required. The name of the Data Catalog resource to list the tags of.
+     * The resource can be an [Entry][google.cloud.datacatalog.v1.Entry]
+     * or an [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]
+     * (without `/entries/{entries}` at the end).
      * 
* * @@ -697,12 +687,10 @@ 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.v1.Entry] or an
-     * [EntryGroup][google.cloud.datacatalog.v1.EntryGroup].
-     * Examples:
-     * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
-     * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+     * Required. The name of the Data Catalog resource to list the tags of.
+     * The resource can be an [Entry][google.cloud.datacatalog.v1.Entry]
+     * or an [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]
+     * (without `/entries/{entries}` at the end).
      * 
* * @@ -721,12 +709,10 @@ 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.v1.Entry] or an
-     * [EntryGroup][google.cloud.datacatalog.v1.EntryGroup].
-     * Examples:
-     * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
-     * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+     * Required. The name of the Data Catalog resource to list the tags of.
+     * The resource can be an [Entry][google.cloud.datacatalog.v1.Entry]
+     * or an [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]
+     * (without `/entries/{entries}` at the end).
      * 
* * @@ -752,7 +738,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * The maximum number of tags to return. Default is 10. Max limit is 1000.
+     * The maximum number of tags to return. Default is 10. Maximum limit is 1000.
      * 
* * int32 page_size = 2; @@ -767,7 +753,7 @@ public int getPageSize() { * * *
-     * The maximum number of tags to return. Default is 10. Max limit is 1000.
+     * The maximum number of tags to return. Default is 10. Maximum limit is 1000.
      * 
* * int32 page_size = 2; @@ -785,7 +771,7 @@ public Builder setPageSize(int value) { * * *
-     * The maximum number of tags to return. Default is 10. Max limit is 1000.
+     * The maximum number of tags to return. Default is 10. Maximum limit is 1000.
      * 
* * int32 page_size = 2; @@ -804,8 +790,8 @@ public Builder clearPageSize() { * * *
-     * Token that specifies which page is requested. If empty, the first page is
-     * returned.
+     * Pagination token that specifies the next page to return. If empty, the
+     * first page is returned.
      * 
* * string page_token = 3; @@ -827,8 +813,8 @@ public java.lang.String getPageToken() { * * *
-     * Token that specifies which page is requested. If empty, the first page is
-     * returned.
+     * Pagination token that specifies the next page to return. If empty, the
+     * first page is returned.
      * 
* * string page_token = 3; @@ -850,8 +836,8 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * *
-     * Token that specifies which page is requested. If empty, the first page is
-     * returned.
+     * Pagination token that specifies the next page to return. If empty, the
+     * first page is returned.
      * 
* * string page_token = 3; @@ -872,8 +858,8 @@ public Builder setPageToken(java.lang.String value) { * * *
-     * Token that specifies which page is requested. If empty, the first page is
-     * returned.
+     * Pagination token that specifies the next page to return. If empty, the
+     * first page is returned.
      * 
* * string page_token = 3; @@ -890,8 +876,8 @@ public Builder clearPageToken() { * * *
-     * Token that specifies which page is requested. If empty, the first page is
-     * returned.
+     * Pagination token that specifies the next page to return. If empty, the
+     * first page is returned.
      * 
* * string page_token = 3; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequestOrBuilder.java index 34b2b83f..d8c81997 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsRequestOrBuilder.java @@ -27,12 +27,10 @@ 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.v1.Entry] or an
-   * [EntryGroup][google.cloud.datacatalog.v1.EntryGroup].
-   * Examples:
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+   * Required. The name of the Data Catalog resource to list the tags of.
+   * The resource can be an [Entry][google.cloud.datacatalog.v1.Entry]
+   * or an [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]
+   * (without `/entries/{entries}` at the end).
    * 
* * @@ -46,12 +44,10 @@ 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.v1.Entry] or an
-   * [EntryGroup][google.cloud.datacatalog.v1.EntryGroup].
-   * Examples:
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
-   * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
+   * Required. The name of the Data Catalog resource to list the tags of.
+   * The resource can be an [Entry][google.cloud.datacatalog.v1.Entry]
+   * or an [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]
+   * (without `/entries/{entries}` at the end).
    * 
* * @@ -66,7 +62,7 @@ public interface ListTagsRequestOrBuilder * * *
-   * The maximum number of tags to return. Default is 10. Max limit is 1000.
+   * The maximum number of tags to return. Default is 10. Maximum limit is 1000.
    * 
* * int32 page_size = 2; @@ -79,8 +75,8 @@ public interface ListTagsRequestOrBuilder * * *
-   * Token that specifies which page is requested. If empty, the first page is
-   * returned.
+   * Pagination token that specifies the next page to return. If empty, the
+   * first page is returned.
    * 
* * string page_token = 3; @@ -92,8 +88,8 @@ public interface ListTagsRequestOrBuilder * * *
-   * Token that specifies which page is requested. If empty, the first page is
-   * returned.
+   * Pagination token that specifies the next page to return. If empty, the
+   * first page is returned.
    * 
* * string page_token = 3; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponse.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponse.java index 74bc68d8..67abf977 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponse.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponse.java @@ -203,8 +203,8 @@ public com.google.cloud.datacatalog.v1.TagOrBuilder getTagsOrBuilder(int index) * * *
-   * Token to retrieve the next page of results. It is set to empty if no items
-   * remain in results.
+   * Pagination token of the next results page. Empty if there are
+   * no more items in results.
    * 
* * string next_page_token = 2; @@ -227,8 +227,8 @@ public java.lang.String getNextPageToken() { * * *
-   * Token to retrieve the next page of results. It is set to empty if no items
-   * remain in results.
+   * Pagination token of the next results page. Empty if there are
+   * no more items in results.
    * 
* * string next_page_token = 2; @@ -975,8 +975,8 @@ public java.util.List getTagsBuilde * * *
-     * Token to retrieve the next page of results. It is set to empty if no items
-     * remain in results.
+     * Pagination token of the next results page. Empty if there are
+     * no more items in results.
      * 
* * string next_page_token = 2; @@ -998,8 +998,8 @@ public java.lang.String getNextPageToken() { * * *
-     * Token to retrieve the next page of results. It is set to empty if no items
-     * remain in results.
+     * Pagination token of the next results page. Empty if there are
+     * no more items in results.
      * 
* * string next_page_token = 2; @@ -1021,8 +1021,8 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * * *
-     * Token to retrieve the next page of results. It is set to empty if no items
-     * remain in results.
+     * Pagination token of the next results page. Empty if there are
+     * no more items in results.
      * 
* * string next_page_token = 2; @@ -1043,8 +1043,8 @@ public Builder setNextPageToken(java.lang.String value) { * * *
-     * Token to retrieve the next page of results. It is set to empty if no items
-     * remain in results.
+     * Pagination token of the next results page. Empty if there are
+     * no more items in results.
      * 
* * string next_page_token = 2; @@ -1061,8 +1061,8 @@ public Builder clearNextPageToken() { * * *
-     * Token to retrieve the next page of results. It is set to empty if no items
-     * remain in results.
+     * Pagination token of the next results page. Empty if there are
+     * no more items in results.
      * 
* * string next_page_token = 2; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponseOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponseOrBuilder.java index dec0370f..3594b50f 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponseOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTagsResponseOrBuilder.java @@ -78,8 +78,8 @@ public interface ListTagsResponseOrBuilder * * *
-   * Token to retrieve the next page of results. It is set to empty if no items
-   * remain in results.
+   * Pagination token of the next results page. Empty if there are
+   * no more items in results.
    * 
* * string next_page_token = 2; @@ -91,8 +91,8 @@ public interface ListTagsResponseOrBuilder * * *
-   * Token to retrieve the next page of results. It is set to empty if no items
-   * remain in results.
+   * Pagination token of the next results page. Empty if there are
+   * no more items in results.
    * 
* * string next_page_token = 2; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequest.java index 089a4de9..07470b67 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequest.java @@ -184,8 +184,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * The maximum number of items to return. Must be a value between 1 and 1000.
-   * If not set, defaults to 50.
+   * The maximum number of items to return. Must be a value between 1 and 1000
+   * inclusively. If not set, defaults to 50.
    * 
* * int32 page_size = 2; @@ -203,8 +203,9 @@ public int getPageSize() { * * *
-   * The next_page_token value returned from a previous list request, if any. If
-   * not set, defaults to an empty string.
+   * The pagination token of the next results page. If not set,
+   * the first page is returned.
+   * The token is returned in the response to a previous list request.
    * 
* * string page_token = 3; @@ -227,8 +228,9 @@ public java.lang.String getPageToken() { * * *
-   * The next_page_token value returned from a previous list request, if any. If
-   * not set, defaults to an empty string.
+   * The pagination token of the next results page. If not set,
+   * the first page is returned.
+   * The token is returned in the response to a previous list request.
    * 
* * string page_token = 3; @@ -720,8 +722,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * The maximum number of items to return. Must be a value between 1 and 1000.
-     * If not set, defaults to 50.
+     * The maximum number of items to return. Must be a value between 1 and 1000
+     * inclusively. If not set, defaults to 50.
      * 
* * int32 page_size = 2; @@ -736,8 +738,8 @@ public int getPageSize() { * * *
-     * The maximum number of items to return. Must be a value between 1 and 1000.
-     * If not set, defaults to 50.
+     * The maximum number of items to return. Must be a value between 1 and 1000
+     * inclusively. If not set, defaults to 50.
      * 
* * int32 page_size = 2; @@ -755,8 +757,8 @@ public Builder setPageSize(int value) { * * *
-     * The maximum number of items to return. Must be a value between 1 and 1000.
-     * If not set, defaults to 50.
+     * The maximum number of items to return. Must be a value between 1 and 1000
+     * inclusively. If not set, defaults to 50.
      * 
* * int32 page_size = 2; @@ -775,8 +777,9 @@ public Builder clearPageSize() { * * *
-     * The next_page_token value returned from a previous list request, if any. If
-     * not set, defaults to an empty string.
+     * The pagination token of the next results page. If not set,
+     * the first page is returned.
+     * The token is returned in the response to a previous list request.
      * 
* * string page_token = 3; @@ -798,8 +801,9 @@ public java.lang.String getPageToken() { * * *
-     * The next_page_token value returned from a previous list request, if any. If
-     * not set, defaults to an empty string.
+     * The pagination token of the next results page. If not set,
+     * the first page is returned.
+     * The token is returned in the response to a previous list request.
      * 
* * string page_token = 3; @@ -821,8 +825,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * *
-     * The next_page_token value returned from a previous list request, if any. If
-     * not set, defaults to an empty string.
+     * The pagination token of the next results page. If not set,
+     * the first page is returned.
+     * The token is returned in the response to a previous list request.
      * 
* * string page_token = 3; @@ -843,8 +848,9 @@ public Builder setPageToken(java.lang.String value) { * * *
-     * The next_page_token value returned from a previous list request, if any. If
-     * not set, defaults to an empty string.
+     * The pagination token of the next results page. If not set,
+     * the first page is returned.
+     * The token is returned in the response to a previous list request.
      * 
* * string page_token = 3; @@ -861,8 +867,9 @@ public Builder clearPageToken() { * * *
-     * The next_page_token value returned from a previous list request, if any. If
-     * not set, defaults to an empty string.
+     * The pagination token of the next results page. If not set,
+     * the first page is returned.
+     * The token is returned in the response to a previous list request.
      * 
* * string page_token = 3; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequestOrBuilder.java index 57632c35..58f63d94 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesRequestOrBuilder.java @@ -56,8 +56,8 @@ public interface ListTaxonomiesRequestOrBuilder * * *
-   * The maximum number of items to return. Must be a value between 1 and 1000.
-   * If not set, defaults to 50.
+   * The maximum number of items to return. Must be a value between 1 and 1000
+   * inclusively. If not set, defaults to 50.
    * 
* * int32 page_size = 2; @@ -70,8 +70,9 @@ public interface ListTaxonomiesRequestOrBuilder * * *
-   * The next_page_token value returned from a previous list request, if any. If
-   * not set, defaults to an empty string.
+   * The pagination token of the next results page. If not set,
+   * the first page is returned.
+   * The token is returned in the response to a previous list request.
    * 
* * string page_token = 3; @@ -83,8 +84,9 @@ public interface ListTaxonomiesRequestOrBuilder * * *
-   * The next_page_token value returned from a previous list request, if any. If
-   * not set, defaults to an empty string.
+   * The pagination token of the next results page. If not set,
+   * the first page is returned.
+   * The token is returned in the response to a previous list request.
    * 
* * string page_token = 3; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponse.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponse.java index 2cb4332f..8ebd6ede 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponse.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponse.java @@ -203,7 +203,7 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomiesOrBuilder( * * *
-   * Token used to retrieve the next page of results, or empty if there are no
+   * Pagination token of the next results page. Empty if there are no
    * more results in the list.
    * 
* @@ -227,7 +227,7 @@ public java.lang.String getNextPageToken() { * * *
-   * Token used to retrieve the next page of results, or empty if there are no
+   * Pagination token of the next results page. Empty if there are no
    * more results in the list.
    * 
* @@ -981,7 +981,7 @@ public com.google.cloud.datacatalog.v1.Taxonomy.Builder addTaxonomiesBuilder(int * * *
-     * Token used to retrieve the next page of results, or empty if there are no
+     * Pagination token of the next results page. Empty if there are no
      * more results in the list.
      * 
* @@ -1004,7 +1004,7 @@ public java.lang.String getNextPageToken() { * * *
-     * Token used to retrieve the next page of results, or empty if there are no
+     * Pagination token of the next results page. Empty if there are no
      * more results in the list.
      * 
* @@ -1027,7 +1027,7 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * * *
-     * Token used to retrieve the next page of results, or empty if there are no
+     * Pagination token of the next results page. Empty if there are no
      * more results in the list.
      * 
* @@ -1049,7 +1049,7 @@ public Builder setNextPageToken(java.lang.String value) { * * *
-     * Token used to retrieve the next page of results, or empty if there are no
+     * Pagination token of the next results page. Empty if there are no
      * more results in the list.
      * 
* @@ -1067,7 +1067,7 @@ public Builder clearNextPageToken() { * * *
-     * Token used to retrieve the next page of results, or empty if there are no
+     * Pagination token of the next results page. Empty if there are no
      * more results in the list.
      * 
* diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponseOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponseOrBuilder.java index d4ba519b..ff8be78b 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponseOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ListTaxonomiesResponseOrBuilder.java @@ -79,7 +79,7 @@ public interface ListTaxonomiesResponseOrBuilder * * *
-   * Token used to retrieve the next page of results, or empty if there are no
+   * Pagination token of the next results page. Empty if there are no
    * more results in the list.
    * 
* @@ -92,7 +92,7 @@ public interface ListTaxonomiesResponseOrBuilder * * *
-   * Token used to retrieve the next page of results, or empty if there are no
+   * Pagination token of the next results page. Empty if there are no
    * more results in the list.
    * 
* diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequest.java index fc74af3c..fb5ad3bc 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequest.java @@ -180,12 +180,11 @@ public TargetNameCase getTargetNameCase() { * *
    * The full name of the Google Cloud Platform resource the Data Catalog
-   * entry represents. See:
-   * https://cloud.google.com/apis/design/resource_names#full_resource_name.
-   * Full names are case-sensitive.
-   * Examples:
-   *  * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
-   *  * //pubsub.googleapis.com/projects/projectId/topics/topicId
+   * entry represents. For more information, see [Full Resource Name]
+   * (https://cloud.google.com/apis/design/resource_names#full_resource_name).
+   * Full names are case-sensitive. For example:
+   *  * `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
+   *  * `//pubsub.googleapis.com/projects/{PROJECT_ID}/topics/{TOPIC_ID}`
    * 
* * string linked_resource = 1; @@ -200,12 +199,11 @@ public boolean hasLinkedResource() { * *
    * The full name of the Google Cloud Platform resource the Data Catalog
-   * entry represents. See:
-   * https://cloud.google.com/apis/design/resource_names#full_resource_name.
-   * Full names are case-sensitive.
-   * Examples:
-   *  * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
-   *  * //pubsub.googleapis.com/projects/projectId/topics/topicId
+   * entry represents. For more information, see [Full Resource Name]
+   * (https://cloud.google.com/apis/design/resource_names#full_resource_name).
+   * Full names are case-sensitive. For example:
+   *  * `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
+   *  * `//pubsub.googleapis.com/projects/{PROJECT_ID}/topics/{TOPIC_ID}`
    * 
* * string linked_resource = 1; @@ -233,12 +231,11 @@ public java.lang.String getLinkedResource() { * *
    * The full name of the Google Cloud Platform resource the Data Catalog
-   * entry represents. See:
-   * https://cloud.google.com/apis/design/resource_names#full_resource_name.
-   * Full names are case-sensitive.
-   * Examples:
-   *  * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
-   *  * //pubsub.googleapis.com/projects/projectId/topics/topicId
+   * entry represents. For more information, see [Full Resource Name]
+   * (https://cloud.google.com/apis/design/resource_names#full_resource_name).
+   * Full names are case-sensitive. For example:
+   *  * `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
+   *  * `//pubsub.googleapis.com/projects/{PROJECT_ID}/topics/{TOPIC_ID}`
    * 
* * string linked_resource = 1; @@ -269,13 +266,14 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { *
    * The SQL name of the entry. SQL names are case-sensitive.
    * Examples:
-   *   * `pubsub.project_id.topic_id`
-   *   * ``pubsub.project_id.`topic.id.with.dots` ``
-   *   * `bigquery.table.project_id.dataset_id.table_id`
-   *   * `bigquery.dataset.project_id.dataset_id`
-   *   * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
-   * `*_id`s should satisfy the standard SQL rules for identifiers.
-   * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
+   * * `pubsub.topic.{PROJECT_ID}.{TOPIC_ID}`
+   * * `pubsub.topic.{PROJECT_ID}.`\``{TOPIC.ID.SEPARATED.WITH.DOTS}`\`
+   * * `bigquery.table.{PROJECT_ID}.{DATASET_ID}.{TABLE_ID}`
+   * * `bigquery.dataset.{PROJECT_ID}.{DATASET_ID}`
+   * * `datacatalog.entry.{PROJECT_ID}.{LOCATION_ID}.{ENTRY_GROUP_ID}.{ENTRY_ID}`
+   * Identifiers (`*_ID`) should comply with the
+   * [Lexical structure in Standard SQL]
+   * (https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical).
    * 
* * string sql_resource = 3; @@ -291,13 +289,14 @@ public boolean hasSqlResource() { *
    * The SQL name of the entry. SQL names are case-sensitive.
    * Examples:
-   *   * `pubsub.project_id.topic_id`
-   *   * ``pubsub.project_id.`topic.id.with.dots` ``
-   *   * `bigquery.table.project_id.dataset_id.table_id`
-   *   * `bigquery.dataset.project_id.dataset_id`
-   *   * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
-   * `*_id`s should satisfy the standard SQL rules for identifiers.
-   * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
+   * * `pubsub.topic.{PROJECT_ID}.{TOPIC_ID}`
+   * * `pubsub.topic.{PROJECT_ID}.`\``{TOPIC.ID.SEPARATED.WITH.DOTS}`\`
+   * * `bigquery.table.{PROJECT_ID}.{DATASET_ID}.{TABLE_ID}`
+   * * `bigquery.dataset.{PROJECT_ID}.{DATASET_ID}`
+   * * `datacatalog.entry.{PROJECT_ID}.{LOCATION_ID}.{ENTRY_GROUP_ID}.{ENTRY_ID}`
+   * Identifiers (`*_ID`) should comply with the
+   * [Lexical structure in Standard SQL]
+   * (https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical).
    * 
* * string sql_resource = 3; @@ -326,13 +325,14 @@ public java.lang.String getSqlResource() { *
    * The SQL name of the entry. SQL names are case-sensitive.
    * Examples:
-   *   * `pubsub.project_id.topic_id`
-   *   * ``pubsub.project_id.`topic.id.with.dots` ``
-   *   * `bigquery.table.project_id.dataset_id.table_id`
-   *   * `bigquery.dataset.project_id.dataset_id`
-   *   * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
-   * `*_id`s should satisfy the standard SQL rules for identifiers.
-   * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
+   * * `pubsub.topic.{PROJECT_ID}.{TOPIC_ID}`
+   * * `pubsub.topic.{PROJECT_ID}.`\``{TOPIC.ID.SEPARATED.WITH.DOTS}`\`
+   * * `bigquery.table.{PROJECT_ID}.{DATASET_ID}.{TABLE_ID}`
+   * * `bigquery.dataset.{PROJECT_ID}.{DATASET_ID}`
+   * * `datacatalog.entry.{PROJECT_ID}.{LOCATION_ID}.{ENTRY_GROUP_ID}.{ENTRY_ID}`
+   * Identifiers (`*_ID`) should comply with the
+   * [Lexical structure in Standard SQL]
+   * (https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical).
    * 
* * string sql_resource = 3; @@ -368,7 +368,7 @@ public com.google.protobuf.ByteString getSqlResourceBytes() { * * For regionalized resources: * `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` * Example for a DPMS table: - * `dataproc_metastore:project_id.location_id.instance_id.database_id.table_id` + * `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}` * * * string fully_qualified_name = 5; @@ -389,7 +389,7 @@ public boolean hasFullyQualifiedName() { * * For regionalized resources: * `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` * Example for a DPMS table: - * `dataproc_metastore:project_id.location_id.instance_id.database_id.table_id` + * `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}` * * * string fully_qualified_name = 5; @@ -423,7 +423,7 @@ public java.lang.String getFullyQualifiedName() { * * For regionalized resources: * `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` * Example for a DPMS table: - * `dataproc_metastore:project_id.location_id.instance_id.database_id.table_id` + * `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}` * * * string fully_qualified_name = 5; @@ -856,12 +856,11 @@ public Builder clearTargetName() { * *
      * The full name of the Google Cloud Platform resource the Data Catalog
-     * entry represents. See:
-     * https://cloud.google.com/apis/design/resource_names#full_resource_name.
-     * Full names are case-sensitive.
-     * Examples:
-     *  * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
-     *  * //pubsub.googleapis.com/projects/projectId/topics/topicId
+     * entry represents. For more information, see [Full Resource Name]
+     * (https://cloud.google.com/apis/design/resource_names#full_resource_name).
+     * Full names are case-sensitive. For example:
+     *  * `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
+     *  * `//pubsub.googleapis.com/projects/{PROJECT_ID}/topics/{TOPIC_ID}`
      * 
* * string linked_resource = 1; @@ -877,12 +876,11 @@ public boolean hasLinkedResource() { * *
      * The full name of the Google Cloud Platform resource the Data Catalog
-     * entry represents. See:
-     * https://cloud.google.com/apis/design/resource_names#full_resource_name.
-     * Full names are case-sensitive.
-     * Examples:
-     *  * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
-     *  * //pubsub.googleapis.com/projects/projectId/topics/topicId
+     * entry represents. For more information, see [Full Resource Name]
+     * (https://cloud.google.com/apis/design/resource_names#full_resource_name).
+     * Full names are case-sensitive. For example:
+     *  * `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
+     *  * `//pubsub.googleapis.com/projects/{PROJECT_ID}/topics/{TOPIC_ID}`
      * 
* * string linked_resource = 1; @@ -911,12 +909,11 @@ public java.lang.String getLinkedResource() { * *
      * The full name of the Google Cloud Platform resource the Data Catalog
-     * entry represents. See:
-     * https://cloud.google.com/apis/design/resource_names#full_resource_name.
-     * Full names are case-sensitive.
-     * Examples:
-     *  * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
-     *  * //pubsub.googleapis.com/projects/projectId/topics/topicId
+     * entry represents. For more information, see [Full Resource Name]
+     * (https://cloud.google.com/apis/design/resource_names#full_resource_name).
+     * Full names are case-sensitive. For example:
+     *  * `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
+     *  * `//pubsub.googleapis.com/projects/{PROJECT_ID}/topics/{TOPIC_ID}`
      * 
* * string linked_resource = 1; @@ -945,12 +942,11 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { * *
      * The full name of the Google Cloud Platform resource the Data Catalog
-     * entry represents. See:
-     * https://cloud.google.com/apis/design/resource_names#full_resource_name.
-     * Full names are case-sensitive.
-     * Examples:
-     *  * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
-     *  * //pubsub.googleapis.com/projects/projectId/topics/topicId
+     * entry represents. For more information, see [Full Resource Name]
+     * (https://cloud.google.com/apis/design/resource_names#full_resource_name).
+     * Full names are case-sensitive. For example:
+     *  * `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
+     *  * `//pubsub.googleapis.com/projects/{PROJECT_ID}/topics/{TOPIC_ID}`
      * 
* * string linked_resource = 1; @@ -972,12 +968,11 @@ public Builder setLinkedResource(java.lang.String value) { * *
      * The full name of the Google Cloud Platform resource the Data Catalog
-     * entry represents. See:
-     * https://cloud.google.com/apis/design/resource_names#full_resource_name.
-     * Full names are case-sensitive.
-     * Examples:
-     *  * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
-     *  * //pubsub.googleapis.com/projects/projectId/topics/topicId
+     * entry represents. For more information, see [Full Resource Name]
+     * (https://cloud.google.com/apis/design/resource_names#full_resource_name).
+     * Full names are case-sensitive. For example:
+     *  * `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
+     *  * `//pubsub.googleapis.com/projects/{PROJECT_ID}/topics/{TOPIC_ID}`
      * 
* * string linked_resource = 1; @@ -997,12 +992,11 @@ public Builder clearLinkedResource() { * *
      * The full name of the Google Cloud Platform resource the Data Catalog
-     * entry represents. See:
-     * https://cloud.google.com/apis/design/resource_names#full_resource_name.
-     * Full names are case-sensitive.
-     * Examples:
-     *  * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
-     *  * //pubsub.googleapis.com/projects/projectId/topics/topicId
+     * entry represents. For more information, see [Full Resource Name]
+     * (https://cloud.google.com/apis/design/resource_names#full_resource_name).
+     * Full names are case-sensitive. For example:
+     *  * `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
+     *  * `//pubsub.googleapis.com/projects/{PROJECT_ID}/topics/{TOPIC_ID}`
      * 
* * string linked_resource = 1; @@ -1027,13 +1021,14 @@ public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { *
      * The SQL name of the entry. SQL names are case-sensitive.
      * Examples:
-     *   * `pubsub.project_id.topic_id`
-     *   * ``pubsub.project_id.`topic.id.with.dots` ``
-     *   * `bigquery.table.project_id.dataset_id.table_id`
-     *   * `bigquery.dataset.project_id.dataset_id`
-     *   * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
-     * `*_id`s should satisfy the standard SQL rules for identifiers.
-     * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
+     * * `pubsub.topic.{PROJECT_ID}.{TOPIC_ID}`
+     * * `pubsub.topic.{PROJECT_ID}.`\``{TOPIC.ID.SEPARATED.WITH.DOTS}`\`
+     * * `bigquery.table.{PROJECT_ID}.{DATASET_ID}.{TABLE_ID}`
+     * * `bigquery.dataset.{PROJECT_ID}.{DATASET_ID}`
+     * * `datacatalog.entry.{PROJECT_ID}.{LOCATION_ID}.{ENTRY_GROUP_ID}.{ENTRY_ID}`
+     * Identifiers (`*_ID`) should comply with the
+     * [Lexical structure in Standard SQL]
+     * (https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical).
      * 
* * string sql_resource = 3; @@ -1050,13 +1045,14 @@ public boolean hasSqlResource() { *
      * The SQL name of the entry. SQL names are case-sensitive.
      * Examples:
-     *   * `pubsub.project_id.topic_id`
-     *   * ``pubsub.project_id.`topic.id.with.dots` ``
-     *   * `bigquery.table.project_id.dataset_id.table_id`
-     *   * `bigquery.dataset.project_id.dataset_id`
-     *   * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
-     * `*_id`s should satisfy the standard SQL rules for identifiers.
-     * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
+     * * `pubsub.topic.{PROJECT_ID}.{TOPIC_ID}`
+     * * `pubsub.topic.{PROJECT_ID}.`\``{TOPIC.ID.SEPARATED.WITH.DOTS}`\`
+     * * `bigquery.table.{PROJECT_ID}.{DATASET_ID}.{TABLE_ID}`
+     * * `bigquery.dataset.{PROJECT_ID}.{DATASET_ID}`
+     * * `datacatalog.entry.{PROJECT_ID}.{LOCATION_ID}.{ENTRY_GROUP_ID}.{ENTRY_ID}`
+     * Identifiers (`*_ID`) should comply with the
+     * [Lexical structure in Standard SQL]
+     * (https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical).
      * 
* * string sql_resource = 3; @@ -1086,13 +1082,14 @@ public java.lang.String getSqlResource() { *
      * The SQL name of the entry. SQL names are case-sensitive.
      * Examples:
-     *   * `pubsub.project_id.topic_id`
-     *   * ``pubsub.project_id.`topic.id.with.dots` ``
-     *   * `bigquery.table.project_id.dataset_id.table_id`
-     *   * `bigquery.dataset.project_id.dataset_id`
-     *   * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
-     * `*_id`s should satisfy the standard SQL rules for identifiers.
-     * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
+     * * `pubsub.topic.{PROJECT_ID}.{TOPIC_ID}`
+     * * `pubsub.topic.{PROJECT_ID}.`\``{TOPIC.ID.SEPARATED.WITH.DOTS}`\`
+     * * `bigquery.table.{PROJECT_ID}.{DATASET_ID}.{TABLE_ID}`
+     * * `bigquery.dataset.{PROJECT_ID}.{DATASET_ID}`
+     * * `datacatalog.entry.{PROJECT_ID}.{LOCATION_ID}.{ENTRY_GROUP_ID}.{ENTRY_ID}`
+     * Identifiers (`*_ID`) should comply with the
+     * [Lexical structure in Standard SQL]
+     * (https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical).
      * 
* * string sql_resource = 3; @@ -1122,13 +1119,14 @@ public com.google.protobuf.ByteString getSqlResourceBytes() { *
      * The SQL name of the entry. SQL names are case-sensitive.
      * Examples:
-     *   * `pubsub.project_id.topic_id`
-     *   * ``pubsub.project_id.`topic.id.with.dots` ``
-     *   * `bigquery.table.project_id.dataset_id.table_id`
-     *   * `bigquery.dataset.project_id.dataset_id`
-     *   * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
-     * `*_id`s should satisfy the standard SQL rules for identifiers.
-     * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
+     * * `pubsub.topic.{PROJECT_ID}.{TOPIC_ID}`
+     * * `pubsub.topic.{PROJECT_ID}.`\``{TOPIC.ID.SEPARATED.WITH.DOTS}`\`
+     * * `bigquery.table.{PROJECT_ID}.{DATASET_ID}.{TABLE_ID}`
+     * * `bigquery.dataset.{PROJECT_ID}.{DATASET_ID}`
+     * * `datacatalog.entry.{PROJECT_ID}.{LOCATION_ID}.{ENTRY_GROUP_ID}.{ENTRY_ID}`
+     * Identifiers (`*_ID`) should comply with the
+     * [Lexical structure in Standard SQL]
+     * (https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical).
      * 
* * string sql_resource = 3; @@ -1151,13 +1149,14 @@ public Builder setSqlResource(java.lang.String value) { *
      * The SQL name of the entry. SQL names are case-sensitive.
      * Examples:
-     *   * `pubsub.project_id.topic_id`
-     *   * ``pubsub.project_id.`topic.id.with.dots` ``
-     *   * `bigquery.table.project_id.dataset_id.table_id`
-     *   * `bigquery.dataset.project_id.dataset_id`
-     *   * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
-     * `*_id`s should satisfy the standard SQL rules for identifiers.
-     * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
+     * * `pubsub.topic.{PROJECT_ID}.{TOPIC_ID}`
+     * * `pubsub.topic.{PROJECT_ID}.`\``{TOPIC.ID.SEPARATED.WITH.DOTS}`\`
+     * * `bigquery.table.{PROJECT_ID}.{DATASET_ID}.{TABLE_ID}`
+     * * `bigquery.dataset.{PROJECT_ID}.{DATASET_ID}`
+     * * `datacatalog.entry.{PROJECT_ID}.{LOCATION_ID}.{ENTRY_GROUP_ID}.{ENTRY_ID}`
+     * Identifiers (`*_ID`) should comply with the
+     * [Lexical structure in Standard SQL]
+     * (https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical).
      * 
* * string sql_resource = 3; @@ -1178,13 +1177,14 @@ public Builder clearSqlResource() { *
      * The SQL name of the entry. SQL names are case-sensitive.
      * Examples:
-     *   * `pubsub.project_id.topic_id`
-     *   * ``pubsub.project_id.`topic.id.with.dots` ``
-     *   * `bigquery.table.project_id.dataset_id.table_id`
-     *   * `bigquery.dataset.project_id.dataset_id`
-     *   * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
-     * `*_id`s should satisfy the standard SQL rules for identifiers.
-     * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
+     * * `pubsub.topic.{PROJECT_ID}.{TOPIC_ID}`
+     * * `pubsub.topic.{PROJECT_ID}.`\``{TOPIC.ID.SEPARATED.WITH.DOTS}`\`
+     * * `bigquery.table.{PROJECT_ID}.{DATASET_ID}.{TABLE_ID}`
+     * * `bigquery.dataset.{PROJECT_ID}.{DATASET_ID}`
+     * * `datacatalog.entry.{PROJECT_ID}.{LOCATION_ID}.{ENTRY_GROUP_ID}.{ENTRY_ID}`
+     * Identifiers (`*_ID`) should comply with the
+     * [Lexical structure in Standard SQL]
+     * (https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical).
      * 
* * string sql_resource = 3; @@ -1214,7 +1214,7 @@ public Builder setSqlResourceBytes(com.google.protobuf.ByteString value) { * * For regionalized resources: * `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` * Example for a DPMS table: - * `dataproc_metastore:project_id.location_id.instance_id.database_id.table_id` + * `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}` * * * string fully_qualified_name = 5; @@ -1236,7 +1236,7 @@ public boolean hasFullyQualifiedName() { * * For regionalized resources: * `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` * Example for a DPMS table: - * `dataproc_metastore:project_id.location_id.instance_id.database_id.table_id` + * `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}` * * * string fully_qualified_name = 5; @@ -1271,7 +1271,7 @@ public java.lang.String getFullyQualifiedName() { * * For regionalized resources: * `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` * Example for a DPMS table: - * `dataproc_metastore:project_id.location_id.instance_id.database_id.table_id` + * `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}` * * * string fully_qualified_name = 5; @@ -1306,7 +1306,7 @@ public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { * * For regionalized resources: * `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` * Example for a DPMS table: - * `dataproc_metastore:project_id.location_id.instance_id.database_id.table_id` + * `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}` * * * string fully_qualified_name = 5; @@ -1334,7 +1334,7 @@ public Builder setFullyQualifiedName(java.lang.String value) { * * For regionalized resources: * `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` * Example for a DPMS table: - * `dataproc_metastore:project_id.location_id.instance_id.database_id.table_id` + * `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}` * * * string fully_qualified_name = 5; @@ -1360,7 +1360,7 @@ public Builder clearFullyQualifiedName() { * * For regionalized resources: * `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` * Example for a DPMS table: - * `dataproc_metastore:project_id.location_id.instance_id.database_id.table_id` + * `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}` * * * string fully_qualified_name = 5; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequestOrBuilder.java index 9bea4b0c..f8d20c04 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequestOrBuilder.java @@ -28,12 +28,11 @@ public interface LookupEntryRequestOrBuilder * *
    * The full name of the Google Cloud Platform resource the Data Catalog
-   * entry represents. See:
-   * https://cloud.google.com/apis/design/resource_names#full_resource_name.
-   * Full names are case-sensitive.
-   * Examples:
-   *  * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
-   *  * //pubsub.googleapis.com/projects/projectId/topics/topicId
+   * entry represents. For more information, see [Full Resource Name]
+   * (https://cloud.google.com/apis/design/resource_names#full_resource_name).
+   * Full names are case-sensitive. For example:
+   *  * `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
+   *  * `//pubsub.googleapis.com/projects/{PROJECT_ID}/topics/{TOPIC_ID}`
    * 
* * string linked_resource = 1; @@ -46,12 +45,11 @@ public interface LookupEntryRequestOrBuilder * *
    * The full name of the Google Cloud Platform resource the Data Catalog
-   * entry represents. See:
-   * https://cloud.google.com/apis/design/resource_names#full_resource_name.
-   * Full names are case-sensitive.
-   * Examples:
-   *  * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
-   *  * //pubsub.googleapis.com/projects/projectId/topics/topicId
+   * entry represents. For more information, see [Full Resource Name]
+   * (https://cloud.google.com/apis/design/resource_names#full_resource_name).
+   * Full names are case-sensitive. For example:
+   *  * `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
+   *  * `//pubsub.googleapis.com/projects/{PROJECT_ID}/topics/{TOPIC_ID}`
    * 
* * string linked_resource = 1; @@ -64,12 +62,11 @@ public interface LookupEntryRequestOrBuilder * *
    * The full name of the Google Cloud Platform resource the Data Catalog
-   * entry represents. See:
-   * https://cloud.google.com/apis/design/resource_names#full_resource_name.
-   * Full names are case-sensitive.
-   * Examples:
-   *  * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
-   *  * //pubsub.googleapis.com/projects/projectId/topics/topicId
+   * entry represents. For more information, see [Full Resource Name]
+   * (https://cloud.google.com/apis/design/resource_names#full_resource_name).
+   * Full names are case-sensitive. For example:
+   *  * `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
+   *  * `//pubsub.googleapis.com/projects/{PROJECT_ID}/topics/{TOPIC_ID}`
    * 
* * string linked_resource = 1; @@ -84,13 +81,14 @@ public interface LookupEntryRequestOrBuilder *
    * The SQL name of the entry. SQL names are case-sensitive.
    * Examples:
-   *   * `pubsub.project_id.topic_id`
-   *   * ``pubsub.project_id.`topic.id.with.dots` ``
-   *   * `bigquery.table.project_id.dataset_id.table_id`
-   *   * `bigquery.dataset.project_id.dataset_id`
-   *   * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
-   * `*_id`s should satisfy the standard SQL rules for identifiers.
-   * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
+   * * `pubsub.topic.{PROJECT_ID}.{TOPIC_ID}`
+   * * `pubsub.topic.{PROJECT_ID}.`\``{TOPIC.ID.SEPARATED.WITH.DOTS}`\`
+   * * `bigquery.table.{PROJECT_ID}.{DATASET_ID}.{TABLE_ID}`
+   * * `bigquery.dataset.{PROJECT_ID}.{DATASET_ID}`
+   * * `datacatalog.entry.{PROJECT_ID}.{LOCATION_ID}.{ENTRY_GROUP_ID}.{ENTRY_ID}`
+   * Identifiers (`*_ID`) should comply with the
+   * [Lexical structure in Standard SQL]
+   * (https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical).
    * 
* * string sql_resource = 3; @@ -104,13 +102,14 @@ public interface LookupEntryRequestOrBuilder *
    * The SQL name of the entry. SQL names are case-sensitive.
    * Examples:
-   *   * `pubsub.project_id.topic_id`
-   *   * ``pubsub.project_id.`topic.id.with.dots` ``
-   *   * `bigquery.table.project_id.dataset_id.table_id`
-   *   * `bigquery.dataset.project_id.dataset_id`
-   *   * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
-   * `*_id`s should satisfy the standard SQL rules for identifiers.
-   * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
+   * * `pubsub.topic.{PROJECT_ID}.{TOPIC_ID}`
+   * * `pubsub.topic.{PROJECT_ID}.`\``{TOPIC.ID.SEPARATED.WITH.DOTS}`\`
+   * * `bigquery.table.{PROJECT_ID}.{DATASET_ID}.{TABLE_ID}`
+   * * `bigquery.dataset.{PROJECT_ID}.{DATASET_ID}`
+   * * `datacatalog.entry.{PROJECT_ID}.{LOCATION_ID}.{ENTRY_GROUP_ID}.{ENTRY_ID}`
+   * Identifiers (`*_ID`) should comply with the
+   * [Lexical structure in Standard SQL]
+   * (https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical).
    * 
* * string sql_resource = 3; @@ -124,13 +123,14 @@ public interface LookupEntryRequestOrBuilder *
    * The SQL name of the entry. SQL names are case-sensitive.
    * Examples:
-   *   * `pubsub.project_id.topic_id`
-   *   * ``pubsub.project_id.`topic.id.with.dots` ``
-   *   * `bigquery.table.project_id.dataset_id.table_id`
-   *   * `bigquery.dataset.project_id.dataset_id`
-   *   * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
-   * `*_id`s should satisfy the standard SQL rules for identifiers.
-   * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
+   * * `pubsub.topic.{PROJECT_ID}.{TOPIC_ID}`
+   * * `pubsub.topic.{PROJECT_ID}.`\``{TOPIC.ID.SEPARATED.WITH.DOTS}`\`
+   * * `bigquery.table.{PROJECT_ID}.{DATASET_ID}.{TABLE_ID}`
+   * * `bigquery.dataset.{PROJECT_ID}.{DATASET_ID}`
+   * * `datacatalog.entry.{PROJECT_ID}.{LOCATION_ID}.{ENTRY_GROUP_ID}.{ENTRY_ID}`
+   * Identifiers (`*_ID`) should comply with the
+   * [Lexical structure in Standard SQL]
+   * (https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical).
    * 
* * string sql_resource = 3; @@ -150,7 +150,7 @@ public interface LookupEntryRequestOrBuilder * * For regionalized resources: * `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` * Example for a DPMS table: - * `dataproc_metastore:project_id.location_id.instance_id.database_id.table_id` + * `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}` * * * string fully_qualified_name = 5; @@ -169,7 +169,7 @@ public interface LookupEntryRequestOrBuilder * * For regionalized resources: * `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` * Example for a DPMS table: - * `dataproc_metastore:project_id.location_id.instance_id.database_id.table_id` + * `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}` * * * string fully_qualified_name = 5; @@ -188,7 +188,7 @@ public interface LookupEntryRequestOrBuilder * * For regionalized resources: * `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` * Example for a DPMS table: - * `dataproc_metastore:project_id.location_id.instance_id.database_id.table_id` + * `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}` * * * string fully_qualified_name = 5; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTag.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTag.java index 8a118c29..11739227 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTag.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTag.java @@ -22,16 +22,15 @@ * * *
- * Denotes one policy tag in a taxonomy (e.g. ssn). Policy tags can be defined
- * in a hierarchy. For example, consider the following hierarchy:
+ * Denotes one policy tag in a taxonomy, for example, SSN.
+ * Policy tags can be defined in a hierarchy. For example:
  * ```
  * + Geolocation
  *   + LatLong
  *   + City
  *   + ZipCode
  * ```
- * Policy tag "Geolocation" contains 3 child policy tags: "LatLong", "City", and
- * "ZipCode".
+ * Where the "Geolocation" policy tag contains three children.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.PolicyTag} @@ -165,10 +164,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Output only. Resource name of this policy tag in format:
-   * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policy_tag_id}".
-   * Both taxonomy_ids and policy_tag_ids are unique and generated by Policy Tag
-   * Manager.
+   * Output only. Resource name of this policy tag in the URL format.
+   * The policy tag manager generates unique taxonomy IDs and policy tag IDs.<br
+   * /><br />
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -191,10 +189,9 @@ public java.lang.String getName() { * * *
-   * Output only. Resource name of this policy tag in format:
-   * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policy_tag_id}".
-   * Both taxonomy_ids and policy_tag_ids are unique and generated by Policy Tag
-   * Manager.
+   * Output only. Resource name of this policy tag in the URL format.
+   * The policy tag manager generates unique taxonomy IDs and policy tag IDs.<br
+   * /><br />
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -220,10 +217,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.
+   * The name can't start or end with spaces and must be unique within the
+   * parent taxonomy, contain only Unicode letters, numbers, underscores, dashes
+   * and spaces, and be at most 200 bytes long when encoded in UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -246,10 +243,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.
+   * The name can't start or end with spaces and must be unique within the
+   * parent taxonomy, contain only Unicode letters, numbers, underscores, dashes
+   * and spaces, and be at most 200 bytes long when encoded in UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -275,10 +272,10 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * * *
-   * Description of this policy tag. 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.
-   * If not set, defaults to an empty description.
+   * Description of this policy tag. If not set, defaults to empty.
+   * The description must contain only Unicode characters,
+   * tabs, newlines, carriage returns and page breaks, and be at most 2000 bytes
+   * long when encoded in UTF-8.
    * 
* * string description = 3; @@ -301,10 +298,10 @@ public java.lang.String getDescription() { * * *
-   * Description of this policy tag. 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.
-   * If not set, defaults to an empty description.
+   * Description of this policy tag. If not set, defaults to empty.
+   * The description must contain only Unicode characters,
+   * tabs, newlines, carriage returns and page breaks, and be at most 2000 bytes
+   * long when encoded in UTF-8.
    * 
* * string description = 3; @@ -330,12 +327,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * *
-   * Resource name of this policy tag's parent policy tag (e.g. for the
-   * "LatLong" policy tag in the example above, this field contains the
-   * resource name of the "Geolocation" policy tag). If empty, it means this
-   * policy tag is a top level policy tag (e.g. this field is empty for the
-   * "Geolocation" policy tag in the example above). If not set, defaults to an
-   * empty string.
+   * Resource name of this policy tag's parent policy tag. If empty, this is a
+   * top level tag. If not set, defaults to an empty string.
+   * For example, for the "LatLong" policy tag in the example above, this field
+   * contains the resource name of the "Geolocation" policy tag, and, for
+   * "Geolocation", this field is empty.
    * 
* * string parent_policy_tag = 4; @@ -358,12 +354,11 @@ public java.lang.String getParentPolicyTag() { * * *
-   * Resource name of this policy tag's parent policy tag (e.g. for the
-   * "LatLong" policy tag in the example above, this field contains the
-   * resource name of the "Geolocation" policy tag). If empty, it means this
-   * policy tag is a top level policy tag (e.g. this field is empty for the
-   * "Geolocation" policy tag in the example above). If not set, defaults to an
-   * empty string.
+   * Resource name of this policy tag's parent policy tag. If empty, this is a
+   * top level tag. If not set, defaults to an empty string.
+   * For example, for the "LatLong" policy tag in the example above, this field
+   * contains the resource name of the "Geolocation" policy tag, and, for
+   * "Geolocation", this field is empty.
    * 
* * string parent_policy_tag = 4; @@ -654,16 +649,15 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Denotes one policy tag in a taxonomy (e.g. ssn). Policy tags can be defined
-   * in a hierarchy. For example, consider the following hierarchy:
+   * Denotes one policy tag in a taxonomy, for example, SSN.
+   * Policy tags can be defined in a hierarchy. For example:
    * ```
    * + Geolocation
    *   + LatLong
    *   + City
    *   + ZipCode
    * ```
-   * Policy tag "Geolocation" contains 3 child policy tags: "LatLong", "City", and
-   * "ZipCode".
+   * Where the "Geolocation" policy tag contains three children.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.PolicyTag} @@ -862,10 +856,9 @@ public Builder mergeFrom( * * *
-     * Output only. Resource name of this policy tag in format:
-     * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policy_tag_id}".
-     * Both taxonomy_ids and policy_tag_ids are unique and generated by Policy Tag
-     * Manager.
+     * Output only. Resource name of this policy tag in the URL format.
+     * The policy tag manager generates unique taxonomy IDs and policy tag IDs.<br
+     * /><br />
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -887,10 +880,9 @@ public java.lang.String getName() { * * *
-     * Output only. Resource name of this policy tag in format:
-     * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policy_tag_id}".
-     * Both taxonomy_ids and policy_tag_ids are unique and generated by Policy Tag
-     * Manager.
+     * Output only. Resource name of this policy tag in the URL format.
+     * The policy tag manager generates unique taxonomy IDs and policy tag IDs.<br
+     * /><br />
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -912,10 +904,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Output only. Resource name of this policy tag in format:
-     * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policy_tag_id}".
-     * Both taxonomy_ids and policy_tag_ids are unique and generated by Policy Tag
-     * Manager.
+     * Output only. Resource name of this policy tag in the URL format.
+     * The policy tag manager generates unique taxonomy IDs and policy tag IDs.<br
+     * /><br />
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -936,10 +927,9 @@ public Builder setName(java.lang.String value) { * * *
-     * Output only. Resource name of this policy tag in format:
-     * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policy_tag_id}".
-     * Both taxonomy_ids and policy_tag_ids are unique and generated by Policy Tag
-     * Manager.
+     * Output only. Resource name of this policy tag in the URL format.
+     * The policy tag manager generates unique taxonomy IDs and policy tag IDs.<br
+     * /><br />
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -956,10 +946,9 @@ public Builder clearName() { * * *
-     * Output only. Resource name of this policy tag in format:
-     * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policy_tag_id}".
-     * Both taxonomy_ids and policy_tag_ids are unique and generated by Policy Tag
-     * Manager.
+     * Output only. Resource name of this policy tag in the URL format.
+     * The policy tag manager generates unique taxonomy IDs and policy tag IDs.<br
+     * /><br />
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -983,10 +972,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.
+     * The name can't start or end with spaces and must be unique within the
+     * parent taxonomy, contain only Unicode letters, numbers, underscores, dashes
+     * and spaces, and be at most 200 bytes long when encoded in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1008,10 +997,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.
+     * The name can't start or end with spaces and must be unique within the
+     * parent taxonomy, contain only Unicode letters, numbers, underscores, dashes
+     * and spaces, and be at most 200 bytes long when encoded in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1033,10 +1022,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.
+     * The name can't start or end with spaces and must be unique within the
+     * parent taxonomy, contain only Unicode letters, numbers, underscores, dashes
+     * and spaces, and be at most 200 bytes long when encoded in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1057,10 +1046,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.
+     * The name can't start or end with spaces and must be unique within the
+     * parent taxonomy, contain only Unicode letters, numbers, underscores, dashes
+     * and spaces, and be at most 200 bytes long when encoded in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1077,10 +1066,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.
+     * The name can't start or end with spaces and must be unique within the
+     * parent taxonomy, contain only Unicode letters, numbers, underscores, dashes
+     * and spaces, and be at most 200 bytes long when encoded in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1104,10 +1093,10 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Description of this policy tag. 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.
-     * If not set, defaults to an empty description.
+     * Description of this policy tag. If not set, defaults to empty.
+     * The description must contain only Unicode characters,
+     * tabs, newlines, carriage returns and page breaks, and be at most 2000 bytes
+     * long when encoded in UTF-8.
      * 
* * string description = 3; @@ -1129,10 +1118,10 @@ public java.lang.String getDescription() { * * *
-     * Description of this policy tag. 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.
-     * If not set, defaults to an empty description.
+     * Description of this policy tag. If not set, defaults to empty.
+     * The description must contain only Unicode characters,
+     * tabs, newlines, carriage returns and page breaks, and be at most 2000 bytes
+     * long when encoded in UTF-8.
      * 
* * string description = 3; @@ -1154,10 +1143,10 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * *
-     * Description of this policy tag. 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.
-     * If not set, defaults to an empty description.
+     * Description of this policy tag. If not set, defaults to empty.
+     * The description must contain only Unicode characters,
+     * tabs, newlines, carriage returns and page breaks, and be at most 2000 bytes
+     * long when encoded in UTF-8.
      * 
* * string description = 3; @@ -1178,10 +1167,10 @@ public Builder setDescription(java.lang.String value) { * * *
-     * Description of this policy tag. 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.
-     * If not set, defaults to an empty description.
+     * Description of this policy tag. If not set, defaults to empty.
+     * The description must contain only Unicode characters,
+     * tabs, newlines, carriage returns and page breaks, and be at most 2000 bytes
+     * long when encoded in UTF-8.
      * 
* * string description = 3; @@ -1198,10 +1187,10 @@ public Builder clearDescription() { * * *
-     * Description of this policy tag. 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.
-     * If not set, defaults to an empty description.
+     * Description of this policy tag. If not set, defaults to empty.
+     * The description must contain only Unicode characters,
+     * tabs, newlines, carriage returns and page breaks, and be at most 2000 bytes
+     * long when encoded in UTF-8.
      * 
* * string description = 3; @@ -1225,12 +1214,11 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * * *
-     * Resource name of this policy tag's parent policy tag (e.g. for the
-     * "LatLong" policy tag in the example above, this field contains the
-     * resource name of the "Geolocation" policy tag). If empty, it means this
-     * policy tag is a top level policy tag (e.g. this field is empty for the
-     * "Geolocation" policy tag in the example above). If not set, defaults to an
-     * empty string.
+     * Resource name of this policy tag's parent policy tag. If empty, this is a
+     * top level tag. If not set, defaults to an empty string.
+     * For example, for the "LatLong" policy tag in the example above, this field
+     * contains the resource name of the "Geolocation" policy tag, and, for
+     * "Geolocation", this field is empty.
      * 
* * string parent_policy_tag = 4; @@ -1252,12 +1240,11 @@ public java.lang.String getParentPolicyTag() { * * *
-     * Resource name of this policy tag's parent policy tag (e.g. for the
-     * "LatLong" policy tag in the example above, this field contains the
-     * resource name of the "Geolocation" policy tag). If empty, it means this
-     * policy tag is a top level policy tag (e.g. this field is empty for the
-     * "Geolocation" policy tag in the example above). If not set, defaults to an
-     * empty string.
+     * Resource name of this policy tag's parent policy tag. If empty, this is a
+     * top level tag. If not set, defaults to an empty string.
+     * For example, for the "LatLong" policy tag in the example above, this field
+     * contains the resource name of the "Geolocation" policy tag, and, for
+     * "Geolocation", this field is empty.
      * 
* * string parent_policy_tag = 4; @@ -1279,12 +1266,11 @@ public com.google.protobuf.ByteString getParentPolicyTagBytes() { * * *
-     * Resource name of this policy tag's parent policy tag (e.g. for the
-     * "LatLong" policy tag in the example above, this field contains the
-     * resource name of the "Geolocation" policy tag). If empty, it means this
-     * policy tag is a top level policy tag (e.g. this field is empty for the
-     * "Geolocation" policy tag in the example above). If not set, defaults to an
-     * empty string.
+     * Resource name of this policy tag's parent policy tag. If empty, this is a
+     * top level tag. If not set, defaults to an empty string.
+     * For example, for the "LatLong" policy tag in the example above, this field
+     * contains the resource name of the "Geolocation" policy tag, and, for
+     * "Geolocation", this field is empty.
      * 
* * string parent_policy_tag = 4; @@ -1305,12 +1291,11 @@ public Builder setParentPolicyTag(java.lang.String value) { * * *
-     * Resource name of this policy tag's parent policy tag (e.g. for the
-     * "LatLong" policy tag in the example above, this field contains the
-     * resource name of the "Geolocation" policy tag). If empty, it means this
-     * policy tag is a top level policy tag (e.g. this field is empty for the
-     * "Geolocation" policy tag in the example above). If not set, defaults to an
-     * empty string.
+     * Resource name of this policy tag's parent policy tag. If empty, this is a
+     * top level tag. If not set, defaults to an empty string.
+     * For example, for the "LatLong" policy tag in the example above, this field
+     * contains the resource name of the "Geolocation" policy tag, and, for
+     * "Geolocation", this field is empty.
      * 
* * string parent_policy_tag = 4; @@ -1327,12 +1312,11 @@ public Builder clearParentPolicyTag() { * * *
-     * Resource name of this policy tag's parent policy tag (e.g. for the
-     * "LatLong" policy tag in the example above, this field contains the
-     * resource name of the "Geolocation" policy tag). If empty, it means this
-     * policy tag is a top level policy tag (e.g. this field is empty for the
-     * "Geolocation" policy tag in the example above). If not set, defaults to an
-     * empty string.
+     * Resource name of this policy tag's parent policy tag. If empty, this is a
+     * top level tag. If not set, defaults to an empty string.
+     * For example, for the "LatLong" policy tag in the example above, this field
+     * contains the resource name of the "Geolocation" policy tag, and, for
+     * "Geolocation", this field is empty.
      * 
* * string parent_policy_tag = 4; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationProto.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationProto.java index 4c0d37e0..a37c2fcf 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationProto.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationProto.java @@ -35,6 +35,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_datacatalog_v1_SerializedPolicyTag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -85,46 +89,54 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014display_name\030\002 \001(\tB\003\340A\002\022\023\n\013description\030" + "\003 \001(\t\022K\n\021child_policy_tags\030\004 \003(\01320.googl" + "e.cloud.datacatalog.v1.SerializedPolicyT" - + "ag\"\367\001\n\027ImportTaxonomiesRequest\022;\n\006parent" - + "\030\001 \001(\tB+\340A\002\372A%\022#datacatalog.googleapis.c" - + "om/Taxonomy\022B\n\rinline_source\030\002 \001(\0132).goo" - + "gle.cloud.datacatalog.v1.InlineSourceH\000\022" - + "Q\n\025cross_regional_source\030\003 \001(\01320.google." - + "cloud.datacatalog.v1.CrossRegionalSource" - + "H\000B\010\n\006source\"X\n\014InlineSource\022H\n\ntaxonomi" - + "es\030\001 \003(\0132/.google.cloud.datacatalog.v1.S" - + "erializedTaxonomyB\003\340A\002\"T\n\023CrossRegionalS" - + "ource\022=\n\010taxonomy\030\001 \001(\tB+\340A\002\372A%\n#datacat" - + "alog.googleapis.com/Taxonomy\"U\n\030ImportTa" - + "xonomiesResponse\0229\n\ntaxonomies\030\001 \003(\0132%.g" - + "oogle.cloud.datacatalog.v1.Taxonomy\"\307\001\n\027" - + "ExportTaxonomiesRequest\022;\n\006parent\030\001 \001(\tB" - + "+\340A\002\372A%\022#datacatalog.googleapis.com/Taxo" - + "nomy\022?\n\ntaxonomies\030\002 \003(\tB+\340A\002\372A%\n#dataca" - + "talog.googleapis.com/Taxonomy\022\037\n\025seriali" - + "zed_taxonomies\030\003 \001(\010H\000B\r\n\013destination\"_\n" - + "\030ExportTaxonomiesResponse\022C\n\ntaxonomies\030" - + "\001 \003(\0132/.google.cloud.datacatalog.v1.Seri" - + "alizedTaxonomy2\364\003\n\035PolicyTagManagerSeria" - + "lization\022\301\001\n\020ImportTaxonomies\0224.google.c" - + "loud.datacatalog.v1.ImportTaxonomiesRequ" - + "est\0325.google.cloud.datacatalog.v1.Import" - + "TaxonomiesResponse\"@\202\323\344\223\002:\"5/v1/{parent=" - + "projects/*/locations/*}/taxonomies:impor" - + "t:\001*\022\276\001\n\020ExportTaxonomies\0224.google.cloud" - + ".datacatalog.v1.ExportTaxonomiesRequest\032" - + "5.google.cloud.datacatalog.v1.ExportTaxo" - + "nomiesResponse\"=\202\323\344\223\0027\0225/v1/{parent=proj" - + "ects/*/locations/*}/taxonomies:export\032N\312" - + "A\032datacatalog.googleapis.com\322A.https://w" - + "ww.googleapis.com/auth/cloud-platformB\357\001" - + "\n\037com.google.cloud.datacatalog.v1B\"Polic" - + "yTagManagerSerializationProtoP\001ZFgoogle." - + "golang.org/genproto/googleapis/cloud/dat" - + "acatalog/v1;datacatalog\370\001\001\252\002\033Google.Clou" - + "d.DataCatalog.V1\312\002\033Google\\Cloud\\DataCata" - + "log\\V1\352\002\036Google::Cloud::DataCatalog::V1b" - + "\006proto3" + + "ag\"\246\001\n\026ReplaceTaxonomyRequest\0229\n\004name\030\001 " + + "\001(\tB+\340A\002\372A%\n#datacatalog.googleapis.com/" + + "Taxonomy\022Q\n\023serialized_taxonomy\030\002 \001(\0132/." + + "google.cloud.datacatalog.v1.SerializedTa" + + "xonomyB\003\340A\002\"\367\001\n\027ImportTaxonomiesRequest\022" + + ";\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#datacatalog.goo" + + "gleapis.com/Taxonomy\022B\n\rinline_source\030\002 " + + "\001(\0132).google.cloud.datacatalog.v1.Inline" + + "SourceH\000\022Q\n\025cross_regional_source\030\003 \001(\0132" + + "0.google.cloud.datacatalog.v1.CrossRegio" + + "nalSourceH\000B\010\n\006source\"X\n\014InlineSource\022H\n" + + "\ntaxonomies\030\001 \003(\0132/.google.cloud.datacat" + + "alog.v1.SerializedTaxonomyB\003\340A\002\"T\n\023Cross" + + "RegionalSource\022=\n\010taxonomy\030\001 \001(\tB+\340A\002\372A%" + + "\n#datacatalog.googleapis.com/Taxonomy\"U\n" + + "\030ImportTaxonomiesResponse\0229\n\ntaxonomies\030" + + "\001 \003(\0132%.google.cloud.datacatalog.v1.Taxo" + + "nomy\"\307\001\n\027ExportTaxonomiesRequest\022;\n\006pare" + + "nt\030\001 \001(\tB+\340A\002\372A%\022#datacatalog.googleapis" + + ".com/Taxonomy\022?\n\ntaxonomies\030\002 \003(\tB+\340A\002\372A" + + "%\n#datacatalog.googleapis.com/Taxonomy\022\037" + + "\n\025serialized_taxonomies\030\003 \001(\010H\000B\r\n\013desti" + + "nation\"_\n\030ExportTaxonomiesResponse\022C\n\nta" + + "xonomies\030\001 \003(\0132/.google.cloud.datacatalo" + + "g.v1.SerializedTaxonomy2\247\005\n\035PolicyTagMan" + + "agerSerialization\022\260\001\n\017ReplaceTaxonomy\0223." + + "google.cloud.datacatalog.v1.ReplaceTaxon" + + "omyRequest\032%.google.cloud.datacatalog.v1" + + ".Taxonomy\"A\202\323\344\223\002;\"6/v1/{name=projects/*/" + + "locations/*/taxonomies/*}:replace:\001*\022\301\001\n" + + "\020ImportTaxonomies\0224.google.cloud.datacat" + + "alog.v1.ImportTaxonomiesRequest\0325.google" + + ".cloud.datacatalog.v1.ImportTaxonomiesRe" + + "sponse\"@\202\323\344\223\002:\"5/v1/{parent=projects/*/l" + + "ocations/*}/taxonomies:import:\001*\022\276\001\n\020Exp" + + "ortTaxonomies\0224.google.cloud.datacatalog" + + ".v1.ExportTaxonomiesRequest\0325.google.clo" + + "ud.datacatalog.v1.ExportTaxonomiesRespon" + + "se\"=\202\323\344\223\0027\0225/v1/{parent=projects/*/locat" + + "ions/*}/taxonomies:export\032N\312A\032datacatalo" + + "g.googleapis.com\322A.https://www.googleapi" + + "s.com/auth/cloud-platformB\357\001\n\037com.google" + + ".cloud.datacatalog.v1B\"PolicyTagManagerS" + + "erializationProtoP\001ZFgoogle.golang.org/g" + + "enproto/googleapis/cloud/datacatalog/v1;" + + "datacatalog\370\001\001\252\002\033Google.Cloud.DataCatalo" + + "g.V1\312\002\033Google\\Cloud\\DataCatalog\\V1\352\002\036Goo" + + "gle::Cloud::DataCatalog::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -153,8 +165,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "PolicyTag", "DisplayName", "Description", "ChildPolicyTags", }); - internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_descriptor = + internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_descriptor = getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_descriptor, + new java.lang.String[] { + "Name", "SerializedTaxonomy", + }); + internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_descriptor = + getDescriptor().getMessageTypes().get(3); internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesRequest_descriptor, @@ -162,7 +182,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "InlineSource", "CrossRegionalSource", "Source", }); internal_static_google_cloud_datacatalog_v1_InlineSource_descriptor = - getDescriptor().getMessageTypes().get(3); + getDescriptor().getMessageTypes().get(4); internal_static_google_cloud_datacatalog_v1_InlineSource_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_datacatalog_v1_InlineSource_descriptor, @@ -170,7 +190,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Taxonomies", }); internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_descriptor = - getDescriptor().getMessageTypes().get(4); + getDescriptor().getMessageTypes().get(5); internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_datacatalog_v1_CrossRegionalSource_descriptor, @@ -178,7 +198,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Taxonomy", }); internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_descriptor = - getDescriptor().getMessageTypes().get(5); + getDescriptor().getMessageTypes().get(6); internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_datacatalog_v1_ImportTaxonomiesResponse_descriptor, @@ -186,7 +206,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Taxonomies", }); internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_descriptor = - getDescriptor().getMessageTypes().get(6); + getDescriptor().getMessageTypes().get(7); internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesRequest_descriptor, @@ -194,7 +214,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "Taxonomies", "SerializedTaxonomies", "Destination", }); internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_descriptor = - getDescriptor().getMessageTypes().get(7); + getDescriptor().getMessageTypes().get(8); internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_datacatalog_v1_ExportTaxonomiesResponse_descriptor, diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagOrBuilder.java index 1dde5542..eac59b10 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagOrBuilder.java @@ -27,10 +27,9 @@ public interface PolicyTagOrBuilder * * *
-   * Output only. Resource name of this policy tag in format:
-   * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policy_tag_id}".
-   * Both taxonomy_ids and policy_tag_ids are unique and generated by Policy Tag
-   * Manager.
+   * Output only. Resource name of this policy tag in the URL format.
+   * The policy tag manager generates unique taxonomy IDs and policy tag IDs.<br
+   * /><br />
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -42,10 +41,9 @@ public interface PolicyTagOrBuilder * * *
-   * Output only. Resource name of this policy tag in format:
-   * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policy_tag_id}".
-   * Both taxonomy_ids and policy_tag_ids are unique and generated by Policy Tag
-   * Manager.
+   * Output only. Resource name of this policy tag in the URL format.
+   * The policy tag manager generates unique taxonomy IDs and policy tag IDs.<br
+   * /><br />
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -58,10 +56,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.
+   * The name can't start or end with spaces and must be unique within the
+   * parent taxonomy, contain only Unicode letters, numbers, underscores, dashes
+   * and spaces, and be at most 200 bytes long when encoded in UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -73,10 +71,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.
+   * The name can't start or end with spaces and must be unique within the
+   * parent taxonomy, contain only Unicode letters, numbers, underscores, dashes
+   * and spaces, and be at most 200 bytes long when encoded in UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -89,10 +87,10 @@ public interface PolicyTagOrBuilder * * *
-   * Description of this policy tag. 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.
-   * If not set, defaults to an empty description.
+   * Description of this policy tag. If not set, defaults to empty.
+   * The description must contain only Unicode characters,
+   * tabs, newlines, carriage returns and page breaks, and be at most 2000 bytes
+   * long when encoded in UTF-8.
    * 
* * string description = 3; @@ -104,10 +102,10 @@ public interface PolicyTagOrBuilder * * *
-   * Description of this policy tag. 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.
-   * If not set, defaults to an empty description.
+   * Description of this policy tag. If not set, defaults to empty.
+   * The description must contain only Unicode characters,
+   * tabs, newlines, carriage returns and page breaks, and be at most 2000 bytes
+   * long when encoded in UTF-8.
    * 
* * string description = 3; @@ -120,12 +118,11 @@ public interface PolicyTagOrBuilder * * *
-   * Resource name of this policy tag's parent policy tag (e.g. for the
-   * "LatLong" policy tag in the example above, this field contains the
-   * resource name of the "Geolocation" policy tag). If empty, it means this
-   * policy tag is a top level policy tag (e.g. this field is empty for the
-   * "Geolocation" policy tag in the example above). If not set, defaults to an
-   * empty string.
+   * Resource name of this policy tag's parent policy tag. If empty, this is a
+   * top level tag. If not set, defaults to an empty string.
+   * For example, for the "LatLong" policy tag in the example above, this field
+   * contains the resource name of the "Geolocation" policy tag, and, for
+   * "Geolocation", this field is empty.
    * 
* * string parent_policy_tag = 4; @@ -137,12 +134,11 @@ public interface PolicyTagOrBuilder * * *
-   * Resource name of this policy tag's parent policy tag (e.g. for the
-   * "LatLong" policy tag in the example above, this field contains the
-   * resource name of the "Geolocation" policy tag). If empty, it means this
-   * policy tag is a top level policy tag (e.g. this field is empty for the
-   * "Geolocation" policy tag in the example above). If not set, defaults to an
-   * empty string.
+   * Resource name of this policy tag's parent policy tag. If empty, this is a
+   * top level tag. If not set, defaults to an empty string.
+   * For example, for the "LatLong" policy tag in the example above, this field
+   * contains the resource name of the "Geolocation" policy tag, and, for
+   * "Geolocation", this field is empty.
    * 
* * string parent_policy_tag = 4; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequest.java index 685b9c84..3af9056f 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequest.java @@ -128,8 +128,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * 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}
+   * Required. The name of the enum field value.
    * 
* * @@ -154,8 +153,7 @@ public 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}
+   * Required. The name of the enum field value.
    * 
* * @@ -576,8 +574,7 @@ public Builder mergeFrom( * * *
-     * 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}
+     * Required. The name of the enum field value.
      * 
* * @@ -601,8 +598,7 @@ public 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}
+     * Required. The name of the enum field value.
      * 
* * @@ -626,8 +622,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * 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}
+     * Required. The name of the enum field value.
      * 
* * @@ -650,8 +645,7 @@ public Builder setName(java.lang.String value) { * * *
-     * 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}
+     * Required. The name of the enum field value.
      * 
* * @@ -670,8 +664,7 @@ public Builder clearName() { * * *
-     * 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}
+     * Required. The name of the enum field value.
      * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java index d9b051f6..89d8d4c4 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java @@ -27,8 +27,7 @@ public interface RenameTagTemplateFieldEnumValueRequestOrBuilder * * *
-   * 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}
+   * Required. The name of the enum field value.
    * 
* * @@ -42,8 +41,7 @@ public interface RenameTagTemplateFieldEnumValueRequestOrBuilder * * *
-   * 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}
+   * Required. The name of the enum field value.
    * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequest.java index f5b214e0..65ecc899 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequest.java @@ -126,8 +126,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The name of the tag template. Example:
-   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
+   * Required. The name of the tag template.
    * 
* * @@ -152,8 +151,7 @@ public java.lang.String getName() { * * *
-   * Required. The name of the tag template. Example:
-   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
+   * Required. The name of the tag template.
    * 
* * @@ -568,8 +566,7 @@ public Builder mergeFrom( * * *
-     * Required. The name of the tag template. Example:
-     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
+     * Required. The name of the tag template.
      * 
* * @@ -593,8 +590,7 @@ public java.lang.String getName() { * * *
-     * Required. The name of the tag template. Example:
-     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
+     * Required. The name of the tag template.
      * 
* * @@ -618,8 +614,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The name of the tag template. Example:
-     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
+     * Required. The name of the tag template.
      * 
* * @@ -642,8 +637,7 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The name of the tag template. Example:
-     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
+     * Required. The name of the tag template.
      * 
* * @@ -662,8 +656,7 @@ public Builder clearName() { * * *
-     * Required. The name of the tag template. Example:
-     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
+     * Required. The name of the tag template.
      * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequestOrBuilder.java index ff360676..aeb042c3 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequestOrBuilder.java @@ -27,8 +27,7 @@ public interface RenameTagTemplateFieldRequestOrBuilder * * *
-   * Required. The name of the tag template. Example:
-   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
+   * Required. The name of the tag template.
    * 
* * @@ -42,8 +41,7 @@ public interface RenameTagTemplateFieldRequestOrBuilder * * *
-   * Required. The name of the tag template. Example:
-   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
+   * Required. The name of the tag template.
    * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequest.java new file mode 100644 index 00000000..a35f9344 --- /dev/null +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequest.java @@ -0,0 +1,960 @@ +/* + * Copyright 2020 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/v1/policytagmanagerserialization.proto + +package com.google.cloud.datacatalog.v1; + +/** + * + * + *
+ * Request message for
+ * [ReplaceTaxonomy][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ReplaceTaxonomy].
+ * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1.ReplaceTaxonomyRequest} + */ +public final class ReplaceTaxonomyRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.ReplaceTaxonomyRequest) + ReplaceTaxonomyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ReplaceTaxonomyRequest.newBuilder() to construct. + private ReplaceTaxonomyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ReplaceTaxonomyRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ReplaceTaxonomyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ReplaceTaxonomyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 18: + { + com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder subBuilder = null; + if (serializedTaxonomy_ != null) { + subBuilder = serializedTaxonomy_.toBuilder(); + } + serializedTaxonomy_ = + input.readMessage( + com.google.cloud.datacatalog.v1.SerializedTaxonomy.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(serializedTaxonomy_); + serializedTaxonomy_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto + .internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto + .internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.class, + com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * + * + *
+   * Required. Resource name of the taxonomy to update.
+   * 
+ * + * + * 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. Resource name of the taxonomy to update.
+   * 
+ * + * + * 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 SERIALIZED_TAXONOMY_FIELD_NUMBER = 2; + private com.google.cloud.datacatalog.v1.SerializedTaxonomy serializedTaxonomy_; + /** + * + * + *
+   * Required. Taxonomy to update along with its child policy tags.
+   * 
+ * + * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the serializedTaxonomy field is set. + */ + @java.lang.Override + public boolean hasSerializedTaxonomy() { + return serializedTaxonomy_ != null; + } + /** + * + * + *
+   * Required. Taxonomy to update along with its child policy tags.
+   * 
+ * + * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The serializedTaxonomy. + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.SerializedTaxonomy getSerializedTaxonomy() { + return serializedTaxonomy_ == null + ? com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance() + : serializedTaxonomy_; + } + /** + * + * + *
+   * Required. Taxonomy to update along with its child policy tags.
+   * 
+ * + * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder + getSerializedTaxonomyOrBuilder() { + return getSerializedTaxonomy(); + } + + 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 (!getNameBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (serializedTaxonomy_ != null) { + output.writeMessage(2, getSerializedTaxonomy()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getNameBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (serializedTaxonomy_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSerializedTaxonomy()); + } + size += unknownFields.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.v1.ReplaceTaxonomyRequest)) { + return super.equals(obj); + } + com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest other = + (com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (hasSerializedTaxonomy() != other.hasSerializedTaxonomy()) return false; + if (hasSerializedTaxonomy()) { + if (!getSerializedTaxonomy().equals(other.getSerializedTaxonomy())) return false; + } + if (!unknownFields.equals(other.unknownFields)) 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(); + if (hasSerializedTaxonomy()) { + hash = (37 * hash) + SERIALIZED_TAXONOMY_FIELD_NUMBER; + hash = (53 * hash) + getSerializedTaxonomy().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest 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.v1.ReplaceTaxonomyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest 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.v1.ReplaceTaxonomyRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest 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.v1.ReplaceTaxonomyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest 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.v1.ReplaceTaxonomyRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest 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.v1.ReplaceTaxonomyRequest 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
+   * [ReplaceTaxonomy][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ReplaceTaxonomy].
+   * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1.ReplaceTaxonomyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.ReplaceTaxonomyRequest) + com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto + .internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto + .internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.class, + com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.Builder.class); + } + + // Construct using com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + if (serializedTaxonomyBuilder_ == null) { + serializedTaxonomy_ = null; + } else { + serializedTaxonomy_ = null; + serializedTaxonomyBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationProto + .internal_static_google_cloud_datacatalog_v1_ReplaceTaxonomyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest getDefaultInstanceForType() { + return com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest build() { + com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest buildPartial() { + com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest result = + new com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest(this); + result.name_ = name_; + if (serializedTaxonomyBuilder_ == null) { + result.serializedTaxonomy_ = serializedTaxonomy_; + } else { + result.serializedTaxonomy_ = serializedTaxonomyBuilder_.build(); + } + onBuilt(); + return result; + } + + @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.v1.ReplaceTaxonomyRequest) { + return mergeFrom((com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest other) { + if (other == com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (other.hasSerializedTaxonomy()) { + mergeSerializedTaxonomy(other.getSerializedTaxonomy()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Required. Resource name of the taxonomy to update.
+     * 
+ * + * + * 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. Resource name of the taxonomy to update.
+     * 
+ * + * + * 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. Resource name of the taxonomy to update.
+     * 
+ * + * + * 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; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. Resource name of the taxonomy to update.
+     * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. Resource name of the taxonomy to update.
+     * 
+ * + * + * 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; + onChanged(); + return this; + } + + private com.google.cloud.datacatalog.v1.SerializedTaxonomy serializedTaxonomy_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.SerializedTaxonomy, + com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, + com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder> + serializedTaxonomyBuilder_; + /** + * + * + *
+     * Required. Taxonomy to update along with its child policy tags.
+     * 
+ * + * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the serializedTaxonomy field is set. + */ + public boolean hasSerializedTaxonomy() { + return serializedTaxonomyBuilder_ != null || serializedTaxonomy_ != null; + } + /** + * + * + *
+     * Required. Taxonomy to update along with its child policy tags.
+     * 
+ * + * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The serializedTaxonomy. + */ + public com.google.cloud.datacatalog.v1.SerializedTaxonomy getSerializedTaxonomy() { + if (serializedTaxonomyBuilder_ == null) { + return serializedTaxonomy_ == null + ? com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance() + : serializedTaxonomy_; + } else { + return serializedTaxonomyBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Required. Taxonomy to update along with its child policy tags.
+     * 
+ * + * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setSerializedTaxonomy(com.google.cloud.datacatalog.v1.SerializedTaxonomy value) { + if (serializedTaxonomyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + serializedTaxonomy_ = value; + onChanged(); + } else { + serializedTaxonomyBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Required. Taxonomy to update along with its child policy tags.
+     * 
+ * + * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setSerializedTaxonomy( + com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder builderForValue) { + if (serializedTaxonomyBuilder_ == null) { + serializedTaxonomy_ = builderForValue.build(); + onChanged(); + } else { + serializedTaxonomyBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Required. Taxonomy to update along with its child policy tags.
+     * 
+ * + * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeSerializedTaxonomy( + com.google.cloud.datacatalog.v1.SerializedTaxonomy value) { + if (serializedTaxonomyBuilder_ == null) { + if (serializedTaxonomy_ != null) { + serializedTaxonomy_ = + com.google.cloud.datacatalog.v1.SerializedTaxonomy.newBuilder(serializedTaxonomy_) + .mergeFrom(value) + .buildPartial(); + } else { + serializedTaxonomy_ = value; + } + onChanged(); + } else { + serializedTaxonomyBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Required. Taxonomy to update along with its child policy tags.
+     * 
+ * + * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearSerializedTaxonomy() { + if (serializedTaxonomyBuilder_ == null) { + serializedTaxonomy_ = null; + onChanged(); + } else { + serializedTaxonomy_ = null; + serializedTaxonomyBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Required. Taxonomy to update along with its child policy tags.
+     * 
+ * + * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder + getSerializedTaxonomyBuilder() { + + onChanged(); + return getSerializedTaxonomyFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Required. Taxonomy to update along with its child policy tags.
+     * 
+ * + * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder + getSerializedTaxonomyOrBuilder() { + if (serializedTaxonomyBuilder_ != null) { + return serializedTaxonomyBuilder_.getMessageOrBuilder(); + } else { + return serializedTaxonomy_ == null + ? com.google.cloud.datacatalog.v1.SerializedTaxonomy.getDefaultInstance() + : serializedTaxonomy_; + } + } + /** + * + * + *
+     * Required. Taxonomy to update along with its child policy tags.
+     * 
+ * + * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.SerializedTaxonomy, + com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, + com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder> + getSerializedTaxonomyFieldBuilder() { + if (serializedTaxonomyBuilder_ == null) { + serializedTaxonomyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.SerializedTaxonomy, + com.google.cloud.datacatalog.v1.SerializedTaxonomy.Builder, + com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder>( + getSerializedTaxonomy(), getParentForChildren(), isClean()); + serializedTaxonomy_ = null; + } + return serializedTaxonomyBuilder_; + } + + @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.v1.ReplaceTaxonomyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.ReplaceTaxonomyRequest) + private static final com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest(); + } + + public static com.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReplaceTaxonomyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReplaceTaxonomyRequest(input, extensionRegistry); + } + }; + + 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.v1.ReplaceTaxonomyRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequestOrBuilder.java new file mode 100644 index 00000000..d49ecc1f --- /dev/null +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequestOrBuilder.java @@ -0,0 +1,95 @@ +/* + * Copyright 2020 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/v1/policytagmanagerserialization.proto + +package com.google.cloud.datacatalog.v1; + +public interface ReplaceTaxonomyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.ReplaceTaxonomyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Resource name of the taxonomy to update.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Resource name of the taxonomy to update.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Required. Taxonomy to update along with its child policy tags.
+   * 
+ * + * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the serializedTaxonomy field is set. + */ + boolean hasSerializedTaxonomy(); + /** + * + * + *
+   * Required. Taxonomy to update along with its child policy tags.
+   * 
+ * + * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The serializedTaxonomy. + */ + com.google.cloud.datacatalog.v1.SerializedTaxonomy getSerializedTaxonomy(); + /** + * + * + *
+   * Required. Taxonomy to update along with its child policy tags.
+   * 
+ * + * + * .google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.datacatalog.v1.SerializedTaxonomyOrBuilder getSerializedTaxonomyOrBuilder(); +} diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpec.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpec.java new file mode 100644 index 00000000..83b0555a --- /dev/null +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpec.java @@ -0,0 +1,3492 @@ +/* + * Copyright 2020 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/v1/datacatalog.proto + +package com.google.cloud.datacatalog.v1; + +/** + * + * + *
+ * Specification that applies to a routine. Valid only for
+ * entries with the `ROUTINE` type.
+ * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1.RoutineSpec} + */ +public final class RoutineSpec extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.RoutineSpec) + RoutineSpecOrBuilder { + private static final long serialVersionUID = 0L; + // Use RoutineSpec.newBuilder() to construct. + private RoutineSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private RoutineSpec() { + routineType_ = 0; + language_ = ""; + routineArguments_ = java.util.Collections.emptyList(); + returnType_ = ""; + definitionBody_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RoutineSpec(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private RoutineSpec( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + int rawValue = input.readEnum(); + + routineType_ = rawValue; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + language_ = s; + break; + } + case 26: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + routineArguments_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + routineArguments_.add( + input.readMessage( + com.google.cloud.datacatalog.v1.RoutineSpec.Argument.parser(), + extensionRegistry)); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + + returnType_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + + definitionBody_ = s; + break; + } + case 50: + { + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder subBuilder = null; + if (systemSpecCase_ == 6) { + subBuilder = + ((com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) systemSpec_).toBuilder(); + } + systemSpec_ = + input.readMessage( + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) systemSpec_); + systemSpec_ = subBuilder.buildPartial(); + } + systemSpecCase_ = 6; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + routineArguments_ = java.util.Collections.unmodifiableList(routineArguments_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_RoutineSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1.RoutineSpec.class, + com.google.cloud.datacatalog.v1.RoutineSpec.Builder.class); + } + + /** + * + * + *
+   * The fine-grained type of the routine.
+   * 
+ * + * Protobuf enum {@code google.cloud.datacatalog.v1.RoutineSpec.RoutineType} + */ + public enum RoutineType implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Unspecified type.
+     * 
+ * + * ROUTINE_TYPE_UNSPECIFIED = 0; + */ + ROUTINE_TYPE_UNSPECIFIED(0), + /** + * + * + *
+     * Non-builtin permanent scalar function.
+     * 
+ * + * SCALAR_FUNCTION = 1; + */ + SCALAR_FUNCTION(1), + /** + * + * + *
+     * Stored procedure.
+     * 
+ * + * PROCEDURE = 2; + */ + PROCEDURE(2), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * Unspecified type.
+     * 
+ * + * ROUTINE_TYPE_UNSPECIFIED = 0; + */ + public static final int ROUTINE_TYPE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * Non-builtin permanent scalar function.
+     * 
+ * + * SCALAR_FUNCTION = 1; + */ + public static final int SCALAR_FUNCTION_VALUE = 1; + /** + * + * + *
+     * Stored procedure.
+     * 
+ * + * PROCEDURE = 2; + */ + public static final int PROCEDURE_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 RoutineType 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 RoutineType forNumber(int value) { + switch (value) { + case 0: + return ROUTINE_TYPE_UNSPECIFIED; + case 1: + return SCALAR_FUNCTION; + case 2: + return PROCEDURE; + 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 RoutineType findValueByNumber(int number) { + return RoutineType.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.v1.RoutineSpec.getDescriptor().getEnumTypes().get(0); + } + + private static final RoutineType[] VALUES = values(); + + public static RoutineType 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 RoutineType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1.RoutineSpec.RoutineType) + } + + public interface ArgumentOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.RoutineSpec.Argument) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * The name of the argument. A return argument of a function might not have
+     * a name.
+     * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+     * The name of the argument. A return argument of a function might not have
+     * a name.
+     * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+     * Specifies whether the argument is input or output.
+     * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode mode = 2; + * + * @return The enum numeric value on the wire for mode. + */ + int getModeValue(); + /** + * + * + *
+     * Specifies whether the argument is input or output.
+     * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode mode = 2; + * + * @return The mode. + */ + com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode getMode(); + + /** + * + * + *
+     * Type of the argument. The exact value depends on the source system and
+     * the language.
+     * 
+ * + * string type = 3; + * + * @return The type. + */ + java.lang.String getType(); + /** + * + * + *
+     * Type of the argument. The exact value depends on the source system and
+     * the language.
+     * 
+ * + * string type = 3; + * + * @return The bytes for type. + */ + com.google.protobuf.ByteString getTypeBytes(); + } + /** + * + * + *
+   * Input or output argument of a function or stored procedure.
+   * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1.RoutineSpec.Argument} + */ + public static final class Argument extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.RoutineSpec.Argument) + ArgumentOrBuilder { + private static final long serialVersionUID = 0L; + // Use Argument.newBuilder() to construct. + private Argument(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Argument() { + name_ = ""; + mode_ = 0; + type_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Argument(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private Argument( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); + + mode_ = rawValue; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + type_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1.RoutineSpec.Argument.class, + com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder.class); + } + + /** + * + * + *
+     * The input or output mode of the argument.
+     * 
+ * + * Protobuf enum {@code google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode} + */ + public enum Mode implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+       * Unspecified mode.
+       * 
+ * + * MODE_UNSPECIFIED = 0; + */ + MODE_UNSPECIFIED(0), + /** + * + * + *
+       * The argument is input-only.
+       * 
+ * + * IN = 1; + */ + IN(1), + /** + * + * + *
+       * The argument is output-only.
+       * 
+ * + * OUT = 2; + */ + OUT(2), + /** + * + * + *
+       * The argument is both an input and an output.
+       * 
+ * + * INOUT = 3; + */ + INOUT(3), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+       * Unspecified mode.
+       * 
+ * + * MODE_UNSPECIFIED = 0; + */ + public static final int MODE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+       * The argument is input-only.
+       * 
+ * + * IN = 1; + */ + public static final int IN_VALUE = 1; + /** + * + * + *
+       * The argument is output-only.
+       * 
+ * + * OUT = 2; + */ + public static final int OUT_VALUE = 2; + /** + * + * + *
+       * The argument is both an input and an output.
+       * 
+ * + * INOUT = 3; + */ + public static final int INOUT_VALUE = 3; + + 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 Mode 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 Mode forNumber(int value) { + switch (value) { + case 0: + return MODE_UNSPECIFIED; + case 1: + return IN; + case 2: + return OUT; + case 3: + return INOUT; + 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 Mode findValueByNumber(int number) { + return Mode.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.v1.RoutineSpec.Argument.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final Mode[] VALUES = values(); + + public static Mode 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 Mode(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode) + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * + * + *
+     * The name of the argument. A return argument of a function might not have
+     * a name.
+     * 
+ * + * string name = 1; + * + * @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; + } + } + /** + * + * + *
+     * The name of the argument. A return argument of a function might not have
+     * a name.
+     * 
+ * + * string name = 1; + * + * @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 MODE_FIELD_NUMBER = 2; + private int mode_; + /** + * + * + *
+     * Specifies whether the argument is input or output.
+     * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode mode = 2; + * + * @return The enum numeric value on the wire for mode. + */ + @java.lang.Override + public int getModeValue() { + return mode_; + } + /** + * + * + *
+     * Specifies whether the argument is input or output.
+     * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode mode = 2; + * + * @return The mode. + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode getMode() { + @SuppressWarnings("deprecation") + com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode result = + com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.valueOf(mode_); + return result == null + ? com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.UNRECOGNIZED + : result; + } + + public static final int TYPE_FIELD_NUMBER = 3; + private volatile java.lang.Object type_; + /** + * + * + *
+     * Type of the argument. The exact value depends on the source system and
+     * the language.
+     * 
+ * + * string type = 3; + * + * @return The type. + */ + @java.lang.Override + public java.lang.String getType() { + java.lang.Object ref = type_; + 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(); + type_ = s; + return s; + } + } + /** + * + * + *
+     * Type of the argument. The exact value depends on the source system and
+     * the language.
+     * 
+ * + * string type = 3; + * + * @return The bytes for type. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTypeBytes() { + java.lang.Object ref = type_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + type_ = 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 (!getNameBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (mode_ + != com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.MODE_UNSPECIFIED + .getNumber()) { + output.writeEnum(2, mode_); + } + if (!getTypeBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, type_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getNameBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (mode_ + != com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, mode_); + } + if (!getTypeBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, type_); + } + size += unknownFields.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.v1.RoutineSpec.Argument)) { + return super.equals(obj); + } + com.google.cloud.datacatalog.v1.RoutineSpec.Argument other = + (com.google.cloud.datacatalog.v1.RoutineSpec.Argument) obj; + + if (!getName().equals(other.getName())) return false; + if (mode_ != other.mode_) return false; + if (!getType().equals(other.getType())) return false; + if (!unknownFields.equals(other.unknownFields)) 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) + MODE_FIELD_NUMBER; + hash = (53 * hash) + mode_; + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + getType().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument 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.v1.RoutineSpec.Argument parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument 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.v1.RoutineSpec.Argument parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument 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.v1.RoutineSpec.Argument parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument 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.v1.RoutineSpec.Argument parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument 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.v1.RoutineSpec.Argument 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; + } + /** + * + * + *
+     * Input or output argument of a function or stored procedure.
+     * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1.RoutineSpec.Argument} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.RoutineSpec.Argument) + com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1.RoutineSpec.Argument.class, + com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder.class); + } + + // Construct using com.google.cloud.datacatalog.v1.RoutineSpec.Argument.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + mode_ = 0; + + type_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_RoutineSpec_Argument_descriptor; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1.RoutineSpec.Argument getDefaultInstanceForType() { + return com.google.cloud.datacatalog.v1.RoutineSpec.Argument.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1.RoutineSpec.Argument build() { + com.google.cloud.datacatalog.v1.RoutineSpec.Argument result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1.RoutineSpec.Argument buildPartial() { + com.google.cloud.datacatalog.v1.RoutineSpec.Argument result = + new com.google.cloud.datacatalog.v1.RoutineSpec.Argument(this); + result.name_ = name_; + result.mode_ = mode_; + result.type_ = type_; + onBuilt(); + return result; + } + + @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.v1.RoutineSpec.Argument) { + return mergeFrom((com.google.cloud.datacatalog.v1.RoutineSpec.Argument) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datacatalog.v1.RoutineSpec.Argument other) { + if (other == com.google.cloud.datacatalog.v1.RoutineSpec.Argument.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (other.mode_ != 0) { + setModeValue(other.getModeValue()); + } + if (!other.getType().isEmpty()) { + type_ = other.type_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.datacatalog.v1.RoutineSpec.Argument parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.datacatalog.v1.RoutineSpec.Argument) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + * + * + *
+       * The name of the argument. A return argument of a function might not have
+       * a name.
+       * 
+ * + * string name = 1; + * + * @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; + } + } + /** + * + * + *
+       * The name of the argument. A return argument of a function might not have
+       * a name.
+       * 
+ * + * string name = 1; + * + * @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; + } + } + /** + * + * + *
+       * The name of the argument. A return argument of a function might not have
+       * a name.
+       * 
+ * + * string name = 1; + * + * @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; + onChanged(); + return this; + } + /** + * + * + *
+       * The name of the argument. A return argument of a function might not have
+       * a name.
+       * 
+ * + * string name = 1; + * + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * + * + *
+       * The name of the argument. A return argument of a function might not have
+       * a name.
+       * 
+ * + * string name = 1; + * + * @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; + onChanged(); + return this; + } + + private int mode_ = 0; + /** + * + * + *
+       * Specifies whether the argument is input or output.
+       * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode mode = 2; + * + * @return The enum numeric value on the wire for mode. + */ + @java.lang.Override + public int getModeValue() { + return mode_; + } + /** + * + * + *
+       * Specifies whether the argument is input or output.
+       * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode mode = 2; + * + * @param value The enum numeric value on the wire for mode to set. + * @return This builder for chaining. + */ + public Builder setModeValue(int value) { + + mode_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Specifies whether the argument is input or output.
+       * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode mode = 2; + * + * @return The mode. + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode getMode() { + @SuppressWarnings("deprecation") + com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode result = + com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.valueOf(mode_); + return result == null + ? com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode.UNRECOGNIZED + : result; + } + /** + * + * + *
+       * Specifies whether the argument is input or output.
+       * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode mode = 2; + * + * @param value The mode to set. + * @return This builder for chaining. + */ + public Builder setMode(com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode value) { + if (value == null) { + throw new NullPointerException(); + } + + mode_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+       * Specifies whether the argument is input or output.
+       * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode mode = 2; + * + * @return This builder for chaining. + */ + public Builder clearMode() { + + mode_ = 0; + onChanged(); + return this; + } + + private java.lang.Object type_ = ""; + /** + * + * + *
+       * Type of the argument. The exact value depends on the source system and
+       * the language.
+       * 
+ * + * string type = 3; + * + * @return The type. + */ + public java.lang.String getType() { + java.lang.Object ref = type_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + type_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+       * Type of the argument. The exact value depends on the source system and
+       * the language.
+       * 
+ * + * string type = 3; + * + * @return The bytes for type. + */ + public com.google.protobuf.ByteString getTypeBytes() { + java.lang.Object ref = type_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + type_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+       * Type of the argument. The exact value depends on the source system and
+       * the language.
+       * 
+ * + * string type = 3; + * + * @param value The type to set. + * @return This builder for chaining. + */ + public Builder setType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + type_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Type of the argument. The exact value depends on the source system and
+       * the language.
+       * 
+ * + * string type = 3; + * + * @return This builder for chaining. + */ + public Builder clearType() { + + type_ = getDefaultInstance().getType(); + onChanged(); + return this; + } + /** + * + * + *
+       * Type of the argument. The exact value depends on the source system and
+       * the language.
+       * 
+ * + * string type = 3; + * + * @param value The bytes for type to set. + * @return This builder for chaining. + */ + public Builder setTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + type_ = value; + 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.v1.RoutineSpec.Argument) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.RoutineSpec.Argument) + private static final com.google.cloud.datacatalog.v1.RoutineSpec.Argument DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.RoutineSpec.Argument(); + } + + public static com.google.cloud.datacatalog.v1.RoutineSpec.Argument getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Argument parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Argument(input, extensionRegistry); + } + }; + + 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.v1.RoutineSpec.Argument getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int systemSpecCase_ = 0; + private java.lang.Object systemSpec_; + + public enum SystemSpecCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + BIGQUERY_ROUTINE_SPEC(6), + SYSTEMSPEC_NOT_SET(0); + private final int value; + + private SystemSpecCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static SystemSpecCase valueOf(int value) { + return forNumber(value); + } + + public static SystemSpecCase forNumber(int value) { + switch (value) { + case 6: + return BIGQUERY_ROUTINE_SPEC; + case 0: + return SYSTEMSPEC_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public SystemSpecCase getSystemSpecCase() { + return SystemSpecCase.forNumber(systemSpecCase_); + } + + public static final int ROUTINE_TYPE_FIELD_NUMBER = 1; + private int routineType_; + /** + * + * + *
+   * The type of the routine.
+   * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1; + * + * @return The enum numeric value on the wire for routineType. + */ + @java.lang.Override + public int getRoutineTypeValue() { + return routineType_; + } + /** + * + * + *
+   * The type of the routine.
+   * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1; + * + * @return The routineType. + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType getRoutineType() { + @SuppressWarnings("deprecation") + com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType result = + com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.valueOf(routineType_); + return result == null + ? com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.UNRECOGNIZED + : result; + } + + public static final int LANGUAGE_FIELD_NUMBER = 2; + private volatile java.lang.Object language_; + /** + * + * + *
+   * The language the routine is written in. The exact value depends on the
+   * source system. For BigQuery routines, possible values are:
+   * * `SQL`
+   * * `JAVASCRIPT`
+   * 
+ * + * string language = 2; + * + * @return The language. + */ + @java.lang.Override + public java.lang.String getLanguage() { + java.lang.Object ref = language_; + 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(); + language_ = s; + return s; + } + } + /** + * + * + *
+   * The language the routine is written in. The exact value depends on the
+   * source system. For BigQuery routines, possible values are:
+   * * `SQL`
+   * * `JAVASCRIPT`
+   * 
+ * + * string language = 2; + * + * @return The bytes for language. + */ + @java.lang.Override + public com.google.protobuf.ByteString getLanguageBytes() { + java.lang.Object ref = language_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + language_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ROUTINE_ARGUMENTS_FIELD_NUMBER = 3; + private java.util.List routineArguments_; + /** + * + * + *
+   * Arguments of the routine.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + */ + @java.lang.Override + public java.util.List + getRoutineArgumentsList() { + return routineArguments_; + } + /** + * + * + *
+   * Arguments of the routine.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + */ + @java.lang.Override + public java.util.List + getRoutineArgumentsOrBuilderList() { + return routineArguments_; + } + /** + * + * + *
+   * Arguments of the routine.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + */ + @java.lang.Override + public int getRoutineArgumentsCount() { + return routineArguments_.size(); + } + /** + * + * + *
+   * Arguments of the routine.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.RoutineSpec.Argument getRoutineArguments(int index) { + return routineArguments_.get(index); + } + /** + * + * + *
+   * Arguments of the routine.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder getRoutineArgumentsOrBuilder( + int index) { + return routineArguments_.get(index); + } + + public static final int RETURN_TYPE_FIELD_NUMBER = 4; + private volatile java.lang.Object returnType_; + /** + * + * + *
+   * Return type of the argument. The exact value depends on the source system
+   * and the language.
+   * 
+ * + * string return_type = 4; + * + * @return The returnType. + */ + @java.lang.Override + public java.lang.String getReturnType() { + java.lang.Object ref = returnType_; + 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(); + returnType_ = s; + return s; + } + } + /** + * + * + *
+   * Return type of the argument. The exact value depends on the source system
+   * and the language.
+   * 
+ * + * string return_type = 4; + * + * @return The bytes for returnType. + */ + @java.lang.Override + public com.google.protobuf.ByteString getReturnTypeBytes() { + java.lang.Object ref = returnType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + returnType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DEFINITION_BODY_FIELD_NUMBER = 5; + private volatile java.lang.Object definitionBody_; + /** + * + * + *
+   * The body of the routine.
+   * 
+ * + * string definition_body = 5; + * + * @return The definitionBody. + */ + @java.lang.Override + public java.lang.String getDefinitionBody() { + java.lang.Object ref = definitionBody_; + 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(); + definitionBody_ = s; + return s; + } + } + /** + * + * + *
+   * The body of the routine.
+   * 
+ * + * string definition_body = 5; + * + * @return The bytes for definitionBody. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDefinitionBodyBytes() { + java.lang.Object ref = definitionBody_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + definitionBody_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int BIGQUERY_ROUTINE_SPEC_FIELD_NUMBER = 6; + /** + * + * + *
+   * Fields specific for BigQuery routines.
+   * 
+ * + * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; + * + * @return Whether the bigqueryRoutineSpec field is set. + */ + @java.lang.Override + public boolean hasBigqueryRoutineSpec() { + return systemSpecCase_ == 6; + } + /** + * + * + *
+   * Fields specific for BigQuery routines.
+   * 
+ * + * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; + * + * @return The bigqueryRoutineSpec. + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.BigQueryRoutineSpec getBigqueryRoutineSpec() { + if (systemSpecCase_ == 6) { + return (com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) systemSpec_; + } + return com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.getDefaultInstance(); + } + /** + * + * + *
+   * Fields specific for BigQuery routines.
+   * 
+ * + * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder + getBigqueryRoutineSpecOrBuilder() { + if (systemSpecCase_ == 6) { + return (com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) systemSpec_; + } + return com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.getDefaultInstance(); + } + + 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 (routineType_ + != com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.ROUTINE_TYPE_UNSPECIFIED + .getNumber()) { + output.writeEnum(1, routineType_); + } + if (!getLanguageBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, language_); + } + for (int i = 0; i < routineArguments_.size(); i++) { + output.writeMessage(3, routineArguments_.get(i)); + } + if (!getReturnTypeBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, returnType_); + } + if (!getDefinitionBodyBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, definitionBody_); + } + if (systemSpecCase_ == 6) { + output.writeMessage(6, (com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) systemSpec_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (routineType_ + != com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.ROUTINE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, routineType_); + } + if (!getLanguageBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, language_); + } + for (int i = 0; i < routineArguments_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, routineArguments_.get(i)); + } + if (!getReturnTypeBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, returnType_); + } + if (!getDefinitionBodyBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, definitionBody_); + } + if (systemSpecCase_ == 6) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) systemSpec_); + } + size += unknownFields.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.v1.RoutineSpec)) { + return super.equals(obj); + } + com.google.cloud.datacatalog.v1.RoutineSpec other = + (com.google.cloud.datacatalog.v1.RoutineSpec) obj; + + if (routineType_ != other.routineType_) return false; + if (!getLanguage().equals(other.getLanguage())) return false; + if (!getRoutineArgumentsList().equals(other.getRoutineArgumentsList())) return false; + if (!getReturnType().equals(other.getReturnType())) return false; + if (!getDefinitionBody().equals(other.getDefinitionBody())) return false; + if (!getSystemSpecCase().equals(other.getSystemSpecCase())) return false; + switch (systemSpecCase_) { + case 6: + if (!getBigqueryRoutineSpec().equals(other.getBigqueryRoutineSpec())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) 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) + ROUTINE_TYPE_FIELD_NUMBER; + hash = (53 * hash) + routineType_; + hash = (37 * hash) + LANGUAGE_FIELD_NUMBER; + hash = (53 * hash) + getLanguage().hashCode(); + if (getRoutineArgumentsCount() > 0) { + hash = (37 * hash) + ROUTINE_ARGUMENTS_FIELD_NUMBER; + hash = (53 * hash) + getRoutineArgumentsList().hashCode(); + } + hash = (37 * hash) + RETURN_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getReturnType().hashCode(); + hash = (37 * hash) + DEFINITION_BODY_FIELD_NUMBER; + hash = (53 * hash) + getDefinitionBody().hashCode(); + switch (systemSpecCase_) { + case 6: + hash = (37 * hash) + BIGQUERY_ROUTINE_SPEC_FIELD_NUMBER; + hash = (53 * hash) + getBigqueryRoutineSpec().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datacatalog.v1.RoutineSpec parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1.RoutineSpec 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.v1.RoutineSpec parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1.RoutineSpec 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.v1.RoutineSpec parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1.RoutineSpec parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.datacatalog.v1.RoutineSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1.RoutineSpec 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.v1.RoutineSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1.RoutineSpec 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.v1.RoutineSpec parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1.RoutineSpec 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.v1.RoutineSpec 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; + } + /** + * + * + *
+   * Specification that applies to a routine. Valid only for
+   * entries with the `ROUTINE` type.
+   * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1.RoutineSpec} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.RoutineSpec) + com.google.cloud.datacatalog.v1.RoutineSpecOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_RoutineSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1.RoutineSpec.class, + com.google.cloud.datacatalog.v1.RoutineSpec.Builder.class); + } + + // Construct using com.google.cloud.datacatalog.v1.RoutineSpec.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getRoutineArgumentsFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + routineType_ = 0; + + language_ = ""; + + if (routineArgumentsBuilder_ == null) { + routineArguments_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + routineArgumentsBuilder_.clear(); + } + returnType_ = ""; + + definitionBody_ = ""; + + systemSpecCase_ = 0; + systemSpec_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Datacatalog + .internal_static_google_cloud_datacatalog_v1_RoutineSpec_descriptor; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1.RoutineSpec getDefaultInstanceForType() { + return com.google.cloud.datacatalog.v1.RoutineSpec.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1.RoutineSpec build() { + com.google.cloud.datacatalog.v1.RoutineSpec result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1.RoutineSpec buildPartial() { + com.google.cloud.datacatalog.v1.RoutineSpec result = + new com.google.cloud.datacatalog.v1.RoutineSpec(this); + int from_bitField0_ = bitField0_; + result.routineType_ = routineType_; + result.language_ = language_; + if (routineArgumentsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + routineArguments_ = java.util.Collections.unmodifiableList(routineArguments_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.routineArguments_ = routineArguments_; + } else { + result.routineArguments_ = routineArgumentsBuilder_.build(); + } + result.returnType_ = returnType_; + result.definitionBody_ = definitionBody_; + if (systemSpecCase_ == 6) { + if (bigqueryRoutineSpecBuilder_ == null) { + result.systemSpec_ = systemSpec_; + } else { + result.systemSpec_ = bigqueryRoutineSpecBuilder_.build(); + } + } + result.systemSpecCase_ = systemSpecCase_; + onBuilt(); + return result; + } + + @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.v1.RoutineSpec) { + return mergeFrom((com.google.cloud.datacatalog.v1.RoutineSpec) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datacatalog.v1.RoutineSpec other) { + if (other == com.google.cloud.datacatalog.v1.RoutineSpec.getDefaultInstance()) return this; + if (other.routineType_ != 0) { + setRoutineTypeValue(other.getRoutineTypeValue()); + } + if (!other.getLanguage().isEmpty()) { + language_ = other.language_; + onChanged(); + } + if (routineArgumentsBuilder_ == null) { + if (!other.routineArguments_.isEmpty()) { + if (routineArguments_.isEmpty()) { + routineArguments_ = other.routineArguments_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureRoutineArgumentsIsMutable(); + routineArguments_.addAll(other.routineArguments_); + } + onChanged(); + } + } else { + if (!other.routineArguments_.isEmpty()) { + if (routineArgumentsBuilder_.isEmpty()) { + routineArgumentsBuilder_.dispose(); + routineArgumentsBuilder_ = null; + routineArguments_ = other.routineArguments_; + bitField0_ = (bitField0_ & ~0x00000001); + routineArgumentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRoutineArgumentsFieldBuilder() + : null; + } else { + routineArgumentsBuilder_.addAllMessages(other.routineArguments_); + } + } + } + if (!other.getReturnType().isEmpty()) { + returnType_ = other.returnType_; + onChanged(); + } + if (!other.getDefinitionBody().isEmpty()) { + definitionBody_ = other.definitionBody_; + onChanged(); + } + switch (other.getSystemSpecCase()) { + case BIGQUERY_ROUTINE_SPEC: + { + mergeBigqueryRoutineSpec(other.getBigqueryRoutineSpec()); + break; + } + case SYSTEMSPEC_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.datacatalog.v1.RoutineSpec parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.datacatalog.v1.RoutineSpec) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int systemSpecCase_ = 0; + private java.lang.Object systemSpec_; + + public SystemSpecCase getSystemSpecCase() { + return SystemSpecCase.forNumber(systemSpecCase_); + } + + public Builder clearSystemSpec() { + systemSpecCase_ = 0; + systemSpec_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private int routineType_ = 0; + /** + * + * + *
+     * The type of the routine.
+     * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1; + * + * @return The enum numeric value on the wire for routineType. + */ + @java.lang.Override + public int getRoutineTypeValue() { + return routineType_; + } + /** + * + * + *
+     * The type of the routine.
+     * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1; + * + * @param value The enum numeric value on the wire for routineType to set. + * @return This builder for chaining. + */ + public Builder setRoutineTypeValue(int value) { + + routineType_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The type of the routine.
+     * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1; + * + * @return The routineType. + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType getRoutineType() { + @SuppressWarnings("deprecation") + com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType result = + com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.valueOf(routineType_); + return result == null + ? com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType.UNRECOGNIZED + : result; + } + /** + * + * + *
+     * The type of the routine.
+     * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1; + * + * @param value The routineType to set. + * @return This builder for chaining. + */ + public Builder setRoutineType(com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType value) { + if (value == null) { + throw new NullPointerException(); + } + + routineType_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * The type of the routine.
+     * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1; + * + * @return This builder for chaining. + */ + public Builder clearRoutineType() { + + routineType_ = 0; + onChanged(); + return this; + } + + private java.lang.Object language_ = ""; + /** + * + * + *
+     * The language the routine is written in. The exact value depends on the
+     * source system. For BigQuery routines, possible values are:
+     * * `SQL`
+     * * `JAVASCRIPT`
+     * 
+ * + * string language = 2; + * + * @return The language. + */ + public java.lang.String getLanguage() { + java.lang.Object ref = language_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + language_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The language the routine is written in. The exact value depends on the
+     * source system. For BigQuery routines, possible values are:
+     * * `SQL`
+     * * `JAVASCRIPT`
+     * 
+ * + * string language = 2; + * + * @return The bytes for language. + */ + public com.google.protobuf.ByteString getLanguageBytes() { + java.lang.Object ref = language_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + language_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The language the routine is written in. The exact value depends on the
+     * source system. For BigQuery routines, possible values are:
+     * * `SQL`
+     * * `JAVASCRIPT`
+     * 
+ * + * string language = 2; + * + * @param value The language to set. + * @return This builder for chaining. + */ + public Builder setLanguage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + language_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The language the routine is written in. The exact value depends on the
+     * source system. For BigQuery routines, possible values are:
+     * * `SQL`
+     * * `JAVASCRIPT`
+     * 
+ * + * string language = 2; + * + * @return This builder for chaining. + */ + public Builder clearLanguage() { + + language_ = getDefaultInstance().getLanguage(); + onChanged(); + return this; + } + /** + * + * + *
+     * The language the routine is written in. The exact value depends on the
+     * source system. For BigQuery routines, possible values are:
+     * * `SQL`
+     * * `JAVASCRIPT`
+     * 
+ * + * string language = 2; + * + * @param value The bytes for language to set. + * @return This builder for chaining. + */ + public Builder setLanguageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + language_ = value; + onChanged(); + return this; + } + + private java.util.List routineArguments_ = + java.util.Collections.emptyList(); + + private void ensureRoutineArgumentsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + routineArguments_ = + new java.util.ArrayList( + routineArguments_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.RoutineSpec.Argument, + com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder, + com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder> + routineArgumentsBuilder_; + + /** + * + * + *
+     * Arguments of the routine.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * + */ + public java.util.List + getRoutineArgumentsList() { + if (routineArgumentsBuilder_ == null) { + return java.util.Collections.unmodifiableList(routineArguments_); + } else { + return routineArgumentsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * Arguments of the routine.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * + */ + public int getRoutineArgumentsCount() { + if (routineArgumentsBuilder_ == null) { + return routineArguments_.size(); + } else { + return routineArgumentsBuilder_.getCount(); + } + } + /** + * + * + *
+     * Arguments of the routine.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * + */ + public com.google.cloud.datacatalog.v1.RoutineSpec.Argument getRoutineArguments(int index) { + if (routineArgumentsBuilder_ == null) { + return routineArguments_.get(index); + } else { + return routineArgumentsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * Arguments of the routine.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * + */ + public Builder setRoutineArguments( + int index, com.google.cloud.datacatalog.v1.RoutineSpec.Argument value) { + if (routineArgumentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRoutineArgumentsIsMutable(); + routineArguments_.set(index, value); + onChanged(); + } else { + routineArgumentsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * Arguments of the routine.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * + */ + public Builder setRoutineArguments( + int index, com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder builderForValue) { + if (routineArgumentsBuilder_ == null) { + ensureRoutineArgumentsIsMutable(); + routineArguments_.set(index, builderForValue.build()); + onChanged(); + } else { + routineArgumentsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Arguments of the routine.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * + */ + public Builder addRoutineArguments(com.google.cloud.datacatalog.v1.RoutineSpec.Argument value) { + if (routineArgumentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRoutineArgumentsIsMutable(); + routineArguments_.add(value); + onChanged(); + } else { + routineArgumentsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * Arguments of the routine.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * + */ + public Builder addRoutineArguments( + int index, com.google.cloud.datacatalog.v1.RoutineSpec.Argument value) { + if (routineArgumentsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRoutineArgumentsIsMutable(); + routineArguments_.add(index, value); + onChanged(); + } else { + routineArgumentsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * Arguments of the routine.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * + */ + public Builder addRoutineArguments( + com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder builderForValue) { + if (routineArgumentsBuilder_ == null) { + ensureRoutineArgumentsIsMutable(); + routineArguments_.add(builderForValue.build()); + onChanged(); + } else { + routineArgumentsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Arguments of the routine.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * + */ + public Builder addRoutineArguments( + int index, com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder builderForValue) { + if (routineArgumentsBuilder_ == null) { + ensureRoutineArgumentsIsMutable(); + routineArguments_.add(index, builderForValue.build()); + onChanged(); + } else { + routineArgumentsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Arguments of the routine.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * + */ + public Builder addAllRoutineArguments( + java.lang.Iterable values) { + if (routineArgumentsBuilder_ == null) { + ensureRoutineArgumentsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, routineArguments_); + onChanged(); + } else { + routineArgumentsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * Arguments of the routine.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * + */ + public Builder clearRoutineArguments() { + if (routineArgumentsBuilder_ == null) { + routineArguments_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + routineArgumentsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Arguments of the routine.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * + */ + public Builder removeRoutineArguments(int index) { + if (routineArgumentsBuilder_ == null) { + ensureRoutineArgumentsIsMutable(); + routineArguments_.remove(index); + onChanged(); + } else { + routineArgumentsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * Arguments of the routine.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * + */ + public com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder getRoutineArgumentsBuilder( + int index) { + return getRoutineArgumentsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * Arguments of the routine.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * + */ + public com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder + getRoutineArgumentsOrBuilder(int index) { + if (routineArgumentsBuilder_ == null) { + return routineArguments_.get(index); + } else { + return routineArgumentsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * Arguments of the routine.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * + */ + public java.util.List + getRoutineArgumentsOrBuilderList() { + if (routineArgumentsBuilder_ != null) { + return routineArgumentsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(routineArguments_); + } + } + /** + * + * + *
+     * Arguments of the routine.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * + */ + public com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder + addRoutineArgumentsBuilder() { + return getRoutineArgumentsFieldBuilder() + .addBuilder(com.google.cloud.datacatalog.v1.RoutineSpec.Argument.getDefaultInstance()); + } + /** + * + * + *
+     * Arguments of the routine.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * + */ + public com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder addRoutineArgumentsBuilder( + int index) { + return getRoutineArgumentsFieldBuilder() + .addBuilder( + index, com.google.cloud.datacatalog.v1.RoutineSpec.Argument.getDefaultInstance()); + } + /** + * + * + *
+     * Arguments of the routine.
+     * 
+ * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + * + */ + public java.util.List + getRoutineArgumentsBuilderList() { + return getRoutineArgumentsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.RoutineSpec.Argument, + com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder, + com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder> + getRoutineArgumentsFieldBuilder() { + if (routineArgumentsBuilder_ == null) { + routineArgumentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.datacatalog.v1.RoutineSpec.Argument, + com.google.cloud.datacatalog.v1.RoutineSpec.Argument.Builder, + com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder>( + routineArguments_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + routineArguments_ = null; + } + return routineArgumentsBuilder_; + } + + private java.lang.Object returnType_ = ""; + /** + * + * + *
+     * Return type of the argument. The exact value depends on the source system
+     * and the language.
+     * 
+ * + * string return_type = 4; + * + * @return The returnType. + */ + public java.lang.String getReturnType() { + java.lang.Object ref = returnType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + returnType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Return type of the argument. The exact value depends on the source system
+     * and the language.
+     * 
+ * + * string return_type = 4; + * + * @return The bytes for returnType. + */ + public com.google.protobuf.ByteString getReturnTypeBytes() { + java.lang.Object ref = returnType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + returnType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Return type of the argument. The exact value depends on the source system
+     * and the language.
+     * 
+ * + * string return_type = 4; + * + * @param value The returnType to set. + * @return This builder for chaining. + */ + public Builder setReturnType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + returnType_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Return type of the argument. The exact value depends on the source system
+     * and the language.
+     * 
+ * + * string return_type = 4; + * + * @return This builder for chaining. + */ + public Builder clearReturnType() { + + returnType_ = getDefaultInstance().getReturnType(); + onChanged(); + return this; + } + /** + * + * + *
+     * Return type of the argument. The exact value depends on the source system
+     * and the language.
+     * 
+ * + * string return_type = 4; + * + * @param value The bytes for returnType to set. + * @return This builder for chaining. + */ + public Builder setReturnTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + returnType_ = value; + onChanged(); + return this; + } + + private java.lang.Object definitionBody_ = ""; + /** + * + * + *
+     * The body of the routine.
+     * 
+ * + * string definition_body = 5; + * + * @return The definitionBody. + */ + public java.lang.String getDefinitionBody() { + java.lang.Object ref = definitionBody_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + definitionBody_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The body of the routine.
+     * 
+ * + * string definition_body = 5; + * + * @return The bytes for definitionBody. + */ + public com.google.protobuf.ByteString getDefinitionBodyBytes() { + java.lang.Object ref = definitionBody_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + definitionBody_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The body of the routine.
+     * 
+ * + * string definition_body = 5; + * + * @param value The definitionBody to set. + * @return This builder for chaining. + */ + public Builder setDefinitionBody(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + definitionBody_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The body of the routine.
+     * 
+ * + * string definition_body = 5; + * + * @return This builder for chaining. + */ + public Builder clearDefinitionBody() { + + definitionBody_ = getDefaultInstance().getDefinitionBody(); + onChanged(); + return this; + } + /** + * + * + *
+     * The body of the routine.
+     * 
+ * + * string definition_body = 5; + * + * @param value The bytes for definitionBody to set. + * @return This builder for chaining. + */ + public Builder setDefinitionBodyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + definitionBody_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec, + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder, + com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder> + bigqueryRoutineSpecBuilder_; + /** + * + * + *
+     * Fields specific for BigQuery routines.
+     * 
+ * + * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; + * + * @return Whether the bigqueryRoutineSpec field is set. + */ + @java.lang.Override + public boolean hasBigqueryRoutineSpec() { + return systemSpecCase_ == 6; + } + /** + * + * + *
+     * Fields specific for BigQuery routines.
+     * 
+ * + * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; + * + * @return The bigqueryRoutineSpec. + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.BigQueryRoutineSpec getBigqueryRoutineSpec() { + if (bigqueryRoutineSpecBuilder_ == null) { + if (systemSpecCase_ == 6) { + return (com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) systemSpec_; + } + return com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.getDefaultInstance(); + } else { + if (systemSpecCase_ == 6) { + return bigqueryRoutineSpecBuilder_.getMessage(); + } + return com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.getDefaultInstance(); + } + } + /** + * + * + *
+     * Fields specific for BigQuery routines.
+     * 
+ * + * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; + */ + public Builder setBigqueryRoutineSpec( + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec value) { + if (bigqueryRoutineSpecBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + systemSpec_ = value; + onChanged(); + } else { + bigqueryRoutineSpecBuilder_.setMessage(value); + } + systemSpecCase_ = 6; + return this; + } + /** + * + * + *
+     * Fields specific for BigQuery routines.
+     * 
+ * + * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; + */ + public Builder setBigqueryRoutineSpec( + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder builderForValue) { + if (bigqueryRoutineSpecBuilder_ == null) { + systemSpec_ = builderForValue.build(); + onChanged(); + } else { + bigqueryRoutineSpecBuilder_.setMessage(builderForValue.build()); + } + systemSpecCase_ = 6; + return this; + } + /** + * + * + *
+     * Fields specific for BigQuery routines.
+     * 
+ * + * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; + */ + public Builder mergeBigqueryRoutineSpec( + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec value) { + if (bigqueryRoutineSpecBuilder_ == null) { + if (systemSpecCase_ == 6 + && systemSpec_ + != com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.getDefaultInstance()) { + systemSpec_ = + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.newBuilder( + (com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) systemSpec_) + .mergeFrom(value) + .buildPartial(); + } else { + systemSpec_ = value; + } + onChanged(); + } else { + if (systemSpecCase_ == 6) { + bigqueryRoutineSpecBuilder_.mergeFrom(value); + } + bigqueryRoutineSpecBuilder_.setMessage(value); + } + systemSpecCase_ = 6; + return this; + } + /** + * + * + *
+     * Fields specific for BigQuery routines.
+     * 
+ * + * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; + */ + public Builder clearBigqueryRoutineSpec() { + if (bigqueryRoutineSpecBuilder_ == null) { + if (systemSpecCase_ == 6) { + systemSpecCase_ = 0; + systemSpec_ = null; + onChanged(); + } + } else { + if (systemSpecCase_ == 6) { + systemSpecCase_ = 0; + systemSpec_ = null; + } + bigqueryRoutineSpecBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Fields specific for BigQuery routines.
+     * 
+ * + * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; + */ + public com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder + getBigqueryRoutineSpecBuilder() { + return getBigqueryRoutineSpecFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Fields specific for BigQuery routines.
+     * 
+ * + * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder + getBigqueryRoutineSpecOrBuilder() { + if ((systemSpecCase_ == 6) && (bigqueryRoutineSpecBuilder_ != null)) { + return bigqueryRoutineSpecBuilder_.getMessageOrBuilder(); + } else { + if (systemSpecCase_ == 6) { + return (com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) systemSpec_; + } + return com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.getDefaultInstance(); + } + } + /** + * + * + *
+     * Fields specific for BigQuery routines.
+     * 
+ * + * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec, + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder, + com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder> + getBigqueryRoutineSpecFieldBuilder() { + if (bigqueryRoutineSpecBuilder_ == null) { + if (!(systemSpecCase_ == 6)) { + systemSpec_ = com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.getDefaultInstance(); + } + bigqueryRoutineSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec, + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec.Builder, + com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder>( + (com.google.cloud.datacatalog.v1.BigQueryRoutineSpec) systemSpec_, + getParentForChildren(), + isClean()); + systemSpec_ = null; + } + systemSpecCase_ = 6; + onChanged(); + ; + return bigqueryRoutineSpecBuilder_; + } + + @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.v1.RoutineSpec) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.RoutineSpec) + private static final com.google.cloud.datacatalog.v1.RoutineSpec DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.RoutineSpec(); + } + + public static com.google.cloud.datacatalog.v1.RoutineSpec getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RoutineSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RoutineSpec(input, extensionRegistry); + } + }; + + 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.v1.RoutineSpec getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpecOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpecOrBuilder.java new file mode 100644 index 00000000..54e0b121 --- /dev/null +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpecOrBuilder.java @@ -0,0 +1,223 @@ +/* + * Copyright 2020 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/v1/datacatalog.proto + +package com.google.cloud.datacatalog.v1; + +public interface RoutineSpecOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.RoutineSpec) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The type of the routine.
+   * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1; + * + * @return The enum numeric value on the wire for routineType. + */ + int getRoutineTypeValue(); + /** + * + * + *
+   * The type of the routine.
+   * 
+ * + * .google.cloud.datacatalog.v1.RoutineSpec.RoutineType routine_type = 1; + * + * @return The routineType. + */ + com.google.cloud.datacatalog.v1.RoutineSpec.RoutineType getRoutineType(); + + /** + * + * + *
+   * The language the routine is written in. The exact value depends on the
+   * source system. For BigQuery routines, possible values are:
+   * * `SQL`
+   * * `JAVASCRIPT`
+   * 
+ * + * string language = 2; + * + * @return The language. + */ + java.lang.String getLanguage(); + /** + * + * + *
+   * The language the routine is written in. The exact value depends on the
+   * source system. For BigQuery routines, possible values are:
+   * * `SQL`
+   * * `JAVASCRIPT`
+   * 
+ * + * string language = 2; + * + * @return The bytes for language. + */ + com.google.protobuf.ByteString getLanguageBytes(); + + /** + * + * + *
+   * Arguments of the routine.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + */ + java.util.List getRoutineArgumentsList(); + /** + * + * + *
+   * Arguments of the routine.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + */ + com.google.cloud.datacatalog.v1.RoutineSpec.Argument getRoutineArguments(int index); + /** + * + * + *
+   * Arguments of the routine.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + */ + int getRoutineArgumentsCount(); + /** + * + * + *
+   * Arguments of the routine.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + */ + java.util.List + getRoutineArgumentsOrBuilderList(); + /** + * + * + *
+   * Arguments of the routine.
+   * 
+ * + * repeated .google.cloud.datacatalog.v1.RoutineSpec.Argument routine_arguments = 3; + */ + com.google.cloud.datacatalog.v1.RoutineSpec.ArgumentOrBuilder getRoutineArgumentsOrBuilder( + int index); + + /** + * + * + *
+   * Return type of the argument. The exact value depends on the source system
+   * and the language.
+   * 
+ * + * string return_type = 4; + * + * @return The returnType. + */ + java.lang.String getReturnType(); + /** + * + * + *
+   * Return type of the argument. The exact value depends on the source system
+   * and the language.
+   * 
+ * + * string return_type = 4; + * + * @return The bytes for returnType. + */ + com.google.protobuf.ByteString getReturnTypeBytes(); + + /** + * + * + *
+   * The body of the routine.
+   * 
+ * + * string definition_body = 5; + * + * @return The definitionBody. + */ + java.lang.String getDefinitionBody(); + /** + * + * + *
+   * The body of the routine.
+   * 
+ * + * string definition_body = 5; + * + * @return The bytes for definitionBody. + */ + com.google.protobuf.ByteString getDefinitionBodyBytes(); + + /** + * + * + *
+   * Fields specific for BigQuery routines.
+   * 
+ * + * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; + * + * @return Whether the bigqueryRoutineSpec field is set. + */ + boolean hasBigqueryRoutineSpec(); + /** + * + * + *
+   * Fields specific for BigQuery routines.
+   * 
+ * + * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; + * + * @return The bigqueryRoutineSpec. + */ + com.google.cloud.datacatalog.v1.BigQueryRoutineSpec getBigqueryRoutineSpec(); + /** + * + * + *
+   * Fields specific for BigQuery routines.
+   * 
+ * + * .google.cloud.datacatalog.v1.BigQueryRoutineSpec bigquery_routine_spec = 6; + */ + com.google.cloud.datacatalog.v1.BigQueryRoutineSpecOrBuilder getBigqueryRoutineSpecOrBuilder(); + + public com.google.cloud.datacatalog.v1.RoutineSpec.SystemSpecCase getSystemSpecCase(); +} diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Schema.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Schema.java index 293f5565..aa617c7a 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Schema.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Schema.java @@ -22,7 +22,7 @@ * * *
- * Represents a schema (e.g. BigQuery, GoogleSQL, Avro schema).
+ * Represents a schema, for example, a BigQuery, GoogleSQL, or Avro schema.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.Schema} @@ -362,7 +362,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Represents a schema (e.g. BigQuery, GoogleSQL, Avro schema).
+   * Represents a schema, for example, a BigQuery, GoogleSQL, or Avro schema.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.Schema} diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequest.java index 09ed8502..13515be5 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequest.java @@ -159,9 +159,10 @@ public interface ScopeOrBuilder * * *
-     * The list of organization IDs to search within. To find your organization
-     * ID, follow instructions in
-     * https://cloud.google.com/resource-manager/docs/creating-managing-organization.
+     * The list of organization IDs to search within.
+     * To find your organization ID, follow the steps from
+     * [Creating and managing organizations]
+     * (/resource-manager/docs/creating-managing-organization).
      * 
* * repeated string include_org_ids = 2; @@ -173,9 +174,10 @@ public interface ScopeOrBuilder * * *
-     * The list of organization IDs to search within. To find your organization
-     * ID, follow instructions in
-     * https://cloud.google.com/resource-manager/docs/creating-managing-organization.
+     * The list of organization IDs to search within.
+     * To find your organization ID, follow the steps from
+     * [Creating and managing organizations]
+     * (/resource-manager/docs/creating-managing-organization).
      * 
* * repeated string include_org_ids = 2; @@ -187,9 +189,10 @@ public interface ScopeOrBuilder * * *
-     * The list of organization IDs to search within. To find your organization
-     * ID, follow instructions in
-     * https://cloud.google.com/resource-manager/docs/creating-managing-organization.
+     * The list of organization IDs to search within.
+     * To find your organization ID, follow the steps from
+     * [Creating and managing organizations]
+     * (/resource-manager/docs/creating-managing-organization).
      * 
* * repeated string include_org_ids = 2; @@ -202,9 +205,10 @@ public interface ScopeOrBuilder * * *
-     * The list of organization IDs to search within. To find your organization
-     * ID, follow instructions in
-     * https://cloud.google.com/resource-manager/docs/creating-managing-organization.
+     * The list of organization IDs to search within.
+     * To find your organization ID, follow the steps from
+     * [Creating and managing organizations]
+     * (/resource-manager/docs/creating-managing-organization).
      * 
* * repeated string include_org_ids = 2; @@ -218,9 +222,9 @@ public interface ScopeOrBuilder * * *
-     * The list of project IDs to search within. To learn more about the
-     * distinction between project names/IDs/numbers, go to
-     * https://cloud.google.com/docs/overview/#projects.
+     * The list of project IDs to search within.
+     * For more information on the distinction between project names, IDs, and
+     * numbers, see [Projects](/docs/overview/#projects).
      * 
* * repeated string include_project_ids = 3; @@ -232,9 +236,9 @@ public interface ScopeOrBuilder * * *
-     * The list of project IDs to search within. To learn more about the
-     * distinction between project names/IDs/numbers, go to
-     * https://cloud.google.com/docs/overview/#projects.
+     * The list of project IDs to search within.
+     * For more information on the distinction between project names, IDs, and
+     * numbers, see [Projects](/docs/overview/#projects).
      * 
* * repeated string include_project_ids = 3; @@ -246,9 +250,9 @@ public interface ScopeOrBuilder * * *
-     * The list of project IDs to search within. To learn more about the
-     * distinction between project names/IDs/numbers, go to
-     * https://cloud.google.com/docs/overview/#projects.
+     * The list of project IDs to search within.
+     * For more information on the distinction between project names, IDs, and
+     * numbers, see [Projects](/docs/overview/#projects).
      * 
* * repeated string include_project_ids = 3; @@ -261,9 +265,9 @@ public interface ScopeOrBuilder * * *
-     * The list of project IDs to search within. To learn more about the
-     * distinction between project names/IDs/numbers, go to
-     * https://cloud.google.com/docs/overview/#projects.
+     * The list of project IDs to search within.
+     * For more information on the distinction between project names, IDs, and
+     * numbers, see [Projects](/docs/overview/#projects).
      * 
* * repeated string include_project_ids = 3; @@ -277,10 +281,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 Platform (GCP) public datasets in
+     * search results. By default, they are excluded.
+     * See [Google Cloud Public Datasets](/public-datasets) for more
+     * information.
      * 
* * bool include_gcp_public_datasets = 7; @@ -293,16 +297,14 @@ public interface ScopeOrBuilder * * *
-     * 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 [supported
-     * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions),
-     * 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.
+     * Optional. The list of locations to search within. If empty, all locations are
+     * searched.
+     * Returns an error if any location in the list isn't one of the [Supported
+     * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions).
+     * If a location is unreachable, its name is returned in the
+     * `SearchCatalogResponse.unreachable` field. To get additional information
+     * on the error, repeat the search request and set the location name as the
+     * value of this parameter.
      * 
* * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; @@ -315,16 +317,14 @@ public interface ScopeOrBuilder * * *
-     * 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 [supported
-     * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions),
-     * 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.
+     * Optional. The list of locations to search within. If empty, all locations are
+     * searched.
+     * Returns an error if any location in the list isn't one of the [Supported
+     * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions).
+     * If a location is unreachable, its name is returned in the
+     * `SearchCatalogResponse.unreachable` field. To get additional information
+     * on the error, repeat the search request and set the location name as the
+     * value of this parameter.
      * 
* * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; @@ -337,16 +337,14 @@ public interface ScopeOrBuilder * * *
-     * 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 [supported
-     * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions),
-     * 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.
+     * Optional. The list of locations to search within. If empty, all locations are
+     * searched.
+     * Returns an error if any location in the list isn't one of the [Supported
+     * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions).
+     * If a location is unreachable, its name is returned in the
+     * `SearchCatalogResponse.unreachable` field. To get additional information
+     * on the error, repeat the search request and set the location name as the
+     * value of this parameter.
      * 
* * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; @@ -360,16 +358,14 @@ public interface ScopeOrBuilder * * *
-     * 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 [supported
-     * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions),
-     * 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.
+     * Optional. The list of locations to search within. If empty, all locations are
+     * searched.
+     * Returns an error if any location in the list isn't one of the [Supported
+     * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions).
+     * If a location is unreachable, its name is returned in the
+     * `SearchCatalogResponse.unreachable` field. To get additional information
+     * on the error, repeat the search request and set the location name as the
+     * value of this parameter.
      * 
* * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; @@ -379,6 +375,27 @@ public interface ScopeOrBuilder * @return The bytes of the restrictedLocations at the given index. */ com.google.protobuf.ByteString getRestrictedLocationsBytes(int index); + + /** + * + * + *
+     * Optional. If `true`, include [public tag
+     * templates][google.cloud.datacatalog.v1.TagTemplate.is_publicly_readable]
+     * in the search results. By default, they are included only if you have
+     * explicit permissions on them to view them. For example, if you are the
+     * owner.
+     * Other scope fields, for example, ``include_org_ids``,
+     * still restrict the returned public tag templates and at least one of
+     * them is required.
+     * 
+ * + * bool include_public_tag_templates = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The includePublicTagTemplates. + */ + boolean getIncludePublicTagTemplates(); } /** * @@ -470,6 +487,11 @@ private Scope( restrictedLocations_.add(s); break; } + case 152: + { + includePublicTagTemplates_ = input.readBool(); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -519,9 +541,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-     * The list of organization IDs to search within. To find your organization
-     * ID, follow instructions in
-     * https://cloud.google.com/resource-manager/docs/creating-managing-organization.
+     * The list of organization IDs to search within.
+     * To find your organization ID, follow the steps from
+     * [Creating and managing organizations]
+     * (/resource-manager/docs/creating-managing-organization).
      * 
* * repeated string include_org_ids = 2; @@ -535,9 +558,10 @@ public com.google.protobuf.ProtocolStringList getIncludeOrgIdsList() { * * *
-     * The list of organization IDs to search within. To find your organization
-     * ID, follow instructions in
-     * https://cloud.google.com/resource-manager/docs/creating-managing-organization.
+     * The list of organization IDs to search within.
+     * To find your organization ID, follow the steps from
+     * [Creating and managing organizations]
+     * (/resource-manager/docs/creating-managing-organization).
      * 
* * repeated string include_org_ids = 2; @@ -551,9 +575,10 @@ public int getIncludeOrgIdsCount() { * * *
-     * The list of organization IDs to search within. To find your organization
-     * ID, follow instructions in
-     * https://cloud.google.com/resource-manager/docs/creating-managing-organization.
+     * The list of organization IDs to search within.
+     * To find your organization ID, follow the steps from
+     * [Creating and managing organizations]
+     * (/resource-manager/docs/creating-managing-organization).
      * 
* * repeated string include_org_ids = 2; @@ -568,9 +593,10 @@ public java.lang.String getIncludeOrgIds(int index) { * * *
-     * The list of organization IDs to search within. To find your organization
-     * ID, follow instructions in
-     * https://cloud.google.com/resource-manager/docs/creating-managing-organization.
+     * The list of organization IDs to search within.
+     * To find your organization ID, follow the steps from
+     * [Creating and managing organizations]
+     * (/resource-manager/docs/creating-managing-organization).
      * 
* * repeated string include_org_ids = 2; @@ -588,9 +614,9 @@ public com.google.protobuf.ByteString getIncludeOrgIdsBytes(int index) { * * *
-     * The list of project IDs to search within. To learn more about the
-     * distinction between project names/IDs/numbers, go to
-     * https://cloud.google.com/docs/overview/#projects.
+     * The list of project IDs to search within.
+     * For more information on the distinction between project names, IDs, and
+     * numbers, see [Projects](/docs/overview/#projects).
      * 
* * repeated string include_project_ids = 3; @@ -604,9 +630,9 @@ public com.google.protobuf.ProtocolStringList getIncludeProjectIdsList() { * * *
-     * The list of project IDs to search within. To learn more about the
-     * distinction between project names/IDs/numbers, go to
-     * https://cloud.google.com/docs/overview/#projects.
+     * The list of project IDs to search within.
+     * For more information on the distinction between project names, IDs, and
+     * numbers, see [Projects](/docs/overview/#projects).
      * 
* * repeated string include_project_ids = 3; @@ -620,9 +646,9 @@ public int getIncludeProjectIdsCount() { * * *
-     * The list of project IDs to search within. To learn more about the
-     * distinction between project names/IDs/numbers, go to
-     * https://cloud.google.com/docs/overview/#projects.
+     * The list of project IDs to search within.
+     * For more information on the distinction between project names, IDs, and
+     * numbers, see [Projects](/docs/overview/#projects).
      * 
* * repeated string include_project_ids = 3; @@ -637,9 +663,9 @@ public java.lang.String getIncludeProjectIds(int index) { * * *
-     * The list of project IDs to search within. To learn more about the
-     * distinction between project names/IDs/numbers, go to
-     * https://cloud.google.com/docs/overview/#projects.
+     * The list of project IDs to search within.
+     * For more information on the distinction between project names, IDs, and
+     * numbers, see [Projects](/docs/overview/#projects).
      * 
* * repeated string include_project_ids = 3; @@ -657,10 +683,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 Platform (GCP) public datasets in
+     * search results. By default, they are excluded.
+     * See [Google Cloud Public Datasets](/public-datasets) for more
+     * information.
      * 
* * bool include_gcp_public_datasets = 7; @@ -678,16 +704,14 @@ public 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 [supported
-     * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions),
-     * 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.
+     * Optional. The list of locations to search within. If empty, all locations are
+     * searched.
+     * Returns an error if any location in the list isn't one of the [Supported
+     * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions).
+     * If a location is unreachable, its name is returned in the
+     * `SearchCatalogResponse.unreachable` field. To get additional information
+     * on the error, repeat the search request and set the location name as the
+     * value of this parameter.
      * 
* * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; @@ -702,16 +726,14 @@ public com.google.protobuf.ProtocolStringList 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 [supported
-     * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions),
-     * 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.
+     * Optional. The list of locations to search within. If empty, all locations are
+     * searched.
+     * Returns an error if any location in the list isn't one of the [Supported
+     * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions).
+     * If a location is unreachable, its name is returned in the
+     * `SearchCatalogResponse.unreachable` field. To get additional information
+     * on the error, repeat the search request and set the location name as the
+     * value of this parameter.
      * 
* * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; @@ -726,16 +748,14 @@ public 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 [supported
-     * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions),
-     * 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.
+     * Optional. The list of locations to search within. If empty, all locations are
+     * searched.
+     * Returns an error if any location in the list isn't one of the [Supported
+     * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions).
+     * If a location is unreachable, its name is returned in the
+     * `SearchCatalogResponse.unreachable` field. To get additional information
+     * on the error, repeat the search request and set the location name as the
+     * value of this parameter.
      * 
* * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; @@ -751,16 +771,14 @@ public 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 [supported
-     * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions),
-     * 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.
+     * Optional. The list of locations to search within. If empty, all locations are
+     * searched.
+     * Returns an error if any location in the list isn't one of the [Supported
+     * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions).
+     * If a location is unreachable, its name is returned in the
+     * `SearchCatalogResponse.unreachable` field. To get additional information
+     * on the error, repeat the search request and set the location name as the
+     * value of this parameter.
      * 
* * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; @@ -773,6 +791,32 @@ public com.google.protobuf.ByteString getRestrictedLocationsBytes(int index) { return restrictedLocations_.getByteString(index); } + public static final int INCLUDE_PUBLIC_TAG_TEMPLATES_FIELD_NUMBER = 19; + private boolean includePublicTagTemplates_; + /** + * + * + *
+     * Optional. If `true`, include [public tag
+     * templates][google.cloud.datacatalog.v1.TagTemplate.is_publicly_readable]
+     * in the search results. By default, they are included only if you have
+     * explicit permissions on them to view them. For example, if you are the
+     * owner.
+     * Other scope fields, for example, ``include_org_ids``,
+     * still restrict the returned public tag templates and at least one of
+     * them is required.
+     * 
+ * + * bool include_public_tag_templates = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The includePublicTagTemplates. + */ + @java.lang.Override + public boolean getIncludePublicTagTemplates() { + return includePublicTagTemplates_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -800,6 +844,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString( output, 16, restrictedLocations_.getRaw(i)); } + if (includePublicTagTemplates_ != false) { + output.writeBool(19, includePublicTagTemplates_); + } unknownFields.writeTo(output); } @@ -836,6 +883,10 @@ public int getSerializedSize() { size += dataSize; size += 2 * getRestrictedLocationsList().size(); } + if (includePublicTagTemplates_ != false) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(19, includePublicTagTemplates_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -856,6 +907,7 @@ public boolean equals(final java.lang.Object obj) { if (!getIncludeProjectIdsList().equals(other.getIncludeProjectIdsList())) return false; if (getIncludeGcpPublicDatasets() != other.getIncludeGcpPublicDatasets()) return false; if (!getRestrictedLocationsList().equals(other.getRestrictedLocationsList())) return false; + if (getIncludePublicTagTemplates() != other.getIncludePublicTagTemplates()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -881,6 +933,8 @@ public int hashCode() { hash = (37 * hash) + RESTRICTED_LOCATIONS_FIELD_NUMBER; hash = (53 * hash) + getRestrictedLocationsList().hashCode(); } + hash = (37 * hash) + INCLUDE_PUBLIC_TAG_TEMPLATES_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludePublicTagTemplates()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -1037,6 +1091,8 @@ public Builder clear() { restrictedLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); + includePublicTagTemplates_ = false; + return this; } @@ -1082,6 +1138,7 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope buildPartial() bitField0_ = (bitField0_ & ~0x00000004); } result.restrictedLocations_ = restrictedLocations_; + result.includePublicTagTemplates_ = includePublicTagTemplates_; onBuilt(); return result; } @@ -1168,6 +1225,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.SearchCatalogRequest.Sc } onChanged(); } + if (other.getIncludePublicTagTemplates() != false) { + setIncludePublicTagTemplates(other.getIncludePublicTagTemplates()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1213,9 +1273,10 @@ private void ensureIncludeOrgIdsIsMutable() { * * *
-       * The list of organization IDs to search within. To find your organization
-       * ID, follow instructions in
-       * https://cloud.google.com/resource-manager/docs/creating-managing-organization.
+       * The list of organization IDs to search within.
+       * To find your organization ID, follow the steps from
+       * [Creating and managing organizations]
+       * (/resource-manager/docs/creating-managing-organization).
        * 
* * repeated string include_org_ids = 2; @@ -1229,9 +1290,10 @@ public com.google.protobuf.ProtocolStringList getIncludeOrgIdsList() { * * *
-       * The list of organization IDs to search within. To find your organization
-       * ID, follow instructions in
-       * https://cloud.google.com/resource-manager/docs/creating-managing-organization.
+       * The list of organization IDs to search within.
+       * To find your organization ID, follow the steps from
+       * [Creating and managing organizations]
+       * (/resource-manager/docs/creating-managing-organization).
        * 
* * repeated string include_org_ids = 2; @@ -1245,9 +1307,10 @@ public int getIncludeOrgIdsCount() { * * *
-       * The list of organization IDs to search within. To find your organization
-       * ID, follow instructions in
-       * https://cloud.google.com/resource-manager/docs/creating-managing-organization.
+       * The list of organization IDs to search within.
+       * To find your organization ID, follow the steps from
+       * [Creating and managing organizations]
+       * (/resource-manager/docs/creating-managing-organization).
        * 
* * repeated string include_org_ids = 2; @@ -1262,9 +1325,10 @@ public java.lang.String getIncludeOrgIds(int index) { * * *
-       * The list of organization IDs to search within. To find your organization
-       * ID, follow instructions in
-       * https://cloud.google.com/resource-manager/docs/creating-managing-organization.
+       * The list of organization IDs to search within.
+       * To find your organization ID, follow the steps from
+       * [Creating and managing organizations]
+       * (/resource-manager/docs/creating-managing-organization).
        * 
* * repeated string include_org_ids = 2; @@ -1279,9 +1343,10 @@ public com.google.protobuf.ByteString getIncludeOrgIdsBytes(int index) { * * *
-       * The list of organization IDs to search within. To find your organization
-       * ID, follow instructions in
-       * https://cloud.google.com/resource-manager/docs/creating-managing-organization.
+       * The list of organization IDs to search within.
+       * To find your organization ID, follow the steps from
+       * [Creating and managing organizations]
+       * (/resource-manager/docs/creating-managing-organization).
        * 
* * repeated string include_org_ids = 2; @@ -1303,9 +1368,10 @@ public Builder setIncludeOrgIds(int index, java.lang.String value) { * * *
-       * The list of organization IDs to search within. To find your organization
-       * ID, follow instructions in
-       * https://cloud.google.com/resource-manager/docs/creating-managing-organization.
+       * The list of organization IDs to search within.
+       * To find your organization ID, follow the steps from
+       * [Creating and managing organizations]
+       * (/resource-manager/docs/creating-managing-organization).
        * 
* * repeated string include_org_ids = 2; @@ -1326,9 +1392,10 @@ public Builder addIncludeOrgIds(java.lang.String value) { * * *
-       * The list of organization IDs to search within. To find your organization
-       * ID, follow instructions in
-       * https://cloud.google.com/resource-manager/docs/creating-managing-organization.
+       * The list of organization IDs to search within.
+       * To find your organization ID, follow the steps from
+       * [Creating and managing organizations]
+       * (/resource-manager/docs/creating-managing-organization).
        * 
* * repeated string include_org_ids = 2; @@ -1346,9 +1413,10 @@ public Builder addAllIncludeOrgIds(java.lang.Iterable values) * * *
-       * The list of organization IDs to search within. To find your organization
-       * ID, follow instructions in
-       * https://cloud.google.com/resource-manager/docs/creating-managing-organization.
+       * The list of organization IDs to search within.
+       * To find your organization ID, follow the steps from
+       * [Creating and managing organizations]
+       * (/resource-manager/docs/creating-managing-organization).
        * 
* * repeated string include_org_ids = 2; @@ -1365,9 +1433,10 @@ public Builder clearIncludeOrgIds() { * * *
-       * The list of organization IDs to search within. To find your organization
-       * ID, follow instructions in
-       * https://cloud.google.com/resource-manager/docs/creating-managing-organization.
+       * The list of organization IDs to search within.
+       * To find your organization ID, follow the steps from
+       * [Creating and managing organizations]
+       * (/resource-manager/docs/creating-managing-organization).
        * 
* * repeated string include_org_ids = 2; @@ -1399,9 +1468,9 @@ private void ensureIncludeProjectIdsIsMutable() { * * *
-       * The list of project IDs to search within. To learn more about the
-       * distinction between project names/IDs/numbers, go to
-       * https://cloud.google.com/docs/overview/#projects.
+       * The list of project IDs to search within.
+       * For more information on the distinction between project names, IDs, and
+       * numbers, see [Projects](/docs/overview/#projects).
        * 
* * repeated string include_project_ids = 3; @@ -1415,9 +1484,9 @@ public com.google.protobuf.ProtocolStringList getIncludeProjectIdsList() { * * *
-       * The list of project IDs to search within. To learn more about the
-       * distinction between project names/IDs/numbers, go to
-       * https://cloud.google.com/docs/overview/#projects.
+       * The list of project IDs to search within.
+       * For more information on the distinction between project names, IDs, and
+       * numbers, see [Projects](/docs/overview/#projects).
        * 
* * repeated string include_project_ids = 3; @@ -1431,9 +1500,9 @@ public int getIncludeProjectIdsCount() { * * *
-       * The list of project IDs to search within. To learn more about the
-       * distinction between project names/IDs/numbers, go to
-       * https://cloud.google.com/docs/overview/#projects.
+       * The list of project IDs to search within.
+       * For more information on the distinction between project names, IDs, and
+       * numbers, see [Projects](/docs/overview/#projects).
        * 
* * repeated string include_project_ids = 3; @@ -1448,9 +1517,9 @@ public java.lang.String getIncludeProjectIds(int index) { * * *
-       * The list of project IDs to search within. To learn more about the
-       * distinction between project names/IDs/numbers, go to
-       * https://cloud.google.com/docs/overview/#projects.
+       * The list of project IDs to search within.
+       * For more information on the distinction between project names, IDs, and
+       * numbers, see [Projects](/docs/overview/#projects).
        * 
* * repeated string include_project_ids = 3; @@ -1465,9 +1534,9 @@ public com.google.protobuf.ByteString getIncludeProjectIdsBytes(int index) { * * *
-       * The list of project IDs to search within. To learn more about the
-       * distinction between project names/IDs/numbers, go to
-       * https://cloud.google.com/docs/overview/#projects.
+       * The list of project IDs to search within.
+       * For more information on the distinction between project names, IDs, and
+       * numbers, see [Projects](/docs/overview/#projects).
        * 
* * repeated string include_project_ids = 3; @@ -1489,9 +1558,9 @@ public Builder setIncludeProjectIds(int index, java.lang.String value) { * * *
-       * The list of project IDs to search within. To learn more about the
-       * distinction between project names/IDs/numbers, go to
-       * https://cloud.google.com/docs/overview/#projects.
+       * The list of project IDs to search within.
+       * For more information on the distinction between project names, IDs, and
+       * numbers, see [Projects](/docs/overview/#projects).
        * 
* * repeated string include_project_ids = 3; @@ -1512,9 +1581,9 @@ public Builder addIncludeProjectIds(java.lang.String value) { * * *
-       * The list of project IDs to search within. To learn more about the
-       * distinction between project names/IDs/numbers, go to
-       * https://cloud.google.com/docs/overview/#projects.
+       * The list of project IDs to search within.
+       * For more information on the distinction between project names, IDs, and
+       * numbers, see [Projects](/docs/overview/#projects).
        * 
* * repeated string include_project_ids = 3; @@ -1532,9 +1601,9 @@ public Builder addAllIncludeProjectIds(java.lang.Iterable valu * * *
-       * The list of project IDs to search within. To learn more about the
-       * distinction between project names/IDs/numbers, go to
-       * https://cloud.google.com/docs/overview/#projects.
+       * The list of project IDs to search within.
+       * For more information on the distinction between project names, IDs, and
+       * numbers, see [Projects](/docs/overview/#projects).
        * 
* * repeated string include_project_ids = 3; @@ -1551,9 +1620,9 @@ public Builder clearIncludeProjectIds() { * * *
-       * The list of project IDs to search within. To learn more about the
-       * distinction between project names/IDs/numbers, go to
-       * https://cloud.google.com/docs/overview/#projects.
+       * The list of project IDs to search within.
+       * For more information on the distinction between project names, IDs, and
+       * numbers, see [Projects](/docs/overview/#projects).
        * 
* * repeated string include_project_ids = 3; @@ -1577,10 +1646,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 Platform (GCP) public datasets in
+       * search results. By default, they are excluded.
+       * See [Google Cloud Public Datasets](/public-datasets) for more
+       * information.
        * 
* * bool include_gcp_public_datasets = 7; @@ -1595,10 +1664,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 Platform (GCP) public datasets in
+       * search results. By default, they are excluded.
+       * See [Google Cloud Public Datasets](/public-datasets) for more
+       * information.
        * 
* * bool include_gcp_public_datasets = 7; @@ -1616,10 +1685,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 Platform (GCP) public datasets in
+       * search results. By default, they are excluded.
+       * See [Google Cloud Public Datasets](/public-datasets) for more
+       * information.
        * 
* * bool include_gcp_public_datasets = 7; @@ -1646,16 +1715,14 @@ private void ensureRestrictedLocationsIsMutable() { * * *
-       * 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 [supported
-       * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions),
-       * 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.
+       * Optional. The list of locations to search within. If empty, all locations are
+       * searched.
+       * Returns an error if any location in the list isn't one of the [Supported
+       * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions).
+       * If a location is unreachable, its name is returned in the
+       * `SearchCatalogResponse.unreachable` field. To get additional information
+       * on the error, repeat the search request and set the location name as the
+       * value of this parameter.
        * 
* * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; @@ -1670,16 +1737,14 @@ public com.google.protobuf.ProtocolStringList 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 [supported
-       * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions),
-       * 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.
+       * Optional. The list of locations to search within. If empty, all locations are
+       * searched.
+       * Returns an error if any location in the list isn't one of the [Supported
+       * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions).
+       * If a location is unreachable, its name is returned in the
+       * `SearchCatalogResponse.unreachable` field. To get additional information
+       * on the error, repeat the search request and set the location name as the
+       * value of this parameter.
        * 
* * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; @@ -1694,16 +1759,14 @@ public 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 [supported
-       * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions),
-       * 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.
+       * Optional. The list of locations to search within. If empty, all locations are
+       * searched.
+       * Returns an error if any location in the list isn't one of the [Supported
+       * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions).
+       * If a location is unreachable, its name is returned in the
+       * `SearchCatalogResponse.unreachable` field. To get additional information
+       * on the error, repeat the search request and set the location name as the
+       * value of this parameter.
        * 
* * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; @@ -1719,16 +1782,14 @@ public 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 [supported
-       * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions),
-       * 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.
+       * Optional. The list of locations to search within. If empty, all locations are
+       * searched.
+       * Returns an error if any location in the list isn't one of the [Supported
+       * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions).
+       * If a location is unreachable, its name is returned in the
+       * `SearchCatalogResponse.unreachable` field. To get additional information
+       * on the error, repeat the search request and set the location name as the
+       * value of this parameter.
        * 
* * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; @@ -1744,16 +1805,14 @@ public com.google.protobuf.ByteString getRestrictedLocationsBytes(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 [supported
-       * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions),
-       * 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.
+       * Optional. The list of locations to search within. If empty, all locations are
+       * searched.
+       * Returns an error if any location in the list isn't one of the [Supported
+       * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions).
+       * If a location is unreachable, its name is returned in the
+       * `SearchCatalogResponse.unreachable` field. To get additional information
+       * on the error, repeat the search request and set the location name as the
+       * value of this parameter.
        * 
* * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; @@ -1776,16 +1835,14 @@ public Builder setRestrictedLocations(int index, java.lang.String value) { * * *
-       * 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 [supported
-       * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions),
-       * 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.
+       * Optional. The list of locations to search within. If empty, all locations are
+       * searched.
+       * Returns an error if any location in the list isn't one of the [Supported
+       * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions).
+       * If a location is unreachable, its name is returned in the
+       * `SearchCatalogResponse.unreachable` field. To get additional information
+       * on the error, repeat the search request and set the location name as the
+       * value of this parameter.
        * 
* * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; @@ -1807,16 +1864,14 @@ public Builder addRestrictedLocations(java.lang.String value) { * * *
-       * 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 [supported
-       * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions),
-       * 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.
+       * Optional. The list of locations to search within. If empty, all locations are
+       * searched.
+       * Returns an error if any location in the list isn't one of the [Supported
+       * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions).
+       * If a location is unreachable, its name is returned in the
+       * `SearchCatalogResponse.unreachable` field. To get additional information
+       * on the error, repeat the search request and set the location name as the
+       * value of this parameter.
        * 
* * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; @@ -1835,16 +1890,14 @@ public Builder addAllRestrictedLocations(java.lang.Iterable va * * *
-       * 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 [supported
-       * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions),
-       * 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.
+       * Optional. The list of locations to search within. If empty, all locations are
+       * searched.
+       * Returns an error if any location in the list isn't one of the [Supported
+       * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions).
+       * If a location is unreachable, its name is returned in the
+       * `SearchCatalogResponse.unreachable` field. To get additional information
+       * on the error, repeat the search request and set the location name as the
+       * value of this parameter.
        * 
* * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; @@ -1862,16 +1915,14 @@ public Builder clearRestrictedLocations() { * * *
-       * 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 [supported
-       * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions),
-       * 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.
+       * Optional. The list of locations to search within. If empty, all locations are
+       * searched.
+       * Returns an error if any location in the list isn't one of the [Supported
+       * regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions).
+       * If a location is unreachable, its name is returned in the
+       * `SearchCatalogResponse.unreachable` field. To get additional information
+       * on the error, repeat the search request and set the location name as the
+       * value of this parameter.
        * 
* * repeated string restricted_locations = 16 [(.google.api.field_behavior) = OPTIONAL]; @@ -1891,6 +1942,82 @@ public Builder addRestrictedLocationsBytes(com.google.protobuf.ByteString value) return this; } + private boolean includePublicTagTemplates_; + /** + * + * + *
+       * Optional. If `true`, include [public tag
+       * templates][google.cloud.datacatalog.v1.TagTemplate.is_publicly_readable]
+       * in the search results. By default, they are included only if you have
+       * explicit permissions on them to view them. For example, if you are the
+       * owner.
+       * Other scope fields, for example, ``include_org_ids``,
+       * still restrict the returned public tag templates and at least one of
+       * them is required.
+       * 
+ * + * bool include_public_tag_templates = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The includePublicTagTemplates. + */ + @java.lang.Override + public boolean getIncludePublicTagTemplates() { + return includePublicTagTemplates_; + } + /** + * + * + *
+       * Optional. If `true`, include [public tag
+       * templates][google.cloud.datacatalog.v1.TagTemplate.is_publicly_readable]
+       * in the search results. By default, they are included only if you have
+       * explicit permissions on them to view them. For example, if you are the
+       * owner.
+       * Other scope fields, for example, ``include_org_ids``,
+       * still restrict the returned public tag templates and at least one of
+       * them is required.
+       * 
+ * + * bool include_public_tag_templates = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The includePublicTagTemplates to set. + * @return This builder for chaining. + */ + public Builder setIncludePublicTagTemplates(boolean value) { + + includePublicTagTemplates_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Optional. If `true`, include [public tag
+       * templates][google.cloud.datacatalog.v1.TagTemplate.is_publicly_readable]
+       * in the search results. By default, they are included only if you have
+       * explicit permissions on them to view them. For example, if you are the
+       * owner.
+       * Other scope fields, for example, ``include_org_ids``,
+       * still restrict the returned public tag templates and at least one of
+       * them is required.
+       * 
+ * + * bool include_public_tag_templates = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearIncludePublicTagTemplates() { + + includePublicTagTemplates_ = false; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1950,10 +2077,10 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope getDefaultInst * * *
-   * 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.
+   * Required. The scope of this search request.
+   * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
+   * empty AND `include_gcp_public_datasets` is set to `false`. In this case,
+   * the request returns an error.
    * 
* * @@ -1970,10 +2097,10 @@ public boolean hasScope() { * * *
-   * 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.
+   * Required. The scope of this search request.
+   * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
+   * empty AND `include_gcp_public_datasets` is set to `false`. In this case,
+   * the request returns an error.
    * 
* * @@ -1992,10 +2119,10 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope getScope() { * * *
-   * 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.
+   * Required. The scope of this search request.
+   * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
+   * empty AND `include_gcp_public_datasets` is set to `false`. In this case,
+   * the request returns an error.
    * 
* * @@ -2013,16 +2140,15 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder getSc * * *
-   * 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
-   * * description:y
-   * Note: Query tokens need to have a minimum of 3 characters for substring
-   * matching to work correctly. See [Data Catalog Search
-   * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
-   * for more information.
+   * Optional. The query string with a minimum of 3 characters and specific syntax.
+   * For more information, see
+   * [Data Catalog search syntax](/data-catalog/docs/how-to/search-reference).
+   * An empty query string returns all data assets (in the specified scope)
+   * that you have access to.
+   * A query string can be a simple `xyz` or qualified by predicates:
+   * * `name:x`
+   * * `column:y`
+   * * `description:z`
    * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -2045,16 +2171,15 @@ public java.lang.String getQuery() { * * *
-   * 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
-   * * description:y
-   * Note: Query tokens need to have a minimum of 3 characters for substring
-   * matching to work correctly. See [Data Catalog Search
-   * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
-   * for more information.
+   * Optional. The query string with a minimum of 3 characters and specific syntax.
+   * For more information, see
+   * [Data Catalog search syntax](/data-catalog/docs/how-to/search-reference).
+   * An empty query string returns all data assets (in the specified scope)
+   * that you have access to.
+   * A query string can be a simple `xyz` or qualified by predicates:
+   * * `name:x`
+   * * `column:y`
+   * * `description:z`
    * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -2080,8 +2205,10 @@ public com.google.protobuf.ByteString getQueryBytes() { * * *
-   * 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.
+   * Number of results to return in a single search page.
+   * Can't be negative or 0, defaults to 10 in this case.
+   * The maximum number is 1000. If exceeded, throws an "invalid argument"
+   * exception.
    * 
* * int32 page_size = 2; @@ -2099,12 +2226,12 @@ public int getPageSize() { * * *
-   * Optional. Pagination token returned in an earlier
-   * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1.SearchCatalogResponse.next_page_token], which
-   * indicates that this is a continuation of a prior
+   * Optional. Pagination token that, if specified, returns the next page of search
+   * results. If empty, returns the first page.
+   * This token is returned in the [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1.SearchCatalogResponse.next_page_token]
+   * field of the response to a previous
    * [SearchCatalogRequest][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog]
-   * call, and that the system should return the next page of data. If empty,
-   * the first page is returned.
+   * call.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -2127,12 +2254,12 @@ public java.lang.String getPageToken() { * * *
-   * Optional. Pagination token returned in an earlier
-   * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1.SearchCatalogResponse.next_page_token], which
-   * indicates that this is a continuation of a prior
+   * Optional. Pagination token that, if specified, returns the next page of search
+   * results. If empty, returns the first page.
+   * This token is returned in the [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1.SearchCatalogResponse.next_page_token]
+   * field of the response to a previous
    * [SearchCatalogRequest][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog]
-   * call, and that the system should return the next page of data. If empty,
-   * the first page is returned.
+   * call.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -2158,12 +2285,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * *
-   * Specifies the ordering of results, currently supported case-sensitive
-   * choices are:
-   *   * `relevance`, only supports descending
-   *   * `last_modified_timestamp [asc|desc]`, defaults to descending if not
-   *     specified
-   * If not specified, defaults to `relevance` descending.
+   * Specifies the order of results.
+   * Currently supported case-sensitive values are:
+   * * `relevance` that can only be descending
+   * * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default
+   * If this parameter is omitted, it defaults to the descending `relevance`.
    * 
* * string order_by = 5; @@ -2186,12 +2312,11 @@ public java.lang.String getOrderBy() { * * *
-   * Specifies the ordering of results, currently supported case-sensitive
-   * choices are:
-   *   * `relevance`, only supports descending
-   *   * `last_modified_timestamp [asc|desc]`, defaults to descending if not
-   *     specified
-   * If not specified, defaults to `relevance` descending.
+   * Specifies the order of results.
+   * Currently supported case-sensitive values are:
+   * * `relevance` that can only be descending
+   * * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default
+   * If this parameter is omitted, it defaults to the descending `relevance`.
    * 
* * string order_by = 5; @@ -2615,10 +2740,10 @@ public Builder mergeFrom( * * *
-     * 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.
+     * Required. The scope of this search request.
+     * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
+     * empty AND `include_gcp_public_datasets` is set to `false`. In this case,
+     * the request returns an error.
      * 
* * @@ -2634,10 +2759,10 @@ public boolean hasScope() { * * *
-     * 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.
+     * Required. The scope of this search request.
+     * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
+     * empty AND `include_gcp_public_datasets` is set to `false`. In this case,
+     * the request returns an error.
      * 
* * @@ -2659,10 +2784,10 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope getScope() { * * *
-     * 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.
+     * Required. The scope of this search request.
+     * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
+     * empty AND `include_gcp_public_datasets` is set to `false`. In this case,
+     * the request returns an error.
      * 
* * @@ -2686,10 +2811,10 @@ public Builder setScope(com.google.cloud.datacatalog.v1.SearchCatalogRequest.Sco * * *
-     * 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.
+     * Required. The scope of this search request.
+     * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
+     * empty AND `include_gcp_public_datasets` is set to `false`. In this case,
+     * the request returns an error.
      * 
* * @@ -2711,10 +2836,10 @@ public Builder setScope( * * *
-     * 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.
+     * Required. The scope of this search request.
+     * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
+     * empty AND `include_gcp_public_datasets` is set to `false`. In this case,
+     * the request returns an error.
      * 
* * @@ -2742,10 +2867,10 @@ public Builder mergeScope(com.google.cloud.datacatalog.v1.SearchCatalogRequest.S * * *
-     * 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.
+     * Required. The scope of this search request.
+     * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
+     * empty AND `include_gcp_public_datasets` is set to `false`. In this case,
+     * the request returns an error.
      * 
* * @@ -2767,10 +2892,10 @@ public Builder clearScope() { * * *
-     * 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.
+     * Required. The scope of this search request.
+     * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
+     * empty AND `include_gcp_public_datasets` is set to `false`. In this case,
+     * the request returns an error.
      * 
* * @@ -2786,10 +2911,10 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.Builder getSco * * *
-     * 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.
+     * Required. The scope of this search request.
+     * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
+     * empty AND `include_gcp_public_datasets` is set to `false`. In this case,
+     * the request returns an error.
      * 
* * @@ -2809,10 +2934,10 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder getSc * * *
-     * 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.
+     * Required. The scope of this search request.
+     * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
+     * empty AND `include_gcp_public_datasets` is set to `false`. In this case,
+     * the request returns an error.
      * 
* * @@ -2841,16 +2966,15 @@ public com.google.cloud.datacatalog.v1.SearchCatalogRequest.ScopeOrBuilder getSc * * *
-     * 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
-     * * description:y
-     * Note: Query tokens need to have a minimum of 3 characters for substring
-     * matching to work correctly. See [Data Catalog Search
-     * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
-     * for more information.
+     * Optional. The query string with a minimum of 3 characters and specific syntax.
+     * For more information, see
+     * [Data Catalog search syntax](/data-catalog/docs/how-to/search-reference).
+     * An empty query string returns all data assets (in the specified scope)
+     * that you have access to.
+     * A query string can be a simple `xyz` or qualified by predicates:
+     * * `name:x`
+     * * `column:y`
+     * * `description:z`
      * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -2872,16 +2996,15 @@ public java.lang.String getQuery() { * * *
-     * 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
-     * * description:y
-     * Note: Query tokens need to have a minimum of 3 characters for substring
-     * matching to work correctly. See [Data Catalog Search
-     * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
-     * for more information.
+     * Optional. The query string with a minimum of 3 characters and specific syntax.
+     * For more information, see
+     * [Data Catalog search syntax](/data-catalog/docs/how-to/search-reference).
+     * An empty query string returns all data assets (in the specified scope)
+     * that you have access to.
+     * A query string can be a simple `xyz` or qualified by predicates:
+     * * `name:x`
+     * * `column:y`
+     * * `description:z`
      * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -2903,16 +3026,15 @@ public com.google.protobuf.ByteString getQueryBytes() { * * *
-     * 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
-     * * description:y
-     * Note: Query tokens need to have a minimum of 3 characters for substring
-     * matching to work correctly. See [Data Catalog Search
-     * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
-     * for more information.
+     * Optional. The query string with a minimum of 3 characters and specific syntax.
+     * For more information, see
+     * [Data Catalog search syntax](/data-catalog/docs/how-to/search-reference).
+     * An empty query string returns all data assets (in the specified scope)
+     * that you have access to.
+     * A query string can be a simple `xyz` or qualified by predicates:
+     * * `name:x`
+     * * `column:y`
+     * * `description:z`
      * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -2933,16 +3055,15 @@ public Builder setQuery(java.lang.String value) { * * *
-     * 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
-     * * description:y
-     * Note: Query tokens need to have a minimum of 3 characters for substring
-     * matching to work correctly. See [Data Catalog Search
-     * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
-     * for more information.
+     * Optional. The query string with a minimum of 3 characters and specific syntax.
+     * For more information, see
+     * [Data Catalog search syntax](/data-catalog/docs/how-to/search-reference).
+     * An empty query string returns all data assets (in the specified scope)
+     * that you have access to.
+     * A query string can be a simple `xyz` or qualified by predicates:
+     * * `name:x`
+     * * `column:y`
+     * * `description:z`
      * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -2959,16 +3080,15 @@ public Builder clearQuery() { * * *
-     * 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
-     * * description:y
-     * Note: Query tokens need to have a minimum of 3 characters for substring
-     * matching to work correctly. See [Data Catalog Search
-     * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
-     * for more information.
+     * Optional. The query string with a minimum of 3 characters and specific syntax.
+     * For more information, see
+     * [Data Catalog search syntax](/data-catalog/docs/how-to/search-reference).
+     * An empty query string returns all data assets (in the specified scope)
+     * that you have access to.
+     * A query string can be a simple `xyz` or qualified by predicates:
+     * * `name:x`
+     * * `column:y`
+     * * `description:z`
      * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -2992,8 +3112,10 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) { * * *
-     * 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.
+     * Number of results to return in a single search page.
+     * Can't be negative or 0, defaults to 10 in this case.
+     * The maximum number is 1000. If exceeded, throws an "invalid argument"
+     * exception.
      * 
* * int32 page_size = 2; @@ -3008,8 +3130,10 @@ public int getPageSize() { * * *
-     * 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.
+     * Number of results to return in a single search page.
+     * Can't be negative or 0, defaults to 10 in this case.
+     * The maximum number is 1000. If exceeded, throws an "invalid argument"
+     * exception.
      * 
* * int32 page_size = 2; @@ -3027,8 +3151,10 @@ public Builder setPageSize(int value) { * * *
-     * 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.
+     * Number of results to return in a single search page.
+     * Can't be negative or 0, defaults to 10 in this case.
+     * The maximum number is 1000. If exceeded, throws an "invalid argument"
+     * exception.
      * 
* * int32 page_size = 2; @@ -3047,12 +3173,12 @@ public Builder clearPageSize() { * * *
-     * Optional. Pagination token returned in an earlier
-     * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1.SearchCatalogResponse.next_page_token], which
-     * indicates that this is a continuation of a prior
+     * Optional. Pagination token that, if specified, returns the next page of search
+     * results. If empty, returns the first page.
+     * This token is returned in the [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1.SearchCatalogResponse.next_page_token]
+     * field of the response to a previous
      * [SearchCatalogRequest][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog]
-     * call, and that the system should return the next page of data. If empty,
-     * the first page is returned.
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -3074,12 +3200,12 @@ public java.lang.String getPageToken() { * * *
-     * Optional. Pagination token returned in an earlier
-     * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1.SearchCatalogResponse.next_page_token], which
-     * indicates that this is a continuation of a prior
+     * Optional. Pagination token that, if specified, returns the next page of search
+     * results. If empty, returns the first page.
+     * This token is returned in the [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1.SearchCatalogResponse.next_page_token]
+     * field of the response to a previous
      * [SearchCatalogRequest][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog]
-     * call, and that the system should return the next page of data. If empty,
-     * the first page is returned.
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -3101,12 +3227,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * *
-     * Optional. Pagination token returned in an earlier
-     * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1.SearchCatalogResponse.next_page_token], which
-     * indicates that this is a continuation of a prior
+     * Optional. Pagination token that, if specified, returns the next page of search
+     * results. If empty, returns the first page.
+     * This token is returned in the [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1.SearchCatalogResponse.next_page_token]
+     * field of the response to a previous
      * [SearchCatalogRequest][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog]
-     * call, and that the system should return the next page of data. If empty,
-     * the first page is returned.
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -3127,12 +3253,12 @@ public Builder setPageToken(java.lang.String value) { * * *
-     * Optional. Pagination token returned in an earlier
-     * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1.SearchCatalogResponse.next_page_token], which
-     * indicates that this is a continuation of a prior
+     * Optional. Pagination token that, if specified, returns the next page of search
+     * results. If empty, returns the first page.
+     * This token is returned in the [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1.SearchCatalogResponse.next_page_token]
+     * field of the response to a previous
      * [SearchCatalogRequest][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog]
-     * call, and that the system should return the next page of data. If empty,
-     * the first page is returned.
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -3149,12 +3275,12 @@ public Builder clearPageToken() { * * *
-     * Optional. Pagination token returned in an earlier
-     * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1.SearchCatalogResponse.next_page_token], which
-     * indicates that this is a continuation of a prior
+     * Optional. Pagination token that, if specified, returns the next page of search
+     * results. If empty, returns the first page.
+     * This token is returned in the [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1.SearchCatalogResponse.next_page_token]
+     * field of the response to a previous
      * [SearchCatalogRequest][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog]
-     * call, and that the system should return the next page of data. If empty,
-     * the first page is returned.
+     * call.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -3178,12 +3304,11 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { * * *
-     * Specifies the ordering of results, currently supported case-sensitive
-     * choices are:
-     *   * `relevance`, only supports descending
-     *   * `last_modified_timestamp [asc|desc]`, defaults to descending if not
-     *     specified
-     * If not specified, defaults to `relevance` descending.
+     * Specifies the order of results.
+     * Currently supported case-sensitive values are:
+     * * `relevance` that can only be descending
+     * * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default
+     * If this parameter is omitted, it defaults to the descending `relevance`.
      * 
* * string order_by = 5; @@ -3205,12 +3330,11 @@ public java.lang.String getOrderBy() { * * *
-     * Specifies the ordering of results, currently supported case-sensitive
-     * choices are:
-     *   * `relevance`, only supports descending
-     *   * `last_modified_timestamp [asc|desc]`, defaults to descending if not
-     *     specified
-     * If not specified, defaults to `relevance` descending.
+     * Specifies the order of results.
+     * Currently supported case-sensitive values are:
+     * * `relevance` that can only be descending
+     * * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default
+     * If this parameter is omitted, it defaults to the descending `relevance`.
      * 
* * string order_by = 5; @@ -3232,12 +3356,11 @@ public com.google.protobuf.ByteString getOrderByBytes() { * * *
-     * Specifies the ordering of results, currently supported case-sensitive
-     * choices are:
-     *   * `relevance`, only supports descending
-     *   * `last_modified_timestamp [asc|desc]`, defaults to descending if not
-     *     specified
-     * If not specified, defaults to `relevance` descending.
+     * Specifies the order of results.
+     * Currently supported case-sensitive values are:
+     * * `relevance` that can only be descending
+     * * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default
+     * If this parameter is omitted, it defaults to the descending `relevance`.
      * 
* * string order_by = 5; @@ -3258,12 +3381,11 @@ public Builder setOrderBy(java.lang.String value) { * * *
-     * Specifies the ordering of results, currently supported case-sensitive
-     * choices are:
-     *   * `relevance`, only supports descending
-     *   * `last_modified_timestamp [asc|desc]`, defaults to descending if not
-     *     specified
-     * If not specified, defaults to `relevance` descending.
+     * Specifies the order of results.
+     * Currently supported case-sensitive values are:
+     * * `relevance` that can only be descending
+     * * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default
+     * If this parameter is omitted, it defaults to the descending `relevance`.
      * 
* * string order_by = 5; @@ -3280,12 +3402,11 @@ public Builder clearOrderBy() { * * *
-     * Specifies the ordering of results, currently supported case-sensitive
-     * choices are:
-     *   * `relevance`, only supports descending
-     *   * `last_modified_timestamp [asc|desc]`, defaults to descending if not
-     *     specified
-     * If not specified, defaults to `relevance` descending.
+     * Specifies the order of results.
+     * Currently supported case-sensitive values are:
+     * * `relevance` that can only be descending
+     * * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default
+     * If this parameter is omitted, it defaults to the descending `relevance`.
      * 
* * string order_by = 5; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequestOrBuilder.java index 90b845fb..edd3a33b 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogRequestOrBuilder.java @@ -27,10 +27,10 @@ public interface SearchCatalogRequestOrBuilder * * *
-   * 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.
+   * Required. The scope of this search request.
+   * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
+   * empty AND `include_gcp_public_datasets` is set to `false`. In this case,
+   * the request returns an error.
    * 
* * @@ -44,10 +44,10 @@ public interface SearchCatalogRequestOrBuilder * * *
-   * 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.
+   * Required. The scope of this search request.
+   * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
+   * empty AND `include_gcp_public_datasets` is set to `false`. In this case,
+   * the request returns an error.
    * 
* * @@ -61,10 +61,10 @@ public interface SearchCatalogRequestOrBuilder * * *
-   * 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.
+   * Required. The scope of this search request.
+   * The `scope` is invalid if `include_org_ids`, `include_project_ids` are
+   * empty AND `include_gcp_public_datasets` is set to `false`. In this case,
+   * the request returns an error.
    * 
* * @@ -77,16 +77,15 @@ public interface SearchCatalogRequestOrBuilder * * *
-   * 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
-   * * description:y
-   * Note: Query tokens need to have a minimum of 3 characters for substring
-   * matching to work correctly. See [Data Catalog Search
-   * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
-   * for more information.
+   * Optional. The query string with a minimum of 3 characters and specific syntax.
+   * For more information, see
+   * [Data Catalog search syntax](/data-catalog/docs/how-to/search-reference).
+   * An empty query string returns all data assets (in the specified scope)
+   * that you have access to.
+   * A query string can be a simple `xyz` or qualified by predicates:
+   * * `name:x`
+   * * `column:y`
+   * * `description:z`
    * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -98,16 +97,15 @@ public interface SearchCatalogRequestOrBuilder * * *
-   * 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
-   * * description:y
-   * Note: Query tokens need to have a minimum of 3 characters for substring
-   * matching to work correctly. See [Data Catalog Search
-   * Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
-   * for more information.
+   * Optional. The query string with a minimum of 3 characters and specific syntax.
+   * For more information, see
+   * [Data Catalog search syntax](/data-catalog/docs/how-to/search-reference).
+   * An empty query string returns all data assets (in the specified scope)
+   * that you have access to.
+   * A query string can be a simple `xyz` or qualified by predicates:
+   * * `name:x`
+   * * `column:y`
+   * * `description:z`
    * 
* * string query = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -120,8 +118,10 @@ public interface SearchCatalogRequestOrBuilder * * *
-   * 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.
+   * Number of results to return in a single search page.
+   * Can't be negative or 0, defaults to 10 in this case.
+   * The maximum number is 1000. If exceeded, throws an "invalid argument"
+   * exception.
    * 
* * int32 page_size = 2; @@ -134,12 +134,12 @@ public interface SearchCatalogRequestOrBuilder * * *
-   * Optional. Pagination token returned in an earlier
-   * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1.SearchCatalogResponse.next_page_token], which
-   * indicates that this is a continuation of a prior
+   * Optional. Pagination token that, if specified, returns the next page of search
+   * results. If empty, returns the first page.
+   * This token is returned in the [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1.SearchCatalogResponse.next_page_token]
+   * field of the response to a previous
    * [SearchCatalogRequest][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog]
-   * call, and that the system should return the next page of data. If empty,
-   * the first page is returned.
+   * call.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -151,12 +151,12 @@ public interface SearchCatalogRequestOrBuilder * * *
-   * Optional. Pagination token returned in an earlier
-   * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1.SearchCatalogResponse.next_page_token], which
-   * indicates that this is a continuation of a prior
+   * Optional. Pagination token that, if specified, returns the next page of search
+   * results. If empty, returns the first page.
+   * This token is returned in the [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1.SearchCatalogResponse.next_page_token]
+   * field of the response to a previous
    * [SearchCatalogRequest][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog]
-   * call, and that the system should return the next page of data. If empty,
-   * the first page is returned.
+   * call.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -169,12 +169,11 @@ public interface SearchCatalogRequestOrBuilder * * *
-   * Specifies the ordering of results, currently supported case-sensitive
-   * choices are:
-   *   * `relevance`, only supports descending
-   *   * `last_modified_timestamp [asc|desc]`, defaults to descending if not
-   *     specified
-   * If not specified, defaults to `relevance` descending.
+   * Specifies the order of results.
+   * Currently supported case-sensitive values are:
+   * * `relevance` that can only be descending
+   * * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default
+   * If this parameter is omitted, it defaults to the descending `relevance`.
    * 
* * string order_by = 5; @@ -186,12 +185,11 @@ public interface SearchCatalogRequestOrBuilder * * *
-   * Specifies the ordering of results, currently supported case-sensitive
-   * choices are:
-   *   * `relevance`, only supports descending
-   *   * `last_modified_timestamp [asc|desc]`, defaults to descending if not
-   *     specified
-   * If not specified, defaults to `relevance` descending.
+   * Specifies the order of results.
+   * Currently supported case-sensitive values are:
+   * * `relevance` that can only be descending
+   * * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default
+   * If this parameter is omitted, it defaults to the descending `relevance`.
    * 
* * string order_by = 5; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponse.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponse.java index 06525e64..133e4be5 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponse.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponse.java @@ -220,7 +220,8 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResultOrBuilder getResultsOr * * *
-   * The token that can be used to retrieve the next page of results.
+   * Pagination token that can be used in subsequent calls to retrieve the next
+   * page of results.
    * 
* * string next_page_token = 3; @@ -243,7 +244,8 @@ public java.lang.String getNextPageToken() { * * *
-   * The token that can be used to retrieve the next page of results.
+   * Pagination token that can be used in subsequent calls to retrieve the next
+   * page of results.
    * 
* * string next_page_token = 3; @@ -269,10 +271,11 @@ public 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`.
+   * Unreachable locations. Search results don't include data from those
+   * locations.
+   * To get additional information on an error, repeat the search request and
+   * restrict it to specific locations by setting the
+   * `SearchCatalogRequest.scope.restricted_locations` parameter.
    * 
* * repeated string unreachable = 6; @@ -286,10 +289,11 @@ public com.google.protobuf.ProtocolStringList 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`.
+   * Unreachable locations. Search results don't include data from those
+   * locations.
+   * To get additional information on an error, repeat the search request and
+   * restrict it to specific locations by setting the
+   * `SearchCatalogRequest.scope.restricted_locations` parameter.
    * 
* * repeated string unreachable = 6; @@ -303,10 +307,11 @@ public 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`.
+   * Unreachable locations. Search results don't include data from those
+   * locations.
+   * To get additional information on an error, repeat the search request and
+   * restrict it to specific locations by setting the
+   * `SearchCatalogRequest.scope.restricted_locations` parameter.
    * 
* * repeated string unreachable = 6; @@ -321,10 +326,11 @@ public 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`.
+   * Unreachable locations. Search results don't include data from those
+   * locations.
+   * To get additional information on an error, repeat the search request and
+   * restrict it to specific locations by setting the
+   * `SearchCatalogRequest.scope.restricted_locations` parameter.
    * 
* * repeated string unreachable = 6; @@ -1109,7 +1115,8 @@ public com.google.cloud.datacatalog.v1.SearchCatalogResult.Builder addResultsBui * * *
-     * The token that can be used to retrieve the next page of results.
+     * Pagination token that can be used in subsequent calls to retrieve the next
+     * page of results.
      * 
* * string next_page_token = 3; @@ -1131,7 +1138,8 @@ public java.lang.String getNextPageToken() { * * *
-     * The token that can be used to retrieve the next page of results.
+     * Pagination token that can be used in subsequent calls to retrieve the next
+     * page of results.
      * 
* * string next_page_token = 3; @@ -1153,7 +1161,8 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * * *
-     * The token that can be used to retrieve the next page of results.
+     * Pagination token that can be used in subsequent calls to retrieve the next
+     * page of results.
      * 
* * string next_page_token = 3; @@ -1174,7 +1183,8 @@ public Builder setNextPageToken(java.lang.String value) { * * *
-     * The token that can be used to retrieve the next page of results.
+     * Pagination token that can be used in subsequent calls to retrieve the next
+     * page of results.
      * 
* * string next_page_token = 3; @@ -1191,7 +1201,8 @@ public Builder clearNextPageToken() { * * *
-     * The token that can be used to retrieve the next page of results.
+     * Pagination token that can be used in subsequent calls to retrieve the next
+     * page of results.
      * 
* * string next_page_token = 3; @@ -1223,10 +1234,11 @@ private void ensureUnreachableIsMutable() { * * *
-     * 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`.
+     * Unreachable locations. Search results don't include data from those
+     * locations.
+     * To get additional information on an error, repeat the search request and
+     * restrict it to specific locations by setting the
+     * `SearchCatalogRequest.scope.restricted_locations` parameter.
      * 
* * repeated string unreachable = 6; @@ -1240,10 +1252,11 @@ public com.google.protobuf.ProtocolStringList 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`.
+     * Unreachable locations. Search results don't include data from those
+     * locations.
+     * To get additional information on an error, repeat the search request and
+     * restrict it to specific locations by setting the
+     * `SearchCatalogRequest.scope.restricted_locations` parameter.
      * 
* * repeated string unreachable = 6; @@ -1257,10 +1270,11 @@ public 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`.
+     * Unreachable locations. Search results don't include data from those
+     * locations.
+     * To get additional information on an error, repeat the search request and
+     * restrict it to specific locations by setting the
+     * `SearchCatalogRequest.scope.restricted_locations` parameter.
      * 
* * repeated string unreachable = 6; @@ -1275,10 +1289,11 @@ public 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`.
+     * Unreachable locations. Search results don't include data from those
+     * locations.
+     * To get additional information on an error, repeat the search request and
+     * restrict it to specific locations by setting the
+     * `SearchCatalogRequest.scope.restricted_locations` parameter.
      * 
* * repeated string unreachable = 6; @@ -1293,10 +1308,11 @@ public com.google.protobuf.ByteString getUnreachableBytes(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`.
+     * Unreachable locations. Search results don't include data from those
+     * locations.
+     * To get additional information on an error, repeat the search request and
+     * restrict it to specific locations by setting the
+     * `SearchCatalogRequest.scope.restricted_locations` parameter.
      * 
* * repeated string unreachable = 6; @@ -1318,10 +1334,11 @@ public Builder setUnreachable(int index, java.lang.String value) { * * *
-     * 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`.
+     * Unreachable locations. Search results don't include data from those
+     * locations.
+     * To get additional information on an error, repeat the search request and
+     * restrict it to specific locations by setting the
+     * `SearchCatalogRequest.scope.restricted_locations` parameter.
      * 
* * repeated string unreachable = 6; @@ -1342,10 +1359,11 @@ public Builder addUnreachable(java.lang.String value) { * * *
-     * 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`.
+     * Unreachable locations. Search results don't include data from those
+     * locations.
+     * To get additional information on an error, repeat the search request and
+     * restrict it to specific locations by setting the
+     * `SearchCatalogRequest.scope.restricted_locations` parameter.
      * 
* * repeated string unreachable = 6; @@ -1363,10 +1381,11 @@ public Builder addAllUnreachable(java.lang.Iterable values) { * * *
-     * 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`.
+     * Unreachable locations. Search results don't include data from those
+     * locations.
+     * To get additional information on an error, repeat the search request and
+     * restrict it to specific locations by setting the
+     * `SearchCatalogRequest.scope.restricted_locations` parameter.
      * 
* * repeated string unreachable = 6; @@ -1383,10 +1402,11 @@ public Builder clearUnreachable() { * * *
-     * 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`.
+     * Unreachable locations. Search results don't include data from those
+     * locations.
+     * To get additional information on an error, repeat the search request and
+     * restrict it to specific locations by setting the
+     * `SearchCatalogRequest.scope.restricted_locations` parameter.
      * 
* * repeated string unreachable = 6; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponseOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponseOrBuilder.java index daedf937..3f0fbd17 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponseOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResponseOrBuilder.java @@ -79,7 +79,8 @@ public interface SearchCatalogResponseOrBuilder * * *
-   * The token that can be used to retrieve the next page of results.
+   * Pagination token that can be used in subsequent calls to retrieve the next
+   * page of results.
    * 
* * string next_page_token = 3; @@ -91,7 +92,8 @@ public interface SearchCatalogResponseOrBuilder * * *
-   * The token that can be used to retrieve the next page of results.
+   * Pagination token that can be used in subsequent calls to retrieve the next
+   * page of results.
    * 
* * string next_page_token = 3; @@ -104,10 +106,11 @@ public interface SearchCatalogResponseOrBuilder * * *
-   * 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`.
+   * Unreachable locations. Search results don't include data from those
+   * locations.
+   * To get additional information on an error, repeat the search request and
+   * restrict it to specific locations by setting the
+   * `SearchCatalogRequest.scope.restricted_locations` parameter.
    * 
* * repeated string unreachable = 6; @@ -119,10 +122,11 @@ public interface SearchCatalogResponseOrBuilder * * *
-   * 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`.
+   * Unreachable locations. Search results don't include data from those
+   * locations.
+   * To get additional information on an error, repeat the search request and
+   * restrict it to specific locations by setting the
+   * `SearchCatalogRequest.scope.restricted_locations` parameter.
    * 
* * repeated string unreachable = 6; @@ -134,10 +138,11 @@ public interface SearchCatalogResponseOrBuilder * * *
-   * 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`.
+   * Unreachable locations. Search results don't include data from those
+   * locations.
+   * To get additional information on an error, repeat the search request and
+   * restrict it to specific locations by setting the
+   * `SearchCatalogRequest.scope.restricted_locations` parameter.
    * 
* * repeated string unreachable = 6; @@ -150,10 +155,11 @@ public interface SearchCatalogResponseOrBuilder * * *
-   * 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`.
+   * Unreachable locations. Search results don't include data from those
+   * locations.
+   * To get additional information on an error, repeat the search request and
+   * restrict it to specific locations by setting the
+   * `SearchCatalogRequest.scope.restricted_locations` parameter.
    * 
* * repeated string unreachable = 6; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResult.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResult.java index 2cddabe9..65e4ae3a 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResult.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResult.java @@ -22,8 +22,8 @@ * * *
- * A result that appears in the response of a search request. Each result
- * captures details of one entry that matches the search.
+ * Result in the response to a search request.
+ * Each result captures details of one entry that matches the search.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.SearchCatalogResult} @@ -226,8 +226,9 @@ public SystemCase getSystemCase() { * * *
-   * Type of the search result. This field can be used to determine which Get
-   * method to call to fetch the full resource.
+   * Type of the search result.
+   * You can use this field to determine which get method to call to fetch the
+   * full resource.
    * 
* * .google.cloud.datacatalog.v1.SearchResultType search_result_type = 1; @@ -242,8 +243,9 @@ public int getSearchResultTypeValue() { * * *
-   * Type of the search result. This field can be used to determine which Get
-   * method to call to fetch the full resource.
+   * Type of the search result.
+   * You can use this field to determine which get method to call to fetch the
+   * full resource.
    * 
* * .google.cloud.datacatalog.v1.SearchResultType search_result_type = 1; @@ -264,10 +266,10 @@ public com.google.cloud.datacatalog.v1.SearchResultType getSearchResultType() { * * *
-   * Sub-type of the search result. This is a dot-delimited description of the
-   * resource's full type, and is the same as the value callers would provide in
-   * the "type" search facet.  Examples: `entry.table`, `entry.dataStream`,
-   * `tagTemplate`.
+   * Sub-type of the search result.
+   * A dot-delimited full type of the resource. The same type you
+   * specify in the `type` search predicate.
+   * Examples: `entry.table`, `entry.dataStream`, `tagTemplate`.
    * 
* * string search_result_subtype = 2; @@ -290,10 +292,10 @@ public java.lang.String getSearchResultSubtype() { * * *
-   * Sub-type of the search result. This is a dot-delimited description of the
-   * resource's full type, and is the same as the value callers would provide in
-   * the "type" search facet.  Examples: `entry.table`, `entry.dataStream`,
-   * `tagTemplate`.
+   * Sub-type of the search result.
+   * A dot-delimited full type of the resource. The same type you
+   * specify in the `type` search predicate.
+   * Examples: `entry.table`, `entry.dataStream`, `tagTemplate`.
    * 
* * string search_result_subtype = 2; @@ -319,10 +321,10 @@ public com.google.protobuf.ByteString getSearchResultSubtypeBytes() { * * *
-   * The relative resource name of the resource in URL format.
+   * The relative name of the resource in URL format.
    * Examples:
-   *  * `projects/{project_id}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}`
-   *  * `projects/{project_id}/tagTemplates/{tag_template_id}`
+   *  * `projects/{PROJECT_ID}/locations/{LOCATION_ID}/entryGroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`
+   *  * `projects/{PROJECT_ID}/tagTemplates/{TAG_TEMPLATE_ID}`
    * 
* * string relative_resource_name = 3; @@ -345,10 +347,10 @@ public java.lang.String getRelativeResourceName() { * * *
-   * The relative resource name of the resource in URL format.
+   * The relative name of the resource in URL format.
    * Examples:
-   *  * `projects/{project_id}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}`
-   *  * `projects/{project_id}/tagTemplates/{tag_template_id}`
+   *  * `projects/{PROJECT_ID}/locations/{LOCATION_ID}/entryGroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`
+   *  * `projects/{PROJECT_ID}/tagTemplates/{TAG_TEMPLATE_ID}`
    * 
* * string relative_resource_name = 3; @@ -374,10 +376,11 @@ public com.google.protobuf.ByteString getRelativeResourceNameBytes() { * * *
-   * The full name of the cloud resource the entry belongs to. See:
-   * https://cloud.google.com/apis/design/resource_names#full_resource_name.
+   * The full name of the Google Cloud resource the entry belongs to.
+   * For more information, see [Full Resource Name]
+   * (/apis/design/resource_names#full_resource_name).
    * Example:
-   *  * `//bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId`
+   * `//bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID`
    * 
* * string linked_resource = 4; @@ -400,10 +403,11 @@ public java.lang.String getLinkedResource() { * * *
-   * The full name of the cloud resource the entry belongs to. See:
-   * https://cloud.google.com/apis/design/resource_names#full_resource_name.
+   * The full name of the Google Cloud resource the entry belongs to.
+   * For more information, see [Full Resource Name]
+   * (/apis/design/resource_names#full_resource_name).
    * Example:
-   *  * `//bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId`
+   * `//bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID`
    * 
* * string linked_resource = 4; @@ -429,7 +433,7 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { * * *
-   * Last-modified timestamp of the entry from the managing system.
+   * The last modification timestamp of the entry in the source system.
    * 
* * .google.protobuf.Timestamp modify_time = 7; @@ -444,7 +448,7 @@ public boolean hasModifyTime() { * * *
-   * Last-modified timestamp of the entry from the managing system.
+   * The last modification timestamp of the entry in the source system.
    * 
* * .google.protobuf.Timestamp modify_time = 7; @@ -459,7 +463,7 @@ public com.google.protobuf.Timestamp getModifyTime() { * * *
-   * Last-modified timestamp of the entry from the managing system.
+   * The last modification timestamp of the entry in the source system.
    * 
* * .google.protobuf.Timestamp modify_time = 7; @@ -474,8 +478,8 @@ public com.google.protobuf.TimestampOrBuilder getModifyTimeOrBuilder() { * * *
-   * Output only. This field indicates the entry's source system that Data Catalog
-   * integrates with, such as BigQuery or Cloud Pub/Sub.
+   * Output only. The source system that Data Catalog automatically integrates  with, such
+   * as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
    * 
* * @@ -491,8 +495,8 @@ public boolean hasIntegratedSystem() { * * *
-   * Output only. This field indicates the entry's source system that Data Catalog
-   * integrates with, such as BigQuery or Cloud Pub/Sub.
+   * Output only. The source system that Data Catalog automatically integrates  with, such
+   * as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
    * 
* * @@ -511,8 +515,8 @@ public int getIntegratedSystemValue() { * * *
-   * Output only. This field indicates the entry's source system that Data Catalog
-   * integrates with, such as BigQuery or Cloud Pub/Sub.
+   * Output only. The source system that Data Catalog automatically integrates  with, such
+   * as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
    * 
* * @@ -538,8 +542,7 @@ public com.google.cloud.datacatalog.v1.IntegratedSystem getIntegratedSystem() { * * *
-   * This field indicates the entry's source system that Data Catalog does not
-   * integrate with.
+   * Custom source system that you can manually integrate Data Catalog with.
    * 
* * string user_specified_system = 9; @@ -553,8 +556,7 @@ public boolean hasUserSpecifiedSystem() { * * *
-   * This field indicates the entry's source system that Data Catalog does not
-   * integrate with.
+   * Custom source system that you can manually integrate Data Catalog with.
    * 
* * string user_specified_system = 9; @@ -581,8 +583,7 @@ public java.lang.String getUserSpecifiedSystem() { * * *
-   * This field indicates the entry's source system that Data Catalog does not
-   * integrate with.
+   * Custom source system that you can manually integrate Data Catalog with.
    * 
* * string user_specified_system = 9; @@ -612,15 +613,14 @@ public com.google.protobuf.ByteString getUserSpecifiedSystemBytes() { * * *
-   * Fully Qualified Name of the resource.
-   * There are two main forms of FQNs:
-   * {system}:{project}.{dot-separated path to resource}
-   *     for non-regionalized resources
-   * {system}:{project}.{location id}.{dot-separated path to resource}
-   *     for regionalized resources
-   * Examples:
-   * * dataproc_metastore:projectId.locationId.instanceId.databaseId.tableId
-   * * bigquery:table.project_id.dataset_id.table_id
+   * Fully qualified name (FQN) of the resource.
+   * FQNs take two forms:
+   * * For non-regionalized resources:
+   *   `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
+   * * For regionalized resources:
+   *   `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
+   * Example for a DPMS table:
+   * `dataproc_metastore:PROJECT_ID.LOCATION_ID.INSTANCE_ID.DATABASE_ID.TABLE_ID`
    * 
* * string fully_qualified_name = 10; @@ -643,15 +643,14 @@ public java.lang.String getFullyQualifiedName() { * * *
-   * Fully Qualified Name of the resource.
-   * There are two main forms of FQNs:
-   * {system}:{project}.{dot-separated path to resource}
-   *     for non-regionalized resources
-   * {system}:{project}.{location id}.{dot-separated path to resource}
-   *     for regionalized resources
-   * Examples:
-   * * dataproc_metastore:projectId.locationId.instanceId.databaseId.tableId
-   * * bigquery:table.project_id.dataset_id.table_id
+   * Fully qualified name (FQN) of the resource.
+   * FQNs take two forms:
+   * * For non-regionalized resources:
+   *   `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
+   * * For regionalized resources:
+   *   `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
+   * Example for a DPMS table:
+   * `dataproc_metastore:PROJECT_ID.LOCATION_ID.INSTANCE_ID.DATABASE_ID.TABLE_ID`
    * 
* * string fully_qualified_name = 10; @@ -924,8 +923,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * A result that appears in the response of a search request. Each result
-   * captures details of one entry that matches the search.
+   * Result in the response to a search request.
+   * Each result captures details of one entry that matches the search.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.SearchCatalogResult} @@ -1167,8 +1166,9 @@ public Builder clearSystem() { * * *
-     * Type of the search result. This field can be used to determine which Get
-     * method to call to fetch the full resource.
+     * Type of the search result.
+     * You can use this field to determine which get method to call to fetch the
+     * full resource.
      * 
* * .google.cloud.datacatalog.v1.SearchResultType search_result_type = 1; @@ -1183,8 +1183,9 @@ public int getSearchResultTypeValue() { * * *
-     * Type of the search result. This field can be used to determine which Get
-     * method to call to fetch the full resource.
+     * Type of the search result.
+     * You can use this field to determine which get method to call to fetch the
+     * full resource.
      * 
* * .google.cloud.datacatalog.v1.SearchResultType search_result_type = 1; @@ -1202,8 +1203,9 @@ public Builder setSearchResultTypeValue(int value) { * * *
-     * Type of the search result. This field can be used to determine which Get
-     * method to call to fetch the full resource.
+     * Type of the search result.
+     * You can use this field to determine which get method to call to fetch the
+     * full resource.
      * 
* * .google.cloud.datacatalog.v1.SearchResultType search_result_type = 1; @@ -1223,8 +1225,9 @@ public com.google.cloud.datacatalog.v1.SearchResultType getSearchResultType() { * * *
-     * Type of the search result. This field can be used to determine which Get
-     * method to call to fetch the full resource.
+     * Type of the search result.
+     * You can use this field to determine which get method to call to fetch the
+     * full resource.
      * 
* * .google.cloud.datacatalog.v1.SearchResultType search_result_type = 1; @@ -1245,8 +1248,9 @@ public Builder setSearchResultType(com.google.cloud.datacatalog.v1.SearchResultT * * *
-     * Type of the search result. This field can be used to determine which Get
-     * method to call to fetch the full resource.
+     * Type of the search result.
+     * You can use this field to determine which get method to call to fetch the
+     * full resource.
      * 
* * .google.cloud.datacatalog.v1.SearchResultType search_result_type = 1; @@ -1265,10 +1269,10 @@ public Builder clearSearchResultType() { * * *
-     * Sub-type of the search result. This is a dot-delimited description of the
-     * resource's full type, and is the same as the value callers would provide in
-     * the "type" search facet.  Examples: `entry.table`, `entry.dataStream`,
-     * `tagTemplate`.
+     * Sub-type of the search result.
+     * A dot-delimited full type of the resource. The same type you
+     * specify in the `type` search predicate.
+     * Examples: `entry.table`, `entry.dataStream`, `tagTemplate`.
      * 
* * string search_result_subtype = 2; @@ -1290,10 +1294,10 @@ public java.lang.String getSearchResultSubtype() { * * *
-     * Sub-type of the search result. This is a dot-delimited description of the
-     * resource's full type, and is the same as the value callers would provide in
-     * the "type" search facet.  Examples: `entry.table`, `entry.dataStream`,
-     * `tagTemplate`.
+     * Sub-type of the search result.
+     * A dot-delimited full type of the resource. The same type you
+     * specify in the `type` search predicate.
+     * Examples: `entry.table`, `entry.dataStream`, `tagTemplate`.
      * 
* * string search_result_subtype = 2; @@ -1315,10 +1319,10 @@ public com.google.protobuf.ByteString getSearchResultSubtypeBytes() { * * *
-     * Sub-type of the search result. This is a dot-delimited description of the
-     * resource's full type, and is the same as the value callers would provide in
-     * the "type" search facet.  Examples: `entry.table`, `entry.dataStream`,
-     * `tagTemplate`.
+     * Sub-type of the search result.
+     * A dot-delimited full type of the resource. The same type you
+     * specify in the `type` search predicate.
+     * Examples: `entry.table`, `entry.dataStream`, `tagTemplate`.
      * 
* * string search_result_subtype = 2; @@ -1339,10 +1343,10 @@ public Builder setSearchResultSubtype(java.lang.String value) { * * *
-     * Sub-type of the search result. This is a dot-delimited description of the
-     * resource's full type, and is the same as the value callers would provide in
-     * the "type" search facet.  Examples: `entry.table`, `entry.dataStream`,
-     * `tagTemplate`.
+     * Sub-type of the search result.
+     * A dot-delimited full type of the resource. The same type you
+     * specify in the `type` search predicate.
+     * Examples: `entry.table`, `entry.dataStream`, `tagTemplate`.
      * 
* * string search_result_subtype = 2; @@ -1359,10 +1363,10 @@ public Builder clearSearchResultSubtype() { * * *
-     * Sub-type of the search result. This is a dot-delimited description of the
-     * resource's full type, and is the same as the value callers would provide in
-     * the "type" search facet.  Examples: `entry.table`, `entry.dataStream`,
-     * `tagTemplate`.
+     * Sub-type of the search result.
+     * A dot-delimited full type of the resource. The same type you
+     * specify in the `type` search predicate.
+     * Examples: `entry.table`, `entry.dataStream`, `tagTemplate`.
      * 
* * string search_result_subtype = 2; @@ -1386,10 +1390,10 @@ public Builder setSearchResultSubtypeBytes(com.google.protobuf.ByteString value) * * *
-     * The relative resource name of the resource in URL format.
+     * The relative name of the resource in URL format.
      * Examples:
-     *  * `projects/{project_id}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}`
-     *  * `projects/{project_id}/tagTemplates/{tag_template_id}`
+     *  * `projects/{PROJECT_ID}/locations/{LOCATION_ID}/entryGroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`
+     *  * `projects/{PROJECT_ID}/tagTemplates/{TAG_TEMPLATE_ID}`
      * 
* * string relative_resource_name = 3; @@ -1411,10 +1415,10 @@ public java.lang.String getRelativeResourceName() { * * *
-     * The relative resource name of the resource in URL format.
+     * The relative name of the resource in URL format.
      * Examples:
-     *  * `projects/{project_id}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}`
-     *  * `projects/{project_id}/tagTemplates/{tag_template_id}`
+     *  * `projects/{PROJECT_ID}/locations/{LOCATION_ID}/entryGroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`
+     *  * `projects/{PROJECT_ID}/tagTemplates/{TAG_TEMPLATE_ID}`
      * 
* * string relative_resource_name = 3; @@ -1436,10 +1440,10 @@ public com.google.protobuf.ByteString getRelativeResourceNameBytes() { * * *
-     * The relative resource name of the resource in URL format.
+     * The relative name of the resource in URL format.
      * Examples:
-     *  * `projects/{project_id}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}`
-     *  * `projects/{project_id}/tagTemplates/{tag_template_id}`
+     *  * `projects/{PROJECT_ID}/locations/{LOCATION_ID}/entryGroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`
+     *  * `projects/{PROJECT_ID}/tagTemplates/{TAG_TEMPLATE_ID}`
      * 
* * string relative_resource_name = 3; @@ -1460,10 +1464,10 @@ public Builder setRelativeResourceName(java.lang.String value) { * * *
-     * The relative resource name of the resource in URL format.
+     * The relative name of the resource in URL format.
      * Examples:
-     *  * `projects/{project_id}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}`
-     *  * `projects/{project_id}/tagTemplates/{tag_template_id}`
+     *  * `projects/{PROJECT_ID}/locations/{LOCATION_ID}/entryGroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`
+     *  * `projects/{PROJECT_ID}/tagTemplates/{TAG_TEMPLATE_ID}`
      * 
* * string relative_resource_name = 3; @@ -1480,10 +1484,10 @@ public Builder clearRelativeResourceName() { * * *
-     * The relative resource name of the resource in URL format.
+     * The relative name of the resource in URL format.
      * Examples:
-     *  * `projects/{project_id}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}`
-     *  * `projects/{project_id}/tagTemplates/{tag_template_id}`
+     *  * `projects/{PROJECT_ID}/locations/{LOCATION_ID}/entryGroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`
+     *  * `projects/{PROJECT_ID}/tagTemplates/{TAG_TEMPLATE_ID}`
      * 
* * string relative_resource_name = 3; @@ -1507,10 +1511,11 @@ public Builder setRelativeResourceNameBytes(com.google.protobuf.ByteString value * * *
-     * The full name of the cloud resource the entry belongs to. See:
-     * https://cloud.google.com/apis/design/resource_names#full_resource_name.
+     * The full name of the Google Cloud resource the entry belongs to.
+     * For more information, see [Full Resource Name]
+     * (/apis/design/resource_names#full_resource_name).
      * Example:
-     *  * `//bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId`
+     * `//bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID`
      * 
* * string linked_resource = 4; @@ -1532,10 +1537,11 @@ public java.lang.String getLinkedResource() { * * *
-     * The full name of the cloud resource the entry belongs to. See:
-     * https://cloud.google.com/apis/design/resource_names#full_resource_name.
+     * The full name of the Google Cloud resource the entry belongs to.
+     * For more information, see [Full Resource Name]
+     * (/apis/design/resource_names#full_resource_name).
      * Example:
-     *  * `//bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId`
+     * `//bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID`
      * 
* * string linked_resource = 4; @@ -1557,10 +1563,11 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { * * *
-     * The full name of the cloud resource the entry belongs to. See:
-     * https://cloud.google.com/apis/design/resource_names#full_resource_name.
+     * The full name of the Google Cloud resource the entry belongs to.
+     * For more information, see [Full Resource Name]
+     * (/apis/design/resource_names#full_resource_name).
      * Example:
-     *  * `//bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId`
+     * `//bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID`
      * 
* * string linked_resource = 4; @@ -1581,10 +1588,11 @@ public Builder setLinkedResource(java.lang.String value) { * * *
-     * The full name of the cloud resource the entry belongs to. See:
-     * https://cloud.google.com/apis/design/resource_names#full_resource_name.
+     * The full name of the Google Cloud resource the entry belongs to.
+     * For more information, see [Full Resource Name]
+     * (/apis/design/resource_names#full_resource_name).
      * Example:
-     *  * `//bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId`
+     * `//bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID`
      * 
* * string linked_resource = 4; @@ -1601,10 +1609,11 @@ public Builder clearLinkedResource() { * * *
-     * The full name of the cloud resource the entry belongs to. See:
-     * https://cloud.google.com/apis/design/resource_names#full_resource_name.
+     * The full name of the Google Cloud resource the entry belongs to.
+     * For more information, see [Full Resource Name]
+     * (/apis/design/resource_names#full_resource_name).
      * Example:
-     *  * `//bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId`
+     * `//bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID`
      * 
* * string linked_resource = 4; @@ -1633,7 +1642,7 @@ public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { * * *
-     * Last-modified timestamp of the entry from the managing system.
+     * The last modification timestamp of the entry in the source system.
      * 
* * .google.protobuf.Timestamp modify_time = 7; @@ -1647,7 +1656,7 @@ public boolean hasModifyTime() { * * *
-     * Last-modified timestamp of the entry from the managing system.
+     * The last modification timestamp of the entry in the source system.
      * 
* * .google.protobuf.Timestamp modify_time = 7; @@ -1667,7 +1676,7 @@ public com.google.protobuf.Timestamp getModifyTime() { * * *
-     * Last-modified timestamp of the entry from the managing system.
+     * The last modification timestamp of the entry in the source system.
      * 
* * .google.protobuf.Timestamp modify_time = 7; @@ -1689,7 +1698,7 @@ public Builder setModifyTime(com.google.protobuf.Timestamp value) { * * *
-     * Last-modified timestamp of the entry from the managing system.
+     * The last modification timestamp of the entry in the source system.
      * 
* * .google.protobuf.Timestamp modify_time = 7; @@ -1708,7 +1717,7 @@ public Builder setModifyTime(com.google.protobuf.Timestamp.Builder builderForVal * * *
-     * Last-modified timestamp of the entry from the managing system.
+     * The last modification timestamp of the entry in the source system.
      * 
* * .google.protobuf.Timestamp modify_time = 7; @@ -1732,7 +1741,7 @@ public Builder mergeModifyTime(com.google.protobuf.Timestamp value) { * * *
-     * Last-modified timestamp of the entry from the managing system.
+     * The last modification timestamp of the entry in the source system.
      * 
* * .google.protobuf.Timestamp modify_time = 7; @@ -1752,7 +1761,7 @@ public Builder clearModifyTime() { * * *
-     * Last-modified timestamp of the entry from the managing system.
+     * The last modification timestamp of the entry in the source system.
      * 
* * .google.protobuf.Timestamp modify_time = 7; @@ -1766,7 +1775,7 @@ public com.google.protobuf.Timestamp.Builder getModifyTimeBuilder() { * * *
-     * Last-modified timestamp of the entry from the managing system.
+     * The last modification timestamp of the entry in the source system.
      * 
* * .google.protobuf.Timestamp modify_time = 7; @@ -1784,7 +1793,7 @@ public com.google.protobuf.TimestampOrBuilder getModifyTimeOrBuilder() { * * *
-     * Last-modified timestamp of the entry from the managing system.
+     * The last modification timestamp of the entry in the source system.
      * 
* * .google.protobuf.Timestamp modify_time = 7; @@ -1810,8 +1819,8 @@ public com.google.protobuf.TimestampOrBuilder getModifyTimeOrBuilder() { * * *
-     * Output only. This field indicates the entry's source system that Data Catalog
-     * integrates with, such as BigQuery or Cloud Pub/Sub.
+     * Output only. The source system that Data Catalog automatically integrates  with, such
+     * as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
      * 
* * @@ -1828,8 +1837,8 @@ public boolean hasIntegratedSystem() { * * *
-     * Output only. This field indicates the entry's source system that Data Catalog
-     * integrates with, such as BigQuery or Cloud Pub/Sub.
+     * Output only. The source system that Data Catalog automatically integrates  with, such
+     * as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
      * 
* * @@ -1849,8 +1858,8 @@ public int getIntegratedSystemValue() { * * *
-     * Output only. This field indicates the entry's source system that Data Catalog
-     * integrates with, such as BigQuery or Cloud Pub/Sub.
+     * Output only. The source system that Data Catalog automatically integrates  with, such
+     * as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
      * 
* * @@ -1870,8 +1879,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 Cloud Pub/Sub.
+     * Output only. The source system that Data Catalog automatically integrates  with, such
+     * as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
      * 
* * @@ -1896,8 +1905,8 @@ public com.google.cloud.datacatalog.v1.IntegratedSystem getIntegratedSystem() { * * *
-     * Output only. This field indicates the entry's source system that Data Catalog
-     * integrates with, such as BigQuery or Cloud Pub/Sub.
+     * Output only. The source system that Data Catalog automatically integrates  with, such
+     * as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
      * 
* * @@ -1920,8 +1929,8 @@ public Builder setIntegratedSystem(com.google.cloud.datacatalog.v1.IntegratedSys * * *
-     * Output only. This field indicates the entry's source system that Data Catalog
-     * integrates with, such as BigQuery or Cloud Pub/Sub.
+     * Output only. The source system that Data Catalog automatically integrates  with, such
+     * as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
      * 
* * @@ -1943,8 +1952,7 @@ public Builder clearIntegratedSystem() { * * *
-     * This field indicates the entry's source system that Data Catalog does not
-     * integrate with.
+     * Custom source system that you can manually integrate Data Catalog with.
      * 
* * string user_specified_system = 9; @@ -1959,8 +1967,7 @@ public boolean hasUserSpecifiedSystem() { * * *
-     * This field indicates the entry's source system that Data Catalog does not
-     * integrate with.
+     * Custom source system that you can manually integrate Data Catalog with.
      * 
* * string user_specified_system = 9; @@ -1988,8 +1995,7 @@ public java.lang.String getUserSpecifiedSystem() { * * *
-     * This field indicates the entry's source system that Data Catalog does not
-     * integrate with.
+     * Custom source system that you can manually integrate Data Catalog with.
      * 
* * string user_specified_system = 9; @@ -2017,8 +2023,7 @@ public com.google.protobuf.ByteString getUserSpecifiedSystemBytes() { * * *
-     * This field indicates the entry's source system that Data Catalog does not
-     * integrate with.
+     * Custom source system that you can manually integrate Data Catalog with.
      * 
* * string user_specified_system = 9; @@ -2039,8 +2044,7 @@ public Builder setUserSpecifiedSystem(java.lang.String value) { * * *
-     * This field indicates the entry's source system that Data Catalog does not
-     * integrate with.
+     * Custom source system that you can manually integrate Data Catalog with.
      * 
* * string user_specified_system = 9; @@ -2059,8 +2063,7 @@ public Builder clearUserSpecifiedSystem() { * * *
-     * This field indicates the entry's source system that Data Catalog does not
-     * integrate with.
+     * Custom source system that you can manually integrate Data Catalog with.
      * 
* * string user_specified_system = 9; @@ -2084,15 +2087,14 @@ public Builder setUserSpecifiedSystemBytes(com.google.protobuf.ByteString value) * * *
-     * Fully Qualified Name of the resource.
-     * There are two main forms of FQNs:
-     * {system}:{project}.{dot-separated path to resource}
-     *     for non-regionalized resources
-     * {system}:{project}.{location id}.{dot-separated path to resource}
-     *     for regionalized resources
-     * Examples:
-     * * dataproc_metastore:projectId.locationId.instanceId.databaseId.tableId
-     * * bigquery:table.project_id.dataset_id.table_id
+     * Fully qualified name (FQN) of the resource.
+     * FQNs take two forms:
+     * * For non-regionalized resources:
+     *   `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
+     * * For regionalized resources:
+     *   `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
+     * Example for a DPMS table:
+     * `dataproc_metastore:PROJECT_ID.LOCATION_ID.INSTANCE_ID.DATABASE_ID.TABLE_ID`
      * 
* * string fully_qualified_name = 10; @@ -2114,15 +2116,14 @@ public java.lang.String getFullyQualifiedName() { * * *
-     * Fully Qualified Name of the resource.
-     * There are two main forms of FQNs:
-     * {system}:{project}.{dot-separated path to resource}
-     *     for non-regionalized resources
-     * {system}:{project}.{location id}.{dot-separated path to resource}
-     *     for regionalized resources
-     * Examples:
-     * * dataproc_metastore:projectId.locationId.instanceId.databaseId.tableId
-     * * bigquery:table.project_id.dataset_id.table_id
+     * Fully qualified name (FQN) of the resource.
+     * FQNs take two forms:
+     * * For non-regionalized resources:
+     *   `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
+     * * For regionalized resources:
+     *   `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
+     * Example for a DPMS table:
+     * `dataproc_metastore:PROJECT_ID.LOCATION_ID.INSTANCE_ID.DATABASE_ID.TABLE_ID`
      * 
* * string fully_qualified_name = 10; @@ -2144,15 +2145,14 @@ public com.google.protobuf.ByteString getFullyQualifiedNameBytes() { * * *
-     * Fully Qualified Name of the resource.
-     * There are two main forms of FQNs:
-     * {system}:{project}.{dot-separated path to resource}
-     *     for non-regionalized resources
-     * {system}:{project}.{location id}.{dot-separated path to resource}
-     *     for regionalized resources
-     * Examples:
-     * * dataproc_metastore:projectId.locationId.instanceId.databaseId.tableId
-     * * bigquery:table.project_id.dataset_id.table_id
+     * Fully qualified name (FQN) of the resource.
+     * FQNs take two forms:
+     * * For non-regionalized resources:
+     *   `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
+     * * For regionalized resources:
+     *   `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
+     * Example for a DPMS table:
+     * `dataproc_metastore:PROJECT_ID.LOCATION_ID.INSTANCE_ID.DATABASE_ID.TABLE_ID`
      * 
* * string fully_qualified_name = 10; @@ -2173,15 +2173,14 @@ public Builder setFullyQualifiedName(java.lang.String value) { * * *
-     * Fully Qualified Name of the resource.
-     * There are two main forms of FQNs:
-     * {system}:{project}.{dot-separated path to resource}
-     *     for non-regionalized resources
-     * {system}:{project}.{location id}.{dot-separated path to resource}
-     *     for regionalized resources
-     * Examples:
-     * * dataproc_metastore:projectId.locationId.instanceId.databaseId.tableId
-     * * bigquery:table.project_id.dataset_id.table_id
+     * Fully qualified name (FQN) of the resource.
+     * FQNs take two forms:
+     * * For non-regionalized resources:
+     *   `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
+     * * For regionalized resources:
+     *   `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
+     * Example for a DPMS table:
+     * `dataproc_metastore:PROJECT_ID.LOCATION_ID.INSTANCE_ID.DATABASE_ID.TABLE_ID`
      * 
* * string fully_qualified_name = 10; @@ -2198,15 +2197,14 @@ public Builder clearFullyQualifiedName() { * * *
-     * Fully Qualified Name of the resource.
-     * There are two main forms of FQNs:
-     * {system}:{project}.{dot-separated path to resource}
-     *     for non-regionalized resources
-     * {system}:{project}.{location id}.{dot-separated path to resource}
-     *     for regionalized resources
-     * Examples:
-     * * dataproc_metastore:projectId.locationId.instanceId.databaseId.tableId
-     * * bigquery:table.project_id.dataset_id.table_id
+     * Fully qualified name (FQN) of the resource.
+     * FQNs take two forms:
+     * * For non-regionalized resources:
+     *   `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
+     * * For regionalized resources:
+     *   `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
+     * Example for a DPMS table:
+     * `dataproc_metastore:PROJECT_ID.LOCATION_ID.INSTANCE_ID.DATABASE_ID.TABLE_ID`
      * 
* * string fully_qualified_name = 10; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResultOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResultOrBuilder.java index 5f8e0d1b..61dd9150 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResultOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResultOrBuilder.java @@ -27,8 +27,9 @@ public interface SearchCatalogResultOrBuilder * * *
-   * Type of the search result. This field can be used to determine which Get
-   * method to call to fetch the full resource.
+   * Type of the search result.
+   * You can use this field to determine which get method to call to fetch the
+   * full resource.
    * 
* * .google.cloud.datacatalog.v1.SearchResultType search_result_type = 1; @@ -40,8 +41,9 @@ public interface SearchCatalogResultOrBuilder * * *
-   * Type of the search result. This field can be used to determine which Get
-   * method to call to fetch the full resource.
+   * Type of the search result.
+   * You can use this field to determine which get method to call to fetch the
+   * full resource.
    * 
* * .google.cloud.datacatalog.v1.SearchResultType search_result_type = 1; @@ -54,10 +56,10 @@ public interface SearchCatalogResultOrBuilder * * *
-   * Sub-type of the search result. This is a dot-delimited description of the
-   * resource's full type, and is the same as the value callers would provide in
-   * the "type" search facet.  Examples: `entry.table`, `entry.dataStream`,
-   * `tagTemplate`.
+   * Sub-type of the search result.
+   * A dot-delimited full type of the resource. The same type you
+   * specify in the `type` search predicate.
+   * Examples: `entry.table`, `entry.dataStream`, `tagTemplate`.
    * 
* * string search_result_subtype = 2; @@ -69,10 +71,10 @@ public interface SearchCatalogResultOrBuilder * * *
-   * Sub-type of the search result. This is a dot-delimited description of the
-   * resource's full type, and is the same as the value callers would provide in
-   * the "type" search facet.  Examples: `entry.table`, `entry.dataStream`,
-   * `tagTemplate`.
+   * Sub-type of the search result.
+   * A dot-delimited full type of the resource. The same type you
+   * specify in the `type` search predicate.
+   * Examples: `entry.table`, `entry.dataStream`, `tagTemplate`.
    * 
* * string search_result_subtype = 2; @@ -85,10 +87,10 @@ public interface SearchCatalogResultOrBuilder * * *
-   * The relative resource name of the resource in URL format.
+   * The relative name of the resource in URL format.
    * Examples:
-   *  * `projects/{project_id}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}`
-   *  * `projects/{project_id}/tagTemplates/{tag_template_id}`
+   *  * `projects/{PROJECT_ID}/locations/{LOCATION_ID}/entryGroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`
+   *  * `projects/{PROJECT_ID}/tagTemplates/{TAG_TEMPLATE_ID}`
    * 
* * string relative_resource_name = 3; @@ -100,10 +102,10 @@ public interface SearchCatalogResultOrBuilder * * *
-   * The relative resource name of the resource in URL format.
+   * The relative name of the resource in URL format.
    * Examples:
-   *  * `projects/{project_id}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}`
-   *  * `projects/{project_id}/tagTemplates/{tag_template_id}`
+   *  * `projects/{PROJECT_ID}/locations/{LOCATION_ID}/entryGroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`
+   *  * `projects/{PROJECT_ID}/tagTemplates/{TAG_TEMPLATE_ID}`
    * 
* * string relative_resource_name = 3; @@ -116,10 +118,11 @@ public interface SearchCatalogResultOrBuilder * * *
-   * The full name of the cloud resource the entry belongs to. See:
-   * https://cloud.google.com/apis/design/resource_names#full_resource_name.
+   * The full name of the Google Cloud resource the entry belongs to.
+   * For more information, see [Full Resource Name]
+   * (/apis/design/resource_names#full_resource_name).
    * Example:
-   *  * `//bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId`
+   * `//bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID`
    * 
* * string linked_resource = 4; @@ -131,10 +134,11 @@ public interface SearchCatalogResultOrBuilder * * *
-   * The full name of the cloud resource the entry belongs to. See:
-   * https://cloud.google.com/apis/design/resource_names#full_resource_name.
+   * The full name of the Google Cloud resource the entry belongs to.
+   * For more information, see [Full Resource Name]
+   * (/apis/design/resource_names#full_resource_name).
    * Example:
-   *  * `//bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId`
+   * `//bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID`
    * 
* * string linked_resource = 4; @@ -147,7 +151,7 @@ public interface SearchCatalogResultOrBuilder * * *
-   * Last-modified timestamp of the entry from the managing system.
+   * The last modification timestamp of the entry in the source system.
    * 
* * .google.protobuf.Timestamp modify_time = 7; @@ -159,7 +163,7 @@ public interface SearchCatalogResultOrBuilder * * *
-   * Last-modified timestamp of the entry from the managing system.
+   * The last modification timestamp of the entry in the source system.
    * 
* * .google.protobuf.Timestamp modify_time = 7; @@ -171,7 +175,7 @@ public interface SearchCatalogResultOrBuilder * * *
-   * Last-modified timestamp of the entry from the managing system.
+   * The last modification timestamp of the entry in the source system.
    * 
* * .google.protobuf.Timestamp modify_time = 7; @@ -182,8 +186,8 @@ public interface SearchCatalogResultOrBuilder * * *
-   * Output only. This field indicates the entry's source system that Data Catalog
-   * integrates with, such as BigQuery or Cloud Pub/Sub.
+   * Output only. The source system that Data Catalog automatically integrates  with, such
+   * as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
    * 
* * @@ -197,8 +201,8 @@ public interface SearchCatalogResultOrBuilder * * *
-   * Output only. This field indicates the entry's source system that Data Catalog
-   * integrates with, such as BigQuery or Cloud Pub/Sub.
+   * Output only. The source system that Data Catalog automatically integrates  with, such
+   * as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
    * 
* * @@ -212,8 +216,8 @@ public interface SearchCatalogResultOrBuilder * * *
-   * Output only. This field indicates the entry's source system that Data Catalog
-   * integrates with, such as BigQuery or Cloud Pub/Sub.
+   * Output only. The source system that Data Catalog automatically integrates  with, such
+   * as BigQuery, Cloud Pub/Sub, or Dataproc Metastore.
    * 
* * @@ -228,8 +232,7 @@ public interface SearchCatalogResultOrBuilder * * *
-   * This field indicates the entry's source system that Data Catalog does not
-   * integrate with.
+   * Custom source system that you can manually integrate Data Catalog with.
    * 
* * string user_specified_system = 9; @@ -241,8 +244,7 @@ public interface SearchCatalogResultOrBuilder * * *
-   * This field indicates the entry's source system that Data Catalog does not
-   * integrate with.
+   * Custom source system that you can manually integrate Data Catalog with.
    * 
* * string user_specified_system = 9; @@ -254,8 +256,7 @@ public interface SearchCatalogResultOrBuilder * * *
-   * This field indicates the entry's source system that Data Catalog does not
-   * integrate with.
+   * Custom source system that you can manually integrate Data Catalog with.
    * 
* * string user_specified_system = 9; @@ -268,15 +269,14 @@ public interface SearchCatalogResultOrBuilder * * *
-   * Fully Qualified Name of the resource.
-   * There are two main forms of FQNs:
-   * {system}:{project}.{dot-separated path to resource}
-   *     for non-regionalized resources
-   * {system}:{project}.{location id}.{dot-separated path to resource}
-   *     for regionalized resources
-   * Examples:
-   * * dataproc_metastore:projectId.locationId.instanceId.databaseId.tableId
-   * * bigquery:table.project_id.dataset_id.table_id
+   * Fully qualified name (FQN) of the resource.
+   * FQNs take two forms:
+   * * For non-regionalized resources:
+   *   `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
+   * * For regionalized resources:
+   *   `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
+   * Example for a DPMS table:
+   * `dataproc_metastore:PROJECT_ID.LOCATION_ID.INSTANCE_ID.DATABASE_ID.TABLE_ID`
    * 
* * string fully_qualified_name = 10; @@ -288,15 +288,14 @@ public interface SearchCatalogResultOrBuilder * * *
-   * Fully Qualified Name of the resource.
-   * There are two main forms of FQNs:
-   * {system}:{project}.{dot-separated path to resource}
-   *     for non-regionalized resources
-   * {system}:{project}.{location id}.{dot-separated path to resource}
-   *     for regionalized resources
-   * Examples:
-   * * dataproc_metastore:projectId.locationId.instanceId.databaseId.tableId
-   * * bigquery:table.project_id.dataset_id.table_id
+   * Fully qualified name (FQN) of the resource.
+   * FQNs take two forms:
+   * * For non-regionalized resources:
+   *   `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
+   * * For regionalized resources:
+   *   `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}`
+   * Example for a DPMS table:
+   * `dataproc_metastore:PROJECT_ID.LOCATION_ID.INSTANCE_ID.DATABASE_ID.TABLE_ID`
    * 
* * string fully_qualified_name = 10; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchResultType.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchResultType.java index a6e97d48..de81477e 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchResultType.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchResultType.java @@ -22,7 +22,7 @@ * * *
- * The different types of resources that can be returned in search.
+ * The resource types that can be returned in search results.
  * 
* * Protobuf enum {@code google.cloud.datacatalog.v1.SearchResultType} diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTag.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTag.java index 837fd2e4..4c0a4563 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTag.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTag.java @@ -22,8 +22,8 @@ * * *
- * Message representing one policy tag, including all its descendant policy
- * tags, as a nested proto.
+ * A nested protocol buffer that represents a policy tag and all its
+ * descendants.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.SerializedPolicyTag} @@ -153,7 +153,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Resource name of the policy tag.
-   * This field will be ignored when calling ImportTaxonomies.
+   * This field is ignored when calling `ImportTaxonomies`.
    * 
* * string policy_tag = 1; @@ -177,7 +177,7 @@ public java.lang.String getPolicyTag() { * *
    * Resource name of the policy tag.
-   * This field will be ignored when calling ImportTaxonomies.
+   * This field is ignored when calling `ImportTaxonomies`.
    * 
* * string policy_tag = 1; @@ -203,7 +203,8 @@ public com.google.protobuf.ByteString getPolicyTagBytes() { * * *
-   * Required. Display name of the policy tag. At most 200 bytes when encoded in UTF-8.
+   * Required. Display name of the policy tag. At most 200 bytes when encoded
+   * in UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -226,7 +227,8 @@ public java.lang.String getDisplayName() { * * *
-   * Required. Display name of the policy tag. At most 200 bytes when encoded in UTF-8.
+   * Required. Display name of the policy tag. At most 200 bytes when encoded
+   * in UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -252,8 +254,8 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * * *
-   * Description of the serialized policy tag. The length of the description is
-   * limited to 2000 bytes when encoded in UTF-8. If not set, defaults to an
+   * Description of the serialized policy tag. At most
+   * 2000 bytes when encoded in UTF-8. If not set, defaults to an
    * empty description.
    * 
* @@ -277,8 +279,8 @@ public java.lang.String getDescription() { * * *
-   * Description of the serialized policy tag. The length of the description is
-   * limited to 2000 bytes when encoded in UTF-8. If not set, defaults to an
+   * Description of the serialized policy tag. At most
+   * 2000 bytes when encoded in UTF-8. If not set, defaults to an
    * empty description.
    * 
* @@ -562,8 +564,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Message representing one policy tag, including all its descendant policy
-   * tags, as a nested proto.
+   * A nested protocol buffer that represents a policy tag and all its
+   * descendants.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.SerializedPolicyTag} @@ -785,7 +787,7 @@ public Builder mergeFrom( * *
      * Resource name of the policy tag.
-     * This field will be ignored when calling ImportTaxonomies.
+     * This field is ignored when calling `ImportTaxonomies`.
      * 
* * string policy_tag = 1; @@ -808,7 +810,7 @@ public java.lang.String getPolicyTag() { * *
      * Resource name of the policy tag.
-     * This field will be ignored when calling ImportTaxonomies.
+     * This field is ignored when calling `ImportTaxonomies`.
      * 
* * string policy_tag = 1; @@ -831,7 +833,7 @@ public com.google.protobuf.ByteString getPolicyTagBytes() { * *
      * Resource name of the policy tag.
-     * This field will be ignored when calling ImportTaxonomies.
+     * This field is ignored when calling `ImportTaxonomies`.
      * 
* * string policy_tag = 1; @@ -853,7 +855,7 @@ public Builder setPolicyTag(java.lang.String value) { * *
      * Resource name of the policy tag.
-     * This field will be ignored when calling ImportTaxonomies.
+     * This field is ignored when calling `ImportTaxonomies`.
      * 
* * string policy_tag = 1; @@ -871,7 +873,7 @@ public Builder clearPolicyTag() { * *
      * Resource name of the policy tag.
-     * This field will be ignored when calling ImportTaxonomies.
+     * This field is ignored when calling `ImportTaxonomies`.
      * 
* * string policy_tag = 1; @@ -895,7 +897,8 @@ public Builder setPolicyTagBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Display name of the policy tag. At most 200 bytes when encoded in UTF-8.
+     * Required. Display name of the policy tag. At most 200 bytes when encoded
+     * in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -917,7 +920,8 @@ public java.lang.String getDisplayName() { * * *
-     * Required. Display name of the policy tag. At most 200 bytes when encoded in UTF-8.
+     * Required. Display name of the policy tag. At most 200 bytes when encoded
+     * in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -939,7 +943,8 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * * *
-     * Required. Display name of the policy tag. At most 200 bytes when encoded in UTF-8.
+     * Required. Display name of the policy tag. At most 200 bytes when encoded
+     * in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -960,7 +965,8 @@ public Builder setDisplayName(java.lang.String value) { * * *
-     * Required. Display name of the policy tag. At most 200 bytes when encoded in UTF-8.
+     * Required. Display name of the policy tag. At most 200 bytes when encoded
+     * in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -977,7 +983,8 @@ public Builder clearDisplayName() { * * *
-     * Required. Display name of the policy tag. At most 200 bytes when encoded in UTF-8.
+     * Required. Display name of the policy tag. At most 200 bytes when encoded
+     * in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1001,8 +1008,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Description of the serialized policy tag. The length of the description is
-     * limited to 2000 bytes when encoded in UTF-8. If not set, defaults to an
+     * Description of the serialized policy tag. At most
+     * 2000 bytes when encoded in UTF-8. If not set, defaults to an
      * empty description.
      * 
* @@ -1025,8 +1032,8 @@ public java.lang.String getDescription() { * * *
-     * Description of the serialized policy tag. The length of the description is
-     * limited to 2000 bytes when encoded in UTF-8. If not set, defaults to an
+     * Description of the serialized policy tag. At most
+     * 2000 bytes when encoded in UTF-8. If not set, defaults to an
      * empty description.
      * 
* @@ -1049,8 +1056,8 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * *
-     * Description of the serialized policy tag. The length of the description is
-     * limited to 2000 bytes when encoded in UTF-8. If not set, defaults to an
+     * Description of the serialized policy tag. At most
+     * 2000 bytes when encoded in UTF-8. If not set, defaults to an
      * empty description.
      * 
* @@ -1072,8 +1079,8 @@ public Builder setDescription(java.lang.String value) { * * *
-     * Description of the serialized policy tag. The length of the description is
-     * limited to 2000 bytes when encoded in UTF-8. If not set, defaults to an
+     * Description of the serialized policy tag. At most
+     * 2000 bytes when encoded in UTF-8. If not set, defaults to an
      * empty description.
      * 
* @@ -1091,8 +1098,8 @@ public Builder clearDescription() { * * *
-     * Description of the serialized policy tag. The length of the description is
-     * limited to 2000 bytes when encoded in UTF-8. If not set, defaults to an
+     * Description of the serialized policy tag. At most
+     * 2000 bytes when encoded in UTF-8. If not set, defaults to an
      * empty description.
      * 
* diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTagOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTagOrBuilder.java index a9f4879c..c3ee0e7c 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTagOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedPolicyTagOrBuilder.java @@ -28,7 +28,7 @@ public interface SerializedPolicyTagOrBuilder * *
    * Resource name of the policy tag.
-   * This field will be ignored when calling ImportTaxonomies.
+   * This field is ignored when calling `ImportTaxonomies`.
    * 
* * string policy_tag = 1; @@ -41,7 +41,7 @@ public interface SerializedPolicyTagOrBuilder * *
    * Resource name of the policy tag.
-   * This field will be ignored when calling ImportTaxonomies.
+   * This field is ignored when calling `ImportTaxonomies`.
    * 
* * string policy_tag = 1; @@ -54,7 +54,8 @@ public interface SerializedPolicyTagOrBuilder * * *
-   * Required. Display name of the policy tag. At most 200 bytes when encoded in UTF-8.
+   * Required. Display name of the policy tag. At most 200 bytes when encoded
+   * in UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -66,7 +67,8 @@ public interface SerializedPolicyTagOrBuilder * * *
-   * Required. Display name of the policy tag. At most 200 bytes when encoded in UTF-8.
+   * Required. Display name of the policy tag. At most 200 bytes when encoded
+   * in UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -79,8 +81,8 @@ public interface SerializedPolicyTagOrBuilder * * *
-   * Description of the serialized policy tag. The length of the description is
-   * limited to 2000 bytes when encoded in UTF-8. If not set, defaults to an
+   * Description of the serialized policy tag. At most
+   * 2000 bytes when encoded in UTF-8. If not set, defaults to an
    * empty description.
    * 
* @@ -93,8 +95,8 @@ public interface SerializedPolicyTagOrBuilder * * *
-   * Description of the serialized policy tag. The length of the description is
-   * limited to 2000 bytes when encoded in UTF-8. If not set, defaults to an
+   * Description of the serialized policy tag. At most
+   * 2000 bytes when encoded in UTF-8. If not set, defaults to an
    * empty description.
    * 
* diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomy.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomy.java index 35b3501c..edac15fb 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomy.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomy.java @@ -22,8 +22,9 @@ * * *
- * Message representing a taxonomy, including its policy tags in hierarchy, as a
- * nested proto. Used for taxonomy replacement, import, and export.
+ * A nested protocol buffer that represents a taxonomy and the hierarchy of its
+ * policy tags. Used for taxonomy replacement, import, and
+ * export.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.SerializedTaxonomy} @@ -222,8 +223,8 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * * *
-   * Description of the serialized taxonomy. At most 2000 bytes when encoded in
-   * UTF-8. If not set, defaults to an empty description.
+   * Description of the serialized taxonomy. At most 2000 bytes when
+   * encoded in UTF-8. If not set, defaults to an empty description.
    * 
* * string description = 2; @@ -246,8 +247,8 @@ public java.lang.String getDescription() { * * *
-   * Description of the serialized taxonomy. At most 2000 bytes when encoded in
-   * UTF-8. If not set, defaults to an empty description.
+   * Description of the serialized taxonomy. At most 2000 bytes when
+   * encoded in UTF-8. If not set, defaults to an empty description.
    * 
* * string description = 2; @@ -652,8 +653,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Message representing a taxonomy, including its policy tags in hierarchy, as a
-   * nested proto. Used for taxonomy replacement, import, and export.
+   * A nested protocol buffer that represents a taxonomy and the hierarchy of its
+   * policy tags. Used for taxonomy replacement, import, and
+   * export.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.SerializedTaxonomy} @@ -990,8 +992,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Description of the serialized taxonomy. At most 2000 bytes when encoded in
-     * UTF-8. If not set, defaults to an empty description.
+     * Description of the serialized taxonomy. At most 2000 bytes when
+     * encoded in UTF-8. If not set, defaults to an empty description.
      * 
* * string description = 2; @@ -1013,8 +1015,8 @@ public java.lang.String getDescription() { * * *
-     * Description of the serialized taxonomy. At most 2000 bytes when encoded in
-     * UTF-8. If not set, defaults to an empty description.
+     * Description of the serialized taxonomy. At most 2000 bytes when
+     * encoded in UTF-8. If not set, defaults to an empty description.
      * 
* * string description = 2; @@ -1036,8 +1038,8 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * *
-     * Description of the serialized taxonomy. At most 2000 bytes when encoded in
-     * UTF-8. If not set, defaults to an empty description.
+     * Description of the serialized taxonomy. At most 2000 bytes when
+     * encoded in UTF-8. If not set, defaults to an empty description.
      * 
* * string description = 2; @@ -1058,8 +1060,8 @@ public Builder setDescription(java.lang.String value) { * * *
-     * Description of the serialized taxonomy. At most 2000 bytes when encoded in
-     * UTF-8. If not set, defaults to an empty description.
+     * Description of the serialized taxonomy. At most 2000 bytes when
+     * encoded in UTF-8. If not set, defaults to an empty description.
      * 
* * string description = 2; @@ -1076,8 +1078,8 @@ public Builder clearDescription() { * * *
-     * Description of the serialized taxonomy. At most 2000 bytes when encoded in
-     * UTF-8. If not set, defaults to an empty description.
+     * Description of the serialized taxonomy. At most 2000 bytes when
+     * encoded in UTF-8. If not set, defaults to an empty description.
      * 
* * string description = 2; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomyOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomyOrBuilder.java index e2d1c977..16e5db8c 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomyOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SerializedTaxonomyOrBuilder.java @@ -52,8 +52,8 @@ public interface SerializedTaxonomyOrBuilder * * *
-   * Description of the serialized taxonomy. At most 2000 bytes when encoded in
-   * UTF-8. If not set, defaults to an empty description.
+   * Description of the serialized taxonomy. At most 2000 bytes when
+   * encoded in UTF-8. If not set, defaults to an empty description.
    * 
* * string description = 2; @@ -65,8 +65,8 @@ public interface SerializedTaxonomyOrBuilder * * *
-   * Description of the serialized taxonomy. At most 2000 bytes when encoded in
-   * UTF-8. If not set, defaults to an empty description.
+   * Description of the serialized taxonomy. At most 2000 bytes when
+   * encoded in UTF-8. If not set, defaults to an empty description.
    * 
* * string description = 2; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestamps.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestamps.java index 85b3a47f..4ebf28b5 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestamps.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestamps.java @@ -22,7 +22,7 @@ * * *
- * Timestamps about this resource according to a particular system.
+ * Timestamps associated with this resource in a particular system.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.SystemTimestamps} @@ -153,7 +153,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The creation time of the resource within the given system.
+   * Creation timestamp of the resource within the given system.
    * 
* * .google.protobuf.Timestamp create_time = 1; @@ -168,7 +168,7 @@ public boolean hasCreateTime() { * * *
-   * The creation time of the resource within the given system.
+   * Creation timestamp of the resource within the given system.
    * 
* * .google.protobuf.Timestamp create_time = 1; @@ -183,7 +183,7 @@ public com.google.protobuf.Timestamp getCreateTime() { * * *
-   * The creation time of the resource within the given system.
+   * Creation timestamp of the resource within the given system.
    * 
* * .google.protobuf.Timestamp create_time = 1; @@ -199,7 +199,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-   * The last-modified time of the resource within the given system.
+   * Timestamp of the last modification of the resource or its metadata within
+   * a given system.
+   * Note: Depending on the source system, not every modification updates this
+   * timestamp.
+   * For example, BigQuery timestamps every metadata modification but not data
+   * or permission changes.
    * 
* * .google.protobuf.Timestamp update_time = 2; @@ -214,7 +219,12 @@ public boolean hasUpdateTime() { * * *
-   * The last-modified time of the resource within the given system.
+   * Timestamp of the last modification of the resource or its metadata within
+   * a given system.
+   * Note: Depending on the source system, not every modification updates this
+   * timestamp.
+   * For example, BigQuery timestamps every metadata modification but not data
+   * or permission changes.
    * 
* * .google.protobuf.Timestamp update_time = 2; @@ -229,7 +239,12 @@ public com.google.protobuf.Timestamp getUpdateTime() { * * *
-   * The last-modified time of the resource within the given system.
+   * Timestamp of the last modification of the resource or its metadata within
+   * a given system.
+   * Note: Depending on the source system, not every modification updates this
+   * timestamp.
+   * For example, BigQuery timestamps every metadata modification but not data
+   * or permission changes.
    * 
* * .google.protobuf.Timestamp update_time = 2; @@ -245,8 +260,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * * *
-   * Output only. The expiration time of the resource within the given system.
-   * Currently only apllicable to BigQuery resources.
+   * Output only. Expiration timestamp of the resource within the given system.
+   * Currently only applicable to BigQuery resources.
    * 
* * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -262,8 +277,8 @@ public boolean hasExpireTime() { * * *
-   * Output only. The expiration time of the resource within the given system.
-   * Currently only apllicable to BigQuery resources.
+   * Output only. Expiration timestamp of the resource within the given system.
+   * Currently only applicable to BigQuery resources.
    * 
* * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -279,8 +294,8 @@ public com.google.protobuf.Timestamp getExpireTime() { * * *
-   * Output only. The expiration time of the resource within the given system.
-   * Currently only apllicable to BigQuery resources.
+   * Output only. Expiration timestamp of the resource within the given system.
+   * Currently only applicable to BigQuery resources.
    * 
* * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -487,7 +502,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Timestamps about this resource according to a particular system.
+   * Timestamps associated with this resource in a particular system.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.SystemTimestamps} @@ -686,7 +701,7 @@ public Builder mergeFrom( * * *
-     * The creation time of the resource within the given system.
+     * Creation timestamp of the resource within the given system.
      * 
* * .google.protobuf.Timestamp create_time = 1; @@ -700,7 +715,7 @@ public boolean hasCreateTime() { * * *
-     * The creation time of the resource within the given system.
+     * Creation timestamp of the resource within the given system.
      * 
* * .google.protobuf.Timestamp create_time = 1; @@ -720,7 +735,7 @@ public com.google.protobuf.Timestamp getCreateTime() { * * *
-     * The creation time of the resource within the given system.
+     * Creation timestamp of the resource within the given system.
      * 
* * .google.protobuf.Timestamp create_time = 1; @@ -742,7 +757,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { * * *
-     * The creation time of the resource within the given system.
+     * Creation timestamp of the resource within the given system.
      * 
* * .google.protobuf.Timestamp create_time = 1; @@ -761,7 +776,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal * * *
-     * The creation time of the resource within the given system.
+     * Creation timestamp of the resource within the given system.
      * 
* * .google.protobuf.Timestamp create_time = 1; @@ -785,7 +800,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { * * *
-     * The creation time of the resource within the given system.
+     * Creation timestamp of the resource within the given system.
      * 
* * .google.protobuf.Timestamp create_time = 1; @@ -805,7 +820,7 @@ public Builder clearCreateTime() { * * *
-     * The creation time of the resource within the given system.
+     * Creation timestamp of the resource within the given system.
      * 
* * .google.protobuf.Timestamp create_time = 1; @@ -819,7 +834,7 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { * * *
-     * The creation time of the resource within the given system.
+     * Creation timestamp of the resource within the given system.
      * 
* * .google.protobuf.Timestamp create_time = 1; @@ -837,7 +852,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-     * The creation time of the resource within the given system.
+     * Creation timestamp of the resource within the given system.
      * 
* * .google.protobuf.Timestamp create_time = 1; @@ -869,7 +884,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-     * The last-modified time of the resource within the given system.
+     * Timestamp of the last modification of the resource or its metadata within
+     * a given system.
+     * Note: Depending on the source system, not every modification updates this
+     * timestamp.
+     * For example, BigQuery timestamps every metadata modification but not data
+     * or permission changes.
      * 
* * .google.protobuf.Timestamp update_time = 2; @@ -883,7 +903,12 @@ public boolean hasUpdateTime() { * * *
-     * The last-modified time of the resource within the given system.
+     * Timestamp of the last modification of the resource or its metadata within
+     * a given system.
+     * Note: Depending on the source system, not every modification updates this
+     * timestamp.
+     * For example, BigQuery timestamps every metadata modification but not data
+     * or permission changes.
      * 
* * .google.protobuf.Timestamp update_time = 2; @@ -903,7 +928,12 @@ public com.google.protobuf.Timestamp getUpdateTime() { * * *
-     * The last-modified time of the resource within the given system.
+     * Timestamp of the last modification of the resource or its metadata within
+     * a given system.
+     * Note: Depending on the source system, not every modification updates this
+     * timestamp.
+     * For example, BigQuery timestamps every metadata modification but not data
+     * or permission changes.
      * 
* * .google.protobuf.Timestamp update_time = 2; @@ -925,7 +955,12 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { * * *
-     * The last-modified time of the resource within the given system.
+     * Timestamp of the last modification of the resource or its metadata within
+     * a given system.
+     * Note: Depending on the source system, not every modification updates this
+     * timestamp.
+     * For example, BigQuery timestamps every metadata modification but not data
+     * or permission changes.
      * 
* * .google.protobuf.Timestamp update_time = 2; @@ -944,7 +979,12 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal * * *
-     * The last-modified time of the resource within the given system.
+     * Timestamp of the last modification of the resource or its metadata within
+     * a given system.
+     * Note: Depending on the source system, not every modification updates this
+     * timestamp.
+     * For example, BigQuery timestamps every metadata modification but not data
+     * or permission changes.
      * 
* * .google.protobuf.Timestamp update_time = 2; @@ -968,7 +1008,12 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { * * *
-     * The last-modified time of the resource within the given system.
+     * Timestamp of the last modification of the resource or its metadata within
+     * a given system.
+     * Note: Depending on the source system, not every modification updates this
+     * timestamp.
+     * For example, BigQuery timestamps every metadata modification but not data
+     * or permission changes.
      * 
* * .google.protobuf.Timestamp update_time = 2; @@ -988,7 +1033,12 @@ public Builder clearUpdateTime() { * * *
-     * The last-modified time of the resource within the given system.
+     * Timestamp of the last modification of the resource or its metadata within
+     * a given system.
+     * Note: Depending on the source system, not every modification updates this
+     * timestamp.
+     * For example, BigQuery timestamps every metadata modification but not data
+     * or permission changes.
      * 
* * .google.protobuf.Timestamp update_time = 2; @@ -1002,7 +1052,12 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { * * *
-     * The last-modified time of the resource within the given system.
+     * Timestamp of the last modification of the resource or its metadata within
+     * a given system.
+     * Note: Depending on the source system, not every modification updates this
+     * timestamp.
+     * For example, BigQuery timestamps every metadata modification but not data
+     * or permission changes.
      * 
* * .google.protobuf.Timestamp update_time = 2; @@ -1020,7 +1075,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * * *
-     * The last-modified time of the resource within the given system.
+     * Timestamp of the last modification of the resource or its metadata within
+     * a given system.
+     * Note: Depending on the source system, not every modification updates this
+     * timestamp.
+     * For example, BigQuery timestamps every metadata modification but not data
+     * or permission changes.
      * 
* * .google.protobuf.Timestamp update_time = 2; @@ -1052,8 +1112,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * * *
-     * Output only. The expiration time of the resource within the given system.
-     * Currently only apllicable to BigQuery resources.
+     * Output only. Expiration timestamp of the resource within the given system.
+     * Currently only applicable to BigQuery resources.
      * 
* * @@ -1069,8 +1129,8 @@ public boolean hasExpireTime() { * * *
-     * Output only. The expiration time of the resource within the given system.
-     * Currently only apllicable to BigQuery resources.
+     * Output only. Expiration timestamp of the resource within the given system.
+     * Currently only applicable to BigQuery resources.
      * 
* * @@ -1092,8 +1152,8 @@ public com.google.protobuf.Timestamp getExpireTime() { * * *
-     * Output only. The expiration time of the resource within the given system.
-     * Currently only apllicable to BigQuery resources.
+     * Output only. Expiration timestamp of the resource within the given system.
+     * Currently only applicable to BigQuery resources.
      * 
* * @@ -1117,8 +1177,8 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. The expiration time of the resource within the given system.
-     * Currently only apllicable to BigQuery resources.
+     * Output only. Expiration timestamp of the resource within the given system.
+     * Currently only applicable to BigQuery resources.
      * 
* * @@ -1139,8 +1199,8 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal * * *
-     * Output only. The expiration time of the resource within the given system.
-     * Currently only apllicable to BigQuery resources.
+     * Output only. Expiration timestamp of the resource within the given system.
+     * Currently only applicable to BigQuery resources.
      * 
* * @@ -1166,8 +1226,8 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. The expiration time of the resource within the given system.
-     * Currently only apllicable to BigQuery resources.
+     * Output only. Expiration timestamp of the resource within the given system.
+     * Currently only applicable to BigQuery resources.
      * 
* * @@ -1189,8 +1249,8 @@ public Builder clearExpireTime() { * * *
-     * Output only. The expiration time of the resource within the given system.
-     * Currently only apllicable to BigQuery resources.
+     * Output only. Expiration timestamp of the resource within the given system.
+     * Currently only applicable to BigQuery resources.
      * 
* * @@ -1206,8 +1266,8 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { * * *
-     * Output only. The expiration time of the resource within the given system.
-     * Currently only apllicable to BigQuery resources.
+     * Output only. Expiration timestamp of the resource within the given system.
+     * Currently only applicable to BigQuery resources.
      * 
* * @@ -1227,8 +1287,8 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { * * *
-     * Output only. The expiration time of the resource within the given system.
-     * Currently only apllicable to BigQuery resources.
+     * Output only. Expiration timestamp of the resource within the given system.
+     * Currently only applicable to BigQuery resources.
      * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestampsOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestampsOrBuilder.java index caf7091a..b4aabd49 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestampsOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SystemTimestampsOrBuilder.java @@ -27,7 +27,7 @@ public interface SystemTimestampsOrBuilder * * *
-   * The creation time of the resource within the given system.
+   * Creation timestamp of the resource within the given system.
    * 
* * .google.protobuf.Timestamp create_time = 1; @@ -39,7 +39,7 @@ public interface SystemTimestampsOrBuilder * * *
-   * The creation time of the resource within the given system.
+   * Creation timestamp of the resource within the given system.
    * 
* * .google.protobuf.Timestamp create_time = 1; @@ -51,7 +51,7 @@ public interface SystemTimestampsOrBuilder * * *
-   * The creation time of the resource within the given system.
+   * Creation timestamp of the resource within the given system.
    * 
* * .google.protobuf.Timestamp create_time = 1; @@ -62,7 +62,12 @@ public interface SystemTimestampsOrBuilder * * *
-   * The last-modified time of the resource within the given system.
+   * Timestamp of the last modification of the resource or its metadata within
+   * a given system.
+   * Note: Depending on the source system, not every modification updates this
+   * timestamp.
+   * For example, BigQuery timestamps every metadata modification but not data
+   * or permission changes.
    * 
* * .google.protobuf.Timestamp update_time = 2; @@ -74,7 +79,12 @@ public interface SystemTimestampsOrBuilder * * *
-   * The last-modified time of the resource within the given system.
+   * Timestamp of the last modification of the resource or its metadata within
+   * a given system.
+   * Note: Depending on the source system, not every modification updates this
+   * timestamp.
+   * For example, BigQuery timestamps every metadata modification but not data
+   * or permission changes.
    * 
* * .google.protobuf.Timestamp update_time = 2; @@ -86,7 +96,12 @@ public interface SystemTimestampsOrBuilder * * *
-   * The last-modified time of the resource within the given system.
+   * Timestamp of the last modification of the resource or its metadata within
+   * a given system.
+   * Note: Depending on the source system, not every modification updates this
+   * timestamp.
+   * For example, BigQuery timestamps every metadata modification but not data
+   * or permission changes.
    * 
* * .google.protobuf.Timestamp update_time = 2; @@ -97,8 +112,8 @@ public interface SystemTimestampsOrBuilder * * *
-   * Output only. The expiration time of the resource within the given system.
-   * Currently only apllicable to BigQuery resources.
+   * Output only. Expiration timestamp of the resource within the given system.
+   * Currently only applicable to BigQuery resources.
    * 
* * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -111,8 +126,8 @@ public interface SystemTimestampsOrBuilder * * *
-   * Output only. The expiration time of the resource within the given system.
-   * Currently only apllicable to BigQuery resources.
+   * Output only. Expiration timestamp of the resource within the given system.
+   * Currently only applicable to BigQuery resources.
    * 
* * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -125,8 +140,8 @@ public interface SystemTimestampsOrBuilder * * *
-   * Output only. The expiration time of the resource within the given system.
-   * Currently only apllicable to BigQuery resources.
+   * Output only. Expiration timestamp of the resource within the given system.
+   * Currently only applicable to BigQuery resources.
    * 
* * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpec.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpec.java index 32f49623..1aca2540 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpec.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpec.java @@ -22,7 +22,7 @@ * * *
- * Normal BigQuery table spec.
+ * Normal BigQuery table specification.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.TableSpec} @@ -117,10 +117,10 @@ 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,
-   * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
+   * Output only. If the table is date-sharded, that is, it matches the `[prefix]YYYYMMDD`
+   * name pattern, this field 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.
    * 
* @@ -146,10 +146,10 @@ 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,
-   * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
+   * Output only. If the table is date-sharded, that is, it matches the `[prefix]YYYYMMDD`
+   * name pattern, this field 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.
    * 
* @@ -335,7 +335,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Normal BigQuery table spec.
+   * Normal BigQuery table specification.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.TableSpec} @@ -493,10 +493,10 @@ 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,
-     * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
+     * Output only. If the table is date-sharded, that is, it matches the `[prefix]YYYYMMDD`
+     * name pattern, this field 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.
      * 
* @@ -521,10 +521,10 @@ 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,
-     * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
+     * Output only. If the table is date-sharded, that is, it matches the `[prefix]YYYYMMDD`
+     * name pattern, this field 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.
      * 
* @@ -549,10 +549,10 @@ 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,
-     * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
+     * Output only. If the table is date-sharded, that is, it matches the `[prefix]YYYYMMDD`
+     * name pattern, this field 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.
      * 
* @@ -576,10 +576,10 @@ 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,
-     * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
+     * Output only. If the table is date-sharded, that is, it matches the `[prefix]YYYYMMDD`
+     * name pattern, this field 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.
      * 
* @@ -599,10 +599,10 @@ 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,
-     * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
+     * Output only. If the table is date-sharded, that is, it matches the `[prefix]YYYYMMDD`
+     * name pattern, this field 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/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOrBuilder.java index 2e697b5a..24de67ab 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOrBuilder.java @@ -27,10 +27,10 @@ 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,
-   * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
+   * Output only. If the table is date-sharded, that is, it matches the `[prefix]YYYYMMDD`
+   * name pattern, this field 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,10 +45,10 @@ 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,
-   * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
+   * Output only. If the table is date-sharded, that is, it matches the `[prefix]YYYYMMDD`
+   * name pattern, this field 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/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tag.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tag.java index 238591ba..ff5e32ed 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tag.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tag.java @@ -22,8 +22,8 @@ * * *
- * Tags are used to attach custom metadata to Data Catalog resources. Tags
- * conform to the specifications within their tag template.
+ * Tags contain custom metadata and are attached to Data Catalog resources. Tags
+ * conform with the specification of their tag template.
  * See [Data Catalog
  * IAM](https://cloud.google.com/data-catalog/docs/concepts/iam) for information
  * on the permissions needed to create or view tags.
@@ -216,9 +216,8 @@ public ScopeCase getScopeCase() {
    *
    *
    * 
-   * The resource name of the tag in URL format. Example:
-   * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}`
-   * where `tag_id` is a system-generated identifier.
+   * The resource name of the tag in URL format where tag ID is a
+   * system-generated identifier.
    * Note: The tag itself might not be stored in the location specified in its
    * name.
    * 
@@ -243,9 +242,8 @@ public java.lang.String getName() { * * *
-   * The resource name of the tag in URL format. Example:
-   * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}`
-   * where `tag_id` is a system-generated identifier.
+   * The resource name of the tag in URL format where tag ID is a
+   * system-generated identifier.
    * Note: The tag itself might not be stored in the location specified in its
    * name.
    * 
@@ -273,8 +271,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Required. The resource name of the tag template that this tag uses. Example:
-   * `projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}`
+   * Required. The resource name of the tag template this tag uses. Example:
+   * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}`
    * This field cannot be modified after creation.
    * 
* @@ -298,8 +296,8 @@ public java.lang.String getTemplate() { * * *
-   * Required. The resource name of the tag template that this tag uses. Example:
-   * `projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}`
+   * Required. The resource name of the tag template this tag uses. Example:
+   * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}`
    * This field cannot be modified after creation.
    * 
* @@ -375,7 +373,7 @@ public com.google.protobuf.ByteString getTemplateDisplayNameBytes() { * *
    * Resources like entry can have schemas associated with them. This scope
-   * allows users to attach tags to an individual column based on that schema.
+   * allows you to attach tags to an individual column based on that schema.
    * To attach a tag to a nested column, separate column names with a dot
    * (`.`). Example: `column.nested_column`.
    * 
@@ -392,7 +390,7 @@ public boolean hasColumn() { * *
    * Resources like entry can have schemas associated with them. This scope
-   * allows users to attach tags to an individual column based on that schema.
+   * allows you to attach tags to an individual column based on that schema.
    * To attach a tag to a nested column, separate column names with a dot
    * (`.`). Example: `column.nested_column`.
    * 
@@ -422,7 +420,7 @@ public java.lang.String getColumn() { * *
    * Resources like entry can have schemas associated with them. This scope
-   * allows users to attach tags to an individual column based on that schema.
+   * allows you to attach tags to an individual column based on that schema.
    * To attach a tag to a nested column, separate column names with a dot
    * (`.`). Example: `column.nested_column`.
    * 
@@ -482,8 +480,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
+   * Required. Maps the ID of a tag field to its value and additional information
+   * about that field.
+   * Tag template defines valid field IDs. A tag
    * must have at least 1 field and at most 500 fields.
    * 
* @@ -508,8 +507,9 @@ public java.util.Map * * *
-   * 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
+   * Required. Maps the ID of a tag field to its value and additional information
+   * about that field.
+   * Tag template defines valid field IDs. A tag
    * must have at least 1 field and at most 500 fields.
    * 
* @@ -525,8 +525,9 @@ public java.util.Map * * *
-   * 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
+   * Required. Maps the ID of a tag field to its value and additional information
+   * about that field.
+   * Tag template defines valid field IDs. A tag
    * must have at least 1 field and at most 500 fields.
    * 
* @@ -548,8 +549,9 @@ public com.google.cloud.datacatalog.v1.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
+   * Required. Maps the ID of a tag field to its value and additional information
+   * about that field.
+   * Tag template defines valid field IDs. A tag
    * must have at least 1 field and at most 500 fields.
    * 
* @@ -789,8 +791,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Tags are used to attach custom metadata to Data Catalog resources. Tags
-   * conform to the specifications within their tag template.
+   * Tags contain custom metadata and are attached to Data Catalog resources. Tags
+   * conform with the specification of their tag template.
    * See [Data Catalog
    * IAM](https://cloud.google.com/data-catalog/docs/concepts/iam) for information
    * on the permissions needed to create or view tags.
@@ -1024,9 +1026,8 @@ public Builder clearScope() {
      *
      *
      * 
-     * The resource name of the tag in URL format. Example:
-     * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}`
-     * where `tag_id` is a system-generated identifier.
+     * The resource name of the tag in URL format where tag ID is a
+     * system-generated identifier.
      * Note: The tag itself might not be stored in the location specified in its
      * name.
      * 
@@ -1050,9 +1051,8 @@ public java.lang.String getName() { * * *
-     * The resource name of the tag in URL format. Example:
-     * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}`
-     * where `tag_id` is a system-generated identifier.
+     * The resource name of the tag in URL format where tag ID is a
+     * system-generated identifier.
      * Note: The tag itself might not be stored in the location specified in its
      * name.
      * 
@@ -1076,9 +1076,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The resource name of the tag in URL format. Example:
-     * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}`
-     * where `tag_id` is a system-generated identifier.
+     * The resource name of the tag in URL format where tag ID is a
+     * system-generated identifier.
      * Note: The tag itself might not be stored in the location specified in its
      * name.
      * 
@@ -1101,9 +1100,8 @@ public Builder setName(java.lang.String value) { * * *
-     * The resource name of the tag in URL format. Example:
-     * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}`
-     * where `tag_id` is a system-generated identifier.
+     * The resource name of the tag in URL format where tag ID is a
+     * system-generated identifier.
      * Note: The tag itself might not be stored in the location specified in its
      * name.
      * 
@@ -1122,9 +1120,8 @@ public Builder clearName() { * * *
-     * The resource name of the tag in URL format. Example:
-     * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}`
-     * where `tag_id` is a system-generated identifier.
+     * The resource name of the tag in URL format where tag ID is a
+     * system-generated identifier.
      * Note: The tag itself might not be stored in the location specified in its
      * name.
      * 
@@ -1150,8 +1147,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. The resource name of the tag template that this tag uses. Example:
-     * `projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}`
+     * Required. The resource name of the tag template this tag uses. Example:
+     * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}`
      * This field cannot be modified after creation.
      * 
* @@ -1174,8 +1171,8 @@ public java.lang.String getTemplate() { * * *
-     * Required. The resource name of the tag template that this tag uses. Example:
-     * `projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}`
+     * Required. The resource name of the tag template this tag uses. Example:
+     * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}`
      * This field cannot be modified after creation.
      * 
* @@ -1198,8 +1195,8 @@ public com.google.protobuf.ByteString getTemplateBytes() { * * *
-     * Required. The resource name of the tag template that this tag uses. Example:
-     * `projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}`
+     * Required. The resource name of the tag template this tag uses. Example:
+     * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}`
      * This field cannot be modified after creation.
      * 
* @@ -1221,8 +1218,8 @@ public Builder setTemplate(java.lang.String value) { * * *
-     * Required. The resource name of the tag template that this tag uses. Example:
-     * `projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}`
+     * Required. The resource name of the tag template this tag uses. Example:
+     * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}`
      * This field cannot be modified after creation.
      * 
* @@ -1240,8 +1237,8 @@ public Builder clearTemplate() { * * *
-     * Required. The resource name of the tag template that this tag uses. Example:
-     * `projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}`
+     * Required. The resource name of the tag template this tag uses. Example:
+     * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}`
      * This field cannot be modified after creation.
      * 
* @@ -1372,7 +1369,7 @@ public Builder setTemplateDisplayNameBytes(com.google.protobuf.ByteString value) * *
      * Resources like entry can have schemas associated with them. This scope
-     * allows users to attach tags to an individual column based on that schema.
+     * allows you to attach tags to an individual column based on that schema.
      * To attach a tag to a nested column, separate column names with a dot
      * (`.`). Example: `column.nested_column`.
      * 
@@ -1390,7 +1387,7 @@ public boolean hasColumn() { * *
      * Resources like entry can have schemas associated with them. This scope
-     * allows users to attach tags to an individual column based on that schema.
+     * allows you to attach tags to an individual column based on that schema.
      * To attach a tag to a nested column, separate column names with a dot
      * (`.`). Example: `column.nested_column`.
      * 
@@ -1421,7 +1418,7 @@ public java.lang.String getColumn() { * *
      * Resources like entry can have schemas associated with them. This scope
-     * allows users to attach tags to an individual column based on that schema.
+     * allows you to attach tags to an individual column based on that schema.
      * To attach a tag to a nested column, separate column names with a dot
      * (`.`). Example: `column.nested_column`.
      * 
@@ -1452,7 +1449,7 @@ public com.google.protobuf.ByteString getColumnBytes() { * *
      * Resources like entry can have schemas associated with them. This scope
-     * allows users to attach tags to an individual column based on that schema.
+     * allows you to attach tags to an individual column based on that schema.
      * To attach a tag to a nested column, separate column names with a dot
      * (`.`). Example: `column.nested_column`.
      * 
@@ -1476,7 +1473,7 @@ public Builder setColumn(java.lang.String value) { * *
      * Resources like entry can have schemas associated with them. This scope
-     * allows users to attach tags to an individual column based on that schema.
+     * allows you to attach tags to an individual column based on that schema.
      * To attach a tag to a nested column, separate column names with a dot
      * (`.`). Example: `column.nested_column`.
      * 
@@ -1498,7 +1495,7 @@ public Builder clearColumn() { * *
      * Resources like entry can have schemas associated with them. This scope
-     * allows users to attach tags to an individual column based on that schema.
+     * allows you to attach tags to an individual column based on that schema.
      * To attach a tag to a nested column, separate column names with a dot
      * (`.`). Example: `column.nested_column`.
      * 
@@ -1550,8 +1547,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
+     * Required. Maps the ID of a tag field to its value and additional information
+     * about that field.
+     * Tag template defines valid field IDs. A tag
      * must have at least 1 field and at most 500 fields.
      * 
* @@ -1576,8 +1574,9 @@ public java.util.Map * * *
-     * 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
+     * Required. Maps the ID of a tag field to its value and additional information
+     * about that field.
+     * Tag template defines valid field IDs. A tag
      * must have at least 1 field and at most 500 fields.
      * 
* @@ -1594,8 +1593,9 @@ public java.util.Map * * *
-     * 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
+     * Required. Maps the ID of a tag field to its value and additional information
+     * about that field.
+     * Tag template defines valid field IDs. A tag
      * must have at least 1 field and at most 500 fields.
      * 
* @@ -1617,8 +1617,9 @@ public com.google.cloud.datacatalog.v1.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
+     * Required. Maps the ID of a tag field to its value and additional information
+     * about that field.
+     * Tag template defines valid field IDs. A tag
      * must have at least 1 field and at most 500 fields.
      * 
* @@ -1647,8 +1648,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
+     * Required. Maps the ID of a tag field to its value and additional information
+     * about that field.
+     * Tag template defines valid field IDs. A tag
      * must have at least 1 field and at most 500 fields.
      * 
* @@ -1673,8 +1675,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
+     * Required. Maps the ID of a tag field to its value and additional information
+     * about that field.
+     * Tag template defines valid field IDs. A tag
      * must have at least 1 field and at most 500 fields.
      * 
* @@ -1696,8 +1699,9 @@ public Builder putFields(java.lang.String key, com.google.cloud.datacatalog.v1.T * * *
-     * 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
+     * Required. Maps the ID of a tag field to its value and additional information
+     * about that field.
+     * Tag template defines valid field IDs. A tag
      * must have at least 1 field and at most 500 fields.
      * 
* diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagField.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagField.java index 92073156..61c6084e 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagField.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagField.java @@ -22,7 +22,7 @@ * * *
- * Contains the value and supporting information for a field within
+ * Contains the value and additional information on a field within
  * a [Tag][google.cloud.datacatalog.v1.Tag].
  * 
* @@ -134,6 +134,13 @@ private TagField( order_ = input.readInt32(); break; } + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); + kindCase_ = 8; + kind_ = s; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -202,7 +209,7 @@ public interface EnumValueOrBuilder * * *
-   * Holds an enum value.
+   * An enum value.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.TagField.EnumValue} @@ -504,7 +511,7 @@ protected Builder newBuilderForType( * * *
-     * Holds an enum value.
+     * An enum value.
      * 
* * Protobuf type {@code google.cloud.datacatalog.v1.TagField.EnumValue} @@ -832,6 +839,7 @@ public enum KindCase BOOL_VALUE(4), TIMESTAMP_VALUE(5), ENUM_VALUE(6), + RICHTEXT_VALUE(8), KIND_NOT_SET(0); private final int value; @@ -860,6 +868,8 @@ public static KindCase forNumber(int value) { return TIMESTAMP_VALUE; case 6: return ENUM_VALUE; + case 8: + return RICHTEXT_VALUE; case 0: return KIND_NOT_SET; default: @@ -930,7 +940,7 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * * *
-   * Holds the value for a tag field with double type.
+   * The value of a tag field with a double type.
    * 
* * double double_value = 2; @@ -945,7 +955,7 @@ public boolean hasDoubleValue() { * * *
-   * Holds the value for a tag field with double type.
+   * The value of a tag field with a double type.
    * 
* * double double_value = 2; @@ -965,7 +975,7 @@ public double getDoubleValue() { * * *
-   * Holds the value for a tag field with string type.
+   * The value of a tag field with a string type.
    * The maximum length is 2000 UTF-8 characters.
    * 
* @@ -980,7 +990,7 @@ public boolean hasStringValue() { * * *
-   * Holds the value for a tag field with string type.
+   * The value of a tag field with a string type.
    * The maximum length is 2000 UTF-8 characters.
    * 
* @@ -1008,7 +1018,7 @@ public java.lang.String getStringValue() { * * *
-   * Holds the value for a tag field with string type.
+   * The value of a tag field with a string type.
    * The maximum length is 2000 UTF-8 characters.
    * 
* @@ -1038,7 +1048,7 @@ public com.google.protobuf.ByteString getStringValueBytes() { * * *
-   * Holds the value for a tag field with boolean type.
+   * The value of a tag field with a boolean type.
    * 
* * bool bool_value = 4; @@ -1053,7 +1063,7 @@ public boolean hasBoolValue() { * * *
-   * Holds the value for a tag field with boolean type.
+   * The value of a tag field with a boolean type.
    * 
* * bool bool_value = 4; @@ -1073,7 +1083,7 @@ public boolean getBoolValue() { * * *
-   * Holds the value for a tag field with timestamp type.
+   * The value of a tag field with a timestamp type.
    * 
* * .google.protobuf.Timestamp timestamp_value = 5; @@ -1088,7 +1098,7 @@ public boolean hasTimestampValue() { * * *
-   * Holds the value for a tag field with timestamp type.
+   * The value of a tag field with a timestamp type.
    * 
* * .google.protobuf.Timestamp timestamp_value = 5; @@ -1106,7 +1116,7 @@ public com.google.protobuf.Timestamp getTimestampValue() { * * *
-   * Holds the value for a tag field with timestamp type.
+   * The value of a tag field with a timestamp type.
    * 
* * .google.protobuf.Timestamp timestamp_value = 5; @@ -1124,8 +1134,8 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { * * *
-   * Holds the value for a tag field with enum type. This value must be
-   * one of the allowed values in the definition of this enum.
+   * The value of a tag field with an enum type.
+   * This value must be one of the allowed values listed in this enum.
    * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; @@ -1140,8 +1150,8 @@ public boolean hasEnumValue() { * * *
-   * Holds the value for a tag field with enum type. This value must be
-   * one of the allowed values in the definition of this enum.
+   * The value of a tag field with an enum type.
+   * This value must be one of the allowed values listed in this enum.
    * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; @@ -1159,8 +1169,8 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValue getEnumValue() { * * *
-   * Holds the value for a tag field with enum type. This value must be
-   * one of the allowed values in the definition of this enum.
+   * The value of a tag field with an enum type.
+   * This value must be one of the allowed values listed in this enum.
    * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; @@ -1173,17 +1183,96 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder getEnumValueO return com.google.cloud.datacatalog.v1.TagField.EnumValue.getDefaultInstance(); } + public static final int RICHTEXT_VALUE_FIELD_NUMBER = 8; + /** + * + * + *
+   * The value of a tag field with a rich text type.
+   * The maximum length is 10 MiB as this value holds HTML descriptions
+   * including encoded images. The maximum length of the text without images
+   * is 100 KiB.
+   * 
+ * + * string richtext_value = 8; + * + * @return Whether the richtextValue field is set. + */ + public boolean hasRichtextValue() { + return kindCase_ == 8; + } + /** + * + * + *
+   * The value of a tag field with a rich text type.
+   * The maximum length is 10 MiB as this value holds HTML descriptions
+   * including encoded images. The maximum length of the text without images
+   * is 100 KiB.
+   * 
+ * + * string richtext_value = 8; + * + * @return The richtextValue. + */ + public java.lang.String getRichtextValue() { + java.lang.Object ref = ""; + if (kindCase_ == 8) { + ref = kind_; + } + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (kindCase_ == 8) { + kind_ = s; + } + return s; + } + } + /** + * + * + *
+   * The value of a tag field with a rich text type.
+   * The maximum length is 10 MiB as this value holds HTML descriptions
+   * including encoded images. The maximum length of the text without images
+   * is 100 KiB.
+   * 
+ * + * string richtext_value = 8; + * + * @return The bytes for richtextValue. + */ + public com.google.protobuf.ByteString getRichtextValueBytes() { + java.lang.Object ref = ""; + if (kindCase_ == 8) { + ref = kind_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (kindCase_ == 8) { + kind_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int ORDER_FIELD_NUMBER = 7; private int order_; /** * * *
-   * Output only. The order of this field with respect to other fields in this tag. It can be
-   * set in [Tag][google.cloud.datacatalog.v1.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.
+   * Output only. The order of this field with respect to other fields in this tag. Can be
+   * set by [Tag][google.cloud.datacatalog.v1.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 don't have to be sequential.
    * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1230,6 +1319,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (order_ != 0) { output.writeInt32(7, order_); } + if (kindCase_ == 8) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, kind_); + } unknownFields.writeTo(output); } @@ -1268,6 +1360,9 @@ public int getSerializedSize() { if (order_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, order_); } + if (kindCase_ == 8) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, kind_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -1303,6 +1398,9 @@ public boolean equals(final java.lang.Object obj) { case 6: if (!getEnumValue().equals(other.getEnumValue())) return false; break; + case 8: + if (!getRichtextValue().equals(other.getRichtextValue())) return false; + break; case 0: default: } @@ -1345,6 +1443,10 @@ public int hashCode() { hash = (37 * hash) + ENUM_VALUE_FIELD_NUMBER; hash = (53 * hash) + getEnumValue().hashCode(); break; + case 8: + hash = (37 * hash) + RICHTEXT_VALUE_FIELD_NUMBER; + hash = (53 * hash) + getRichtextValue().hashCode(); + break; case 0: default: } @@ -1452,7 +1554,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Contains the value and supporting information for a field within
+   * Contains the value and additional information on a field within
    * a [Tag][google.cloud.datacatalog.v1.Tag].
    * 
* @@ -1551,6 +1653,9 @@ public com.google.cloud.datacatalog.v1.TagField buildPartial() { result.kind_ = enumValueBuilder_.build(); } } + if (kindCase_ == 8) { + result.kind_ = kind_; + } result.order_ = order_; result.kindCase_ = kindCase_; onBuilt(); @@ -1637,6 +1742,13 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.TagField other) { mergeEnumValue(other.getEnumValue()); break; } + case RICHTEXT_VALUE: + { + kindCase_ = 8; + kind_ = other.kind_; + onChanged(); + break; + } case KIND_NOT_SET: { break; @@ -1795,7 +1907,7 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Holds the value for a tag field with double type.
+     * The value of a tag field with a double type.
      * 
* * double double_value = 2; @@ -1809,7 +1921,7 @@ public boolean hasDoubleValue() { * * *
-     * Holds the value for a tag field with double type.
+     * The value of a tag field with a double type.
      * 
* * double double_value = 2; @@ -1826,7 +1938,7 @@ public double getDoubleValue() { * * *
-     * Holds the value for a tag field with double type.
+     * The value of a tag field with a double type.
      * 
* * double double_value = 2; @@ -1844,7 +1956,7 @@ public Builder setDoubleValue(double value) { * * *
-     * Holds the value for a tag field with double type.
+     * The value of a tag field with a double type.
      * 
* * double double_value = 2; @@ -1864,7 +1976,7 @@ public Builder clearDoubleValue() { * * *
-     * Holds the value for a tag field with string type.
+     * The value of a tag field with a string type.
      * The maximum length is 2000 UTF-8 characters.
      * 
* @@ -1880,7 +1992,7 @@ public boolean hasStringValue() { * * *
-     * Holds the value for a tag field with string type.
+     * The value of a tag field with a string type.
      * The maximum length is 2000 UTF-8 characters.
      * 
* @@ -1909,7 +2021,7 @@ public java.lang.String getStringValue() { * * *
-     * Holds the value for a tag field with string type.
+     * The value of a tag field with a string type.
      * The maximum length is 2000 UTF-8 characters.
      * 
* @@ -1938,7 +2050,7 @@ public com.google.protobuf.ByteString getStringValueBytes() { * * *
-     * Holds the value for a tag field with string type.
+     * The value of a tag field with a string type.
      * The maximum length is 2000 UTF-8 characters.
      * 
* @@ -1960,7 +2072,7 @@ public Builder setStringValue(java.lang.String value) { * * *
-     * Holds the value for a tag field with string type.
+     * The value of a tag field with a string type.
      * The maximum length is 2000 UTF-8 characters.
      * 
* @@ -1980,7 +2092,7 @@ public Builder clearStringValue() { * * *
-     * Holds the value for a tag field with string type.
+     * The value of a tag field with a string type.
      * The maximum length is 2000 UTF-8 characters.
      * 
* @@ -2004,7 +2116,7 @@ public Builder setStringValueBytes(com.google.protobuf.ByteString value) { * * *
-     * Holds the value for a tag field with boolean type.
+     * The value of a tag field with a boolean type.
      * 
* * bool bool_value = 4; @@ -2018,7 +2130,7 @@ public boolean hasBoolValue() { * * *
-     * Holds the value for a tag field with boolean type.
+     * The value of a tag field with a boolean type.
      * 
* * bool bool_value = 4; @@ -2035,7 +2147,7 @@ public boolean getBoolValue() { * * *
-     * Holds the value for a tag field with boolean type.
+     * The value of a tag field with a boolean type.
      * 
* * bool bool_value = 4; @@ -2053,7 +2165,7 @@ public Builder setBoolValue(boolean value) { * * *
-     * Holds the value for a tag field with boolean type.
+     * The value of a tag field with a boolean type.
      * 
* * bool bool_value = 4; @@ -2078,7 +2190,7 @@ public Builder clearBoolValue() { * * *
-     * Holds the value for a tag field with timestamp type.
+     * The value of a tag field with a timestamp type.
      * 
* * .google.protobuf.Timestamp timestamp_value = 5; @@ -2093,7 +2205,7 @@ public boolean hasTimestampValue() { * * *
-     * Holds the value for a tag field with timestamp type.
+     * The value of a tag field with a timestamp type.
      * 
* * .google.protobuf.Timestamp timestamp_value = 5; @@ -2118,7 +2230,7 @@ public com.google.protobuf.Timestamp getTimestampValue() { * * *
-     * Holds the value for a tag field with timestamp type.
+     * The value of a tag field with a timestamp type.
      * 
* * .google.protobuf.Timestamp timestamp_value = 5; @@ -2140,7 +2252,7 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp value) { * * *
-     * Holds the value for a tag field with timestamp type.
+     * The value of a tag field with a timestamp type.
      * 
* * .google.protobuf.Timestamp timestamp_value = 5; @@ -2159,7 +2271,7 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderFo * * *
-     * Holds the value for a tag field with timestamp type.
+     * The value of a tag field with a timestamp type.
      * 
* * .google.protobuf.Timestamp timestamp_value = 5; @@ -2188,7 +2300,7 @@ public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) { * * *
-     * Holds the value for a tag field with timestamp type.
+     * The value of a tag field with a timestamp type.
      * 
* * .google.protobuf.Timestamp timestamp_value = 5; @@ -2213,7 +2325,7 @@ public Builder clearTimestampValue() { * * *
-     * Holds the value for a tag field with timestamp type.
+     * The value of a tag field with a timestamp type.
      * 
* * .google.protobuf.Timestamp timestamp_value = 5; @@ -2225,7 +2337,7 @@ public com.google.protobuf.Timestamp.Builder getTimestampValueBuilder() { * * *
-     * Holds the value for a tag field with timestamp type.
+     * The value of a tag field with a timestamp type.
      * 
* * .google.protobuf.Timestamp timestamp_value = 5; @@ -2245,7 +2357,7 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { * * *
-     * Holds the value for a tag field with timestamp type.
+     * The value of a tag field with a timestamp type.
      * 
* * .google.protobuf.Timestamp timestamp_value = 5; @@ -2282,8 +2394,8 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { * * *
-     * Holds the value for a tag field with enum type. This value must be
-     * one of the allowed values in the definition of this enum.
+     * The value of a tag field with an enum type.
+     * This value must be one of the allowed values listed in this enum.
      * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; @@ -2298,8 +2410,8 @@ public boolean hasEnumValue() { * * *
-     * Holds the value for a tag field with enum type. This value must be
-     * one of the allowed values in the definition of this enum.
+     * The value of a tag field with an enum type.
+     * This value must be one of the allowed values listed in this enum.
      * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; @@ -2324,8 +2436,8 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValue getEnumValue() { * * *
-     * Holds the value for a tag field with enum type. This value must be
-     * one of the allowed values in the definition of this enum.
+     * The value of a tag field with an enum type.
+     * This value must be one of the allowed values listed in this enum.
      * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; @@ -2347,8 +2459,8 @@ public Builder setEnumValue(com.google.cloud.datacatalog.v1.TagField.EnumValue v * * *
-     * Holds the value for a tag field with enum type. This value must be
-     * one of the allowed values in the definition of this enum.
+     * The value of a tag field with an enum type.
+     * This value must be one of the allowed values listed in this enum.
      * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; @@ -2368,8 +2480,8 @@ public Builder setEnumValue( * * *
-     * Holds the value for a tag field with enum type. This value must be
-     * one of the allowed values in the definition of this enum.
+     * The value of a tag field with an enum type.
+     * This value must be one of the allowed values listed in this enum.
      * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; @@ -2400,8 +2512,8 @@ public Builder mergeEnumValue(com.google.cloud.datacatalog.v1.TagField.EnumValue * * *
-     * Holds the value for a tag field with enum type. This value must be
-     * one of the allowed values in the definition of this enum.
+     * The value of a tag field with an enum type.
+     * This value must be one of the allowed values listed in this enum.
      * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; @@ -2426,8 +2538,8 @@ public Builder clearEnumValue() { * * *
-     * Holds the value for a tag field with enum type. This value must be
-     * one of the allowed values in the definition of this enum.
+     * The value of a tag field with an enum type.
+     * This value must be one of the allowed values listed in this enum.
      * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; @@ -2439,8 +2551,8 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValue.Builder getEnumValueBu * * *
-     * Holds the value for a tag field with enum type. This value must be
-     * one of the allowed values in the definition of this enum.
+     * The value of a tag field with an enum type.
+     * This value must be one of the allowed values listed in this enum.
      * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; @@ -2460,8 +2572,8 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder getEnumValueO * * *
-     * Holds the value for a tag field with enum type. This value must be
-     * one of the allowed values in the definition of this enum.
+     * The value of a tag field with an enum type.
+     * This value must be one of the allowed values listed in this enum.
      * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; @@ -2491,16 +2603,168 @@ public com.google.cloud.datacatalog.v1.TagField.EnumValueOrBuilder getEnumValueO return enumValueBuilder_; } + /** + * + * + *
+     * The value of a tag field with a rich text type.
+     * The maximum length is 10 MiB as this value holds HTML descriptions
+     * including encoded images. The maximum length of the text without images
+     * is 100 KiB.
+     * 
+ * + * string richtext_value = 8; + * + * @return Whether the richtextValue field is set. + */ + @java.lang.Override + public boolean hasRichtextValue() { + return kindCase_ == 8; + } + /** + * + * + *
+     * The value of a tag field with a rich text type.
+     * The maximum length is 10 MiB as this value holds HTML descriptions
+     * including encoded images. The maximum length of the text without images
+     * is 100 KiB.
+     * 
+ * + * string richtext_value = 8; + * + * @return The richtextValue. + */ + @java.lang.Override + public java.lang.String getRichtextValue() { + java.lang.Object ref = ""; + if (kindCase_ == 8) { + ref = kind_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (kindCase_ == 8) { + kind_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The value of a tag field with a rich text type.
+     * The maximum length is 10 MiB as this value holds HTML descriptions
+     * including encoded images. The maximum length of the text without images
+     * is 100 KiB.
+     * 
+ * + * string richtext_value = 8; + * + * @return The bytes for richtextValue. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRichtextValueBytes() { + java.lang.Object ref = ""; + if (kindCase_ == 8) { + ref = kind_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (kindCase_ == 8) { + kind_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The value of a tag field with a rich text type.
+     * The maximum length is 10 MiB as this value holds HTML descriptions
+     * including encoded images. The maximum length of the text without images
+     * is 100 KiB.
+     * 
+ * + * string richtext_value = 8; + * + * @param value The richtextValue to set. + * @return This builder for chaining. + */ + public Builder setRichtextValue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + kindCase_ = 8; + kind_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The value of a tag field with a rich text type.
+     * The maximum length is 10 MiB as this value holds HTML descriptions
+     * including encoded images. The maximum length of the text without images
+     * is 100 KiB.
+     * 
+ * + * string richtext_value = 8; + * + * @return This builder for chaining. + */ + public Builder clearRichtextValue() { + if (kindCase_ == 8) { + kindCase_ = 0; + kind_ = null; + onChanged(); + } + return this; + } + /** + * + * + *
+     * The value of a tag field with a rich text type.
+     * The maximum length is 10 MiB as this value holds HTML descriptions
+     * including encoded images. The maximum length of the text without images
+     * is 100 KiB.
+     * 
+ * + * string richtext_value = 8; + * + * @param value The bytes for richtextValue to set. + * @return This builder for chaining. + */ + public Builder setRichtextValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kindCase_ = 8; + kind_ = value; + onChanged(); + return this; + } + private int order_; /** * * *
-     * Output only. The order of this field with respect to other fields in this tag. It can be
-     * set in [Tag][google.cloud.datacatalog.v1.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.
+     * Output only. The order of this field with respect to other fields in this tag. Can be
+     * set by [Tag][google.cloud.datacatalog.v1.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 don't have to be sequential.
      * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2515,11 +2779,11 @@ 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.v1.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.
+     * Output only. The order of this field with respect to other fields in this tag. Can be
+     * set by [Tag][google.cloud.datacatalog.v1.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 don't have to be sequential.
      * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2537,11 +2801,11 @@ 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.v1.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.
+     * Output only. The order of this field with respect to other fields in this tag. Can be
+     * set by [Tag][google.cloud.datacatalog.v1.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 don't have to be sequential.
      * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagFieldOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagFieldOrBuilder.java index 6b94d3c6..fd26af12 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagFieldOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagFieldOrBuilder.java @@ -52,7 +52,7 @@ public interface TagFieldOrBuilder * * *
-   * Holds the value for a tag field with double type.
+   * The value of a tag field with a double type.
    * 
* * double double_value = 2; @@ -64,7 +64,7 @@ public interface TagFieldOrBuilder * * *
-   * Holds the value for a tag field with double type.
+   * The value of a tag field with a double type.
    * 
* * double double_value = 2; @@ -77,7 +77,7 @@ public interface TagFieldOrBuilder * * *
-   * Holds the value for a tag field with string type.
+   * The value of a tag field with a string type.
    * The maximum length is 2000 UTF-8 characters.
    * 
* @@ -90,7 +90,7 @@ public interface TagFieldOrBuilder * * *
-   * Holds the value for a tag field with string type.
+   * The value of a tag field with a string type.
    * The maximum length is 2000 UTF-8 characters.
    * 
* @@ -103,7 +103,7 @@ public interface TagFieldOrBuilder * * *
-   * Holds the value for a tag field with string type.
+   * The value of a tag field with a string type.
    * The maximum length is 2000 UTF-8 characters.
    * 
* @@ -117,7 +117,7 @@ public interface TagFieldOrBuilder * * *
-   * Holds the value for a tag field with boolean type.
+   * The value of a tag field with a boolean type.
    * 
* * bool bool_value = 4; @@ -129,7 +129,7 @@ public interface TagFieldOrBuilder * * *
-   * Holds the value for a tag field with boolean type.
+   * The value of a tag field with a boolean type.
    * 
* * bool bool_value = 4; @@ -142,7 +142,7 @@ public interface TagFieldOrBuilder * * *
-   * Holds the value for a tag field with timestamp type.
+   * The value of a tag field with a timestamp type.
    * 
* * .google.protobuf.Timestamp timestamp_value = 5; @@ -154,7 +154,7 @@ public interface TagFieldOrBuilder * * *
-   * Holds the value for a tag field with timestamp type.
+   * The value of a tag field with a timestamp type.
    * 
* * .google.protobuf.Timestamp timestamp_value = 5; @@ -166,7 +166,7 @@ public interface TagFieldOrBuilder * * *
-   * Holds the value for a tag field with timestamp type.
+   * The value of a tag field with a timestamp type.
    * 
* * .google.protobuf.Timestamp timestamp_value = 5; @@ -177,8 +177,8 @@ public interface TagFieldOrBuilder * * *
-   * Holds the value for a tag field with enum type. This value must be
-   * one of the allowed values in the definition of this enum.
+   * The value of a tag field with an enum type.
+   * This value must be one of the allowed values listed in this enum.
    * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; @@ -190,8 +190,8 @@ public interface TagFieldOrBuilder * * *
-   * Holds the value for a tag field with enum type. This value must be
-   * one of the allowed values in the definition of this enum.
+   * The value of a tag field with an enum type.
+   * This value must be one of the allowed values listed in this enum.
    * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; @@ -203,8 +203,8 @@ public interface TagFieldOrBuilder * * *
-   * Holds the value for a tag field with enum type. This value must be
-   * one of the allowed values in the definition of this enum.
+   * The value of a tag field with an enum type.
+   * This value must be one of the allowed values listed in this enum.
    * 
* * .google.cloud.datacatalog.v1.TagField.EnumValue enum_value = 6; @@ -215,11 +215,57 @@ 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.v1.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.
+   * The value of a tag field with a rich text type.
+   * The maximum length is 10 MiB as this value holds HTML descriptions
+   * including encoded images. The maximum length of the text without images
+   * is 100 KiB.
+   * 
+ * + * string richtext_value = 8; + * + * @return Whether the richtextValue field is set. + */ + boolean hasRichtextValue(); + /** + * + * + *
+   * The value of a tag field with a rich text type.
+   * The maximum length is 10 MiB as this value holds HTML descriptions
+   * including encoded images. The maximum length of the text without images
+   * is 100 KiB.
+   * 
+ * + * string richtext_value = 8; + * + * @return The richtextValue. + */ + java.lang.String getRichtextValue(); + /** + * + * + *
+   * The value of a tag field with a rich text type.
+   * The maximum length is 10 MiB as this value holds HTML descriptions
+   * including encoded images. The maximum length of the text without images
+   * is 100 KiB.
+   * 
+ * + * string richtext_value = 8; + * + * @return The bytes for richtextValue. + */ + com.google.protobuf.ByteString getRichtextValueBytes(); + + /** + * + * + *
+   * Output only. The order of this field with respect to other fields in this tag. Can be
+   * set by [Tag][google.cloud.datacatalog.v1.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 don't have to be sequential.
    * 
* * int32 order = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagOrBuilder.java index 4c2ed3f8..92591f55 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagOrBuilder.java @@ -27,9 +27,8 @@ public interface TagOrBuilder * * *
-   * The resource name of the tag in URL format. Example:
-   * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}`
-   * where `tag_id` is a system-generated identifier.
+   * The resource name of the tag in URL format where tag ID is a
+   * system-generated identifier.
    * Note: The tag itself might not be stored in the location specified in its
    * name.
    * 
@@ -43,9 +42,8 @@ public interface TagOrBuilder * * *
-   * The resource name of the tag in URL format. Example:
-   * `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}`
-   * where `tag_id` is a system-generated identifier.
+   * The resource name of the tag in URL format where tag ID is a
+   * system-generated identifier.
    * Note: The tag itself might not be stored in the location specified in its
    * name.
    * 
@@ -60,8 +58,8 @@ public interface TagOrBuilder * * *
-   * Required. The resource name of the tag template that this tag uses. Example:
-   * `projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}`
+   * Required. The resource name of the tag template this tag uses. Example:
+   * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}`
    * This field cannot be modified after creation.
    * 
* @@ -74,8 +72,8 @@ public interface TagOrBuilder * * *
-   * Required. The resource name of the tag template that this tag uses. Example:
-   * `projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}`
+   * Required. The resource name of the tag template this tag uses. Example:
+   * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}`
    * This field cannot be modified after creation.
    * 
* @@ -115,7 +113,7 @@ public interface TagOrBuilder * *
    * Resources like entry can have schemas associated with them. This scope
-   * allows users to attach tags to an individual column based on that schema.
+   * allows you to attach tags to an individual column based on that schema.
    * To attach a tag to a nested column, separate column names with a dot
    * (`.`). Example: `column.nested_column`.
    * 
@@ -130,7 +128,7 @@ public interface TagOrBuilder * *
    * Resources like entry can have schemas associated with them. This scope
-   * allows users to attach tags to an individual column based on that schema.
+   * allows you to attach tags to an individual column based on that schema.
    * To attach a tag to a nested column, separate column names with a dot
    * (`.`). Example: `column.nested_column`.
    * 
@@ -145,7 +143,7 @@ public interface TagOrBuilder * *
    * Resources like entry can have schemas associated with them. This scope
-   * allows users to attach tags to an individual column based on that schema.
+   * allows you to attach tags to an individual column based on that schema.
    * To attach a tag to a nested column, separate column names with a dot
    * (`.`). Example: `column.nested_column`.
    * 
@@ -160,8 +158,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
+   * Required. Maps the ID of a tag field to its value and additional information
+   * about that field.
+   * Tag template defines valid field IDs. A tag
    * must have at least 1 field and at most 500 fields.
    * 
* @@ -174,8 +173,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
+   * Required. Maps the ID of a tag field to its value and additional information
+   * about that field.
+   * Tag template defines valid field IDs. A tag
    * must have at least 1 field and at most 500 fields.
    * 
* @@ -191,8 +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
+   * Required. Maps the ID of a tag field to its value and additional information
+   * about that field.
+   * Tag template defines valid field IDs. A tag
    * must have at least 1 field and at most 500 fields.
    * 
* @@ -205,8 +206,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
+   * Required. Maps the ID of a tag field to its value and additional information
+   * about that field.
+   * Tag template defines valid field IDs. A tag
    * must have at least 1 field and at most 500 fields.
    * 
* @@ -220,8 +222,9 @@ com.google.cloud.datacatalog.v1.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
+   * Required. Maps the ID of a tag field to its value and additional information
+   * about that field.
+   * Tag template defines valid field IDs. A tag
    * must have at least 1 field and at most 500 fields.
    * 
* diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplate.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplate.java index 250fb7aa..3d7727b1 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplate.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplate.java @@ -22,14 +22,14 @@ * * *
- * 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.
- * [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,
- * the [TagTemplate
- * User](https://cloud.google.com/data-catalog/docs/how-to/template-user) role,
- * which includes permission to use the tag template to tag resources.
+ * A tag template defines a tag that can have one or more typed fields.
+ * The template is used to create tags that are attached to GCP resources.
+ * [Tag template roles]
+ * (https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles)
+ * provide permissions to create, edit, and use the template. For example,
+ * see the [TagTemplate User]
+ * (https://cloud.google.com/data-catalog/docs/how-to/template-user) role
+ * that includes a permission to use the tag template to tag resources.
  * 
* * Protobuf type {@code google.cloud.datacatalog.v1.TagTemplate} @@ -109,6 +109,11 @@ private TagTemplate( fields_.getMutableMap().put(fields__.getKey(), fields__.getValue()); break; } + case 40: + { + isPubliclyReadable_ = input.readBool(); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -160,8 +165,7 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * *
-   * The resource name of the tag template in URL format. Example:
-   * `projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}`
+   * The resource name of the tag template in URL format.
    * Note: The tag template itself and its child resources might not be
    * stored in the location specified in its name.
    * 
@@ -186,8 +190,7 @@ public java.lang.String getName() { * * *
-   * The resource name of the tag template in URL format. Example:
-   * `projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}`
+   * The resource name of the tag template in URL format.
    * Note: The tag template itself and its child resources might not be
    * stored in the location specified in its name.
    * 
@@ -264,6 +267,44 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } + public static final int IS_PUBLICLY_READABLE_FIELD_NUMBER = 5; + private boolean isPubliclyReadable_; + /** + * + * + *
+   * Indicates whether this is a public tag template.
+   * Every user has view access to a *public* tag template by default.
+   * This means that:
+   *   * Every user can use this tag template to tag an entry.
+   *   * If an entry is tagged using the tag template, the tag is always
+   *     shown in the response to ``ListTags`` called on the entry.
+   *   * To get the template using the GetTagTemplate method, you
+   *     need view access either on the project or the organization the tag
+   *     template resides in but no other permission is needed.
+   *   * Operations on the tag template other than viewing (for example,
+   *     editing IAM policies) follow standard IAM structures.
+   * Tags created with a public tag template are referred to as public tags.
+   * You can search for a public tag by value with a
+   * simple search query instead of using a ``tag:`` predicate.
+   * Public tag templates may not appear in search results depending on scope,
+   * see:
+   * [include_public_tag_templates][google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates]
+   * Note: If an [IAM domain
+   * restriction](https://cloud.google.com/resource-manager/docs/organization-policy/restricting-domains)
+   * is configured in the tag template's location, the public access will not be
+   * enabled but the simple search for tag values will still work.
+   * 
+ * + * bool is_publicly_readable = 5; + * + * @return The isPubliclyReadable. + */ + @java.lang.Override + public boolean getIsPubliclyReadable() { + return isPubliclyReadable_; + } + public static final int FIELDS_FIELD_NUMBER = 3; private static final class FieldsDefaultEntryHolder { @@ -302,12 +343,14 @@ public int getFieldsCount() { * *
    * Required. Map of tag template field IDs to the settings for the field.
-   * This map is an exhaustive list of the allowed fields. This map must contain
+   * This map is an exhaustive list of the allowed fields. The map must contain
    * at least one field and at most 500 fields.
-   * The keys to this map are tag template field IDs. Field IDs can contain
-   * 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.
+   * The keys to this map are tag template field IDs. The IDs have the
+   * following limitations:
+   * * Can contain uppercase and lowercase letters, numbers (0-9) and
+   *   underscores (_).
+   * * Must be at least 1 character and at most 64 characters long.
+   * * Must start with a letter or underscore.
    * 
* * @@ -333,12 +376,14 @@ public boolean containsFields(java.lang.String key) { * *
    * Required. Map of tag template field IDs to the settings for the field.
-   * This map is an exhaustive list of the allowed fields. This map must contain
+   * This map is an exhaustive list of the allowed fields. The map must contain
    * at least one field and at most 500 fields.
-   * The keys to this map are tag template field IDs. Field IDs can contain
-   * 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.
+   * The keys to this map are tag template field IDs. The IDs have the
+   * following limitations:
+   * * Can contain uppercase and lowercase letters, numbers (0-9) and
+   *   underscores (_).
+   * * Must be at least 1 character and at most 64 characters long.
+   * * Must start with a letter or underscore.
    * 
* * @@ -355,12 +400,14 @@ public boolean containsFields(java.lang.String key) { * *
    * Required. Map of tag template field IDs to the settings for the field.
-   * This map is an exhaustive list of the allowed fields. This map must contain
+   * This map is an exhaustive list of the allowed fields. The map must contain
    * at least one field and at most 500 fields.
-   * The keys to this map are tag template field IDs. Field IDs can contain
-   * 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.
+   * The keys to this map are tag template field IDs. The IDs have the
+   * following limitations:
+   * * Can contain uppercase and lowercase letters, numbers (0-9) and
+   *   underscores (_).
+   * * Must be at least 1 character and at most 64 characters long.
+   * * Must start with a letter or underscore.
    * 
* * @@ -382,12 +429,14 @@ public com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrDefault( * *
    * Required. Map of tag template field IDs to the settings for the field.
-   * This map is an exhaustive list of the allowed fields. This map must contain
+   * This map is an exhaustive list of the allowed fields. The map must contain
    * at least one field and at most 500 fields.
-   * The keys to this map are tag template field IDs. Field IDs can contain
-   * 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.
+   * The keys to this map are tag template field IDs. The IDs have the
+   * following limitations:
+   * * Can contain uppercase and lowercase letters, numbers (0-9) and
+   *   underscores (_).
+   * * Must be at least 1 character and at most 64 characters long.
+   * * Must start with a letter or underscore.
    * 
* * @@ -429,6 +478,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetFields(), FieldsDefaultEntryHolder.defaultEntry, 3); + if (isPubliclyReadable_ != false) { + output.writeBool(5, isPubliclyReadable_); + } unknownFields.writeTo(output); } @@ -456,6 +508,9 @@ public int getSerializedSize() { .build(); size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, fields__); } + if (isPubliclyReadable_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, isPubliclyReadable_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -474,6 +529,7 @@ public boolean equals(final java.lang.Object obj) { if (!getName().equals(other.getName())) return false; if (!getDisplayName().equals(other.getDisplayName())) return false; + if (getIsPubliclyReadable() != other.getIsPubliclyReadable()) return false; if (!internalGetFields().equals(other.internalGetFields())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -490,6 +546,8 @@ public int hashCode() { hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; hash = (53 * hash) + getDisplayName().hashCode(); + hash = (37 * hash) + IS_PUBLICLY_READABLE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsPubliclyReadable()); if (!internalGetFields().getMap().isEmpty()) { hash = (37 * hash) + FIELDS_FIELD_NUMBER; hash = (53 * hash) + internalGetFields().hashCode(); @@ -598,14 +656,14 @@ 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.
-   * [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,
-   * the [TagTemplate
-   * User](https://cloud.google.com/data-catalog/docs/how-to/template-user) role,
-   * which includes permission to use the tag template to tag resources.
+   * A tag template defines a tag that can have one or more typed fields.
+   * The template is used to create tags that are attached to GCP resources.
+   * [Tag template roles]
+   * (https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles)
+   * provide permissions to create, edit, and use the template. For example,
+   * see the [TagTemplate User]
+   * (https://cloud.google.com/data-catalog/docs/how-to/template-user) role
+   * that includes a permission to use the tag template to tag resources.
    * 
* * Protobuf type {@code google.cloud.datacatalog.v1.TagTemplate} @@ -670,6 +728,8 @@ public Builder clear() { displayName_ = ""; + isPubliclyReadable_ = false; + internalGetMutableFields().clear(); return this; } @@ -701,6 +761,7 @@ public com.google.cloud.datacatalog.v1.TagTemplate buildPartial() { int from_bitField0_ = bitField0_; result.name_ = name_; result.displayName_ = displayName_; + result.isPubliclyReadable_ = isPubliclyReadable_; result.fields_ = internalGetFields(); result.fields_.makeImmutable(); onBuilt(); @@ -760,6 +821,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1.TagTemplate other) { displayName_ = other.displayName_; onChanged(); } + if (other.getIsPubliclyReadable() != false) { + setIsPubliclyReadable(other.getIsPubliclyReadable()); + } internalGetMutableFields().mergeFrom(other.internalGetFields()); this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -797,8 +861,7 @@ public Builder mergeFrom( * * *
-     * The resource name of the tag template in URL format. Example:
-     * `projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}`
+     * The resource name of the tag template in URL format.
      * Note: The tag template itself and its child resources might not be
      * stored in the location specified in its name.
      * 
@@ -822,8 +885,7 @@ public java.lang.String getName() { * * *
-     * The resource name of the tag template in URL format. Example:
-     * `projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}`
+     * The resource name of the tag template in URL format.
      * Note: The tag template itself and its child resources might not be
      * stored in the location specified in its name.
      * 
@@ -847,8 +909,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The resource name of the tag template in URL format. Example:
-     * `projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}`
+     * The resource name of the tag template in URL format.
      * Note: The tag template itself and its child resources might not be
      * stored in the location specified in its name.
      * 
@@ -871,8 +932,7 @@ public Builder setName(java.lang.String value) { * * *
-     * The resource name of the tag template in URL format. Example:
-     * `projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}`
+     * The resource name of the tag template in URL format.
      * Note: The tag template itself and its child resources might not be
      * stored in the location specified in its name.
      * 
@@ -891,8 +951,7 @@ public Builder clearName() { * * *
-     * The resource name of the tag template in URL format. Example:
-     * `projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}`
+     * The resource name of the tag template in URL format.
      * Note: The tag template itself and its child resources might not be
      * stored in the location specified in its name.
      * 
@@ -1034,6 +1093,118 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { return this; } + private boolean isPubliclyReadable_; + /** + * + * + *
+     * Indicates whether this is a public tag template.
+     * Every user has view access to a *public* tag template by default.
+     * This means that:
+     *   * Every user can use this tag template to tag an entry.
+     *   * If an entry is tagged using the tag template, the tag is always
+     *     shown in the response to ``ListTags`` called on the entry.
+     *   * To get the template using the GetTagTemplate method, you
+     *     need view access either on the project or the organization the tag
+     *     template resides in but no other permission is needed.
+     *   * Operations on the tag template other than viewing (for example,
+     *     editing IAM policies) follow standard IAM structures.
+     * Tags created with a public tag template are referred to as public tags.
+     * You can search for a public tag by value with a
+     * simple search query instead of using a ``tag:`` predicate.
+     * Public tag templates may not appear in search results depending on scope,
+     * see:
+     * [include_public_tag_templates][google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates]
+     * Note: If an [IAM domain
+     * restriction](https://cloud.google.com/resource-manager/docs/organization-policy/restricting-domains)
+     * is configured in the tag template's location, the public access will not be
+     * enabled but the simple search for tag values will still work.
+     * 
+ * + * bool is_publicly_readable = 5; + * + * @return The isPubliclyReadable. + */ + @java.lang.Override + public boolean getIsPubliclyReadable() { + return isPubliclyReadable_; + } + /** + * + * + *
+     * Indicates whether this is a public tag template.
+     * Every user has view access to a *public* tag template by default.
+     * This means that:
+     *   * Every user can use this tag template to tag an entry.
+     *   * If an entry is tagged using the tag template, the tag is always
+     *     shown in the response to ``ListTags`` called on the entry.
+     *   * To get the template using the GetTagTemplate method, you
+     *     need view access either on the project or the organization the tag
+     *     template resides in but no other permission is needed.
+     *   * Operations on the tag template other than viewing (for example,
+     *     editing IAM policies) follow standard IAM structures.
+     * Tags created with a public tag template are referred to as public tags.
+     * You can search for a public tag by value with a
+     * simple search query instead of using a ``tag:`` predicate.
+     * Public tag templates may not appear in search results depending on scope,
+     * see:
+     * [include_public_tag_templates][google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates]
+     * Note: If an [IAM domain
+     * restriction](https://cloud.google.com/resource-manager/docs/organization-policy/restricting-domains)
+     * is configured in the tag template's location, the public access will not be
+     * enabled but the simple search for tag values will still work.
+     * 
+ * + * bool is_publicly_readable = 5; + * + * @param value The isPubliclyReadable to set. + * @return This builder for chaining. + */ + public Builder setIsPubliclyReadable(boolean value) { + + isPubliclyReadable_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Indicates whether this is a public tag template.
+     * Every user has view access to a *public* tag template by default.
+     * This means that:
+     *   * Every user can use this tag template to tag an entry.
+     *   * If an entry is tagged using the tag template, the tag is always
+     *     shown in the response to ``ListTags`` called on the entry.
+     *   * To get the template using the GetTagTemplate method, you
+     *     need view access either on the project or the organization the tag
+     *     template resides in but no other permission is needed.
+     *   * Operations on the tag template other than viewing (for example,
+     *     editing IAM policies) follow standard IAM structures.
+     * Tags created with a public tag template are referred to as public tags.
+     * You can search for a public tag by value with a
+     * simple search query instead of using a ``tag:`` predicate.
+     * Public tag templates may not appear in search results depending on scope,
+     * see:
+     * [include_public_tag_templates][google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates]
+     * Note: If an [IAM domain
+     * restriction](https://cloud.google.com/resource-manager/docs/organization-policy/restricting-domains)
+     * is configured in the tag template's location, the public access will not be
+     * enabled but the simple search for tag values will still work.
+     * 
+ * + * bool is_publicly_readable = 5; + * + * @return This builder for chaining. + */ + public Builder clearIsPubliclyReadable() { + + isPubliclyReadable_ = false; + onChanged(); + return this; + } + private com.google.protobuf.MapField< java.lang.String, com.google.cloud.datacatalog.v1.TagTemplateField> fields_; @@ -1069,12 +1240,14 @@ public int getFieldsCount() { * *
      * Required. Map of tag template field IDs to the settings for the field.
-     * This map is an exhaustive list of the allowed fields. This map must contain
+     * This map is an exhaustive list of the allowed fields. The map must contain
      * at least one field and at most 500 fields.
-     * The keys to this map are tag template field IDs. Field IDs can contain
-     * 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.
+     * The keys to this map are tag template field IDs. The IDs have the
+     * following limitations:
+     * * Can contain uppercase and lowercase letters, numbers (0-9) and
+     *   underscores (_).
+     * * Must be at least 1 character and at most 64 characters long.
+     * * Must start with a letter or underscore.
      * 
* * @@ -1100,12 +1273,14 @@ public boolean containsFields(java.lang.String key) { * *
      * Required. Map of tag template field IDs to the settings for the field.
-     * This map is an exhaustive list of the allowed fields. This map must contain
+     * This map is an exhaustive list of the allowed fields. The map must contain
      * at least one field and at most 500 fields.
-     * The keys to this map are tag template field IDs. Field IDs can contain
-     * 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.
+     * The keys to this map are tag template field IDs. The IDs have the
+     * following limitations:
+     * * Can contain uppercase and lowercase letters, numbers (0-9) and
+     *   underscores (_).
+     * * Must be at least 1 character and at most 64 characters long.
+     * * Must start with a letter or underscore.
      * 
* * @@ -1122,12 +1297,14 @@ public boolean containsFields(java.lang.String key) { * *
      * Required. Map of tag template field IDs to the settings for the field.
-     * This map is an exhaustive list of the allowed fields. This map must contain
+     * This map is an exhaustive list of the allowed fields. The map must contain
      * at least one field and at most 500 fields.
-     * The keys to this map are tag template field IDs. Field IDs can contain
-     * 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.
+     * The keys to this map are tag template field IDs. The IDs have the
+     * following limitations:
+     * * Can contain uppercase and lowercase letters, numbers (0-9) and
+     *   underscores (_).
+     * * Must be at least 1 character and at most 64 characters long.
+     * * Must start with a letter or underscore.
      * 
* * @@ -1149,12 +1326,14 @@ public com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrDefault( * *
      * Required. Map of tag template field IDs to the settings for the field.
-     * This map is an exhaustive list of the allowed fields. This map must contain
+     * This map is an exhaustive list of the allowed fields. The map must contain
      * at least one field and at most 500 fields.
-     * The keys to this map are tag template field IDs. Field IDs can contain
-     * 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.
+     * The keys to this map are tag template field IDs. The IDs have the
+     * following limitations:
+     * * Can contain uppercase and lowercase letters, numbers (0-9) and
+     *   underscores (_).
+     * * Must be at least 1 character and at most 64 characters long.
+     * * Must start with a letter or underscore.
      * 
* * @@ -1183,12 +1362,14 @@ public Builder clearFields() { * *
      * Required. Map of tag template field IDs to the settings for the field.
-     * This map is an exhaustive list of the allowed fields. This map must contain
+     * This map is an exhaustive list of the allowed fields. The map must contain
      * at least one field and at most 500 fields.
-     * The keys to this map are tag template field IDs. Field IDs can contain
-     * 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.
+     * The keys to this map are tag template field IDs. The IDs have the
+     * following limitations:
+     * * Can contain uppercase and lowercase letters, numbers (0-9) and
+     *   underscores (_).
+     * * Must be at least 1 character and at most 64 characters long.
+     * * Must start with a letter or underscore.
      * 
* * @@ -1213,12 +1394,14 @@ public Builder removeFields(java.lang.String key) { * *
      * Required. Map of tag template field IDs to the settings for the field.
-     * This map is an exhaustive list of the allowed fields. This map must contain
+     * This map is an exhaustive list of the allowed fields. The map must contain
      * at least one field and at most 500 fields.
-     * The keys to this map are tag template field IDs. Field IDs can contain
-     * 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.
+     * The keys to this map are tag template field IDs. The IDs have the
+     * following limitations:
+     * * Can contain uppercase and lowercase letters, numbers (0-9) and
+     *   underscores (_).
+     * * Must be at least 1 character and at most 64 characters long.
+     * * Must start with a letter or underscore.
      * 
* * @@ -1241,12 +1424,14 @@ public Builder putFields( * *
      * Required. Map of tag template field IDs to the settings for the field.
-     * This map is an exhaustive list of the allowed fields. This map must contain
+     * This map is an exhaustive list of the allowed fields. The map must contain
      * at least one field and at most 500 fields.
-     * The keys to this map are tag template field IDs. Field IDs can contain
-     * 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.
+     * The keys to this map are tag template field IDs. The IDs have the
+     * following limitations:
+     * * Can contain uppercase and lowercase letters, numbers (0-9) and
+     *   underscores (_).
+     * * Must be at least 1 character and at most 64 characters long.
+     * * Must start with a letter or underscore.
      * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateField.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateField.java index a8e33b2f..2d54fcfe 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateField.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateField.java @@ -160,8 +160,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * Output only. The resource name of the tag template field in URL format. Example:
-   * `projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}`
-   * Note: The `TagTemplateField` itself might not be stored in the location
+   * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`
+   * Note: The tag template field itself might not be stored in the location
    * specified in its name.
    * The name must contain only letters (a-z, A-Z), numbers (0-9),
    * or underscores (_), and must start with a letter or underscore.
@@ -189,8 +189,8 @@ public java.lang.String getName() {
    *
    * 
    * Output only. The resource name of the tag template field in URL format. Example:
-   * `projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}`
-   * Note: The `TagTemplateField` itself might not be stored in the location
+   * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`
+   * Note: The tag template field itself might not be stored in the location
    * specified in its name.
    * The name must contain only letters (a-z, A-Z), numbers (0-9),
    * or underscores (_), and must start with a letter or underscore.
@@ -327,7 +327,7 @@ public com.google.cloud.datacatalog.v1.FieldTypeOrBuilder getTypeOrBuilder() {
    *
    *
    * 
-   * Whether this is a required field. Defaults to false.
+   * If true, this field is required. Defaults to false.
    * 
* * bool is_required = 3; @@ -395,9 +395,10 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * *
    * The order of this field with respect to other fields in this tag
-   * template. 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.
+   * template.
+   * 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 don't have to be sequential.
    * 
* * int32 order = 5; @@ -822,8 +823,8 @@ public Builder mergeFrom( * *
      * Output only. The resource name of the tag template field in URL format. Example:
-     * `projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}`
-     * Note: The `TagTemplateField` itself might not be stored in the location
+     * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`
+     * Note: The tag template field itself might not be stored in the location
      * specified in its name.
      * The name must contain only letters (a-z, A-Z), numbers (0-9),
      * or underscores (_), and must start with a letter or underscore.
@@ -850,8 +851,8 @@ public java.lang.String getName() {
      *
      * 
      * Output only. The resource name of the tag template field in URL format. Example:
-     * `projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}`
-     * Note: The `TagTemplateField` itself might not be stored in the location
+     * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`
+     * Note: The tag template field itself might not be stored in the location
      * specified in its name.
      * The name must contain only letters (a-z, A-Z), numbers (0-9),
      * or underscores (_), and must start with a letter or underscore.
@@ -878,8 +879,8 @@ public com.google.protobuf.ByteString getNameBytes() {
      *
      * 
      * Output only. The resource name of the tag template field in URL format. Example:
-     * `projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}`
-     * Note: The `TagTemplateField` itself might not be stored in the location
+     * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`
+     * Note: The tag template field itself might not be stored in the location
      * specified in its name.
      * The name must contain only letters (a-z, A-Z), numbers (0-9),
      * or underscores (_), and must start with a letter or underscore.
@@ -905,8 +906,8 @@ public Builder setName(java.lang.String value) {
      *
      * 
      * Output only. The resource name of the tag template field in URL format. Example:
-     * `projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}`
-     * Note: The `TagTemplateField` itself might not be stored in the location
+     * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`
+     * Note: The tag template field itself might not be stored in the location
      * specified in its name.
      * The name must contain only letters (a-z, A-Z), numbers (0-9),
      * or underscores (_), and must start with a letter or underscore.
@@ -928,8 +929,8 @@ public Builder clearName() {
      *
      * 
      * Output only. The resource name of the tag template field in URL format. Example:
-     * `projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}`
-     * Note: The `TagTemplateField` itself might not be stored in the location
+     * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`
+     * Note: The tag template field itself might not be stored in the location
      * specified in its name.
      * The name must contain only letters (a-z, A-Z), numbers (0-9),
      * or underscores (_), and must start with a letter or underscore.
@@ -1281,7 +1282,7 @@ public com.google.cloud.datacatalog.v1.FieldTypeOrBuilder getTypeOrBuilder() {
      *
      *
      * 
-     * Whether this is a required field. Defaults to false.
+     * If true, this field is required. Defaults to false.
      * 
* * bool is_required = 3; @@ -1296,7 +1297,7 @@ public boolean getIsRequired() { * * *
-     * Whether this is a required field. Defaults to false.
+     * If true, this field is required. Defaults to false.
      * 
* * bool is_required = 3; @@ -1314,7 +1315,7 @@ public Builder setIsRequired(boolean value) { * * *
-     * Whether this is a required field. Defaults to false.
+     * If true, this field is required. Defaults to false.
      * 
* * bool is_required = 3; @@ -1440,9 +1441,10 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * *
      * The order of this field with respect to other fields in this tag
-     * template. 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.
+     * template.
+     * 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 don't have to be sequential.
      * 
* * int32 order = 5; @@ -1458,9 +1460,10 @@ public int getOrder() { * *
      * The order of this field with respect to other fields in this tag
-     * template. 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.
+     * template.
+     * 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 don't have to be sequential.
      * 
* * int32 order = 5; @@ -1479,9 +1482,10 @@ public Builder setOrder(int value) { * *
      * The order of this field with respect to other fields in this tag
-     * template. 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.
+     * template.
+     * 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 don't have to be sequential.
      * 
* * int32 order = 5; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldOrBuilder.java index 0da4590b..f5fe48ce 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateFieldOrBuilder.java @@ -28,8 +28,8 @@ public interface TagTemplateFieldOrBuilder * *
    * Output only. The resource name of the tag template field in URL format. Example:
-   * `projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}`
-   * Note: The `TagTemplateField` itself might not be stored in the location
+   * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`
+   * Note: The tag template field itself might not be stored in the location
    * specified in its name.
    * The name must contain only letters (a-z, A-Z), numbers (0-9),
    * or underscores (_), and must start with a letter or underscore.
@@ -46,8 +46,8 @@ public interface TagTemplateFieldOrBuilder
    *
    * 
    * Output only. The resource name of the tag template field in URL format. Example:
-   * `projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}`
-   * Note: The `TagTemplateField` itself might not be stored in the location
+   * `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`
+   * Note: The tag template field itself might not be stored in the location
    * specified in its name.
    * The name must contain only letters (a-z, A-Z), numbers (0-9),
    * or underscores (_), and must start with a letter or underscore.
@@ -136,7 +136,7 @@ public interface TagTemplateFieldOrBuilder
    *
    *
    * 
-   * Whether this is a required field. Defaults to false.
+   * If true, this field is required. Defaults to false.
    * 
* * bool is_required = 3; @@ -175,9 +175,10 @@ public interface TagTemplateFieldOrBuilder * *
    * The order of this field with respect to other fields in this tag
-   * template. 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.
+   * template.
+   * 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 don't have to be sequential.
    * 
* * int32 order = 5; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateOrBuilder.java index daf7dfb6..cf21d2f5 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagTemplateOrBuilder.java @@ -27,8 +27,7 @@ public interface TagTemplateOrBuilder * * *
-   * The resource name of the tag template in URL format. Example:
-   * `projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}`
+   * The resource name of the tag template in URL format.
    * Note: The tag template itself and its child resources might not be
    * stored in the location specified in its name.
    * 
@@ -42,8 +41,7 @@ public interface TagTemplateOrBuilder * * *
-   * The resource name of the tag template in URL format. Example:
-   * `projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}`
+   * The resource name of the tag template in URL format.
    * Note: The tag template itself and its child resources might not be
    * stored in the location specified in its name.
    * 
@@ -85,17 +83,52 @@ public interface TagTemplateOrBuilder */ com.google.protobuf.ByteString getDisplayNameBytes(); + /** + * + * + *
+   * Indicates whether this is a public tag template.
+   * Every user has view access to a *public* tag template by default.
+   * This means that:
+   *   * Every user can use this tag template to tag an entry.
+   *   * If an entry is tagged using the tag template, the tag is always
+   *     shown in the response to ``ListTags`` called on the entry.
+   *   * To get the template using the GetTagTemplate method, you
+   *     need view access either on the project or the organization the tag
+   *     template resides in but no other permission is needed.
+   *   * Operations on the tag template other than viewing (for example,
+   *     editing IAM policies) follow standard IAM structures.
+   * Tags created with a public tag template are referred to as public tags.
+   * You can search for a public tag by value with a
+   * simple search query instead of using a ``tag:`` predicate.
+   * Public tag templates may not appear in search results depending on scope,
+   * see:
+   * [include_public_tag_templates][google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates]
+   * Note: If an [IAM domain
+   * restriction](https://cloud.google.com/resource-manager/docs/organization-policy/restricting-domains)
+   * is configured in the tag template's location, the public access will not be
+   * enabled but the simple search for tag values will still work.
+   * 
+ * + * bool is_publicly_readable = 5; + * + * @return The isPubliclyReadable. + */ + boolean getIsPubliclyReadable(); + /** * * *
    * Required. Map of tag template field IDs to the settings for the field.
-   * This map is an exhaustive list of the allowed fields. This map must contain
+   * This map is an exhaustive list of the allowed fields. The map must contain
    * at least one field and at most 500 fields.
-   * The keys to this map are tag template field IDs. Field IDs can contain
-   * 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.
+   * The keys to this map are tag template field IDs. The IDs have the
+   * following limitations:
+   * * Can contain uppercase and lowercase letters, numbers (0-9) and
+   *   underscores (_).
+   * * Must be at least 1 character and at most 64 characters long.
+   * * Must start with a letter or underscore.
    * 
* * @@ -108,12 +141,14 @@ public interface TagTemplateOrBuilder * *
    * Required. Map of tag template field IDs to the settings for the field.
-   * This map is an exhaustive list of the allowed fields. This map must contain
+   * This map is an exhaustive list of the allowed fields. The map must contain
    * at least one field and at most 500 fields.
-   * The keys to this map are tag template field IDs. Field IDs can contain
-   * 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.
+   * The keys to this map are tag template field IDs. The IDs have the
+   * following limitations:
+   * * Can contain uppercase and lowercase letters, numbers (0-9) and
+   *   underscores (_).
+   * * Must be at least 1 character and at most 64 characters long.
+   * * Must start with a letter or underscore.
    * 
* * @@ -129,12 +164,14 @@ public interface TagTemplateOrBuilder * *
    * Required. Map of tag template field IDs to the settings for the field.
-   * This map is an exhaustive list of the allowed fields. This map must contain
+   * This map is an exhaustive list of the allowed fields. The map must contain
    * at least one field and at most 500 fields.
-   * The keys to this map are tag template field IDs. Field IDs can contain
-   * 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.
+   * The keys to this map are tag template field IDs. The IDs have the
+   * following limitations:
+   * * Can contain uppercase and lowercase letters, numbers (0-9) and
+   *   underscores (_).
+   * * Must be at least 1 character and at most 64 characters long.
+   * * Must start with a letter or underscore.
    * 
* * @@ -147,12 +184,14 @@ public interface TagTemplateOrBuilder * *
    * Required. Map of tag template field IDs to the settings for the field.
-   * This map is an exhaustive list of the allowed fields. This map must contain
+   * This map is an exhaustive list of the allowed fields. The map must contain
    * at least one field and at most 500 fields.
-   * The keys to this map are tag template field IDs. Field IDs can contain
-   * 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.
+   * The keys to this map are tag template field IDs. The IDs have the
+   * following limitations:
+   * * Can contain uppercase and lowercase letters, numbers (0-9) and
+   *   underscores (_).
+   * * Must be at least 1 character and at most 64 characters long.
+   * * Must start with a letter or underscore.
    * 
* * @@ -166,12 +205,14 @@ com.google.cloud.datacatalog.v1.TagTemplateField getFieldsOrDefault( * *
    * Required. Map of tag template field IDs to the settings for the field.
-   * This map is an exhaustive list of the allowed fields. This map must contain
+   * This map is an exhaustive list of the allowed fields. The map must contain
    * at least one field and at most 500 fields.
-   * The keys to this map are tag template field IDs. Field IDs can contain
-   * 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.
+   * The keys to this map are tag template field IDs. The IDs have the
+   * following limitations:
+   * * Can contain uppercase and lowercase letters, numbers (0-9) and
+   *   underscores (_).
+   * * Must be at least 1 character and at most 64 characters long.
+   * * Must start with a letter or underscore.
    * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tags.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tags.java index 2ca8ffea..5280bedf 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tags.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tags.java @@ -89,47 +89,48 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "1.TagField:\0028\001:\201\001\352A~\n\036datacatalog.google" + "apis.com/Tag\022\\projects/{project}/locatio" + "ns/{location}/entryGroups/{entry_group}/" - + "entries/{entry}/tags/{tag}B\007\n\005scope\"\250\002\n\010" + + "entries/{entry}/tags/{tag}B\007\n\005scope\"\302\002\n\010" + "TagField\022\031\n\014display_name\030\001 \001(\tB\003\340A\003\022\026\n\014d" + "ouble_value\030\002 \001(\001H\000\022\026\n\014string_value\030\003 \001(" + "\tH\000\022\024\n\nbool_value\030\004 \001(\010H\000\0225\n\017timestamp_v" + "alue\030\005 \001(\0132\032.google.protobuf.TimestampH\000" + "\022E\n\nenum_value\030\006 \001(\0132/.google.cloud.data" - + "catalog.v1.TagField.EnumValueH\000\022\022\n\005order" - + "\030\007 \001(\005B\003\340A\003\032!\n\tEnumValue\022\024\n\014display_name" - + "\030\001 \001(\tB\006\n\004kind\"\314\002\n\013TagTemplate\022\014\n\004name\030\001" - + " \001(\t\022\024\n\014display_name\030\002 \001(\t\022I\n\006fields\030\003 \003" - + "(\01324.google.cloud.datacatalog.v1.TagTemp" - + "late.FieldsEntryB\003\340A\002\032\\\n\013FieldsEntry\022\013\n\003" - + "key\030\001 \001(\t\022<\n\005value\030\002 \001(\0132-.google.cloud." - + "datacatalog.v1.TagTemplateField:\0028\001:p\352Am" - + "\n&datacatalog.googleapis.com/TagTemplate" - + "\022Cprojects/{project}/locations/{location" - + "}/tagTemplates/{tag_template}\"\267\002\n\020TagTem" - + "plateField\022\021\n\004name\030\006 \001(\tB\003\340A\003\022\024\n\014display" - + "_name\030\001 \001(\t\0229\n\004type\030\002 \001(\0132&.google.cloud" - + ".datacatalog.v1.FieldTypeB\003\340A\002\022\023\n\013is_req" - + "uired\030\003 \001(\010\022\023\n\013description\030\004 \001(\t\022\r\n\005orde" - + "r\030\005 \001(\005:\205\001\352A\201\001\n+datacatalog.googleapis.c" - + "om/TagTemplateField\022Rprojects/{project}/" - + "locations/{location}/tagTemplates/{tag_t" - + "emplate}/fields/{field}\"\230\003\n\tFieldType\022N\n" - + "\016primitive_type\030\001 \001(\01624.google.cloud.dat" - + "acatalog.v1.FieldType.PrimitiveTypeH\000\022D\n" - + "\tenum_type\030\002 \001(\0132/.google.cloud.datacata" - + "log.v1.FieldType.EnumTypeH\000\032\205\001\n\010EnumType" - + "\022Q\n\016allowed_values\030\001 \003(\01329.google.cloud." - + "datacatalog.v1.FieldType.EnumType.EnumVa" - + "lue\032&\n\tEnumValue\022\031\n\014display_name\030\001 \001(\tB\003" - + "\340A\002\"`\n\rPrimitiveType\022\036\n\032PRIMITIVE_TYPE_U" - + "NSPECIFIED\020\000\022\n\n\006DOUBLE\020\001\022\n\n\006STRING\020\002\022\010\n\004" - + "BOOL\020\003\022\r\n\tTIMESTAMP\020\004B\013\n\ttype_declB\313\001\n\037c" - + "om.google.cloud.datacatalog.v1P\001ZFgoogle" - + ".golang.org/genproto/googleapis/cloud/da" - + "tacatalog/v1;datacatalog\370\001\001\252\002\033Google.Clo" - + "ud.DataCatalog.V1\312\002\033Google\\Cloud\\DataCat" - + "alog\\V1\352\002\036Google::Cloud::DataCatalog::V1" - + "b\006proto3" + + "catalog.v1.TagField.EnumValueH\000\022\030\n\016richt" + + "ext_value\030\010 \001(\tH\000\022\022\n\005order\030\007 \001(\005B\003\340A\003\032!\n" + + "\tEnumValue\022\024\n\014display_name\030\001 \001(\tB\006\n\004kind" + + "\"\352\002\n\013TagTemplate\022\014\n\004name\030\001 \001(\t\022\024\n\014displa" + + "y_name\030\002 \001(\t\022\034\n\024is_publicly_readable\030\005 \001" + + "(\010\022I\n\006fields\030\003 \003(\01324.google.cloud.dataca" + + "talog.v1.TagTemplate.FieldsEntryB\003\340A\002\032\\\n" + + "\013FieldsEntry\022\013\n\003key\030\001 \001(\t\022<\n\005value\030\002 \001(\013" + + "2-.google.cloud.datacatalog.v1.TagTempla" + + "teField:\0028\001:p\352Am\n&datacatalog.googleapis" + + ".com/TagTemplate\022Cprojects/{project}/loc" + + "ations/{location}/tagTemplates/{tag_temp" + + "late}\"\267\002\n\020TagTemplateField\022\021\n\004name\030\006 \001(\t" + + "B\003\340A\003\022\024\n\014display_name\030\001 \001(\t\0229\n\004type\030\002 \001(" + + "\0132&.google.cloud.datacatalog.v1.FieldTyp" + + "eB\003\340A\002\022\023\n\013is_required\030\003 \001(\010\022\023\n\013descripti" + + "on\030\004 \001(\t\022\r\n\005order\030\005 \001(\005:\205\001\352A\201\001\n+datacata" + + "log.googleapis.com/TagTemplateField\022Rpro" + + "jects/{project}/locations/{location}/tag" + + "Templates/{tag_template}/fields/{field}\"" + + "\246\003\n\tFieldType\022N\n\016primitive_type\030\001 \001(\01624." + + "google.cloud.datacatalog.v1.FieldType.Pr" + + "imitiveTypeH\000\022D\n\tenum_type\030\002 \001(\0132/.googl" + + "e.cloud.datacatalog.v1.FieldType.EnumTyp" + + "eH\000\032\205\001\n\010EnumType\022Q\n\016allowed_values\030\001 \003(\013" + + "29.google.cloud.datacatalog.v1.FieldType" + + ".EnumType.EnumValue\032&\n\tEnumValue\022\031\n\014disp" + + "lay_name\030\001 \001(\tB\003\340A\002\"n\n\rPrimitiveType\022\036\n\032" + + "PRIMITIVE_TYPE_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\004\022\014\n" + + "\010RICHTEXT\020\005B\013\n\ttype_declB\313\001\n\037com.google." + + "cloud.datacatalog.v1P\001ZFgoogle.golang.or" + + "g/genproto/googleapis/cloud/datacatalog/" + + "v1;datacatalog\370\001\001\252\002\033Google.Cloud.DataCat" + + "alog.V1\312\002\033Google\\Cloud\\DataCatalog\\V1\352\002\036" + + "Google::Cloud::DataCatalog::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -167,6 +168,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BoolValue", "TimestampValue", "EnumValue", + "RichtextValue", "Order", "Kind", }); @@ -184,7 +186,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_datacatalog_v1_TagTemplate_descriptor, new java.lang.String[] { - "Name", "DisplayName", "Fields", + "Name", "DisplayName", "IsPubliclyReadable", "Fields", }); internal_static_google_cloud_datacatalog_v1_TagTemplate_FieldsEntry_descriptor = internal_static_google_cloud_datacatalog_v1_TagTemplate_descriptor.getNestedTypes().get(0); diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Taxonomy.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Taxonomy.java index f0ec0624..77c7d393 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Taxonomy.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Taxonomy.java @@ -23,8 +23,9 @@ * *
  * A taxonomy is a collection of hierarchical policy tags that classify data
- * along a common axis. For instance a "data sensitivity" taxonomy could contain
- * the following policy tags:
+ * along a common axis.
+ * For example, a "data sensitivity" taxonomy might contain the following policy
+ * tags:
  * ```
  * + PII
  *   + Account number
@@ -34,7 +35,7 @@
  * + Financials
  *   + Revenue
  * ```
- * A "data origin" taxonomy could contain the following policy tags:
+ * A "data origin" taxonomy might contain the following policy tags:
  * ```
  * + User data
  * + Employee data
@@ -220,7 +221,7 @@ public enum PolicyType implements com.google.protobuf.ProtocolMessageEnum {
      *
      *
      * 
-     * Fine-grained access control policy, which enables access control on
+     * Fine-grained access control policy that enables access control on
      * tagged sub-resources.
      * 
* @@ -244,7 +245,7 @@ public enum PolicyType implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * Fine-grained access control policy, which enables access control on
+     * Fine-grained access control policy that enables access control on
      * tagged sub-resources.
      * 
* @@ -339,9 +340,8 @@ private PolicyType(int value) { * * *
-   * Output only. Resource name of this taxonomy in format:
-   * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}".
-   * Note that taxonomy_id's are unique and generated by Policy Tag Manager.
+   * Output only. Resource name of this taxonomy in URL format.
+   * Note: Policy tag manager generates unique taxonomy IDs.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -364,9 +364,8 @@ public java.lang.String getName() { * * *
-   * Output only. Resource name of this taxonomy in format:
-   * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}".
-   * Note that taxonomy_id's are unique and generated by Policy Tag Manager.
+   * Output only. Resource name of this taxonomy in URL format.
+   * Note: Policy tag manager generates unique taxonomy IDs.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -392,9 +391,10 @@ 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.
+   * The name can't start or end with spaces, must contain only Unicode letters,
+   * numbers, underscores, dashes, and spaces, and be at most 200 bytes long
+   * when encoded in UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -417,9 +417,10 @@ 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.
+   * The name can't start or end with spaces, must contain only Unicode letters,
+   * numbers, underscores, dashes, and spaces, and be at most 200 bytes long
+   * when encoded in UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -445,9 +446,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. If not set, defaults to empty.
+   * The description must contain only Unicode characters, tabs, newlines,
+   * carriage returns, and page breaks, and be at most 2000 bytes long when
+   * encoded in UTF-8.
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -470,9 +472,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. If not set, defaults to empty.
+   * The description must contain only Unicode characters, tabs, newlines,
+   * carriage returns, and page breaks, and be at most 2000 bytes long when
+   * encoded in UTF-8.
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -498,7 +501,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * *
-   * Output only. Number of policy tags contained in this taxonomy.
+   * Output only. Number of policy tags in this taxonomy.
    * 
* * int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -516,7 +519,7 @@ public int getPolicyTagCount() { * * *
-   * Output only. Timestamps about this taxonomy. Only create_time and update_time are used.
+   * Output only. Creation and modification timestamps of this taxonomy.
    * 
* * @@ -533,7 +536,7 @@ public boolean hasTaxonomyTimestamps() { * * *
-   * Output only. Timestamps about this taxonomy. Only create_time and update_time are used.
+   * Output only. Creation and modification timestamps of this taxonomy.
    * 
* * @@ -552,7 +555,7 @@ public com.google.cloud.datacatalog.v1.SystemTimestamps getTaxonomyTimestamps() * * *
-   * Output only. Timestamps about this taxonomy. Only create_time and update_time are used.
+   * Output only. Creation and modification timestamps of this taxonomy.
    * 
* * @@ -911,8 +914,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * A taxonomy is a collection of hierarchical policy tags that classify data
-   * along a common axis. For instance a "data sensitivity" taxonomy could contain
-   * the following policy tags:
+   * along a common axis.
+   * For example, a "data sensitivity" taxonomy might contain the following policy
+   * tags:
    * ```
    * + PII
    *   + Account number
@@ -922,7 +926,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    * + Financials
    *   + Revenue
    * ```
-   * A "data origin" taxonomy could contain the following policy tags:
+   * A "data origin" taxonomy might contain the following policy tags:
    * ```
    * + User data
    * + Employee data
@@ -1140,9 +1144,8 @@ public Builder mergeFrom(
      *
      *
      * 
-     * Output only. Resource name of this taxonomy in format:
-     * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}".
-     * Note that taxonomy_id's are unique and generated by Policy Tag Manager.
+     * Output only. Resource name of this taxonomy in URL format.
+     * Note: Policy tag manager generates unique taxonomy IDs.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1164,9 +1167,8 @@ public java.lang.String getName() { * * *
-     * Output only. Resource name of this taxonomy in format:
-     * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}".
-     * Note that taxonomy_id's are unique and generated by Policy Tag Manager.
+     * Output only. Resource name of this taxonomy in URL format.
+     * Note: Policy tag manager generates unique taxonomy IDs.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1188,9 +1190,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Output only. Resource name of this taxonomy in format:
-     * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}".
-     * Note that taxonomy_id's are unique and generated by Policy Tag Manager.
+     * Output only. Resource name of this taxonomy in URL format.
+     * Note: Policy tag manager generates unique taxonomy IDs.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1211,9 +1212,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Output only. Resource name of this taxonomy in format:
-     * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}".
-     * Note that taxonomy_id's are unique and generated by Policy Tag Manager.
+     * Output only. Resource name of this taxonomy in URL format.
+     * Note: Policy tag manager generates unique taxonomy IDs.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1230,9 +1230,8 @@ public Builder clearName() { * * *
-     * Output only. Resource name of this taxonomy in format:
-     * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}".
-     * Note that taxonomy_id's are unique and generated by Policy Tag Manager.
+     * Output only. Resource name of this taxonomy in URL format.
+     * Note: Policy tag manager generates unique taxonomy IDs.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1256,9 +1255,10 @@ 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.
+     * The name can't start or end with spaces, must contain only Unicode letters,
+     * numbers, underscores, dashes, and spaces, and be at most 200 bytes long
+     * when encoded in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1280,9 +1280,10 @@ 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.
+     * The name can't start or end with spaces, must contain only Unicode letters,
+     * numbers, underscores, dashes, and spaces, and be at most 200 bytes long
+     * when encoded in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1304,9 +1305,10 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * * *
-     * 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.
+     * The name can't start or end with spaces, must contain only Unicode letters,
+     * numbers, underscores, dashes, and spaces, and be at most 200 bytes long
+     * when encoded in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1327,9 +1329,10 @@ public Builder setDisplayName(java.lang.String 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.
+     * The name can't start or end with spaces, must contain only Unicode letters,
+     * numbers, underscores, dashes, and spaces, and be at most 200 bytes long
+     * when encoded in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1346,9 +1349,10 @@ public Builder clearDisplayName() { * * *
-     * 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.
+     * The name can't start or end with spaces, must contain only Unicode letters,
+     * numbers, underscores, dashes, and spaces, and be at most 200 bytes long
+     * when encoded in UTF-8.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1372,9 +1376,10 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString 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.
+     * Optional. Description of this taxonomy. If not set, defaults to empty.
+     * The description must contain only Unicode characters, tabs, newlines,
+     * carriage returns, and page breaks, and be at most 2000 bytes long when
+     * encoded in UTF-8.
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1396,9 +1401,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. If not set, defaults to empty.
+     * The description must contain only Unicode characters, tabs, newlines,
+     * carriage returns, and page breaks, and be at most 2000 bytes long when
+     * encoded in UTF-8.
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1420,9 +1426,10 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * *
-     * 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. If not set, defaults to empty.
+     * The description must contain only Unicode characters, tabs, newlines,
+     * carriage returns, and page breaks, and be at most 2000 bytes long when
+     * encoded in UTF-8.
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1443,9 +1450,10 @@ 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.
+     * Optional. Description of this taxonomy. If not set, defaults to empty.
+     * The description must contain only Unicode characters, tabs, newlines,
+     * carriage returns, and page breaks, and be at most 2000 bytes long when
+     * encoded in UTF-8.
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1462,9 +1470,10 @@ public Builder clearDescription() { * * *
-     * 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. If not set, defaults to empty.
+     * The description must contain only Unicode characters, tabs, newlines,
+     * carriage returns, and page breaks, and be at most 2000 bytes long when
+     * encoded in UTF-8.
      * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1488,7 +1497,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * * *
-     * Output only. Number of policy tags contained in this taxonomy.
+     * Output only. Number of policy tags in this taxonomy.
      * 
* * int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1503,7 +1512,7 @@ public int getPolicyTagCount() { * * *
-     * Output only. Number of policy tags contained in this taxonomy.
+     * Output only. Number of policy tags in this taxonomy.
      * 
* * int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1521,7 +1530,7 @@ public Builder setPolicyTagCount(int value) { * * *
-     * Output only. Number of policy tags contained in this taxonomy.
+     * Output only. Number of policy tags in this taxonomy.
      * 
* * int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1545,7 +1554,7 @@ public Builder clearPolicyTagCount() { * * *
-     * Output only. Timestamps about this taxonomy. Only create_time and update_time are used.
+     * Output only. Creation and modification timestamps of this taxonomy.
      * 
* * @@ -1561,7 +1570,7 @@ public boolean hasTaxonomyTimestamps() { * * *
-     * Output only. Timestamps about this taxonomy. Only create_time and update_time are used.
+     * Output only. Creation and modification timestamps of this taxonomy.
      * 
* * @@ -1583,7 +1592,7 @@ public com.google.cloud.datacatalog.v1.SystemTimestamps getTaxonomyTimestamps() * * *
-     * Output only. Timestamps about this taxonomy. Only create_time and update_time are used.
+     * Output only. Creation and modification timestamps of this taxonomy.
      * 
* * @@ -1607,7 +1616,7 @@ public Builder setTaxonomyTimestamps(com.google.cloud.datacatalog.v1.SystemTimes * * *
-     * Output only. Timestamps about this taxonomy. Only create_time and update_time are used.
+     * Output only. Creation and modification timestamps of this taxonomy.
      * 
* * @@ -1629,7 +1638,7 @@ public Builder setTaxonomyTimestamps( * * *
-     * Output only. Timestamps about this taxonomy. Only create_time and update_time are used.
+     * Output only. Creation and modification timestamps of this taxonomy.
      * 
* * @@ -1657,7 +1666,7 @@ public Builder mergeTaxonomyTimestamps(com.google.cloud.datacatalog.v1.SystemTim * * *
-     * Output only. Timestamps about this taxonomy. Only create_time and update_time are used.
+     * Output only. Creation and modification timestamps of this taxonomy.
      * 
* * @@ -1679,7 +1688,7 @@ public Builder clearTaxonomyTimestamps() { * * *
-     * Output only. Timestamps about this taxonomy. Only create_time and update_time are used.
+     * Output only. Creation and modification timestamps of this taxonomy.
      * 
* * @@ -1695,7 +1704,7 @@ public com.google.cloud.datacatalog.v1.SystemTimestamps.Builder getTaxonomyTimes * * *
-     * Output only. Timestamps about this taxonomy. Only create_time and update_time are used.
+     * Output only. Creation and modification timestamps of this taxonomy.
      * 
* * @@ -1716,7 +1725,7 @@ public com.google.cloud.datacatalog.v1.SystemTimestamps.Builder getTaxonomyTimes * * *
-     * Output only. Timestamps about this taxonomy. Only create_time and update_time are used.
+     * Output only. Creation and modification timestamps of this taxonomy.
      * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyOrBuilder.java index f5a1a883..2f97f819 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TaxonomyOrBuilder.java @@ -27,9 +27,8 @@ public interface TaxonomyOrBuilder * * *
-   * Output only. Resource name of this taxonomy in format:
-   * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}".
-   * Note that taxonomy_id's are unique and generated by Policy Tag Manager.
+   * Output only. Resource name of this taxonomy in URL format.
+   * Note: Policy tag manager generates unique taxonomy IDs.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -41,9 +40,8 @@ public interface TaxonomyOrBuilder * * *
-   * Output only. Resource name of this taxonomy in format:
-   * "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}".
-   * Note that taxonomy_id's are unique and generated by Policy Tag Manager.
+   * Output only. Resource name of this taxonomy in URL format.
+   * Note: Policy tag manager generates unique taxonomy IDs.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -56,9 +54,10 @@ 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.
+   * The name can't start or end with spaces, must contain only Unicode letters,
+   * numbers, underscores, dashes, and spaces, and be at most 200 bytes long
+   * when encoded in UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -70,9 +69,10 @@ 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.
+   * The name can't start or end with spaces, must contain only Unicode letters,
+   * numbers, underscores, dashes, and spaces, and be at most 200 bytes long
+   * when encoded in UTF-8.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -85,9 +85,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. If not set, defaults to empty.
+   * The description must contain only Unicode characters, tabs, newlines,
+   * carriage returns, and page breaks, and be at most 2000 bytes long when
+   * encoded in UTF-8.
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -99,9 +100,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. If not set, defaults to empty.
+   * The description must contain only Unicode characters, tabs, newlines,
+   * carriage returns, and page breaks, and be at most 2000 bytes long when
+   * encoded in UTF-8.
    * 
* * string description = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -114,7 +116,7 @@ public interface TaxonomyOrBuilder * * *
-   * Output only. Number of policy tags contained in this taxonomy.
+   * Output only. Number of policy tags in this taxonomy.
    * 
* * int32 policy_tag_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -127,7 +129,7 @@ public interface TaxonomyOrBuilder * * *
-   * Output only. Timestamps about this taxonomy. Only create_time and update_time are used.
+   * Output only. Creation and modification timestamps of this taxonomy.
    * 
* * @@ -141,7 +143,7 @@ public interface TaxonomyOrBuilder * * *
-   * Output only. Timestamps about this taxonomy. Only create_time and update_time are used.
+   * Output only. Creation and modification timestamps of this taxonomy.
    * 
* * @@ -155,7 +157,7 @@ public interface TaxonomyOrBuilder * * *
-   * Output only. Timestamps about this taxonomy. Only create_time and update_time are used.
+   * Output only. Creation and modification timestamps of this taxonomy.
    * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequest.java index c1325599..22452813 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequest.java @@ -140,7 +140,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The updated entry group. "name" field must be set.
+   * Required. Updates for the entry group. The `name` field must be set.
    * 
* * @@ -157,7 +157,7 @@ public boolean hasEntryGroup() { * * *
-   * Required. The updated entry group. "name" field must be set.
+   * Required. Updates for the entry group. The `name` field must be set.
    * 
* * @@ -176,7 +176,7 @@ public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroup() { * * *
-   * Required. The updated entry group. "name" field must be set.
+   * Required. Updates for the entry group. The `name` field must be set.
    * 
* * @@ -613,7 +613,7 @@ public Builder mergeFrom( * * *
-     * Required. The updated entry group. "name" field must be set.
+     * Required. Updates for the entry group. The `name` field must be set.
      * 
* * @@ -629,7 +629,7 @@ public boolean hasEntryGroup() { * * *
-     * Required. The updated entry group. "name" field must be set.
+     * Required. Updates for the entry group. The `name` field must be set.
      * 
* * @@ -651,7 +651,7 @@ public com.google.cloud.datacatalog.v1.EntryGroup getEntryGroup() { * * *
-     * Required. The updated entry group. "name" field must be set.
+     * Required. Updates for the entry group. The `name` field must be set.
      * 
* * @@ -675,7 +675,7 @@ public Builder setEntryGroup(com.google.cloud.datacatalog.v1.EntryGroup value) { * * *
-     * Required. The updated entry group. "name" field must be set.
+     * Required. Updates for the entry group. The `name` field must be set.
      * 
* * @@ -697,7 +697,7 @@ public Builder setEntryGroup( * * *
-     * Required. The updated entry group. "name" field must be set.
+     * Required. Updates for the entry group. The `name` field must be set.
      * 
* * @@ -725,7 +725,7 @@ public Builder mergeEntryGroup(com.google.cloud.datacatalog.v1.EntryGroup value) * * *
-     * Required. The updated entry group. "name" field must be set.
+     * Required. Updates for the entry group. The `name` field must be set.
      * 
* * @@ -747,7 +747,7 @@ public Builder clearEntryGroup() { * * *
-     * Required. The updated entry group. "name" field must be set.
+     * Required. Updates for the entry group. The `name` field must be set.
      * 
* * @@ -763,7 +763,7 @@ public com.google.cloud.datacatalog.v1.EntryGroup.Builder getEntryGroupBuilder() * * *
-     * Required. The updated entry group. "name" field must be set.
+     * Required. Updates for the entry group. The `name` field must be set.
      * 
* * @@ -783,7 +783,7 @@ public com.google.cloud.datacatalog.v1.EntryGroupOrBuilder getEntryGroupOrBuilde * * *
-     * Required. The updated entry group. "name" field must be set.
+     * Required. Updates for the entry group. The `name` field must be set.
      * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequestOrBuilder.java index ae88ffff..e2ec8a6c 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryGroupRequestOrBuilder.java @@ -27,7 +27,7 @@ public interface UpdateEntryGroupRequestOrBuilder * * *
-   * Required. The updated entry group. "name" field must be set.
+   * Required. Updates for the entry group. The `name` field must be set.
    * 
* * @@ -41,7 +41,7 @@ public interface UpdateEntryGroupRequestOrBuilder * * *
-   * Required. The updated entry group. "name" field must be set.
+   * Required. Updates for the entry group. The `name` field must be set.
    * 
* * @@ -55,7 +55,7 @@ public interface UpdateEntryGroupRequestOrBuilder * * *
-   * Required. The updated entry group. "name" field must be set.
+   * Required. Updates for the entry group. The `name` field must be set.
    * 
* * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequest.java index 77982ed4..9e146e89 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequest.java @@ -140,7 +140,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The updated entry. The "name" field must be set.
+   * Required. Updates for the entry. The `name` field must be set.
    * 
* * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -156,7 +156,7 @@ public boolean hasEntry() { * * *
-   * Required. The updated entry. The "name" field must be set.
+   * Required. Updates for the entry. The `name` field must be set.
    * 
* * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -172,7 +172,7 @@ public com.google.cloud.datacatalog.v1.Entry getEntry() { * * *
-   * Required. The updated entry. The "name" field must be set.
+   * Required. Updates for the entry. The `name` field must be set.
    * 
* * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -193,23 +193,23 @@ public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntryOrBuilder() { * 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`: - * * `schema` - * * `display_name` - * * `description` - * * `gcs_fileset_spec` - * * `gcs_fileset_spec.file_patterns` - * * For entries with `user_specified_type`: - * * `schema` - * * `display_name` - * * `description` - * * `user_specified_type` - * * `user_specified_system` - * * `linked_resource` - * * `source_system_timestamps` + * You can modify only the fields listed below. + * For entries with type `DATA_STREAM`: + * * `schema` + * For entries with type `FILESET`: + * * `schema` + * * `display_name` + * * `description` + * * `gcs_fileset_spec` + * * `gcs_fileset_spec.file_patterns` + * For entries with `user_specified_type`: + * * `schema` + * * `display_name` + * * `description` + * * `user_specified_type` + * * `user_specified_system` + * * `linked_resource` + * * `source_system_timestamps` *
* * .google.protobuf.FieldMask update_mask = 2; @@ -228,23 +228,23 @@ public boolean hasUpdateMask() { * 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`: - * * `schema` - * * `display_name` - * * `description` - * * `gcs_fileset_spec` - * * `gcs_fileset_spec.file_patterns` - * * For entries with `user_specified_type`: - * * `schema` - * * `display_name` - * * `description` - * * `user_specified_type` - * * `user_specified_system` - * * `linked_resource` - * * `source_system_timestamps` + * You can modify only the fields listed below. + * For entries with type `DATA_STREAM`: + * * `schema` + * For entries with type `FILESET`: + * * `schema` + * * `display_name` + * * `description` + * * `gcs_fileset_spec` + * * `gcs_fileset_spec.file_patterns` + * For entries with `user_specified_type`: + * * `schema` + * * `display_name` + * * `description` + * * `user_specified_type` + * * `user_specified_system` + * * `linked_resource` + * * `source_system_timestamps` *
* * .google.protobuf.FieldMask update_mask = 2; @@ -263,23 +263,23 @@ public com.google.protobuf.FieldMask getUpdateMask() { * 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`: - * * `schema` - * * `display_name` - * * `description` - * * `gcs_fileset_spec` - * * `gcs_fileset_spec.file_patterns` - * * For entries with `user_specified_type`: - * * `schema` - * * `display_name` - * * `description` - * * `user_specified_type` - * * `user_specified_system` - * * `linked_resource` - * * `source_system_timestamps` + * You can modify only the fields listed below. + * For entries with type `DATA_STREAM`: + * * `schema` + * For entries with type `FILESET`: + * * `schema` + * * `display_name` + * * `description` + * * `gcs_fileset_spec` + * * `gcs_fileset_spec.file_patterns` + * For entries with `user_specified_type`: + * * `schema` + * * `display_name` + * * `description` + * * `user_specified_type` + * * `user_specified_system` + * * `linked_resource` + * * `source_system_timestamps` *
* * .google.protobuf.FieldMask update_mask = 2; @@ -658,7 +658,7 @@ public Builder mergeFrom( * * *
-     * Required. The updated entry. The "name" field must be set.
+     * Required. Updates for the entry. The `name` field must be set.
      * 
* * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -673,7 +673,7 @@ public boolean hasEntry() { * * *
-     * Required. The updated entry. The "name" field must be set.
+     * Required. Updates for the entry. The `name` field must be set.
      * 
* * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -692,7 +692,7 @@ public com.google.cloud.datacatalog.v1.Entry getEntry() { * * *
-     * Required. The updated entry. The "name" field must be set.
+     * Required. Updates for the entry. The `name` field must be set.
      * 
* * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -715,7 +715,7 @@ public Builder setEntry(com.google.cloud.datacatalog.v1.Entry value) { * * *
-     * Required. The updated entry. The "name" field must be set.
+     * Required. Updates for the entry. The `name` field must be set.
      * 
* * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -735,7 +735,7 @@ public Builder setEntry(com.google.cloud.datacatalog.v1.Entry.Builder builderFor * * *
-     * Required. The updated entry. The "name" field must be set.
+     * Required. Updates for the entry. The `name` field must be set.
      * 
* * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -762,7 +762,7 @@ public Builder mergeEntry(com.google.cloud.datacatalog.v1.Entry value) { * * *
-     * Required. The updated entry. The "name" field must be set.
+     * Required. Updates for the entry. The `name` field must be set.
      * 
* * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -783,7 +783,7 @@ public Builder clearEntry() { * * *
-     * Required. The updated entry. The "name" field must be set.
+     * Required. Updates for the entry. The `name` field must be set.
      * 
* * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -798,7 +798,7 @@ public com.google.cloud.datacatalog.v1.Entry.Builder getEntryBuilder() { * * *
-     * Required. The updated entry. The "name" field must be set.
+     * Required. Updates for the entry. The `name` field must be set.
      * 
* * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -815,7 +815,7 @@ public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntryOrBuilder() { * * *
-     * Required. The updated entry. The "name" field must be set.
+     * Required. Updates for the entry. The `name` field must be set.
      * 
* * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -852,23 +852,23 @@ public com.google.cloud.datacatalog.v1.EntryOrBuilder getEntryOrBuilder() { * 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`: - * * `schema` - * * `display_name` - * * `description` - * * `gcs_fileset_spec` - * * `gcs_fileset_spec.file_patterns` - * * For entries with `user_specified_type`: - * * `schema` - * * `display_name` - * * `description` - * * `user_specified_type` - * * `user_specified_system` - * * `linked_resource` - * * `source_system_timestamps` + * You can modify only the fields listed below. + * For entries with type `DATA_STREAM`: + * * `schema` + * For entries with type `FILESET`: + * * `schema` + * * `display_name` + * * `description` + * * `gcs_fileset_spec` + * * `gcs_fileset_spec.file_patterns` + * For entries with `user_specified_type`: + * * `schema` + * * `display_name` + * * `description` + * * `user_specified_type` + * * `user_specified_system` + * * `linked_resource` + * * `source_system_timestamps` *
* * .google.protobuf.FieldMask update_mask = 2; @@ -886,23 +886,23 @@ public boolean hasUpdateMask() { * 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`: - * * `schema` - * * `display_name` - * * `description` - * * `gcs_fileset_spec` - * * `gcs_fileset_spec.file_patterns` - * * For entries with `user_specified_type`: - * * `schema` - * * `display_name` - * * `description` - * * `user_specified_type` - * * `user_specified_system` - * * `linked_resource` - * * `source_system_timestamps` + * You can modify only the fields listed below. + * For entries with type `DATA_STREAM`: + * * `schema` + * For entries with type `FILESET`: + * * `schema` + * * `display_name` + * * `description` + * * `gcs_fileset_spec` + * * `gcs_fileset_spec.file_patterns` + * For entries with `user_specified_type`: + * * `schema` + * * `display_name` + * * `description` + * * `user_specified_type` + * * `user_specified_system` + * * `linked_resource` + * * `source_system_timestamps` *
* * .google.protobuf.FieldMask update_mask = 2; @@ -926,23 +926,23 @@ public com.google.protobuf.FieldMask getUpdateMask() { * 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`: - * * `schema` - * * `display_name` - * * `description` - * * `gcs_fileset_spec` - * * `gcs_fileset_spec.file_patterns` - * * For entries with `user_specified_type`: - * * `schema` - * * `display_name` - * * `description` - * * `user_specified_type` - * * `user_specified_system` - * * `linked_resource` - * * `source_system_timestamps` + * You can modify only the fields listed below. + * For entries with type `DATA_STREAM`: + * * `schema` + * For entries with type `FILESET`: + * * `schema` + * * `display_name` + * * `description` + * * `gcs_fileset_spec` + * * `gcs_fileset_spec.file_patterns` + * For entries with `user_specified_type`: + * * `schema` + * * `display_name` + * * `description` + * * `user_specified_type` + * * `user_specified_system` + * * `linked_resource` + * * `source_system_timestamps` *
* * .google.protobuf.FieldMask update_mask = 2; @@ -968,23 +968,23 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * 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`: - * * `schema` - * * `display_name` - * * `description` - * * `gcs_fileset_spec` - * * `gcs_fileset_spec.file_patterns` - * * For entries with `user_specified_type`: - * * `schema` - * * `display_name` - * * `description` - * * `user_specified_type` - * * `user_specified_system` - * * `linked_resource` - * * `source_system_timestamps` + * You can modify only the fields listed below. + * For entries with type `DATA_STREAM`: + * * `schema` + * For entries with type `FILESET`: + * * `schema` + * * `display_name` + * * `description` + * * `gcs_fileset_spec` + * * `gcs_fileset_spec.file_patterns` + * For entries with `user_specified_type`: + * * `schema` + * * `display_name` + * * `description` + * * `user_specified_type` + * * `user_specified_system` + * * `linked_resource` + * * `source_system_timestamps` *
* * .google.protobuf.FieldMask update_mask = 2; @@ -1007,23 +1007,23 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * 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`: - * * `schema` - * * `display_name` - * * `description` - * * `gcs_fileset_spec` - * * `gcs_fileset_spec.file_patterns` - * * For entries with `user_specified_type`: - * * `schema` - * * `display_name` - * * `description` - * * `user_specified_type` - * * `user_specified_system` - * * `linked_resource` - * * `source_system_timestamps` + * You can modify only the fields listed below. + * For entries with type `DATA_STREAM`: + * * `schema` + * For entries with type `FILESET`: + * * `schema` + * * `display_name` + * * `description` + * * `gcs_fileset_spec` + * * `gcs_fileset_spec.file_patterns` + * For entries with `user_specified_type`: + * * `schema` + * * `display_name` + * * `description` + * * `user_specified_type` + * * `user_specified_system` + * * `linked_resource` + * * `source_system_timestamps` *
* * .google.protobuf.FieldMask update_mask = 2; @@ -1051,23 +1051,23 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * 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`: - * * `schema` - * * `display_name` - * * `description` - * * `gcs_fileset_spec` - * * `gcs_fileset_spec.file_patterns` - * * For entries with `user_specified_type`: - * * `schema` - * * `display_name` - * * `description` - * * `user_specified_type` - * * `user_specified_system` - * * `linked_resource` - * * `source_system_timestamps` + * You can modify only the fields listed below. + * For entries with type `DATA_STREAM`: + * * `schema` + * For entries with type `FILESET`: + * * `schema` + * * `display_name` + * * `description` + * * `gcs_fileset_spec` + * * `gcs_fileset_spec.file_patterns` + * For entries with `user_specified_type`: + * * `schema` + * * `display_name` + * * `description` + * * `user_specified_type` + * * `user_specified_system` + * * `linked_resource` + * * `source_system_timestamps` *
* * .google.protobuf.FieldMask update_mask = 2; @@ -1091,23 +1091,23 @@ public Builder clearUpdateMask() { * 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`: - * * `schema` - * * `display_name` - * * `description` - * * `gcs_fileset_spec` - * * `gcs_fileset_spec.file_patterns` - * * For entries with `user_specified_type`: - * * `schema` - * * `display_name` - * * `description` - * * `user_specified_type` - * * `user_specified_system` - * * `linked_resource` - * * `source_system_timestamps` + * You can modify only the fields listed below. + * For entries with type `DATA_STREAM`: + * * `schema` + * For entries with type `FILESET`: + * * `schema` + * * `display_name` + * * `description` + * * `gcs_fileset_spec` + * * `gcs_fileset_spec.file_patterns` + * For entries with `user_specified_type`: + * * `schema` + * * `display_name` + * * `description` + * * `user_specified_type` + * * `user_specified_system` + * * `linked_resource` + * * `source_system_timestamps` *
* * .google.protobuf.FieldMask update_mask = 2; @@ -1125,23 +1125,23 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * 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`: - * * `schema` - * * `display_name` - * * `description` - * * `gcs_fileset_spec` - * * `gcs_fileset_spec.file_patterns` - * * For entries with `user_specified_type`: - * * `schema` - * * `display_name` - * * `description` - * * `user_specified_type` - * * `user_specified_system` - * * `linked_resource` - * * `source_system_timestamps` + * You can modify only the fields listed below. + * For entries with type `DATA_STREAM`: + * * `schema` + * For entries with type `FILESET`: + * * `schema` + * * `display_name` + * * `description` + * * `gcs_fileset_spec` + * * `gcs_fileset_spec.file_patterns` + * For entries with `user_specified_type`: + * * `schema` + * * `display_name` + * * `description` + * * `user_specified_type` + * * `user_specified_system` + * * `linked_resource` + * * `source_system_timestamps` *
* * .google.protobuf.FieldMask update_mask = 2; @@ -1163,23 +1163,23 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * 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`: - * * `schema` - * * `display_name` - * * `description` - * * `gcs_fileset_spec` - * * `gcs_fileset_spec.file_patterns` - * * For entries with `user_specified_type`: - * * `schema` - * * `display_name` - * * `description` - * * `user_specified_type` - * * `user_specified_system` - * * `linked_resource` - * * `source_system_timestamps` + * You can modify only the fields listed below. + * For entries with type `DATA_STREAM`: + * * `schema` + * For entries with type `FILESET`: + * * `schema` + * * `display_name` + * * `description` + * * `gcs_fileset_spec` + * * `gcs_fileset_spec.file_patterns` + * For entries with `user_specified_type`: + * * `schema` + * * `display_name` + * * `description` + * * `user_specified_type` + * * `user_specified_system` + * * `linked_resource` + * * `source_system_timestamps` *
* * .google.protobuf.FieldMask update_mask = 2; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequestOrBuilder.java index 284f9fc0..eff16bdc 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateEntryRequestOrBuilder.java @@ -27,7 +27,7 @@ public interface UpdateEntryRequestOrBuilder * * *
-   * Required. The updated entry. The "name" field must be set.
+   * Required. Updates for the entry. The `name` field must be set.
    * 
* * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -40,7 +40,7 @@ public interface UpdateEntryRequestOrBuilder * * *
-   * Required. The updated entry. The "name" field must be set.
+   * Required. Updates for the entry. The `name` field must be set.
    * 
* * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -53,7 +53,7 @@ public interface UpdateEntryRequestOrBuilder * * *
-   * Required. The updated entry. The "name" field must be set.
+   * Required. Updates for the entry. The `name` field must be set.
    * 
* * .google.cloud.datacatalog.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -69,23 +69,23 @@ public interface UpdateEntryRequestOrBuilder * 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`: - * * `schema` - * * `display_name` - * * `description` - * * `gcs_fileset_spec` - * * `gcs_fileset_spec.file_patterns` - * * For entries with `user_specified_type`: - * * `schema` - * * `display_name` - * * `description` - * * `user_specified_type` - * * `user_specified_system` - * * `linked_resource` - * * `source_system_timestamps` + * You can modify only the fields listed below. + * For entries with type `DATA_STREAM`: + * * `schema` + * For entries with type `FILESET`: + * * `schema` + * * `display_name` + * * `description` + * * `gcs_fileset_spec` + * * `gcs_fileset_spec.file_patterns` + * For entries with `user_specified_type`: + * * `schema` + * * `display_name` + * * `description` + * * `user_specified_type` + * * `user_specified_system` + * * `linked_resource` + * * `source_system_timestamps` *
* * .google.protobuf.FieldMask update_mask = 2; @@ -101,23 +101,23 @@ public interface UpdateEntryRequestOrBuilder * 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`: - * * `schema` - * * `display_name` - * * `description` - * * `gcs_fileset_spec` - * * `gcs_fileset_spec.file_patterns` - * * For entries with `user_specified_type`: - * * `schema` - * * `display_name` - * * `description` - * * `user_specified_type` - * * `user_specified_system` - * * `linked_resource` - * * `source_system_timestamps` + * You can modify only the fields listed below. + * For entries with type `DATA_STREAM`: + * * `schema` + * For entries with type `FILESET`: + * * `schema` + * * `display_name` + * * `description` + * * `gcs_fileset_spec` + * * `gcs_fileset_spec.file_patterns` + * For entries with `user_specified_type`: + * * `schema` + * * `display_name` + * * `description` + * * `user_specified_type` + * * `user_specified_system` + * * `linked_resource` + * * `source_system_timestamps` * * * .google.protobuf.FieldMask update_mask = 2; @@ -133,23 +133,23 @@ public interface UpdateEntryRequestOrBuilder * 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`: - * * `schema` - * * `display_name` - * * `description` - * * `gcs_fileset_spec` - * * `gcs_fileset_spec.file_patterns` - * * For entries with `user_specified_type`: - * * `schema` - * * `display_name` - * * `description` - * * `user_specified_type` - * * `user_specified_system` - * * `linked_resource` - * * `source_system_timestamps` + * You can modify only the fields listed below. + * For entries with type `DATA_STREAM`: + * * `schema` + * For entries with type `FILESET`: + * * `schema` + * * `display_name` + * * `description` + * * `gcs_fileset_spec` + * * `gcs_fileset_spec.file_patterns` + * For entries with `user_specified_type`: + * * `schema` + * * `display_name` + * * `description` + * * `user_specified_type` + * * `user_specified_system` + * * `linked_resource` + * * `source_system_timestamps` * * * .google.protobuf.FieldMask update_mask = 2; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequest.java index d52cfd54..c4aa5fc4 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequest.java @@ -140,8 +140,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The policy tag to update. Only the description, display_name, and
-   * parent_policy_tag fields can be updated.
+   * The policy tag to update. You can update only its description, display
+   * name, and parent policy tag fields.
    * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1; @@ -156,8 +156,8 @@ public boolean hasPolicyTag() { * * *
-   * The policy tag to update. Only the description, display_name, and
-   * parent_policy_tag fields can be updated.
+   * The policy tag to update. You can update only its description, display
+   * name, and parent policy tag fields.
    * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1; @@ -174,8 +174,8 @@ public com.google.cloud.datacatalog.v1.PolicyTag getPolicyTag() { * * *
-   * The policy tag to update. Only the description, display_name, and
-   * parent_policy_tag fields can be updated.
+   * The policy tag to update. You can update only its description, display
+   * name, and parent policy tag fields.
    * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1; @@ -191,13 +191,11 @@ public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagOrBuilder( * * *
-   * The update mask applies to the resource. Only display_name, description and
-   * parent_policy_tag can be updated and thus can be listed in the mask. If
-   * update_mask is not provided, all allowed fields (i.e. display_name,
-   * description and parent) will be updated. For more information including the
-   * `FieldMask` definition, see
-   * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
-   * If not set, defaults to all of the fields that are allowed to update.
+   * Specifies the fields to update.
+   * You can update only display name, description, and parent policy tag.
+   * If not set, defaults to all updatable fields.
+   * For more information, see [FieldMask]
+   * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -212,13 +210,11 @@ public boolean hasUpdateMask() { * * *
-   * The update mask applies to the resource. Only display_name, description and
-   * parent_policy_tag can be updated and thus can be listed in the mask. If
-   * update_mask is not provided, all allowed fields (i.e. display_name,
-   * description and parent) will be updated. For more information including the
-   * `FieldMask` definition, see
-   * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
-   * If not set, defaults to all of the fields that are allowed to update.
+   * Specifies the fields to update.
+   * You can update only display name, description, and parent policy tag.
+   * If not set, defaults to all updatable fields.
+   * For more information, see [FieldMask]
+   * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -233,13 +229,11 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-   * The update mask applies to the resource. Only display_name, description and
-   * parent_policy_tag can be updated and thus can be listed in the mask. If
-   * update_mask is not provided, all allowed fields (i.e. display_name,
-   * description and parent) will be updated. For more information including the
-   * `FieldMask` definition, see
-   * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
-   * If not set, defaults to all of the fields that are allowed to update.
+   * Specifies the fields to update.
+   * You can update only display name, description, and parent policy tag.
+   * If not set, defaults to all updatable fields.
+   * For more information, see [FieldMask]
+   * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -619,8 +613,8 @@ public Builder mergeFrom( * * *
-     * The policy tag to update. Only the description, display_name, and
-     * parent_policy_tag fields can be updated.
+     * The policy tag to update. You can update only its description, display
+     * name, and parent policy tag fields.
      * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1; @@ -634,8 +628,8 @@ public boolean hasPolicyTag() { * * *
-     * The policy tag to update. Only the description, display_name, and
-     * parent_policy_tag fields can be updated.
+     * The policy tag to update. You can update only its description, display
+     * name, and parent policy tag fields.
      * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1; @@ -655,8 +649,8 @@ public com.google.cloud.datacatalog.v1.PolicyTag getPolicyTag() { * * *
-     * The policy tag to update. Only the description, display_name, and
-     * parent_policy_tag fields can be updated.
+     * The policy tag to update. You can update only its description, display
+     * name, and parent policy tag fields.
      * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1; @@ -678,8 +672,8 @@ public Builder setPolicyTag(com.google.cloud.datacatalog.v1.PolicyTag value) { * * *
-     * The policy tag to update. Only the description, display_name, and
-     * parent_policy_tag fields can be updated.
+     * The policy tag to update. You can update only its description, display
+     * name, and parent policy tag fields.
      * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1; @@ -698,8 +692,8 @@ public Builder setPolicyTag(com.google.cloud.datacatalog.v1.PolicyTag.Builder bu * * *
-     * The policy tag to update. Only the description, display_name, and
-     * parent_policy_tag fields can be updated.
+     * The policy tag to update. You can update only its description, display
+     * name, and parent policy tag fields.
      * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1; @@ -725,8 +719,8 @@ public Builder mergePolicyTag(com.google.cloud.datacatalog.v1.PolicyTag value) { * * *
-     * The policy tag to update. Only the description, display_name, and
-     * parent_policy_tag fields can be updated.
+     * The policy tag to update. You can update only its description, display
+     * name, and parent policy tag fields.
      * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1; @@ -746,8 +740,8 @@ public Builder clearPolicyTag() { * * *
-     * The policy tag to update. Only the description, display_name, and
-     * parent_policy_tag fields can be updated.
+     * The policy tag to update. You can update only its description, display
+     * name, and parent policy tag fields.
      * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1; @@ -761,8 +755,8 @@ public com.google.cloud.datacatalog.v1.PolicyTag.Builder getPolicyTagBuilder() { * * *
-     * The policy tag to update. Only the description, display_name, and
-     * parent_policy_tag fields can be updated.
+     * The policy tag to update. You can update only its description, display
+     * name, and parent policy tag fields.
      * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1; @@ -780,8 +774,8 @@ public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagOrBuilder( * * *
-     * The policy tag to update. Only the description, display_name, and
-     * parent_policy_tag fields can be updated.
+     * The policy tag to update. You can update only its description, display
+     * name, and parent policy tag fields.
      * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1; @@ -813,13 +807,11 @@ public com.google.cloud.datacatalog.v1.PolicyTagOrBuilder getPolicyTagOrBuilder( * * *
-     * The update mask applies to the resource. Only display_name, description and
-     * parent_policy_tag can be updated and thus can be listed in the mask. If
-     * update_mask is not provided, all allowed fields (i.e. display_name,
-     * description and parent) will be updated. For more information including the
-     * `FieldMask` definition, see
-     * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
-     * If not set, defaults to all of the fields that are allowed to update.
+     * Specifies the fields to update.
+     * You can update only display name, description, and parent policy tag.
+     * If not set, defaults to all updatable fields.
+     * For more information, see [FieldMask]
+     * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -833,13 +825,11 @@ public boolean hasUpdateMask() { * * *
-     * The update mask applies to the resource. Only display_name, description and
-     * parent_policy_tag can be updated and thus can be listed in the mask. If
-     * update_mask is not provided, all allowed fields (i.e. display_name,
-     * description and parent) will be updated. For more information including the
-     * `FieldMask` definition, see
-     * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
-     * If not set, defaults to all of the fields that are allowed to update.
+     * Specifies the fields to update.
+     * You can update only display name, description, and parent policy tag.
+     * If not set, defaults to all updatable fields.
+     * For more information, see [FieldMask]
+     * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -859,13 +849,11 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-     * The update mask applies to the resource. Only display_name, description and
-     * parent_policy_tag can be updated and thus can be listed in the mask. If
-     * update_mask is not provided, all allowed fields (i.e. display_name,
-     * description and parent) will be updated. For more information including the
-     * `FieldMask` definition, see
-     * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
-     * If not set, defaults to all of the fields that are allowed to update.
+     * Specifies the fields to update.
+     * You can update only display name, description, and parent policy tag.
+     * If not set, defaults to all updatable fields.
+     * For more information, see [FieldMask]
+     * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -887,13 +875,11 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * The update mask applies to the resource. Only display_name, description and
-     * parent_policy_tag can be updated and thus can be listed in the mask. If
-     * update_mask is not provided, all allowed fields (i.e. display_name,
-     * description and parent) will be updated. For more information including the
-     * `FieldMask` definition, see
-     * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
-     * If not set, defaults to all of the fields that are allowed to update.
+     * Specifies the fields to update.
+     * You can update only display name, description, and parent policy tag.
+     * If not set, defaults to all updatable fields.
+     * For more information, see [FieldMask]
+     * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -912,13 +898,11 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * * *
-     * The update mask applies to the resource. Only display_name, description and
-     * parent_policy_tag can be updated and thus can be listed in the mask. If
-     * update_mask is not provided, all allowed fields (i.e. display_name,
-     * description and parent) will be updated. For more information including the
-     * `FieldMask` definition, see
-     * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
-     * If not set, defaults to all of the fields that are allowed to update.
+     * Specifies the fields to update.
+     * You can update only display name, description, and parent policy tag.
+     * If not set, defaults to all updatable fields.
+     * For more information, see [FieldMask]
+     * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -942,13 +926,11 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * The update mask applies to the resource. Only display_name, description and
-     * parent_policy_tag can be updated and thus can be listed in the mask. If
-     * update_mask is not provided, all allowed fields (i.e. display_name,
-     * description and parent) will be updated. For more information including the
-     * `FieldMask` definition, see
-     * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
-     * If not set, defaults to all of the fields that are allowed to update.
+     * Specifies the fields to update.
+     * You can update only display name, description, and parent policy tag.
+     * If not set, defaults to all updatable fields.
+     * For more information, see [FieldMask]
+     * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -968,13 +950,11 @@ public Builder clearUpdateMask() { * * *
-     * The update mask applies to the resource. Only display_name, description and
-     * parent_policy_tag can be updated and thus can be listed in the mask. If
-     * update_mask is not provided, all allowed fields (i.e. display_name,
-     * description and parent) will be updated. For more information including the
-     * `FieldMask` definition, see
-     * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
-     * If not set, defaults to all of the fields that are allowed to update.
+     * Specifies the fields to update.
+     * You can update only display name, description, and parent policy tag.
+     * If not set, defaults to all updatable fields.
+     * For more information, see [FieldMask]
+     * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -988,13 +968,11 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * * *
-     * The update mask applies to the resource. Only display_name, description and
-     * parent_policy_tag can be updated and thus can be listed in the mask. If
-     * update_mask is not provided, all allowed fields (i.e. display_name,
-     * description and parent) will be updated. For more information including the
-     * `FieldMask` definition, see
-     * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
-     * If not set, defaults to all of the fields that are allowed to update.
+     * Specifies the fields to update.
+     * You can update only display name, description, and parent policy tag.
+     * If not set, defaults to all updatable fields.
+     * For more information, see [FieldMask]
+     * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -1012,13 +990,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * *
-     * The update mask applies to the resource. Only display_name, description and
-     * parent_policy_tag can be updated and thus can be listed in the mask. If
-     * update_mask is not provided, all allowed fields (i.e. display_name,
-     * description and parent) will be updated. For more information including the
-     * `FieldMask` definition, see
-     * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
-     * If not set, defaults to all of the fields that are allowed to update.
+     * Specifies the fields to update.
+     * You can update only display name, description, and parent policy tag.
+     * If not set, defaults to all updatable fields.
+     * For more information, see [FieldMask]
+     * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
      * 
* * .google.protobuf.FieldMask update_mask = 2; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequestOrBuilder.java index dd0e55ed..c3a8b092 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdatePolicyTagRequestOrBuilder.java @@ -27,8 +27,8 @@ public interface UpdatePolicyTagRequestOrBuilder * * *
-   * The policy tag to update. Only the description, display_name, and
-   * parent_policy_tag fields can be updated.
+   * The policy tag to update. You can update only its description, display
+   * name, and parent policy tag fields.
    * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1; @@ -40,8 +40,8 @@ public interface UpdatePolicyTagRequestOrBuilder * * *
-   * The policy tag to update. Only the description, display_name, and
-   * parent_policy_tag fields can be updated.
+   * The policy tag to update. You can update only its description, display
+   * name, and parent policy tag fields.
    * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1; @@ -53,8 +53,8 @@ public interface UpdatePolicyTagRequestOrBuilder * * *
-   * The policy tag to update. Only the description, display_name, and
-   * parent_policy_tag fields can be updated.
+   * The policy tag to update. You can update only its description, display
+   * name, and parent policy tag fields.
    * 
* * .google.cloud.datacatalog.v1.PolicyTag policy_tag = 1; @@ -65,13 +65,11 @@ public interface UpdatePolicyTagRequestOrBuilder * * *
-   * The update mask applies to the resource. Only display_name, description and
-   * parent_policy_tag can be updated and thus can be listed in the mask. If
-   * update_mask is not provided, all allowed fields (i.e. display_name,
-   * description and parent) will be updated. For more information including the
-   * `FieldMask` definition, see
-   * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
-   * If not set, defaults to all of the fields that are allowed to update.
+   * Specifies the fields to update.
+   * You can update only display name, description, and parent policy tag.
+   * If not set, defaults to all updatable fields.
+   * For more information, see [FieldMask]
+   * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -83,13 +81,11 @@ public interface UpdatePolicyTagRequestOrBuilder * * *
-   * The update mask applies to the resource. Only display_name, description and
-   * parent_policy_tag can be updated and thus can be listed in the mask. If
-   * update_mask is not provided, all allowed fields (i.e. display_name,
-   * description and parent) will be updated. For more information including the
-   * `FieldMask` definition, see
-   * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
-   * If not set, defaults to all of the fields that are allowed to update.
+   * Specifies the fields to update.
+   * You can update only display name, description, and parent policy tag.
+   * If not set, defaults to all updatable fields.
+   * For more information, see [FieldMask]
+   * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -101,13 +97,11 @@ public interface UpdatePolicyTagRequestOrBuilder * * *
-   * The update mask applies to the resource. Only display_name, description and
-   * parent_policy_tag can be updated and thus can be listed in the mask. If
-   * update_mask is not provided, all allowed fields (i.e. display_name,
-   * description and parent) will be updated. For more information including the
-   * `FieldMask` definition, see
-   * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
-   * If not set, defaults to all of the fields that are allowed to update.
+   * Specifies the fields to update.
+   * You can update only display name, description, and parent policy tag.
+   * If not set, defaults to all updatable fields.
+   * For more information, see [FieldMask]
+   * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
    * 
* * .google.protobuf.FieldMask update_mask = 2; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequest.java index 4b1e31e7..ac2804dc 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequest.java @@ -149,8 +149,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The name of the tag template field. Example:
-   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
+   * Required. The name of the tag template field.
    * 
* * @@ -175,8 +174,7 @@ public java.lang.String getName() { * * *
-   * Required. The name of the tag template field. Example:
-   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
+   * Required. The name of the tag template field.
    * 
* * @@ -260,9 +258,9 @@ public com.google.cloud.datacatalog.v1.TagTemplateFieldOrBuilder getTagTemplateF *
    * 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`
+   * * `display_name`
+   * * `type.enum_type`
+   * * `is_required`
    * 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
@@ -288,9 +286,9 @@ public boolean hasUpdateMask() {
    * 
    * 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`
+   * * `display_name`
+   * * `type.enum_type`
+   * * `is_required`
    * 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
@@ -316,9 +314,9 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * 
    * 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`
+   * * `display_name`
+   * * `type.enum_type`
+   * * `is_required`
    * 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
@@ -721,8 +719,7 @@ public Builder mergeFrom(
      *
      *
      * 
-     * Required. The name of the tag template field. Example:
-     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
+     * Required. The name of the tag template field.
      * 
* * @@ -746,8 +743,7 @@ public java.lang.String getName() { * * *
-     * Required. The name of the tag template field. Example:
-     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
+     * Required. The name of the tag template field.
      * 
* * @@ -771,8 +767,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The name of the tag template field. Example:
-     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
+     * Required. The name of the tag template field.
      * 
* * @@ -795,8 +790,7 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The name of the tag template field. Example:
-     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
+     * Required. The name of the tag template field.
      * 
* * @@ -815,8 +809,7 @@ public Builder clearName() { * * *
-     * Required. The name of the tag template field. Example:
-     * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
+     * Required. The name of the tag template field.
      * 
* * @@ -1054,9 +1047,9 @@ public com.google.cloud.datacatalog.v1.TagTemplateField.Builder getTagTemplateFi *
      * 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`
+     * * `display_name`
+     * * `type.enum_type`
+     * * `is_required`
      * 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
@@ -1081,9 +1074,9 @@ public boolean hasUpdateMask() {
      * 
      * 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`
+     * * `display_name`
+     * * `type.enum_type`
+     * * `is_required`
      * 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
@@ -1114,9 +1107,9 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * 
      * 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`
+     * * `display_name`
+     * * `type.enum_type`
+     * * `is_required`
      * 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
@@ -1149,9 +1142,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * 
      * 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`
+     * * `display_name`
+     * * `type.enum_type`
+     * * `is_required`
      * 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
@@ -1181,9 +1174,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * 
      * 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`
+     * * `display_name`
+     * * `type.enum_type`
+     * * `is_required`
      * 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
@@ -1218,9 +1211,9 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * 
      * 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`
+     * * `display_name`
+     * * `type.enum_type`
+     * * `is_required`
      * 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
@@ -1251,9 +1244,9 @@ public Builder clearUpdateMask() {
      * 
      * 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`
+     * * `display_name`
+     * * `type.enum_type`
+     * * `is_required`
      * 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
@@ -1278,9 +1271,9 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * 
      * 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`
+     * * `display_name`
+     * * `type.enum_type`
+     * * `is_required`
      * 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
@@ -1309,9 +1302,9 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * 
      * 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`
+     * * `display_name`
+     * * `type.enum_type`
+     * * `is_required`
      * 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
diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequestOrBuilder.java
index 346961b6..371e2855 100644
--- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequestOrBuilder.java
+++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateFieldRequestOrBuilder.java
@@ -27,8 +27,7 @@ public interface UpdateTagTemplateFieldRequestOrBuilder
    *
    *
    * 
-   * Required. The name of the tag template field. Example:
-   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
+   * Required. The name of the tag template field.
    * 
* * @@ -42,8 +41,7 @@ public interface UpdateTagTemplateFieldRequestOrBuilder * * *
-   * Required. The name of the tag template field. Example:
-   * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
+   * Required. The name of the tag template field.
    * 
* * @@ -101,9 +99,9 @@ public interface UpdateTagTemplateFieldRequestOrBuilder *
    * 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`
+   * * `display_name`
+   * * `type.enum_type`
+   * * `is_required`
    * 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
@@ -126,9 +124,9 @@ public interface UpdateTagTemplateFieldRequestOrBuilder
    * 
    * 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`
+   * * `display_name`
+   * * `type.enum_type`
+   * * `is_required`
    * 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
@@ -151,9 +149,9 @@ public interface UpdateTagTemplateFieldRequestOrBuilder
    * 
    * 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`
+   * * `display_name`
+   * * `type.enum_type`
+   * * `is_required`
    * 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
diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequest.java
index c4f3f4cb..c209b6a2 100644
--- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequest.java
+++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequest.java
@@ -140,7 +140,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    *
    * 
-   * Required. The template to update. The "name" field must be set.
+   * Required. The template to update. The `name` field must be set.
    * 
* * @@ -157,7 +157,7 @@ public boolean hasTagTemplate() { * * *
-   * Required. The template to update. The "name" field must be set.
+   * Required. The template to update. The `name` field must be set.
    * 
* * @@ -176,7 +176,7 @@ public com.google.cloud.datacatalog.v1.TagTemplate getTagTemplate() { * * *
-   * Required. The template to update. The "name" field must be set.
+   * Required. The template to update. The `name` field must be set.
    * 
* * @@ -196,7 +196,7 @@ public com.google.cloud.datacatalog.v1.TagTemplateOrBuilder getTagTemplateOrBuil *
    * Names of fields whose values to overwrite on a tag template. Currently,
    * only `display_name` can be overwritten.
-   * In general, if this parameter is absent or empty, all modifiable fields
+   * 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.
    * 
@@ -215,7 +215,7 @@ public boolean hasUpdateMask() { *
    * Names of fields whose values to overwrite on a tag template. Currently,
    * only `display_name` can be overwritten.
-   * In general, if this parameter is absent or empty, all modifiable fields
+   * 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.
    * 
@@ -234,7 +234,7 @@ public com.google.protobuf.FieldMask getUpdateMask() { *
    * Names of fields whose values to overwrite on a tag template. Currently,
    * only `display_name` can be overwritten.
-   * In general, if this parameter is absent or empty, all modifiable fields
+   * 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.
    * 
@@ -616,7 +616,7 @@ public Builder mergeFrom( * * *
-     * Required. The template to update. The "name" field must be set.
+     * Required. The template to update. The `name` field must be set.
      * 
* * @@ -632,7 +632,7 @@ public boolean hasTagTemplate() { * * *
-     * Required. The template to update. The "name" field must be set.
+     * Required. The template to update. The `name` field must be set.
      * 
* * @@ -654,7 +654,7 @@ public com.google.cloud.datacatalog.v1.TagTemplate getTagTemplate() { * * *
-     * Required. The template to update. The "name" field must be set.
+     * Required. The template to update. The `name` field must be set.
      * 
* * @@ -678,7 +678,7 @@ public Builder setTagTemplate(com.google.cloud.datacatalog.v1.TagTemplate value) * * *
-     * Required. The template to update. The "name" field must be set.
+     * Required. The template to update. The `name` field must be set.
      * 
* * @@ -700,7 +700,7 @@ public Builder setTagTemplate( * * *
-     * Required. The template to update. The "name" field must be set.
+     * Required. The template to update. The `name` field must be set.
      * 
* * @@ -728,7 +728,7 @@ public Builder mergeTagTemplate(com.google.cloud.datacatalog.v1.TagTemplate valu * * *
-     * Required. The template to update. The "name" field must be set.
+     * Required. The template to update. The `name` field must be set.
      * 
* * @@ -750,7 +750,7 @@ public Builder clearTagTemplate() { * * *
-     * Required. The template to update. The "name" field must be set.
+     * Required. The template to update. The `name` field must be set.
      * 
* * @@ -766,7 +766,7 @@ public com.google.cloud.datacatalog.v1.TagTemplate.Builder getTagTemplateBuilder * * *
-     * Required. The template to update. The "name" field must be set.
+     * Required. The template to update. The `name` field must be set.
      * 
* * @@ -786,7 +786,7 @@ public com.google.cloud.datacatalog.v1.TagTemplateOrBuilder getTagTemplateOrBuil * * *
-     * Required. The template to update. The "name" field must be set.
+     * Required. The template to update. The `name` field must be set.
      * 
* * @@ -822,7 +822,7 @@ public com.google.cloud.datacatalog.v1.TagTemplateOrBuilder getTagTemplateOrBuil *
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` can be overwritten.
-     * In general, if this parameter is absent or empty, all modifiable fields
+     * 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.
      * 
@@ -840,7 +840,7 @@ public boolean hasUpdateMask() { *
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` can be overwritten.
-     * In general, if this parameter is absent or empty, all modifiable fields
+     * 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.
      * 
@@ -864,7 +864,7 @@ public com.google.protobuf.FieldMask getUpdateMask() { *
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` can be overwritten.
-     * In general, if this parameter is absent or empty, all modifiable fields
+     * 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.
      * 
@@ -890,7 +890,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { *
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` can be overwritten.
-     * In general, if this parameter is absent or empty, all modifiable fields
+     * 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.
      * 
@@ -913,7 +913,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal *
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` can be overwritten.
-     * In general, if this parameter is absent or empty, all modifiable fields
+     * 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.
      * 
@@ -941,7 +941,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { *
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` can be overwritten.
-     * In general, if this parameter is absent or empty, all modifiable fields
+     * 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.
      * 
@@ -965,7 +965,7 @@ public Builder clearUpdateMask() { *
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` can be overwritten.
-     * In general, if this parameter is absent or empty, all modifiable fields
+     * 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.
      * 
@@ -983,7 +983,7 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { *
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` can be overwritten.
-     * In general, if this parameter is absent or empty, all modifiable fields
+     * 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.
      * 
@@ -1005,7 +1005,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { *
      * Names of fields whose values to overwrite on a tag template. Currently,
      * only `display_name` can be overwritten.
-     * In general, if this parameter is absent or empty, all modifiable fields
+     * 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.
      * 
diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequestOrBuilder.java index 6eef4acd..d0a8820e 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequestOrBuilder.java @@ -27,7 +27,7 @@ public interface UpdateTagTemplateRequestOrBuilder * * *
-   * Required. The template to update. The "name" field must be set.
+   * Required. The template to update. The `name` field must be set.
    * 
* * @@ -41,7 +41,7 @@ public interface UpdateTagTemplateRequestOrBuilder * * *
-   * Required. The template to update. The "name" field must be set.
+   * Required. The template to update. The `name` field must be set.
    * 
* * @@ -55,7 +55,7 @@ public interface UpdateTagTemplateRequestOrBuilder * * *
-   * Required. The template to update. The "name" field must be set.
+   * Required. The template to update. The `name` field must be set.
    * 
* * @@ -70,7 +70,7 @@ public interface UpdateTagTemplateRequestOrBuilder *
    * Names of fields whose values to overwrite on a tag template. Currently,
    * only `display_name` can be overwritten.
-   * In general, if this parameter is absent or empty, all modifiable fields
+   * 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.
    * 
@@ -86,7 +86,7 @@ public interface UpdateTagTemplateRequestOrBuilder *
    * Names of fields whose values to overwrite on a tag template. Currently,
    * only `display_name` can be overwritten.
-   * In general, if this parameter is absent or empty, all modifiable fields
+   * 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.
    * 
@@ -102,7 +102,7 @@ public interface UpdateTagTemplateRequestOrBuilder *
    * Names of fields whose values to overwrite on a tag template. Currently,
    * only `display_name` can be overwritten.
-   * In general, if this parameter is absent or empty, all modifiable fields
+   * 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.
    * 
diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequest.java index 4b9cd37c..fc02664f 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequest.java @@ -140,8 +140,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The taxonomy to update. Only description, display_name, and activated
-   * policy types can be updated.
+   * The taxonomy to update. You can update only its description, display name,
+   * and activated policy types.
    * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1; @@ -156,8 +156,8 @@ public boolean hasTaxonomy() { * * *
-   * The taxonomy to update. Only description, display_name, and activated
-   * policy types can be updated.
+   * The taxonomy to update. You can update only its description, display name,
+   * and activated policy types.
    * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1; @@ -174,8 +174,8 @@ public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomy() { * * *
-   * The taxonomy to update. Only description, display_name, and activated
-   * policy types can be updated.
+   * The taxonomy to update. You can update only its description, display name,
+   * and activated policy types.
    * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1; @@ -191,10 +191,10 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomyOrBuilder() * * *
-   * The update mask applies to the resource. For the `FieldMask` definition,
-   * see
-   * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
-   * If not set, defaults to all of the fields that are allowed to update.
+   * Specifies fields to update. If not set, defaults to all fields you can
+   * update.
+   * For more information, see [FieldMask]
+   * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -209,10 +209,10 @@ public boolean hasUpdateMask() { * * *
-   * The update mask applies to the resource. For the `FieldMask` definition,
-   * see
-   * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
-   * If not set, defaults to all of the fields that are allowed to update.
+   * Specifies fields to update. If not set, defaults to all fields you can
+   * update.
+   * For more information, see [FieldMask]
+   * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -227,10 +227,10 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-   * The update mask applies to the resource. For the `FieldMask` definition,
-   * see
-   * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
-   * If not set, defaults to all of the fields that are allowed to update.
+   * Specifies fields to update. If not set, defaults to all fields you can
+   * update.
+   * For more information, see [FieldMask]
+   * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -610,8 +610,8 @@ public Builder mergeFrom( * * *
-     * The taxonomy to update. Only description, display_name, and activated
-     * policy types can be updated.
+     * The taxonomy to update. You can update only its description, display name,
+     * and activated policy types.
      * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1; @@ -625,8 +625,8 @@ public boolean hasTaxonomy() { * * *
-     * The taxonomy to update. Only description, display_name, and activated
-     * policy types can be updated.
+     * The taxonomy to update. You can update only its description, display name,
+     * and activated policy types.
      * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1; @@ -646,8 +646,8 @@ public com.google.cloud.datacatalog.v1.Taxonomy getTaxonomy() { * * *
-     * The taxonomy to update. Only description, display_name, and activated
-     * policy types can be updated.
+     * The taxonomy to update. You can update only its description, display name,
+     * and activated policy types.
      * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1; @@ -669,8 +669,8 @@ public Builder setTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy value) { * * *
-     * The taxonomy to update. Only description, display_name, and activated
-     * policy types can be updated.
+     * The taxonomy to update. You can update only its description, display name,
+     * and activated policy types.
      * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1; @@ -689,8 +689,8 @@ public Builder setTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy.Builder buil * * *
-     * The taxonomy to update. Only description, display_name, and activated
-     * policy types can be updated.
+     * The taxonomy to update. You can update only its description, display name,
+     * and activated policy types.
      * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1; @@ -716,8 +716,8 @@ public Builder mergeTaxonomy(com.google.cloud.datacatalog.v1.Taxonomy value) { * * *
-     * The taxonomy to update. Only description, display_name, and activated
-     * policy types can be updated.
+     * The taxonomy to update. You can update only its description, display name,
+     * and activated policy types.
      * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1; @@ -737,8 +737,8 @@ public Builder clearTaxonomy() { * * *
-     * The taxonomy to update. Only description, display_name, and activated
-     * policy types can be updated.
+     * The taxonomy to update. You can update only its description, display name,
+     * and activated policy types.
      * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1; @@ -752,8 +752,8 @@ public com.google.cloud.datacatalog.v1.Taxonomy.Builder getTaxonomyBuilder() { * * *
-     * The taxonomy to update. Only description, display_name, and activated
-     * policy types can be updated.
+     * The taxonomy to update. You can update only its description, display name,
+     * and activated policy types.
      * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1; @@ -771,8 +771,8 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomyOrBuilder() * * *
-     * The taxonomy to update. Only description, display_name, and activated
-     * policy types can be updated.
+     * The taxonomy to update. You can update only its description, display name,
+     * and activated policy types.
      * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1; @@ -804,10 +804,10 @@ public com.google.cloud.datacatalog.v1.TaxonomyOrBuilder getTaxonomyOrBuilder() * * *
-     * The update mask applies to the resource. For the `FieldMask` definition,
-     * see
-     * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
-     * If not set, defaults to all of the fields that are allowed to update.
+     * Specifies fields to update. If not set, defaults to all fields you can
+     * update.
+     * For more information, see [FieldMask]
+     * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -821,10 +821,10 @@ public boolean hasUpdateMask() { * * *
-     * The update mask applies to the resource. For the `FieldMask` definition,
-     * see
-     * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
-     * If not set, defaults to all of the fields that are allowed to update.
+     * Specifies fields to update. If not set, defaults to all fields you can
+     * update.
+     * For more information, see [FieldMask]
+     * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -844,10 +844,10 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-     * The update mask applies to the resource. For the `FieldMask` definition,
-     * see
-     * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
-     * If not set, defaults to all of the fields that are allowed to update.
+     * Specifies fields to update. If not set, defaults to all fields you can
+     * update.
+     * For more information, see [FieldMask]
+     * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -869,10 +869,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * The update mask applies to the resource. For the `FieldMask` definition,
-     * see
-     * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
-     * If not set, defaults to all of the fields that are allowed to update.
+     * Specifies fields to update. If not set, defaults to all fields you can
+     * update.
+     * For more information, see [FieldMask]
+     * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -891,10 +891,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * * *
-     * The update mask applies to the resource. For the `FieldMask` definition,
-     * see
-     * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
-     * If not set, defaults to all of the fields that are allowed to update.
+     * Specifies fields to update. If not set, defaults to all fields you can
+     * update.
+     * For more information, see [FieldMask]
+     * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -918,10 +918,10 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * The update mask applies to the resource. For the `FieldMask` definition,
-     * see
-     * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
-     * If not set, defaults to all of the fields that are allowed to update.
+     * Specifies fields to update. If not set, defaults to all fields you can
+     * update.
+     * For more information, see [FieldMask]
+     * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -941,10 +941,10 @@ public Builder clearUpdateMask() { * * *
-     * The update mask applies to the resource. For the `FieldMask` definition,
-     * see
-     * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
-     * If not set, defaults to all of the fields that are allowed to update.
+     * Specifies fields to update. If not set, defaults to all fields you can
+     * update.
+     * For more information, see [FieldMask]
+     * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -958,10 +958,10 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * * *
-     * The update mask applies to the resource. For the `FieldMask` definition,
-     * see
-     * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
-     * If not set, defaults to all of the fields that are allowed to update.
+     * Specifies fields to update. If not set, defaults to all fields you can
+     * update.
+     * For more information, see [FieldMask]
+     * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -979,10 +979,10 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * *
-     * The update mask applies to the resource. For the `FieldMask` definition,
-     * see
-     * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
-     * If not set, defaults to all of the fields that are allowed to update.
+     * Specifies fields to update. If not set, defaults to all fields you can
+     * update.
+     * For more information, see [FieldMask]
+     * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
      * 
* * .google.protobuf.FieldMask update_mask = 2; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequestOrBuilder.java index 3df37361..4fa3626d 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequestOrBuilder.java @@ -27,8 +27,8 @@ public interface UpdateTaxonomyRequestOrBuilder * * *
-   * The taxonomy to update. Only description, display_name, and activated
-   * policy types can be updated.
+   * The taxonomy to update. You can update only its description, display name,
+   * and activated policy types.
    * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1; @@ -40,8 +40,8 @@ public interface UpdateTaxonomyRequestOrBuilder * * *
-   * The taxonomy to update. Only description, display_name, and activated
-   * policy types can be updated.
+   * The taxonomy to update. You can update only its description, display name,
+   * and activated policy types.
    * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1; @@ -53,8 +53,8 @@ public interface UpdateTaxonomyRequestOrBuilder * * *
-   * The taxonomy to update. Only description, display_name, and activated
-   * policy types can be updated.
+   * The taxonomy to update. You can update only its description, display name,
+   * and activated policy types.
    * 
* * .google.cloud.datacatalog.v1.Taxonomy taxonomy = 1; @@ -65,10 +65,10 @@ public interface UpdateTaxonomyRequestOrBuilder * * *
-   * The update mask applies to the resource. For the `FieldMask` definition,
-   * see
-   * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
-   * If not set, defaults to all of the fields that are allowed to update.
+   * Specifies fields to update. If not set, defaults to all fields you can
+   * update.
+   * For more information, see [FieldMask]
+   * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -80,10 +80,10 @@ public interface UpdateTaxonomyRequestOrBuilder * * *
-   * The update mask applies to the resource. For the `FieldMask` definition,
-   * see
-   * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
-   * If not set, defaults to all of the fields that are allowed to update.
+   * Specifies fields to update. If not set, defaults to all fields you can
+   * update.
+   * For more information, see [FieldMask]
+   * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -95,10 +95,10 @@ public interface UpdateTaxonomyRequestOrBuilder * * *
-   * The update mask applies to the resource. For the `FieldMask` definition,
-   * see
-   * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
-   * If not set, defaults to all of the fields that are allowed to update.
+   * Specifies fields to update. If not set, defaults to all fields you can
+   * update.
+   * For more information, see [FieldMask]
+   * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
    * 
* * .google.protobuf.FieldMask update_mask = 2; diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Usage.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Usage.java new file mode 100644 index 00000000..ceafb72f --- /dev/null +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Usage.java @@ -0,0 +1,108 @@ +/* + * Copyright 2020 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/v1/usage.proto + +package com.google.cloud.datacatalog.v1; + +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_v1_UsageStats_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_UsageStats_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_UsageSignal_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_datacatalog_v1_UsageSignal_UsageWithinTimeRangeEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_datacatalog_v1_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/v1/usage.prot" + + "o\022\033google.cloud.datacatalog.v1\032\037google/p" + + "rotobuf/timestamp.proto\"\221\001\n\nUsageStats\022\031" + + "\n\021total_completions\030\001 \001(\002\022\026\n\016total_failu" + + "res\030\002 \001(\002\022\033\n\023total_cancellations\030\003 \001(\002\0223" + + "\n+total_execution_time_for_completions_m" + + "illis\030\004 \001(\002\"\211\002\n\013UsageSignal\022/\n\013update_ti" + + "me\030\001 \001(\0132\032.google.protobuf.Timestamp\022c\n\027" + + "usage_within_time_range\030\002 \003(\0132B.google.c" + + "loud.datacatalog.v1.UsageSignal.UsageWit" + + "hinTimeRangeEntry\032d\n\031UsageWithinTimeRang" + + "eEntry\022\013\n\003key\030\001 \001(\t\0226\n\005value\030\002 \001(\0132\'.goo" + + "gle.cloud.datacatalog.v1.UsageStats:\0028\001B" + + "\313\001\n\037com.google.cloud.datacatalog.v1P\001ZFg" + + "oogle.golang.org/genproto/googleapis/clo" + + "ud/datacatalog/v1;datacatalog\370\001\001\252\002\033Googl" + + "e.Cloud.DataCatalog.V1\312\002\033Google\\Cloud\\Da" + + "taCatalog\\V1\352\002\036Google::Cloud::DataCatalo" + + "g::V1b\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_v1_UsageStats_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_datacatalog_v1_UsageStats_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_UsageStats_descriptor, + new java.lang.String[] { + "TotalCompletions", + "TotalFailures", + "TotalCancellations", + "TotalExecutionTimeForCompletionsMillis", + }); + internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_datacatalog_v1_UsageSignal_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor, + new java.lang.String[] { + "UpdateTime", "UsageWithinTimeRange", + }); + internal_static_google_cloud_datacatalog_v1_UsageSignal_UsageWithinTimeRangeEntry_descriptor = + internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_datacatalog_v1_UsageSignal_UsageWithinTimeRangeEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_datacatalog_v1_UsageSignal_UsageWithinTimeRangeEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignal.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignal.java new file mode 100644 index 00000000..8de99c4f --- /dev/null +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignal.java @@ -0,0 +1,1115 @@ +/* + * Copyright 2020 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/v1/usage.proto + +package com.google.cloud.datacatalog.v1; + +/** + * + * + *
+ * The set of all usage signals that Data Catalog stores.
+ * Note: Usually, these signals are updated daily. In rare cases, an update may
+ * fail but will be performed again on the next day.
+ * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1.UsageSignal} + */ +public final class UsageSignal extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.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(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private UsageSignal( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; + } + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + usageWithinTimeRange_ = + com.google.protobuf.MapField.newMapField( + UsageWithinTimeRangeDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.datacatalog.v1.UsageStats> + usageWithinTimeRange__ = + input.readMessage( + UsageWithinTimeRangeDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + usageWithinTimeRange_ + .getMutableMap() + .put(usageWithinTimeRange__.getKey(), usageWithinTimeRange__.getValue()); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Usage + .internal_static_google_cloud_datacatalog_v1_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.v1.Usage + .internal_static_google_cloud_datacatalog_v1_UsageSignal_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1.UsageSignal.class, + com.google.cloud.datacatalog.v1.UsageSignal.Builder.class); + } + + public static final int UPDATE_TIME_FIELD_NUMBER = 1; + private com.google.protobuf.Timestamp updateTime_; + /** + * + * + *
+   * The end timestamp of the duration of usage statistics.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 1; + * + * @return Whether the updateTime field is set. + */ + @java.lang.Override + public boolean hasUpdateTime() { + return updateTime_ != null; + } + /** + * + * + *
+   * The end timestamp of the duration of usage statistics.
+   * 
+ * + * .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 end timestamp of the duration of usage statistics.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { + return getUpdateTime(); + } + + 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.v1.UsageStats> + defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.datacatalog.v1.Usage + .internal_static_google_cloud_datacatalog_v1_UsageSignal_UsageWithinTimeRangeEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.datacatalog.v1.UsageStats.getDefaultInstance()); + } + + private com.google.protobuf.MapField + usageWithinTimeRange_; + + private com.google.protobuf.MapField + 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 predefined time ranges.
+   * Supported time ranges are `{"24H", "7D", "30D"}`.
+   * 
+ * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2; + * + */ + @java.lang.Override + public boolean containsUsageWithinTimeRange(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + 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 predefined time ranges.
+   * Supported time ranges are `{"24H", "7D", "30D"}`.
+   * 
+ * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2; + * + */ + @java.lang.Override + public java.util.Map + getUsageWithinTimeRangeMap() { + return internalGetUsageWithinTimeRange().getMap(); + } + /** + * + * + *
+   * Usage statistics over each of the predefined time ranges.
+   * Supported time ranges are `{"24H", "7D", "30D"}`.
+   * 
+ * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2; + * + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrDefault( + java.lang.String key, com.google.cloud.datacatalog.v1.UsageStats defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = + internalGetUsageWithinTimeRange().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+   * Usage statistics over each of the predefined time ranges.
+   * Supported time ranges are `{"24H", "7D", "30D"}`.
+   * 
+ * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2; + * + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrThrow( + java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + 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); + unknownFields.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 + usageWithinTimeRange__ = + UsageWithinTimeRangeDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, usageWithinTimeRange__); + } + size += unknownFields.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.v1.UsageSignal)) { + return super.equals(obj); + } + com.google.cloud.datacatalog.v1.UsageSignal other = + (com.google.cloud.datacatalog.v1.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datacatalog.v1.UsageSignal parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1.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.v1.UsageSignal parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1.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.v1.UsageSignal parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1.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.v1.UsageSignal parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1.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.v1.UsageSignal parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1.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.v1.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.v1.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.v1.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 Data Catalog stores.
+   * Note: Usually, these signals are updated daily. In rare cases, an update may
+   * fail but will be performed again on the next day.
+   * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1.UsageSignal} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.UsageSignal) + com.google.cloud.datacatalog.v1.UsageSignalOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Usage + .internal_static_google_cloud_datacatalog_v1_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.v1.Usage + .internal_static_google_cloud_datacatalog_v1_UsageSignal_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1.UsageSignal.class, + com.google.cloud.datacatalog.v1.UsageSignal.Builder.class); + } + + // Construct using com.google.cloud.datacatalog.v1.UsageSignal.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (updateTimeBuilder_ == null) { + updateTime_ = null; + } else { + updateTime_ = null; + updateTimeBuilder_ = null; + } + internalGetMutableUsageWithinTimeRange().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.datacatalog.v1.Usage + .internal_static_google_cloud_datacatalog_v1_UsageSignal_descriptor; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1.UsageSignal getDefaultInstanceForType() { + return com.google.cloud.datacatalog.v1.UsageSignal.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1.UsageSignal build() { + com.google.cloud.datacatalog.v1.UsageSignal result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1.UsageSignal buildPartial() { + com.google.cloud.datacatalog.v1.UsageSignal result = + new com.google.cloud.datacatalog.v1.UsageSignal(this); + int from_bitField0_ = bitField0_; + if (updateTimeBuilder_ == null) { + result.updateTime_ = updateTime_; + } else { + result.updateTime_ = updateTimeBuilder_.build(); + } + result.usageWithinTimeRange_ = internalGetUsageWithinTimeRange(); + result.usageWithinTimeRange_.makeImmutable(); + onBuilt(); + return result; + } + + @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.v1.UsageSignal) { + return mergeFrom((com.google.cloud.datacatalog.v1.UsageSignal) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datacatalog.v1.UsageSignal other) { + if (other == com.google.cloud.datacatalog.v1.UsageSignal.getDefaultInstance()) return this; + if (other.hasUpdateTime()) { + mergeUpdateTime(other.getUpdateTime()); + } + internalGetMutableUsageWithinTimeRange().mergeFrom(other.internalGetUsageWithinTimeRange()); + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.datacatalog.v1.UsageSignal parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.datacatalog.v1.UsageSignal) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + 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 end timestamp of the duration of usage statistics.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 1; + * + * @return Whether the updateTime field is set. + */ + public boolean hasUpdateTime() { + return updateTimeBuilder_ != null || updateTime_ != null; + } + /** + * + * + *
+     * The end timestamp of the duration of usage statistics.
+     * 
+ * + * .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 end timestamp of the duration of usage statistics.
+     * 
+ * + * .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; + onChanged(); + } else { + updateTimeBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The end timestamp of the duration of usage statistics.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (updateTimeBuilder_ == null) { + updateTime_ = builderForValue.build(); + onChanged(); + } else { + updateTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The end timestamp of the duration of usage statistics.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (updateTime_ != null) { + updateTime_ = + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + } else { + updateTime_ = value; + } + onChanged(); + } else { + updateTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The end timestamp of the duration of usage statistics.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + public Builder clearUpdateTime() { + if (updateTimeBuilder_ == null) { + updateTime_ = null; + onChanged(); + } else { + updateTime_ = null; + updateTimeBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The end timestamp of the duration of usage statistics.
+     * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { + + onChanged(); + return getUpdateTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The end timestamp of the duration of usage statistics.
+     * 
+ * + * .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 end timestamp of the duration of usage statistics.
+     * 
+ * + * .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.v1.UsageStats> + usageWithinTimeRange_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.datacatalog.v1.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.v1.UsageStats> + internalGetMutableUsageWithinTimeRange() { + onChanged(); + ; + if (usageWithinTimeRange_ == null) { + usageWithinTimeRange_ = + com.google.protobuf.MapField.newMapField( + UsageWithinTimeRangeDefaultEntryHolder.defaultEntry); + } + if (!usageWithinTimeRange_.isMutable()) { + usageWithinTimeRange_ = usageWithinTimeRange_.copy(); + } + return usageWithinTimeRange_; + } + + public int getUsageWithinTimeRangeCount() { + return internalGetUsageWithinTimeRange().getMap().size(); + } + /** + * + * + *
+     * Usage statistics over each of the predefined time ranges.
+     * Supported time ranges are `{"24H", "7D", "30D"}`.
+     * 
+ * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2; + * + */ + @java.lang.Override + public boolean containsUsageWithinTimeRange(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + 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 predefined time ranges.
+     * Supported time ranges are `{"24H", "7D", "30D"}`.
+     * 
+ * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2; + * + */ + @java.lang.Override + public java.util.Map + getUsageWithinTimeRangeMap() { + return internalGetUsageWithinTimeRange().getMap(); + } + /** + * + * + *
+     * Usage statistics over each of the predefined time ranges.
+     * Supported time ranges are `{"24H", "7D", "30D"}`.
+     * 
+ * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2; + * + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrDefault( + java.lang.String key, com.google.cloud.datacatalog.v1.UsageStats defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = + internalGetUsageWithinTimeRange().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+     * Usage statistics over each of the predefined time ranges.
+     * Supported time ranges are `{"24H", "7D", "30D"}`.
+     * 
+ * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2; + * + */ + @java.lang.Override + public com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrThrow( + java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = + internalGetUsageWithinTimeRange().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearUsageWithinTimeRange() { + internalGetMutableUsageWithinTimeRange().getMutableMap().clear(); + return this; + } + /** + * + * + *
+     * Usage statistics over each of the predefined time ranges.
+     * Supported time ranges are `{"24H", "7D", "30D"}`.
+     * 
+ * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2; + * + */ + public Builder removeUsageWithinTimeRange(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + internalGetMutableUsageWithinTimeRange().getMutableMap().remove(key); + return this; + } + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map + getMutableUsageWithinTimeRange() { + return internalGetMutableUsageWithinTimeRange().getMutableMap(); + } + /** + * + * + *
+     * Usage statistics over each of the predefined time ranges.
+     * Supported time ranges are `{"24H", "7D", "30D"}`.
+     * 
+ * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2; + * + */ + public Builder putUsageWithinTimeRange( + java.lang.String key, com.google.cloud.datacatalog.v1.UsageStats value) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + if (value == null) { + throw new java.lang.NullPointerException(); + } + internalGetMutableUsageWithinTimeRange().getMutableMap().put(key, value); + return this; + } + /** + * + * + *
+     * Usage statistics over each of the predefined time ranges.
+     * Supported time ranges are `{"24H", "7D", "30D"}`.
+     * 
+ * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2; + * + */ + public Builder putAllUsageWithinTimeRange( + java.util.Map values) { + internalGetMutableUsageWithinTimeRange().getMutableMap().putAll(values); + 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.v1.UsageSignal) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.UsageSignal) + private static final com.google.cloud.datacatalog.v1.UsageSignal DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.UsageSignal(); + } + + public static com.google.cloud.datacatalog.v1.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 { + return new UsageSignal(input, extensionRegistry); + } + }; + + 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.v1.UsageSignal getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignalOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignalOrBuilder.java new file mode 100644 index 00000000..ea00c953 --- /dev/null +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignalOrBuilder.java @@ -0,0 +1,127 @@ +/* + * Copyright 2020 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/v1/usage.proto + +package com.google.cloud.datacatalog.v1; + +public interface UsageSignalOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.UsageSignal) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The end timestamp of the duration of usage statistics.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 1; + * + * @return Whether the updateTime field is set. + */ + boolean hasUpdateTime(); + /** + * + * + *
+   * The end timestamp of the duration of usage statistics.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 1; + * + * @return The updateTime. + */ + com.google.protobuf.Timestamp getUpdateTime(); + /** + * + * + *
+   * The end timestamp of the duration of usage statistics.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 1; + */ + com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); + + /** + * + * + *
+   * Usage statistics over each of the predefined time ranges.
+   * Supported time ranges are `{"24H", "7D", "30D"}`.
+   * 
+ * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2; + * + */ + int getUsageWithinTimeRangeCount(); + /** + * + * + *
+   * Usage statistics over each of the predefined time ranges.
+   * Supported time ranges are `{"24H", "7D", "30D"}`.
+   * 
+ * + * map<string, .google.cloud.datacatalog.v1.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 predefined time ranges.
+   * Supported time ranges are `{"24H", "7D", "30D"}`.
+   * 
+ * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2; + * + */ + java.util.Map + getUsageWithinTimeRangeMap(); + /** + * + * + *
+   * Usage statistics over each of the predefined time ranges.
+   * Supported time ranges are `{"24H", "7D", "30D"}`.
+   * 
+ * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2; + * + */ + com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrDefault( + java.lang.String key, com.google.cloud.datacatalog.v1.UsageStats defaultValue); + /** + * + * + *
+   * Usage statistics over each of the predefined time ranges.
+   * Supported time ranges are `{"24H", "7D", "30D"}`.
+   * 
+ * + * map<string, .google.cloud.datacatalog.v1.UsageStats> usage_within_time_range = 2; + * + */ + com.google.cloud.datacatalog.v1.UsageStats getUsageWithinTimeRangeOrThrow(java.lang.String key); +} diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStats.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStats.java new file mode 100644 index 00000000..ff5748d0 --- /dev/null +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStats.java @@ -0,0 +1,837 @@ +/* + * Copyright 2020 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/v1/usage.proto + +package com.google.cloud.datacatalog.v1; + +/** + * + * + *
+ * Detailed statistics on the entry's usage.
+ * Usage statistics have the following limitations:
+ * - Only BigQuery tables have them.
+ * - They only include BigQuery query jobs.
+ * - They might be underestimated because wildcard table references
+ *   are not yet counted. For more information, see
+ *   [Querying multiple tables using a wildcard table]
+ *   (https://cloud.google.com/bigquery/docs/querying-wildcard-tables)
+ * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1.UsageStats} + */ +public final class UsageStats extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1.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(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private UsageStats( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 13: + { + totalCompletions_ = input.readFloat(); + break; + } + case 21: + { + totalFailures_ = input.readFloat(); + break; + } + case 29: + { + totalCancellations_ = input.readFloat(); + break; + } + case 37: + { + totalExecutionTimeForCompletionsMillis_ = input.readFloat(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Usage + .internal_static_google_cloud_datacatalog_v1_UsageStats_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1.Usage + .internal_static_google_cloud_datacatalog_v1_UsageStats_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1.UsageStats.class, + com.google.cloud.datacatalog.v1.UsageStats.Builder.class); + } + + public static final int TOTAL_COMPLETIONS_FIELD_NUMBER = 1; + private float totalCompletions_; + /** + * + * + *
+   * The number of successful uses of the underlying entry.
+   * 
+ * + * 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_; + /** + * + * + *
+   * The number of failed attempts to use the underlying entry.
+   * 
+ * + * 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_; + /** + * + * + *
+   * The number of cancelled attempts to use the underlying entry.
+   * 
+ * + * 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_; + /** + * + * + *
+   * Total time spent only on successful uses, in milliseconds.
+   * 
+ * + * 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 (totalCompletions_ != 0F) { + output.writeFloat(1, totalCompletions_); + } + if (totalFailures_ != 0F) { + output.writeFloat(2, totalFailures_); + } + if (totalCancellations_ != 0F) { + output.writeFloat(3, totalCancellations_); + } + if (totalExecutionTimeForCompletionsMillis_ != 0F) { + output.writeFloat(4, totalExecutionTimeForCompletionsMillis_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (totalCompletions_ != 0F) { + size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, totalCompletions_); + } + if (totalFailures_ != 0F) { + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, totalFailures_); + } + if (totalCancellations_ != 0F) { + size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, totalCancellations_); + } + if (totalExecutionTimeForCompletionsMillis_ != 0F) { + size += + com.google.protobuf.CodedOutputStream.computeFloatSize( + 4, totalExecutionTimeForCompletionsMillis_); + } + size += unknownFields.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.v1.UsageStats)) { + return super.equals(obj); + } + com.google.cloud.datacatalog.v1.UsageStats other = + (com.google.cloud.datacatalog.v1.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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.datacatalog.v1.UsageStats parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1.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.v1.UsageStats parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1.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.v1.UsageStats parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.datacatalog.v1.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.v1.UsageStats parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1.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.v1.UsageStats parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.datacatalog.v1.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.v1.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.v1.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.v1.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 statistics on the entry's usage.
+   * Usage statistics have the following limitations:
+   * - Only BigQuery tables have them.
+   * - They only include BigQuery query jobs.
+   * - They might be underestimated because wildcard table references
+   *   are not yet counted. For more information, see
+   *   [Querying multiple tables using a wildcard table]
+   *   (https://cloud.google.com/bigquery/docs/querying-wildcard-tables)
+   * 
+ * + * Protobuf type {@code google.cloud.datacatalog.v1.UsageStats} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.datacatalog.v1.UsageStats) + com.google.cloud.datacatalog.v1.UsageStatsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.datacatalog.v1.Usage + .internal_static_google_cloud_datacatalog_v1_UsageStats_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.datacatalog.v1.Usage + .internal_static_google_cloud_datacatalog_v1_UsageStats_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.datacatalog.v1.UsageStats.class, + com.google.cloud.datacatalog.v1.UsageStats.Builder.class); + } + + // Construct using com.google.cloud.datacatalog.v1.UsageStats.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + 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.v1.Usage + .internal_static_google_cloud_datacatalog_v1_UsageStats_descriptor; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1.UsageStats getDefaultInstanceForType() { + return com.google.cloud.datacatalog.v1.UsageStats.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1.UsageStats build() { + com.google.cloud.datacatalog.v1.UsageStats result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.datacatalog.v1.UsageStats buildPartial() { + com.google.cloud.datacatalog.v1.UsageStats result = + new com.google.cloud.datacatalog.v1.UsageStats(this); + result.totalCompletions_ = totalCompletions_; + result.totalFailures_ = totalFailures_; + result.totalCancellations_ = totalCancellations_; + result.totalExecutionTimeForCompletionsMillis_ = totalExecutionTimeForCompletionsMillis_; + onBuilt(); + return result; + } + + @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.v1.UsageStats) { + return mergeFrom((com.google.cloud.datacatalog.v1.UsageStats) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.datacatalog.v1.UsageStats other) { + if (other == com.google.cloud.datacatalog.v1.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.unknownFields); + 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 { + com.google.cloud.datacatalog.v1.UsageStats parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.datacatalog.v1.UsageStats) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private float totalCompletions_; + /** + * + * + *
+     * The number of successful uses of the underlying entry.
+     * 
+ * + * float total_completions = 1; + * + * @return The totalCompletions. + */ + @java.lang.Override + public float getTotalCompletions() { + return totalCompletions_; + } + /** + * + * + *
+     * The number of successful uses of the underlying entry.
+     * 
+ * + * float total_completions = 1; + * + * @param value The totalCompletions to set. + * @return This builder for chaining. + */ + public Builder setTotalCompletions(float value) { + + totalCompletions_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The number of successful uses of the underlying entry.
+     * 
+ * + * float total_completions = 1; + * + * @return This builder for chaining. + */ + public Builder clearTotalCompletions() { + + totalCompletions_ = 0F; + onChanged(); + return this; + } + + private float totalFailures_; + /** + * + * + *
+     * The number of failed attempts to use the underlying entry.
+     * 
+ * + * float total_failures = 2; + * + * @return The totalFailures. + */ + @java.lang.Override + public float getTotalFailures() { + return totalFailures_; + } + /** + * + * + *
+     * The number of failed attempts to use the underlying entry.
+     * 
+ * + * float total_failures = 2; + * + * @param value The totalFailures to set. + * @return This builder for chaining. + */ + public Builder setTotalFailures(float value) { + + totalFailures_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The number of failed attempts to use the underlying entry.
+     * 
+ * + * float total_failures = 2; + * + * @return This builder for chaining. + */ + public Builder clearTotalFailures() { + + totalFailures_ = 0F; + onChanged(); + return this; + } + + private float totalCancellations_; + /** + * + * + *
+     * The number of cancelled attempts to use the underlying entry.
+     * 
+ * + * float total_cancellations = 3; + * + * @return The totalCancellations. + */ + @java.lang.Override + public float getTotalCancellations() { + return totalCancellations_; + } + /** + * + * + *
+     * The number of cancelled attempts to use the underlying entry.
+     * 
+ * + * float total_cancellations = 3; + * + * @param value The totalCancellations to set. + * @return This builder for chaining. + */ + public Builder setTotalCancellations(float value) { + + totalCancellations_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The number of cancelled attempts to use the underlying entry.
+     * 
+ * + * float total_cancellations = 3; + * + * @return This builder for chaining. + */ + public Builder clearTotalCancellations() { + + totalCancellations_ = 0F; + onChanged(); + return this; + } + + private float totalExecutionTimeForCompletionsMillis_; + /** + * + * + *
+     * Total time spent only on successful uses, in milliseconds.
+     * 
+ * + * float total_execution_time_for_completions_millis = 4; + * + * @return The totalExecutionTimeForCompletionsMillis. + */ + @java.lang.Override + public float getTotalExecutionTimeForCompletionsMillis() { + return totalExecutionTimeForCompletionsMillis_; + } + /** + * + * + *
+     * Total time spent only on successful uses, in milliseconds.
+     * 
+ * + * 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; + onChanged(); + return this; + } + /** + * + * + *
+     * Total time spent only on successful uses, in milliseconds.
+     * 
+ * + * float total_execution_time_for_completions_millis = 4; + * + * @return This builder for chaining. + */ + public Builder clearTotalExecutionTimeForCompletionsMillis() { + + 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.v1.UsageStats) + } + + // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1.UsageStats) + private static final com.google.cloud.datacatalog.v1.UsageStats DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1.UsageStats(); + } + + public static com.google.cloud.datacatalog.v1.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 { + return new UsageStats(input, extensionRegistry); + } + }; + + 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.v1.UsageStats getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStatsOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStatsOrBuilder.java new file mode 100644 index 00000000..4efe538e --- /dev/null +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStatsOrBuilder.java @@ -0,0 +1,77 @@ +/* + * Copyright 2020 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/v1/usage.proto + +package com.google.cloud.datacatalog.v1; + +public interface UsageStatsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.UsageStats) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The number of successful uses of the underlying entry.
+   * 
+ * + * float total_completions = 1; + * + * @return The totalCompletions. + */ + float getTotalCompletions(); + + /** + * + * + *
+   * The number of failed attempts to use the underlying entry.
+   * 
+ * + * float total_failures = 2; + * + * @return The totalFailures. + */ + float getTotalFailures(); + + /** + * + * + *
+   * The number of cancelled attempts to use the underlying entry.
+   * 
+ * + * float total_cancellations = 3; + * + * @return The totalCancellations. + */ + float getTotalCancellations(); + + /** + * + * + *
+   * Total time spent only on successful uses, in milliseconds.
+   * 
+ * + * float total_execution_time_for_completions_millis = 4; + * + * @return The totalExecutionTimeForCompletionsMillis. + */ + float getTotalExecutionTimeForCompletionsMillis(); +} diff --git a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/bigquery.proto b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/bigquery.proto new file mode 100644 index 00000000..8fff4ebd --- /dev/null +++ b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/bigquery.proto @@ -0,0 +1,82 @@ +// Copyright 2021 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.v1; + +import "google/api/field_behavior.proto"; + +option cc_enable_arenas = true; +option csharp_namespace = "Google.Cloud.DataCatalog.V1"; +option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog"; +option java_multiple_files = true; +option java_outer_classname = "BigQueryProto"; +option java_package = "com.google.cloud.datacatalog.v1"; +option php_namespace = "Google\\Cloud\\DataCatalog\\V1"; +option ruby_package = "Google::Cloud::DataCatalog::V1"; + +// Specification for the BigQuery connection. +message BigQueryConnectionSpec { + // The type of the BigQuery connection. + enum ConnectionType { + // Unspecified type. + CONNECTION_TYPE_UNSPECIFIED = 0; + + // Cloud SQL connection. + CLOUD_SQL = 1; + } + + // The type of the BigQuery connection. + ConnectionType connection_type = 1; + + oneof connection_spec { + // Specification for the BigQuery connection to a Cloud SQL instance. + CloudSqlBigQueryConnectionSpec cloud_sql = 2; + } + + // True if there are credentials attached to the BigQuery connection; false + // otherwise. + bool has_credential = 3; +} + +// Specification for the BigQuery connection to a Cloud SQL instance. +message CloudSqlBigQueryConnectionSpec { + // Supported Cloud SQL database types. + enum DatabaseType { + // Unspecified database type. + DATABASE_TYPE_UNSPECIFIED = 0; + + // Cloud SQL for PostgreSQL. + POSTGRES = 1; + + // Cloud SQL for MySQL. + MYSQL = 2; + } + + // Cloud SQL instance ID in the format of `project:location:instance`. + string instance_id = 1; + + // Database name. + string database = 2; + + // Type of the Cloud SQL database. + DatabaseType type = 3; +} + +// Fields specific for BigQuery routines. +message BigQueryRoutineSpec { + // Paths of the imported libraries. + repeated string imported_libraries = 1; +} diff --git a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/common.proto b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/common.proto index f8d4817c..182b91dd 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/common.proto +++ b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/common.proto @@ -24,8 +24,7 @@ option java_package = "com.google.cloud.datacatalog.v1"; option php_namespace = "Google\\Cloud\\DataCatalog\\V1"; option ruby_package = "Google::Cloud::DataCatalog::V1"; -// This enum describes all the possible systems that Data Catalog integrates -// with. +// This enum lists all the systems that Data Catalog integrates with. enum IntegratedSystem { // Default unknown system. INTEGRATED_SYSTEM_UNSPECIFIED = 0; diff --git a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/data_source.proto b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/data_source.proto index a4696a01..3abec092 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/data_source.proto +++ b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/data_source.proto @@ -27,9 +27,9 @@ option java_package = "com.google.cloud.datacatalog.v1"; option php_namespace = "Google\\Cloud\\DataCatalog\\V1"; option ruby_package = "Google::Cloud::DataCatalog::V1"; -// Describes the physical location of an entry. +// Physical location of an entry. message DataSource { - // Service name where the data is stored. + // Name of a service that stores the data. enum Service { // Default unknown service. SERVICE_UNSPECIFIED = 0; @@ -41,10 +41,11 @@ message DataSource { BIGQUERY = 2; } - // Service in which the data is physically stored. + // Service that physically stores the data. Service service = 1; - // Full name of the resource as defined by the service, e.g. - // //bigquery.googleapis.com/projects/{project_id}/locations/{location}/datasets/{dataset_id}/tables/{table_id} + // Full name of a resource as defined by the service. For example: + // + // `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}` string resource = 2; } diff --git a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto index 3f356587..03019a7e 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto +++ b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto @@ -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/v1/bigquery.proto"; import "google/cloud/datacatalog/v1/common.proto"; import "google/cloud/datacatalog/v1/data_source.proto"; import "google/cloud/datacatalog/v1/gcs_fileset_spec.proto"; @@ -28,6 +29,7 @@ import "google/cloud/datacatalog/v1/search.proto"; import "google/cloud/datacatalog/v1/table_spec.proto"; import "google/cloud/datacatalog/v1/tags.proto"; import "google/cloud/datacatalog/v1/timestamps.proto"; +import "google/cloud/datacatalog/v1/usage.proto"; import "google/iam/v1/iam_policy.proto"; import "google/iam/v1/policy.proto"; import "google/protobuf/empty.proto"; @@ -46,28 +48,27 @@ option (google.api.resource_definition) = { 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. +// Data Catalog API service allows you to discover, understand, and manage +// your data. service DataCatalog { option (google.api.default_host) = "datacatalog.googleapis.com"; option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; - // Searches Data Catalog for multiple resources like entries, tags that + // Searches Data Catalog for multiple resources like entries and tags that // match a query. // - // 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 subsequently call `Get` methods. + // This is a [Custom Method] + // (https://cloud.google.com/apis/design/custom_methods) that doesn't return + // all information on a resource, only its ID and high level fields. To get + // more information, you can subsequently call specific 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 - // across repeated search queries. + // Note: Data Catalog 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. // - // See [Data Catalog Search - // Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference) - // for more information. + // For more information, see [Data Catalog search syntax] + // (https://cloud.google.com/data-catalog/docs/how-to/search-reference). rpc SearchCatalog(SearchCatalogRequest) returns (SearchCatalogResponse) { option (google.api.http) = { post: "/v1/catalog:search" @@ -76,25 +77,33 @@ service DataCatalog { option (google.api.method_signature) = "scope,query"; } - // Creates an EntryGroup. + // Creates an entry group. // - // An entry group contains logically related entries together with Cloud - // Identity and Access Management policies that specify the users who can - // create, edit, and view entries within the entry group. + // An entry group contains logically related entries together with [Cloud + // Identity and Access Management](/data-catalog/docs/concepts/iam) policies. + // These policies specify users who can create, edit, and view entries + // within entry groups. // - // Data Catalog automatically creates an entry group for BigQuery entries - // ("@bigquery") and Pub/Sub topics ("@pubsub"). Users create their own entry - // group to contain Cloud Storage fileset entries or custom type entries, - // and the IAM policies associated with those entries. Entry groups, like - // entries, can be searched. + // Data Catalog automatically creates entry groups with names that start with + // the `@` symbol for the following resources: + // + // * BigQuery entries (`@bigquery`) + // * Pub/Sub topics (`@pubsub`) + // * Dataproc Metastore services (`@dataproc_metastore_{SERVICE_NAME_HASH}`) + // + // You can create your own entry groups for Cloud Storage fileset entries + // and custom entries together with the corresponding IAM policies. + // User-created entry groups can't contain the `@` symbol, it is reserved + // for automatically created groups. + // + // Entry groups, like entries, can be searched. // // A maximum of 10,000 entry groups may be created per organization across all // locations. // - // Users should enable the Data Catalog API in the project identified by - // the `parent` parameter (see [Data Catalog Resource Project] - // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for - // more information). + // You must enable the Data Catalog API in the project identified by + // the `parent` parameter. For more information, see [Data Catalog resource + // project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). rpc CreateEntryGroup(CreateEntryGroupRequest) returns (EntryGroup) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/entryGroups" @@ -103,7 +112,7 @@ service DataCatalog { option (google.api.method_signature) = "parent,entry_group_id,entry_group"; } - // Gets an EntryGroup. + // Gets an entry group. rpc GetEntryGroup(GetEntryGroupRequest) returns (EntryGroup) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/entryGroups/*}" @@ -112,11 +121,12 @@ service DataCatalog { option (google.api.method_signature) = "name,read_mask"; } - // Updates an EntryGroup. The user should enable the Data Catalog API in the - // project identified by the `entry_group.name` parameter (see [Data Catalog - // Resource Project] - // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for - // more information). + // Updates an entry group. + // + // You must enable the Data Catalog API in the project identified by + // the `entry_group.name` parameter. For more information, see [Data Catalog + // resource + // project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). rpc UpdateEntryGroup(UpdateEntryGroupRequest) returns (EntryGroup) { option (google.api.http) = { patch: "/v1/{entry_group.name=projects/*/locations/*/entryGroups/*}" @@ -126,11 +136,12 @@ service DataCatalog { option (google.api.method_signature) = "entry_group,update_mask"; } - // Deletes an EntryGroup. Only entry groups that do not contain entries can be - // deleted. 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). + // Deletes an entry group. + // + // You must enable the Data Catalog API in the project + // identified by the `name` parameter. For more information, see [Data Catalog + // resource + // project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). rpc DeleteEntryGroup(DeleteEntryGroupRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/entryGroups/*}" @@ -146,15 +157,17 @@ service DataCatalog { option (google.api.method_signature) = "parent"; } - // Creates an entry. Only entries of types 'FILESET', 'CLUSTER', 'DATA_STREAM' - // or with a user-specified type can be created. + // Creates an entry. + // + // You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM', + // or custom types. Data Catalog automatically creates entries with other + // types during metadata ingestion from integrated systems. // - // Users should enable the Data Catalog API in the project identified by - // the `parent` parameter (see [Data Catalog Resource Project] - // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for - // more information). + // You must enable the Data Catalog API in the project identified by + // the `parent` parameter. For more information, see [Data Catalog resource + // project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). // - // A maximum of 100,000 entries may be created per entry group. + // An entry group can have a maximum of 100,000 entries. rpc CreateEntry(CreateEntryRequest) returns (Entry) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*/entryGroups/*}/entries" @@ -164,10 +177,11 @@ service DataCatalog { } // Updates an existing entry. - // Users should enable the Data Catalog API in the project identified by - // the `entry.name` parameter (see [Data Catalog Resource Project] - // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for - // more information). + // + // You must enable the Data Catalog API in the project identified by + // the `entry.name` parameter. For more information, see [Data Catalog + // resource + // project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). rpc UpdateEntry(UpdateEntryRequest) returns (Entry) { option (google.api.http) = { patch: "/v1/{entry.name=projects/*/locations/*/entryGroups/*/entries/*}" @@ -177,13 +191,16 @@ service DataCatalog { option (google.api.method_signature) = "entry,update_mask"; } - // Deletes an existing entry. Only entries created through + // Deletes an existing entry. + // + // You can delete only the entries created by the // [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry] - // method can be deleted. - // 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). + // method. + // + // You must enable the Data Catalog API in the project identified by + // the `name` parameter. For more information, see [Data Catalog + // resource + // project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). rpc DeleteEntry(DeleteEntryRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/entryGroups/*/entries/*}" @@ -199,9 +216,9 @@ service DataCatalog { option (google.api.method_signature) = "name"; } - // Get an entry by target resource name. This method allows clients to use - // the resource name from the source Google Cloud Platform service to get the - // Data Catalog Entry. + // Gets an entry by its target resource name. + // + // The resource name comes from the source Google Cloud Platform service. rpc LookupEntry(LookupEntryRequest) returns (Entry) { option (google.api.http) = { get: "/v1/entries:lookup" @@ -216,11 +233,12 @@ service DataCatalog { option (google.api.method_signature) = "parent"; } - // Creates a tag template. The user should enable the Data Catalog API in - // the project identified by the `parent` parameter (see [Data Catalog - // Resource - // Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project) - // for more information). + // Creates a tag template. + // + // You must enable the Data Catalog API in the project identified by the + // `parent` parameter. + // For more information, see [Data Catalog resource project] + // (https://cloud.google.com/data-catalog/docs/concepts/resource-project). rpc CreateTagTemplate(CreateTagTemplateRequest) returns (TagTemplate) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/tagTemplates" @@ -237,13 +255,15 @@ service DataCatalog { option (google.api.method_signature) = "name"; } - // Updates a tag template. This method cannot be used to update the fields of - // a template. The tag template fields are represented as separate resources - // and should be updated using their own create/update/delete methods. - // Users should enable the Data Catalog API in the project identified by - // the `tag_template.name` parameter (see [Data Catalog Resource Project] - // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for - // more information). + // Updates a tag template. + // + // You can't update template fields with this method. These fields are + // separate resources with their own create, update, and delete methods. + // + // You must enable the Data Catalog API in the project identified by + // the `tag_template.name` parameter. For more information, see [Data Catalog + // resource + // project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). rpc UpdateTagTemplate(UpdateTagTemplateRequest) returns (TagTemplate) { option (google.api.http) = { patch: "/v1/{tag_template.name=projects/*/locations/*/tagTemplates/*}" @@ -253,11 +273,11 @@ service DataCatalog { option (google.api.method_signature) = "tag_template,update_mask"; } - // Deletes a tag template and all tags using the template. - // 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). + // Deletes a tag template and all tags that use it. + // + // You must enable the Data Catalog API in the project identified by + // the `name` parameter. For more information, see [Data Catalog resource + // project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). rpc DeleteTagTemplate(DeleteTagTemplateRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/tagTemplates/*}" @@ -265,11 +285,11 @@ service DataCatalog { option (google.api.method_signature) = "name,force"; } - // Creates a field in a tag template. The user should enable the Data Catalog - // API in the project identified by the `parent` parameter (see - // [Data Catalog Resource - // Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project) - // for more information). + // Creates a field in a tag template. + // + // You must enable the Data Catalog API in the project identified by + // the `parent` parameter. For more information, see [Data Catalog resource + // project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). rpc CreateTagTemplateField(CreateTagTemplateFieldRequest) returns (TagTemplateField) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*/tagTemplates/*}/fields" @@ -278,11 +298,14 @@ service DataCatalog { 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 - // field type. 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). + // Updates a field in a tag template. + // + // You can't update the field type with this method. + // + // You must enable the Data Catalog API in the project + // identified by the `name` parameter. For more information, see [Data Catalog + // resource + // project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). rpc UpdateTagTemplateField(UpdateTagTemplateFieldRequest) returns (TagTemplateField) { option (google.api.http) = { patch: "/v1/{name=projects/*/locations/*/tagTemplates/*/fields/*}" @@ -292,11 +315,11 @@ service DataCatalog { 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 - // 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). + // Renames a field in a tag template. + // + // You must enable the Data Catalog API in the project identified by the + // `name` parameter. For more information, see [Data Catalog resource project] + // (https://cloud.google.com/data-catalog/docs/concepts/resource-project). rpc RenameTagTemplateField(RenameTagTemplateFieldRequest) returns (TagTemplateField) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/tagTemplates/*/fields/*}:rename" @@ -305,8 +328,9 @@ 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. + // Renames an enum value in a tag template. + // + // Within a single enum field, enum values must be unique. rpc RenameTagTemplateFieldEnumValue(RenameTagTemplateFieldEnumValueRequest) returns (TagTemplateField) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/tagTemplates/*/fields/*/enumValues/*}:rename" @@ -315,11 +339,12 @@ service DataCatalog { 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). + // Deletes a field in a tag template and all uses of this field from the tags + // based on this template. + // + // You must enable the Data Catalog API in the project identified by + // the `name` parameter. For more information, see [Data Catalog resource + // project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). rpc DeleteTagTemplateField(DeleteTagTemplateFieldRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/tagTemplates/*/fields/*}" @@ -327,13 +352,18 @@ service DataCatalog { option (google.api.method_signature) = "name,force"; } - // Creates a tag on an [Entry][google.cloud.datacatalog.v1.Entry]. - // Note: The project identified by the `parent` parameter for the - // [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters) - // and the - // [tag - // template](https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters) - // used to create the tag must be from the same organization. + // Creates a tag and assigns it to: + // + // * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is + // ``projects.locations.entryGroups.entries.tags.create``. + // * Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method + // name is ``projects.locations.entryGroups.tags.create``. + // + // Note: The project identified by the `parent` parameter for the [tag] + // (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters) + // and the [tag template] + // (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters) + // used to create the tag must be in the same organization. rpc CreateTag(CreateTagRequest) returns (Tag) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*/entryGroups/*/entries/*}/tags" @@ -371,7 +401,7 @@ service DataCatalog { option (google.api.method_signature) = "name"; } - // Lists the tags on an [Entry][google.cloud.datacatalog.v1.Entry]. + // Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry]. rpc ListTags(ListTagsRequest) returns (ListTagsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*/entryGroups/*/entries/*}/tags" @@ -382,20 +412,23 @@ service DataCatalog { option (google.api.method_signature) = "parent"; } - // Sets the access control policy for a resource. Replaces any existing + // Sets an access control policy for a resource. Replaces any existing // policy. + // // Supported resources are: - // - Tag templates. - // - Entries. - // - Entry groups. - // Note, this method cannot be used to manage policies for BigQuery, Pub/Sub - // and any external Google Cloud Platform resources synced to Data Catalog. - // - // Callers must have following Google IAM permission - // - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag - // templates. - // - `datacatalog.entries.setIamPolicy` to set policies on entries. - // - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. + // + // - Tag templates + // - Entry groups + // + // Note: This method sets policies only within Data Catalog and can't be + // used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any + // external Google Cloud Platform resources synced with the Data Catalog. + // + // To call this method, you must have the following Google IAM permissions: + // + // - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag + // templates. + // - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1/{resource=projects/*/locations/*/tagTemplates/*}:setIamPolicy" @@ -408,22 +441,27 @@ service DataCatalog { option (google.api.method_signature) = "resource,policy"; } - // Gets the access control policy for a resource. A `NOT_FOUND` error - // is returned if the resource does not exist. An empty policy is returned - // if the resource exists but does not have a policy set on it. + // Gets the access control policy for a resource. + // + // May return: + // + // * A`NOT_FOUND` error if the resource doesn't exist or you don't have the + // permission to view it. + // * An empty policy if the resource exists but doesn't have a set policy. // // Supported resources are: - // - Tag templates. - // - Entries. - // - Entry groups. - // Note, this method cannot be used to manage policies for BigQuery, Pub/Sub - // and any external Google Cloud Platform resources synced to Data Catalog. - // - // Callers must have following Google IAM permission - // - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag - // templates. - // - `datacatalog.entries.getIamPolicy` to get policies on entries. - // - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups. + // + // - Tag templates + // - Entry groups + // + // Note: This method doesn't get policies from Google Cloud Platform + // resources ingested into Data Catalog. + // + // To call this method, you must have the following Google IAM permissions: + // + // - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag + // templates. + // - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups. rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1/{resource=projects/*/locations/*/tagTemplates/*}:getIamPolicy" @@ -440,19 +478,20 @@ service DataCatalog { option (google.api.method_signature) = "resource"; } - // Returns the caller's permissions on a resource. - // If the resource does not exist, an empty set of permissions is returned - // (We don't return a `NOT_FOUND` error). + // Gets your permissions on a resource. + // + // Returns an empty set of permissions if the resource doesn't exist. // // Supported resources are: - // - Tag templates. - // - Entries. - // - Entry groups. - // Note, this method cannot be used to manage policies for BigQuery, Pub/Sub - // and any external Google Cloud Platform resources synced to Data Catalog. - // - // A caller is not required to have Google IAM permission to make this - // request. + // + // - Tag templates + // - Entry groups + // + // Note: This method gets policies only within Data Catalog and can't be + // used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any + // external Google Cloud Platform resources ingested into Data Catalog. + // + // No Google IAM permissions are required to call this method. rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { post: "/v1/{resource=projects/*/locations/*/tagTemplates/*}:testIamPermissions" @@ -474,76 +513,95 @@ service DataCatalog { message SearchCatalogRequest { // The criteria that select the subspace used for query matching. message Scope { - // The list of organization IDs to search within. To find your organization - // ID, follow instructions in - // https://cloud.google.com/resource-manager/docs/creating-managing-organization. + // The list of organization IDs to search within. + // + // To find your organization ID, follow the steps from + // [Creating and managing organizations] + // (/resource-manager/docs/creating-managing-organization). repeated string include_org_ids = 2; - // The list of project IDs to search within. To learn more about the - // distinction between project names/IDs/numbers, go to - // https://cloud.google.com/docs/overview/#projects. + // The list of project IDs to search within. + // + // For more information on the distinction between project names, IDs, and + // numbers, see [Projects](/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 Platform (GCP) public datasets in + // search results. By default, they are excluded. + // + // See [Google Cloud Public Datasets](/public-datasets) for more + // information. 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 [supported - // regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions), - // 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. + // Optional. The list of locations to search within. If empty, all locations are + // searched. + // + // Returns an error if any location in the list isn't one of the [Supported + // regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions). + // + // If a location is unreachable, its name is returned in the + // `SearchCatalogResponse.unreachable` field. To get additional information + // on the error, repeat the search request and set the location name as the + // value of this parameter. repeated string restricted_locations = 16 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If `true`, include [public tag + // templates][google.cloud.datacatalog.v1.TagTemplate.is_publicly_readable] + // in the search results. By default, they are included only if you have + // explicit permissions on them to view them. For example, if you are the + // owner. + // + // Other scope fields, for example, ``include_org_ids``, + // still restrict the returned public tag templates and at least one of + // them is required. + bool include_public_tag_templates = 19 [(google.api.field_behavior) = OPTIONAL]; } - // 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. + // Required. The scope of this search request. + // + // The `scope` is invalid if `include_org_ids`, `include_project_ids` are + // empty AND `include_gcp_public_datasets` is set to `false`. In this case, + // the request returns an error. Scope scope = 6 [(google.api.field_behavior) = REQUIRED]; - // 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. + // Optional. The query string with a minimum of 3 characters and specific syntax. + // For more information, see + // [Data Catalog search syntax](/data-catalog/docs/how-to/search-reference). // - // Query strings can be simple as "x" or more qualified as: + // An empty query string returns all data assets (in the specified scope) + // that you have access to. // - // * name:x - // * column:x - // * description:y + // A query string can be a simple `xyz` or qualified by predicates: // - // Note: Query tokens need to have a minimum of 3 characters for substring - // matching to work correctly. See [Data Catalog Search - // Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference) - // for more information. + // * `name:x` + // * `column:y` + // * `description:z` 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. + // Number of results to return in a single search page. + // + // Can't be negative or 0, defaults to 10 in this case. + // The maximum number is 1000. If exceeded, throws an "invalid argument" + // exception. int32 page_size = 2; - // Optional. Pagination token returned in an earlier - // [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1.SearchCatalogResponse.next_page_token], which - // indicates that this is a continuation of a prior + // Optional. Pagination token that, if specified, returns the next page of search + // results. If empty, returns the first page. + // + // This token is returned in the [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1.SearchCatalogResponse.next_page_token] + // field of the response to a previous // [SearchCatalogRequest][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog] - // call, and that the system should return the next page of data. If empty, - // the first page is returned. + // call. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; - // Specifies the ordering of results, currently supported case-sensitive - // choices are: + // Specifies the order of results. // - // * `relevance`, only supports descending - // * `last_modified_timestamp [asc|desc]`, defaults to descending if not - // specified + // Currently supported case-sensitive values are: // - // If not specified, defaults to `relevance` descending. + // * `relevance` that can only be descending + // * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default + // + // If this parameter is omitted, it defaults to the descending `relevance`. string order_by = 5; } @@ -553,22 +611,23 @@ message SearchCatalogResponse { // Search results. repeated SearchCatalogResult results = 1; - // The token that can be used to retrieve the next page of results. + // Pagination token that can be used in subsequent calls 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`. + // Unreachable locations. Search results don't include data from those + // locations. + // + // To get additional information on an error, repeat the search request and + // restrict it to specific locations by setting the + // `SearchCatalogRequest.scope.restricted_locations` parameter. repeated string unreachable = 6; } // Request message for // [CreateEntryGroup][google.cloud.datacatalog.v1.DataCatalog.CreateEntryGroup]. message CreateEntryGroupRequest { - // Required. The name of the project this entry group belongs to. Example: - // - // `projects/{project_id}/locations/{location}` + // Required. The names of the project and location that the new entry group belongs to. // // Note: The entry group itself and its child resources might not be // stored in the location specified in its name. @@ -586,14 +645,14 @@ message CreateEntryGroupRequest { // The maximum size is 64 bytes when encoded in UTF-8. string entry_group_id = 3 [(google.api.field_behavior) = REQUIRED]; - // The entry group to create. Defaults to an empty entry group. + // The entry group to create. Defaults to empty. EntryGroup entry_group = 2; } // Request message for // [UpdateEntryGroup][google.cloud.datacatalog.v1.DataCatalog.UpdateEntryGroup]. message UpdateEntryGroupRequest { - // Required. The updated entry group. "name" field must be set. + // Required. Updates for the entry group. The `name` field must be set. EntryGroup entry_group = 1 [(google.api.field_behavior) = REQUIRED]; // Names of fields whose values to overwrite on an entry group. @@ -607,8 +666,7 @@ message UpdateEntryGroupRequest { // Request message for // [GetEntryGroup][google.cloud.datacatalog.v1.DataCatalog.GetEntryGroup]. message GetEntryGroupRequest { - // Required. The name of the entry group. For example, - // `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`. + // Required. The name of the entry group to get. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -616,15 +674,14 @@ message GetEntryGroupRequest { } ]; - // The fields to return. If not set or empty, all fields are returned. + // The fields to return. If empty or omitted, all fields are returned. google.protobuf.FieldMask read_mask = 2; } // Request message for // [DeleteEntryGroup][google.cloud.datacatalog.v1.DataCatalog.DeleteEntryGroup]. message DeleteEntryGroupRequest { - // Required. The name of the entry group. For example, - // `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`. + // Required. The name of the entry group to delete. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -639,10 +696,9 @@ message DeleteEntryGroupRequest { // Request message for // [ListEntryGroups][google.cloud.datacatalog.v1.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 to list. // - // * projects/{project_id}/locations/{location} + // Can be provided as a URL. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -650,32 +706,32 @@ 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. Maximum limit is 1000. + // Throws an invalid argument if `page_size` is greater than 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. Pagination token that specifies the next page to return. + // If empty, returns the first page. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; } // Response message for // [ListEntryGroups][google.cloud.datacatalog.v1.DataCatalog.ListEntryGroups]. message ListEntryGroupsResponse { - // EntryGroup details. + // Entry group details. repeated EntryGroup entry_groups = 1; - // Token to retrieve the next page of results. It is set to empty if no items - // remain in results. + // Pagination token to specify in the next call to retrieve the next page of + // results. Empty if there are no more items. string next_page_token = 2; } // Request message for // [CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry]. message CreateEntryRequest { - // Required. The name of the entry group this entry belongs to. Example: - // - // `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}` + // Required. The name of the entry group this entry belongs to. // // Note: The entry itself and its child resources might not be stored in // the location specified in its name. @@ -700,7 +756,7 @@ message CreateEntryRequest { // Request message for // [UpdateEntry][google.cloud.datacatalog.v1.DataCatalog.UpdateEntry]. message UpdateEntryRequest { - // Required. The updated entry. The "name" field must be set. + // Required. Updates for the entry. The `name` field must be set. Entry entry = 1 [(google.api.field_behavior) = REQUIRED]; // Names of fields whose values to overwrite on an entry. @@ -709,33 +765,36 @@ message UpdateEntryRequest { // 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`: - // * `schema` - // * `display_name` - // * `description` - // * `gcs_fileset_spec` - // * `gcs_fileset_spec.file_patterns` - // * For entries with `user_specified_type`: - // * `schema` - // * `display_name` - // * `description` - // * `user_specified_type` - // * `user_specified_system` - // * `linked_resource` - // * `source_system_timestamps` + // You can modify only the fields listed below. + // + // For entries with type `DATA_STREAM`: + // + // * `schema` + // + // For entries with type `FILESET`: + // + // * `schema` + // * `display_name` + // * `description` + // * `gcs_fileset_spec` + // * `gcs_fileset_spec.file_patterns` + // + // For entries with `user_specified_type`: + // + // * `schema` + // * `display_name` + // * `description` + // * `user_specified_type` + // * `user_specified_system` + // * `linked_resource` + // * `source_system_timestamps` google.protobuf.FieldMask update_mask = 2; } // Request message for // [DeleteEntry][google.cloud.datacatalog.v1.DataCatalog.DeleteEntry]. message DeleteEntryRequest { - // Required. The name of the entry. Example: - // - // * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} + // Required. The name of the entry to delete. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -747,9 +806,7 @@ message DeleteEntryRequest { // Request message for // [GetEntry][google.cloud.datacatalog.v1.DataCatalog.GetEntry]. message GetEntryRequest { - // Required. The name of the entry. Example: - // - // * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} + // Required. The name of the entry to get. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -761,32 +818,32 @@ message GetEntryRequest { // Request message for // [LookupEntry][google.cloud.datacatalog.v1.DataCatalog.LookupEntry]. message LookupEntryRequest { - // Required. Represents either the Google Cloud Platform resource or SQL name - // for a Google Cloud Platform resource. + // Required. A full name, SQL name, or a fully qualified name of a + // Google Cloud Platform resource. oneof target_name { // The full name of the Google Cloud Platform resource the Data Catalog - // entry represents. See: - // https://cloud.google.com/apis/design/resource_names#full_resource_name. - // Full names are case-sensitive. + // entry represents. For more information, see [Full Resource Name] + // (https://cloud.google.com/apis/design/resource_names#full_resource_name). // - // Examples: + // Full names are case-sensitive. For example: // - // * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId - // * //pubsub.googleapis.com/projects/projectId/topics/topicId + // * `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}` + // * `//pubsub.googleapis.com/projects/{PROJECT_ID}/topics/{TOPIC_ID}` string linked_resource = 1; // The SQL name of the entry. SQL names are case-sensitive. // // Examples: // - // * `pubsub.project_id.topic_id` - // * ``pubsub.project_id.`topic.id.with.dots` `` - // * `bigquery.table.project_id.dataset_id.table_id` - // * `bigquery.dataset.project_id.dataset_id` - // * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id` + // * `pubsub.topic.{PROJECT_ID}.{TOPIC_ID}` + // * `pubsub.topic.{PROJECT_ID}.`\``{TOPIC.ID.SEPARATED.WITH.DOTS}`\` + // * `bigquery.table.{PROJECT_ID}.{DATASET_ID}.{TABLE_ID}` + // * `bigquery.dataset.{PROJECT_ID}.{DATASET_ID}` + // * `datacatalog.entry.{PROJECT_ID}.{LOCATION_ID}.{ENTRY_GROUP_ID}.{ENTRY_ID}` // - // `*_id`s should satisfy the standard SQL rules for identifiers. - // https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical. + // Identifiers (`*_ID`) should comply with the + // [Lexical structure in Standard SQL] + // (https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical). string sql_resource = 3; // Fully qualified name (FQN) of the resource. @@ -803,20 +860,20 @@ message LookupEntryRequest { // // Example for a DPMS table: // - // `dataproc_metastore:project_id.location_id.instance_id.database_id.table_id` + // `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}` string fully_qualified_name = 5; } } -// Entry Metadata. -// A Data Catalog Entry resource represents another resource in Google +// Entry metadata. +// A Data Catalog entry represents another resource in Google // Cloud Platform (such as a BigQuery dataset or a Pub/Sub topic) or -// outside of Google Cloud Platform. Clients can use the `linked_resource` field -// in the Entry resource to refer to the original resource ID of the source +// outside of it. You can use the `linked_resource` field +// in the entry resource to refer to the original resource ID of the source // system. // -// An Entry resource contains resource details, such as its schema. An Entry can -// also be used to attach flexible metadata, such as a +// An entry resource contains resource details, for example, its schema. +// Additionally, you can attach flexible metadata to an entry in the form of a // [Tag][google.cloud.datacatalog.v1.Tag]. message Entry { option (google.api.resource) = { @@ -825,9 +882,6 @@ message Entry { }; // Output only. The resource name of an entry in URL format. - // Example: - // - // `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}` // // Note: The entry itself and its child resources might not be // stored in the location specified in its name. @@ -840,14 +894,14 @@ message Entry { // The resource this metadata entry refers to. // - // For Google Cloud Platform resources, `linked_resource` is the [full name of - // the - // resource](https://cloud.google.com/apis/design/resource_names#full_resource_name). + // For Google Cloud Platform resources, `linked_resource` is the + // [Full Resource Name] + // (https://cloud.google.com/apis/design/resource_names#full_resource_name). // For example, the `linked_resource` for a table resource from BigQuery is: // - // `//bigquery.googleapis.com/projects/{projectId}/datasets/{datasetId}/tables/{tableId}` + // `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}` // - // Output only when entry is one of the types in the `EntryType` enum. + // Output only when the entry is one of the types in the `EntryType` enum. // // For entries with a `user_specified_type`, this field is optional and // defaults to an empty string. @@ -875,67 +929,88 @@ message Entry { // // Example for a DPMS table: // - // `dataproc_metastore:project_id.location_id.instance_id.database_id.table_id` + // `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}` string fully_qualified_name = 29; // Required. Entry type. oneof entry_type { // The type of the entry. - // Only used for Entries with types in the EntryType enum. + // 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`. EntryType type = 2; - // Entry type if it does not fit any of the input-allowed values listed in - // `EntryType` enum above. When creating an entry, users should check the - // enum values first, if nothing matches the entry to be created, then - // provide a custom value, for example "my_special_type". - // `user_specified_type` strings must begin with a letter or underscore and - // can only contain letters, numbers, and underscores; are case insensitive; - // must be at least 1 character and at most 64 characters long. + // Custom entry type that doesn't match any of the values allowed for input + // and listed in the `EntryType` enum. + // + // When creating an entry, first check the type values in the enum. + // If there are no appropriate types for the new entry, + // provide a custom value, for example, `my_special_type`. + // + // The `user_specified_type` string has the following limitations: // - // Currently, only FILESET enum value is allowed. All other entries created - // through Data Catalog must use `user_specified_type`. + // * Is case insensitive. + // * Must begin with a letter or underscore. + // * Can only contain letters, numbers, and underscores. + // * Must be at least 1 character and at most 64 characters long. string user_specified_type = 16; } // 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. + // Output only. Indicates the entry's source system that Data Catalog + // integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore. 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 - // or underscore and can only contain letters, numbers, and underscores; are - // case insensitive; must be at least 1 character and at most 64 characters - // long. + // Indicates the entry's source system that Data Catalog doesn't + // automatically integrate with. + // + // The `user_specified_system` string has the following limitations: + // + // * Is case insensitive. + // * Must begin with a letter or underscore. + // * Can only contain letters, numbers, and underscores. + // * Must be at least 1 character and at most 64 characters long. string user_specified_system = 18; } - // Type specification information. + // Type specification. oneof type_spec { - // Specification that applies to a Cloud Storage fileset. This is only valid - // on entries of type FILESET. + // Specification that applies to a Cloud Storage fileset. Valid only + // for entries with the `FILESET` type. GcsFilesetSpec gcs_fileset_spec = 6; - // Specification that applies to a BigQuery table. This is only valid on - // entries of type `TABLE`. + // Specification that applies to a BigQuery table. Valid only for + // entries with the `TABLE` type. BigQueryTableSpec bigquery_table_spec = 12; - // Specification for a group of BigQuery tables with name pattern - // `[prefix]YYYYMMDD`. Context: - // https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding. + // Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD` + // name pattern. + // + // For more information, see [Introduction to partitioned tables] + // (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding). BigQueryDateShardedSpec bigquery_date_sharded_spec = 15; } - // Type- and system- specific information. Specifications for types contain - // fields common to all entries of a given type, and sub-specs with fields - // specific to a given source system. - // When extending the API with new types and systems please use this instead - // of legacy type_spec field. + // Type- and system-specific information. Specifications for types contain + // fields common to all entries of a given type, and sub-specifications with + // fields specific to a given source system. + // + // When extending the API with new types and systems, use this field instead + // of the legacy `type_spec`. oneof spec { - // Specification that applies to a table resource. Only valid - // for entries of `TABLE` type. + // Specification that applies to a table resource. Valid only + // for entries with the `TABLE` type. DatabaseTableSpec database_table_spec = 24; + + // Specification that applies to a data source connection. Valid only + // for entries with the `DATA_SOURCE_CONNECTION` type. + DataSourceConnectionSpec data_source_connection_spec = 27; + + // Specification that applies to a user-defined function or procedure. Valid + // only for entries with the `ROUTINE` type. + RoutineSpec routine_spec = 28; } // Display name of an entry. @@ -959,18 +1034,30 @@ message Entry { // Schema of the entry. An entry might not have any schema attached to it. Schema schema = 5; - // 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. + // Timestamps from the underlying resource, not from the Data Catalog + // entry. + // + // Output only when the entry has a type listed 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; + // Output only. Resource usage statistics. + UsageSignal usage_signal = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Cloud labels attached to the entry. + // + // In Data Catalog, you can create and modify labels attached only to custom + // entries. Synced entries have unmodifiable labels that come from the source + // system. + map labels = 14; + // Output only. Physical location of the entry. DataSource data_source = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; } -// Specification that applies to a table resource. Only valid -// for entries of `TABLE` type. +// Specification that applies to a table resource. Valid only +// for entries with the `TABLE` type. message DatabaseTableSpec { // Type of the table. enum TableType { @@ -988,8 +1075,87 @@ message DatabaseTableSpec { TableType type = 1; } -// EntryGroup Metadata. -// An EntryGroup resource represents a logical grouping of zero or more +// Specification that applies to a data source connection. Valid only for +// entries with the `DATA_SOURCE_CONNECTION` type. +message DataSourceConnectionSpec { + // Fields specific to BigQuery connections. + BigQueryConnectionSpec bigquery_connection_spec = 1; +} + +// Specification that applies to a routine. Valid only for +// entries with the `ROUTINE` type. +message RoutineSpec { + // Input or output argument of a function or stored procedure. + message Argument { + // The input or output mode of the argument. + enum Mode { + // Unspecified mode. + MODE_UNSPECIFIED = 0; + + // The argument is input-only. + IN = 1; + + // The argument is output-only. + OUT = 2; + + // The argument is both an input and an output. + INOUT = 3; + } + + // The name of the argument. A return argument of a function might not have + // a name. + string name = 1; + + // Specifies whether the argument is input or output. + Mode mode = 2; + + // Type of the argument. The exact value depends on the source system and + // the language. + string type = 3; + } + + // The fine-grained type of the routine. + enum RoutineType { + // Unspecified type. + ROUTINE_TYPE_UNSPECIFIED = 0; + + // Non-builtin permanent scalar function. + SCALAR_FUNCTION = 1; + + // Stored procedure. + PROCEDURE = 2; + } + + // The type of the routine. + RoutineType routine_type = 1; + + // The language the routine is written in. The exact value depends on the + // source system. For BigQuery routines, possible values are: + // + // * `SQL` + // * `JAVASCRIPT` + string language = 2; + + // Arguments of the routine. + repeated Argument routine_arguments = 3; + + // Return type of the argument. The exact value depends on the source system + // and the language. + string return_type = 4; + + // The body of the routine. + string definition_body = 5; + + // Contains fields specific to the source system. + oneof system_spec { + // Fields specific for BigQuery routines. + BigQueryRoutineSpec bigquery_routine_spec = 6; + } +} + +// Entry group metadata. +// +// An `EntryGroup` resource represents a logical grouping of zero or more // Data Catalog [Entry][google.cloud.datacatalog.v1.Entry] resources. message EntryGroup { option (google.api.resource) = { @@ -997,9 +1163,7 @@ message EntryGroup { pattern: "projects/{project}/locations/{location}/entryGroups/{entry_group}" }; - // The resource name of the entry group in URL format. Example: - // - // `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}` + // The resource name of the entry group in URL format. // // Note: The entry group itself and its child resources might not be // stored in the location specified in its name. @@ -1009,12 +1173,12 @@ message EntryGroup { // "analytics data - jan 2011". Default value is an empty string. string display_name = 2; - // Entry group description, which can consist of several sentences or - // paragraphs that describe entry group contents. Default value is an empty - // string. + // Entry group description. Can consist of several sentences or + // paragraphs that describe the entry group contents. + // Default value is an empty string. string description = 3; - // Output only. Timestamps about this EntryGroup. Default value is empty timestamps. + // Output only. Timestamps of the entry group. Default value is empty. SystemTimestamps data_catalog_timestamps = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; } @@ -1023,10 +1187,6 @@ message EntryGroup { message CreateTagTemplateRequest { // Required. The name of the project and the template location // [region](https://cloud.google.com/data-catalog/docs/concepts/regions). - // - // Example: - // - // * projects/{project_id}/locations/us-central1 string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1048,9 +1208,7 @@ message CreateTagTemplateRequest { // Request message for // [GetTagTemplate][google.cloud.datacatalog.v1.DataCatalog.GetTagTemplate]. message GetTagTemplateRequest { - // Required. The name of the tag template. Example: - // - // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} + // Required. The name of the tag template to get. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1062,13 +1220,13 @@ message GetTagTemplateRequest { // Request message for // [UpdateTagTemplate][google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplate]. message UpdateTagTemplateRequest { - // Required. The template to update. The "name" field must be set. + // Required. The template to update. The `name` field must be set. TagTemplate tag_template = 1 [(google.api.field_behavior) = REQUIRED]; // Names of fields whose values to overwrite on a tag template. Currently, // only `display_name` can be overwritten. // - // In general, if this parameter is absent or empty, all modifiable fields + // 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; @@ -1077,9 +1235,7 @@ message UpdateTagTemplateRequest { // Request message for // [DeleteTagTemplate][google.cloud.datacatalog.v1.DataCatalog.DeleteTagTemplate]. message DeleteTagTemplateRequest { - // Required. The name of the tag template to delete. Example: - // - // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} + // Required. The name of the tag template to delete. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1087,19 +1243,19 @@ message DeleteTagTemplateRequest { } ]; - // Required. Currently, this field must always be set to `true`. - // This confirms the deletion of any possible tags using this template. - // `force = false` will be supported in the future. + // Required. If true, deletes all tags that use this template. + // + // Currently, `true` is the only supported value. bool force = 2 [(google.api.field_behavior) = REQUIRED]; } // Request message for // [CreateTag][google.cloud.datacatalog.v1.DataCatalog.CreateTag]. message CreateTagRequest { - // Required. The name of the resource to attach this tag to. Tags can be attached to - // entries. An entry can have up to 1000 attached tags. Example: + // Required. The name of the resource to attach this tag to. // - // `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}` + // Tags can be attached to entries or entry groups. An entry can have up to + // 1000 attached tags. // // Note: The tag and its child resources might not be stored in // the location specified in its name. @@ -1132,9 +1288,7 @@ message UpdateTagRequest { // Request message for // [DeleteTag][google.cloud.datacatalog.v1.DataCatalog.DeleteTag]. message DeleteTagRequest { - // Required. The name of the tag to delete. Example: - // - // * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id} + // Required. The name of the tag to delete. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1148,10 +1302,6 @@ message DeleteTagRequest { message CreateTagTemplateFieldRequest { // Required. The name of the project and the template location // [region](https://cloud.google.com/data-catalog/docs/concepts/regions). - // - // Example: - // - // * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id} string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1176,9 +1326,7 @@ message CreateTagTemplateFieldRequest { // Request message for // [UpdateTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplateField]. message UpdateTagTemplateFieldRequest { - // Required. The name of the tag template field. Example: - // - // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id} + // Required. The name of the tag template field. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1192,9 +1340,9 @@ message UpdateTagTemplateFieldRequest { // 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` + // * `display_name` + // * `type.enum_type` + // * `is_required` // // If this parameter is absent or empty, all modifiable fields // are overwritten. If such fields are non-required and omitted in the request @@ -1211,9 +1359,7 @@ message UpdateTagTemplateFieldRequest { // Request message for // [RenameTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateField]. message RenameTagTemplateFieldRequest { - // Required. The name of the tag template. Example: - // - // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id} + // Required. The name of the tag template. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1228,9 +1374,7 @@ message RenameTagTemplateFieldRequest { // 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} + // Required. The name of the enum field value. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1245,9 +1389,7 @@ message RenameTagTemplateFieldEnumValueRequest { // Request message for // [DeleteTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.DeleteTagTemplateField]. message DeleteTagTemplateFieldRequest { - // Required. The name of the tag template field to delete. Example: - // - // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id} + // Required. The name of the tag template field to delete. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1255,23 +1397,20 @@ message DeleteTagTemplateFieldRequest { } ]; - // Required. Currently, this field must always be set to `true`. - // This confirms the deletion of this field from any tags using this field. - // `force = false` will be supported in the future. + // Required. If true, deletes this field from any tags that use it. + // + // Currently, `true` is the only supported value. bool force = 2 [(google.api.field_behavior) = REQUIRED]; } // Request message for // [ListTags][google.cloud.datacatalog.v1.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.v1.Entry] or an - // [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]. - // - // Examples: + // Required. The name of the Data Catalog resource to list the tags of. // - // * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} - // * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} + // The resource can be an [Entry][google.cloud.datacatalog.v1.Entry] + // or an [EntryGroup][google.cloud.datacatalog.v1.EntryGroup] + // (without `/entries/{entries}` at the end). string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1279,11 +1418,11 @@ message ListTagsRequest { } ]; - // The maximum number of tags to return. Default is 10. Max limit is 1000. + // The maximum number of tags to return. Default is 10. Maximum limit is 1000. int32 page_size = 2; - // Token that specifies which page is requested. If empty, the first page is - // returned. + // Pagination token that specifies the next page to return. If empty, the + // first page is returned. string page_token = 3; } @@ -1293,18 +1432,17 @@ message ListTagsResponse { // [Tag][google.cloud.datacatalog.v1.Tag] details. repeated Tag tags = 1; - // Token to retrieve the next page of results. It is set to empty if no items - // remain in results. + // Pagination token of the next results page. Empty if there are + // no more items in results. string next_page_token = 2; } // Request message for // [ListEntries][google.cloud.datacatalog.v1.DataCatalog.ListEntries]. message ListEntriesRequest { - // Required. The name of the entry group that contains the entries, which can - // be provided in URL format. Example: + // Required. The name of the entry group that contains the entries to list. // - // * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} + // Can be provided in URL format. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1312,18 +1450,19 @@ message ListEntriesRequest { } ]; - // The maximum number of items to return. Default is 10. Max limit is 1000. - // Throws an invalid argument for `page_size > 1000`. + // The maximum number of items to return. Default is 10. Maximum limit is + // 1000. Throws an invalid argument if `page_size` is more than 1000. int32 page_size = 2; - // Token that specifies which page is requested. If empty, the first page is - // returned. + // Pagination token that specifies the next page to return. If empty, the + // first page is returned. string page_token = 3; - // The fields to return for each Entry. If not set or empty, all + // The fields to return for each entry. If empty or omitted, all // fields are returned. - // For example, setting read_mask to contain only one path "name" will cause - // ListEntries to return a list of Entries with only "name" field. + // + // For example, to return a list of entries with only the `name` field, + // set `read_mask` to only one path with the `name` value. google.protobuf.FieldMask read_mask = 4; } @@ -1333,37 +1472,47 @@ message ListEntriesResponse { // Entry details. repeated Entry entries = 1; - // Token to retrieve the next page of results. It is set to empty if no items - // remain in results. + // Pagination token of the next results page. Empty if there are no more items + // in results. string next_page_token = 2; } -// Entry resources in Data Catalog can be of different types e.g. a BigQuery -// Table entry is of type `TABLE`. This enum describes all the possible types -// Data Catalog contains. +// The enum field that lists all the types of entry resources in Data +// Catalog. For example, a BigQuery table entry has the `TABLE` type. enum EntryType { // Default unknown type. ENTRY_TYPE_UNSPECIFIED = 0; - // Output only. The type of entry that has a GoogleSQL schema, including + // Output only. The entry type that has a GoogleSQL schema, including // logical views. TABLE = 2; - // Output only. The type of models, examples include - // https://cloud.google.com/bigquery-ml/docs/bigqueryml-intro + // Output only. The type of models. + // + // For more information, see [Supported models in BigQuery ML] + // (https://cloud.google.com/bigquery-ml/docs/introduction#supported_models_in). MODEL = 5; - // An entry type which is used for streaming entries. Example: - // Pub/Sub topic. + // An entry type for streaming entries. For example, a Pub/Sub topic. DATA_STREAM = 3; - // An entry type which is a set of files or objects. Example: + // An entry type for a set of files or objects. For example, a // Cloud Storage fileset. FILESET = 4; + // A group of servers that work together. For example, a Kafka cluster. + CLUSTER = 6; + // A database. DATABASE = 7; + // Output only. Connection to a data source. For example, a BigQuery + // connection. + DATA_SOURCE_CONNECTION = 8; + + // Output only. Routine, for example, a BigQuery routine. + ROUTINE = 9; + // A service, for example, a Dataproc Metastore service. SERVICE = 14; } diff --git a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/gcs_fileset_spec.proto b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/gcs_fileset_spec.proto index 01436429..67627b45 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/gcs_fileset_spec.proto +++ b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/gcs_fileset_spec.proto @@ -30,17 +30,18 @@ option ruby_package = "Google::Cloud::DataCatalog::V1"; // Describes a Cloud Storage fileset entry. message GcsFilesetSpec { // Required. Patterns to identify a set of files in Google Cloud Storage. - // See [Cloud Storage - // documentation](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames) - // for more information. Note that bucket wildcards are currently not - // supported. // - // Examples of valid file_patterns: + // For more information, see [Wildcard Names] + // (https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames). // - // * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir` - // directory. + // Note: Currently, bucket wildcards are not supported. + // + // Examples of valid `file_patterns`: + // + // * `gs://bucket_name/dir/*`: matches all files in `bucket_name/dir` + // directory // * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir` - // spanning all subdirectories. + // and all subdirectories // * `gs://bucket_name/file*`: matches files prefixed by `file` in // `bucket_name` // * `gs://bucket_name/??.txt`: matches files with two characters followed by @@ -51,12 +52,12 @@ message GcsFilesetSpec { // * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ... // or `m` followed by `.txt` in `bucket_name` // * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match - // `a/*/b` pattern, such as `a/c/b`, `a/d/b` + // the `a/*/b` pattern, such as `a/c/b`, `a/d/b` // * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt` // - // You can combine wildcards to provide more powerful matches, for example: + // You can combine wildcards to match complex sets of files, for example: // - // * `gs://bucket_name/[a-m]??.j*g` + // `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 @@ -64,14 +65,14 @@ message GcsFilesetSpec { repeated GcsFileSpec sample_gcs_file_specs = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; } -// Specifications of a single file in Cloud Storage. +// Specification of a single file in Cloud Storage. message GcsFileSpec { - // Required. The full file path. Example: `gs://bucket_name/a/b.txt`. + // Required. Full file path. Example: `gs://bucket_name/a/b.txt`. string file_path = 1 [(google.api.field_behavior) = REQUIRED]; - // Output only. Timestamps about the Cloud Storage file. + // Output only. Creation, modification, and expiration timestamps of a Cloud Storage file. SystemTimestamps gcs_timestamps = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The size of the file, in bytes. + // Output only. File size in bytes. int64 size_bytes = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanager.proto b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanager.proto index 0412acc9..ce423b95 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanager.proto +++ b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanager.proto @@ -35,7 +35,7 @@ option java_package = "com.google.cloud.datacatalog.v1"; option php_namespace = "Google\\Cloud\\DataCatalog\\V1"; option ruby_package = "Google::Cloud::DataCatalog::V1"; -// Policy Tag Manager API service allows clients to manage their policy tags and +// Policy Tag Manager API service allows you to manage your policy tags and // taxonomies. // // Policy tags are used to tag BigQuery columns and apply additional access @@ -45,8 +45,9 @@ service PolicyTagManager { option (google.api.default_host) = "datacatalog.googleapis.com"; option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; - // Creates a taxonomy in a specified project. The taxonomy is initially empty, - // i.e., does not contain policy tags. + // Creates a taxonomy in a specified project. + // + // The taxonomy is initially empty, that is, it doesn't contain policy tags. rpc CreateTaxonomy(CreateTaxonomyRequest) returns (Taxonomy) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/taxonomies" @@ -55,7 +56,7 @@ service PolicyTagManager { option (google.api.method_signature) = "parent,taxonomy"; } - // Deletes a taxonomy. This method will also delete all policy tags in this + // Deletes a taxonomy, including all policy tags in this // taxonomy, their associated policies, and the policy tags references from // BigQuery columns. rpc DeleteTaxonomy(DeleteTaxonomyRequest) returns (google.protobuf.Empty) { @@ -65,7 +66,7 @@ service PolicyTagManager { option (google.api.method_signature) = "name"; } - // Updates a taxonomy. This method can update the taxonomy's display name, + // Updates a taxonomy, including its display name, // description, and activated policy types. rpc UpdateTaxonomy(UpdateTaxonomyRequest) returns (Taxonomy) { option (google.api.http) = { @@ -75,8 +76,8 @@ service PolicyTagManager { option (google.api.method_signature) = "taxonomy"; } - // Lists all taxonomies in a project in a particular location that the caller - // has permission to view. + // Lists all taxonomies in a project in a particular location that you + // have a permission to view. rpc ListTaxonomies(ListTaxonomiesRequest) returns (ListTaxonomiesResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/taxonomies" @@ -101,12 +102,12 @@ service PolicyTagManager { option (google.api.method_signature) = "parent,policy_tag"; } - // Deletes a policy tag. This method also deletes: + // Deletes a policy tag together with the following: // - // * all of its descendant policy tags, if any - // * the policies associated with the policy tag and its descendants - // * references from BigQuery table schema of the policy tag and its - // descendants. + // * All of its descendant policy tags, if any + // * Policies associated with the policy tag and its descendants + // * References from BigQuery table schema of the policy tag and its + // descendants rpc DeletePolicyTag(DeletePolicyTagRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/taxonomies/*/policyTags/*}" @@ -114,7 +115,7 @@ service PolicyTagManager { option (google.api.method_signature) = "name"; } - // Updates a policy tag. This method can update the policy tag's display + // Updates a policy tag, including its display // name, description, and parent policy tag. rpc UpdatePolicyTag(UpdatePolicyTagRequest) returns (PolicyTag) { option (google.api.http) = { @@ -164,7 +165,7 @@ service PolicyTagManager { }; } - // Returns the permissions that a caller has on a specified policy tag or + // Returns your permissions on a specified policy tag or // taxonomy. rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { @@ -179,8 +180,10 @@ service PolicyTagManager { } // A taxonomy is a collection of hierarchical policy tags that classify data -// along a common axis. For instance a "data sensitivity" taxonomy could contain -// the following policy tags: +// along a common axis. +// +// For example, a "data sensitivity" taxonomy might contain the following policy +// tags: // // ``` // + PII @@ -192,7 +195,7 @@ service PolicyTagManager { // + Revenue // ``` // -// A "data origin" taxonomy could contain the following policy tags: +// A "data origin" taxonomy might contain the following policy tags: // // ``` // + User data @@ -211,30 +214,34 @@ message Taxonomy { // Unspecified policy type. POLICY_TYPE_UNSPECIFIED = 0; - // Fine-grained access control policy, which enables access control on + // Fine-grained access control policy that enables access control on // tagged sub-resources. FINE_GRAINED_ACCESS_CONTROL = 1; } - // Output only. Resource name of this taxonomy in format: - // "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}". - // Note that taxonomy_id's are unique and generated by Policy Tag Manager. + // Output only. Resource name of this taxonomy in URL format. + // + // Note: Policy tag manager generates unique taxonomy IDs. 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. + // + // The name can't start or end with spaces, must contain only Unicode letters, + // numbers, underscores, dashes, and spaces, and be at most 200 bytes long + // when encoded in UTF-8. 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. If not set, defaults to empty. + // + // The description must contain only Unicode characters, tabs, newlines, + // carriage returns, and page breaks, and be at most 2000 bytes long when + // encoded in UTF-8. string description = 3 [(google.api.field_behavior) = OPTIONAL]; - // Output only. Number of policy tags contained in this taxonomy. + // Output only. Number of policy tags 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. + // Output only. Creation and modification timestamps of this taxonomy. 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, @@ -242,8 +249,9 @@ message Taxonomy { repeated PolicyType activated_policy_types = 6 [(google.api.field_behavior) = OPTIONAL]; } -// Denotes one policy tag in a taxonomy (e.g. ssn). Policy tags can be defined -// in a hierarchy. For example, consider the following hierarchy: +// Denotes one policy tag in a taxonomy, for example, SSN. +// +// Policy tags can be defined in a hierarchy. For example: // // ``` // + Geolocation @@ -252,38 +260,39 @@ message Taxonomy { // + ZipCode // ``` // -// Policy tag "Geolocation" contains 3 child policy tags: "LatLong", "City", and -// "ZipCode". +// Where the "Geolocation" policy tag contains three children. message PolicyTag { option (google.api.resource) = { type: "datacatalog.googleapis.com/PolicyTag" pattern: "projects/{project}/locations/{location}/taxonomies/{taxonomy}/policyTags/{policy_tag}" }; - // Output only. Resource name of this policy tag in format: - // "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policy_tag_id}". - // Both taxonomy_ids and policy_tag_ids are unique and generated by Policy Tag - // Manager. + // Output only. Resource name of this policy tag in the URL format. + // + // The policy tag manager generates unique taxonomy IDs and policy tag IDs.

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. + // + // The name can't start or end with spaces and must be unique within the + // parent taxonomy, contain only Unicode letters, numbers, underscores, dashes + // and 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, - // 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. - // If not set, defaults to an empty description. + // Description of this policy tag. If not set, defaults to empty. + // + // The description must contain only Unicode characters, + // tabs, newlines, carriage returns and page breaks, and be at most 2000 bytes + // long when encoded in UTF-8. string description = 3; - // Resource name of this policy tag's parent policy tag (e.g. for the - // "LatLong" policy tag in the example above, this field contains the - // resource name of the "Geolocation" policy tag). If empty, it means this - // policy tag is a top level policy tag (e.g. this field is empty for the - // "Geolocation" policy tag in the example above). If not set, defaults to an - // empty string. + // Resource name of this policy tag's parent policy tag. If empty, this is a + // top level tag. If not set, defaults to an empty string. + // + // For example, for the "LatLong" policy tag in the example above, this field + // contains the resource name of the "Geolocation" policy tag, and, for + // "Geolocation", this field is empty. string parent_policy_tag = 4; // Output only. Resource names of child policy tags of this policy tag. @@ -301,15 +310,16 @@ message CreateTaxonomyRequest { } ]; - // The taxonomy to be created. + // The taxonomy to create. Taxonomy taxonomy = 2; } // Request message for // [DeleteTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.DeleteTaxonomy]. message DeleteTaxonomyRequest { - // Required. Resource name of the taxonomy to be deleted. All policy tags in - // this taxonomy will also be deleted. + // Required. Resource name of the taxonomy to delete. + // + // Note: All policy tags in this taxonomy are also deleted. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -321,14 +331,15 @@ message DeleteTaxonomyRequest { // Request message for // [UpdateTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.UpdateTaxonomy]. message UpdateTaxonomyRequest { - // The taxonomy to update. Only description, display_name, and activated - // policy types can be updated. + // The taxonomy to update. You can update only its description, display name, + // and activated policy types. Taxonomy taxonomy = 1; - // The update mask applies to the resource. For the `FieldMask` definition, - // see - // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask - // If not set, defaults to all of the fields that are allowed to update. + // Specifies fields to update. If not set, defaults to all fields you can + // update. + // + // For more information, see [FieldMask] + // (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask). google.protobuf.FieldMask update_mask = 2; } @@ -343,12 +354,14 @@ message ListTaxonomiesRequest { } ]; - // The maximum number of items to return. Must be a value between 1 and 1000. - // If not set, defaults to 50. + // The maximum number of items to return. Must be a value between 1 and 1000 + // inclusively. If not set, defaults to 50. int32 page_size = 2; - // The next_page_token value returned from a previous list request, if any. If - // not set, defaults to an empty string. + // The pagination token of the next results page. If not set, + // the first page is returned. + // + // The token is returned in the response to a previous list request. string page_token = 3; } @@ -358,7 +371,7 @@ message ListTaxonomiesResponse { // Taxonomies that the project contains. repeated Taxonomy taxonomies = 1; - // Token used to retrieve the next page of results, or empty if there are no + // Pagination token of the next results page. Empty if there are no // more results in the list. string next_page_token = 2; } @@ -366,7 +379,7 @@ message ListTaxonomiesResponse { // Request message for // [GetTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.GetTaxonomy]. message GetTaxonomyRequest { - // Required. Resource name of the requested taxonomy. + // Required. Resource name of the taxonomy to get. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -378,7 +391,8 @@ message GetTaxonomyRequest { // Request message for // [CreatePolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.CreatePolicyTag]. message CreatePolicyTagRequest { - // Required. Resource name of the taxonomy that the policy tag will belong to. + // Required. Resource name of the taxonomy that the policy tag will belong to.

string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -386,15 +400,16 @@ message CreatePolicyTagRequest { } ]; - // The policy tag to be created. + // The policy tag to create. PolicyTag policy_tag = 2; } // Request message for // [DeletePolicyTag][google.cloud.datacatalog.v1.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 delete. + // + // Note: All of its descendant policy tags are also deleted. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -406,17 +421,16 @@ message DeletePolicyTagRequest { // Request message for // [UpdatePolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.UpdatePolicyTag]. message UpdatePolicyTagRequest { - // The policy tag to update. Only the description, display_name, and - // parent_policy_tag fields can be updated. + // The policy tag to update. You can update only its description, display + // name, and parent policy tag fields. PolicyTag policy_tag = 1; - // The update mask applies to the resource. Only display_name, description and - // parent_policy_tag can be updated and thus can be listed in the mask. If - // update_mask is not provided, all allowed fields (i.e. display_name, - // description and parent) will be updated. For more information including the - // `FieldMask` definition, see - // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask - // If not set, defaults to all of the fields that are allowed to update. + // Specifies the fields to update. + // + // You can update only display name, description, and parent policy tag. + // If not set, defaults to all updatable fields. + // For more information, see [FieldMask] + // (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask). google.protobuf.FieldMask update_mask = 2; } @@ -431,22 +445,25 @@ message ListPolicyTagsRequest { } ]; - // The maximum number of items to return. Must be a value between 1 and 1000. + // The maximum number of items to return. Must be a value between 1 and 1000 + // inclusively. // If not set, defaults to 50. int32 page_size = 2; - // The next_page_token value returned from a previous List request, if any. If - // not set, defaults to an empty string. + // The pagination token of the next results page. If not set, returns the + // first page. + // + // The token is returned in the response to a previous list request. string page_token = 3; } // Response message for // [ListPolicyTags][google.cloud.datacatalog.v1.PolicyTagManager.ListPolicyTags]. message ListPolicyTagsResponse { - // The policy tags that are in the requested taxonomy. + // The policy tags that belong to the taxonomy. repeated PolicyTag policy_tags = 1; - // Token used to retrieve the next page of results, or empty if there are no + // Pagination token of the next results page. Empty if there are no // more results in the list. string next_page_token = 2; } @@ -454,7 +471,7 @@ message ListPolicyTagsResponse { // Request message for // [GetPolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.GetPolicyTag]. message GetPolicyTagRequest { - // Required. Resource name of the requested policy tag. + // Required. Resource name of the policy tag. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { diff --git a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanagerserialization.proto b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanagerserialization.proto index 29b1d3df..834acd0a 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanagerserialization.proto +++ b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanagerserialization.proto @@ -32,22 +32,42 @@ option java_package = "com.google.cloud.datacatalog.v1"; option php_namespace = "Google\\Cloud\\DataCatalog\\V1"; option ruby_package = "Google::Cloud::DataCatalog::V1"; -// Policy Tag Manager serialization API service allows clients to manipulate -// their policy tags and taxonomies in serialized format, where taxonomy is a -// hierarchical group of policy tags. +// Policy Tag Manager Serialization API service allows you to manipulate +// your policy tags and taxonomies in a serialized format. +// +// Taxonomy is a hierarchical group of policy tags. service PolicyTagManagerSerialization { option (google.api.default_host) = "datacatalog.googleapis.com"; option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; - // Creates new taxonomies (including their policy tags) by importing from - // inlined source or cross-regional source. New taxonomies will be created in - // a given parent project. + // Replaces (updates) a taxonomy and all its policy tags. + // + // The taxonomy and its entire hierarchy of policy tags must be + // represented literally by `SerializedTaxonomy` and the nested + // `SerializedPolicyTag` messages. + // + // This operation automatically does the following: + // + // - Deletes the existing policy tags that are missing from the + // `SerializedPolicyTag`. + // - Creates policy tags that don't have resource names. They are considered + // new. + // - Updates policy tags with valid resources names accordingly. + rpc ReplaceTaxonomy(ReplaceTaxonomyRequest) returns (Taxonomy) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/taxonomies/*}:replace" + body: "*" + }; + } + + // Creates new taxonomies (including their policy tags) in a given project + // by importing from inlined or cross-regional sources. // - // If using the cross-regional source, a new taxonomy is created by copying + // For a cross-regional source, new taxonomies are created by copying // from a source in another region. // - // If using the inlined source, this method provides a way to bulk create - // taxonomies and policy tags using nested proto structure. + // For an inlined source, taxonomies and policy tags are created in bulk using + // nested protocol buffer structures. rpc ImportTaxonomies(ImportTaxonomiesRequest) returns (ImportTaxonomiesResponse) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/taxonomies:import" @@ -55,12 +75,12 @@ service PolicyTagManagerSerialization { }; } - // Exports taxonomies as the requested type and returns the taxonomies - // including their policy tags. The requested taxonomies must belong to one - // project. + // Exports taxonomies in the requested type and returns them, + // including their policy tags. The requested taxonomies must belong to the + // same project. // - // SerializedTaxonomy protos with nested policy tags that are generated by - // this method can be used as input for future ImportTaxonomies calls. + // This method generates `SerializedTaxonomy` protocol buffers with nested + // policy tags that can be used as input for `ImportTaxonomies` calls. rpc ExportTaxonomies(ExportTaxonomiesRequest) returns (ExportTaxonomiesResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/taxonomies:export" @@ -68,14 +88,15 @@ service PolicyTagManagerSerialization { } } -// Message representing a taxonomy, including its policy tags in hierarchy, as a -// nested proto. Used for taxonomy replacement, import, and export. +// A nested protocol buffer that represents a taxonomy and the hierarchy of its +// policy tags. Used for taxonomy replacement, import, and +// export. message SerializedTaxonomy { // Required. Display name of the taxonomy. At most 200 bytes when encoded in UTF-8. string display_name = 1 [(google.api.field_behavior) = REQUIRED]; - // Description of the serialized taxonomy. At most 2000 bytes when encoded in - // UTF-8. If not set, defaults to an empty description. + // Description of the serialized taxonomy. At most 2000 bytes when + // encoded in UTF-8. If not set, defaults to an empty description. string description = 2; // Top level policy tags associated with the taxonomy, if any. @@ -85,19 +106,20 @@ message SerializedTaxonomy { repeated Taxonomy.PolicyType activated_policy_types = 4; } -// Message representing one policy tag, including all its descendant policy -// tags, as a nested proto. +// A nested protocol buffer that represents a policy tag and all its +// descendants. message SerializedPolicyTag { // Resource name of the policy tag. // - // This field will be ignored when calling ImportTaxonomies. + // This field is ignored when calling `ImportTaxonomies`. string policy_tag = 1; - // Required. Display name of the policy tag. At most 200 bytes when encoded in UTF-8. + // Required. Display name of the policy tag. At most 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 description is - // limited to 2000 bytes when encoded in UTF-8. If not set, defaults to an + // Description of the serialized policy tag. At most + // 2000 bytes when encoded in UTF-8. If not set, defaults to an // empty description. string description = 3; @@ -105,6 +127,21 @@ message SerializedPolicyTag { repeated SerializedPolicyTag child_policy_tags = 4; } +// Request message for +// [ReplaceTaxonomy][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ReplaceTaxonomy]. +message ReplaceTaxonomyRequest { + // Required. Resource name of the taxonomy to update. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "datacatalog.googleapis.com/Taxonomy" + } + ]; + + // Required. Taxonomy to update along with its child policy tags. + SerializedTaxonomy serialized_taxonomy = 2 [(google.api.field_behavior) = REQUIRED]; +} + // Request message for // [ImportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ImportTaxonomies]. message ImportTaxonomiesRequest { @@ -116,26 +153,26 @@ message ImportTaxonomiesRequest { } ]; - // Source taxonomies to be imported. + // Source taxonomies to import. oneof source { - // Inline source used for taxonomies import. + // Inline source taxonomy to import. InlineSource inline_source = 2; - // Cross-regional source taxonomy to be imported. + // Cross-regional source taxonomy to import. CrossRegionalSource cross_regional_source = 3; } } // Inline source containing taxonomies to import. message InlineSource { - // Required. Taxonomies to be imported. + // Required. Taxonomies to import. repeated SerializedTaxonomy taxonomies = 1 [(google.api.field_behavior) = REQUIRED]; } // Cross-regional source used to import an existing taxonomy into a different // region. message CrossRegionalSource { - // Required. The resource name of the source taxonomy to be imported. + // Required. The resource name of the source taxonomy to import. string taxonomy = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -147,7 +184,7 @@ message CrossRegionalSource { // Response message for // [ImportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ImportTaxonomies]. message ImportTaxonomiesResponse { - // Taxonomies that were imported. + // Imported taxonomies. repeated Taxonomy taxonomies = 1; } @@ -162,7 +199,7 @@ message ExportTaxonomiesRequest { } ]; - // Required. Resource names of the taxonomies to be exported. + // Required. Resource names of the taxonomies to export. repeated string taxonomies = 2 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -170,10 +207,10 @@ message ExportTaxonomiesRequest { } ]; - // Required. Taxonomies export destination. + // Required. Export destination for taxonomies. oneof destination { - // Export taxonomies as serialized taxonomies, which contain all the policy - // tags as nested protos. + // Serialized export taxonomies that contain all the policy + // tags as nested protocol buffers. bool serialized_taxonomies = 3; } } @@ -181,6 +218,6 @@ message ExportTaxonomiesRequest { // Response message for // [ExportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ExportTaxonomies]. message ExportTaxonomiesResponse { - // List of taxonomies and policy tags as nested protos. + // List of taxonomies and policy tags as nested protocol buffers. repeated SerializedTaxonomy taxonomies = 1; } diff --git a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/schema.proto b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/schema.proto index 24f7fb88..bafc5d03 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/schema.proto +++ b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/schema.proto @@ -26,7 +26,7 @@ option java_package = "com.google.cloud.datacatalog.v1"; option php_namespace = "Google\\Cloud\\DataCatalog\\V1"; option ruby_package = "Google::Cloud::DataCatalog::V1"; -// Represents a schema (e.g. BigQuery, GoogleSQL, Avro schema). +// Represents a schema, for example, a BigQuery, GoogleSQL, or Avro schema. message Schema { // The unified GoogleSQL-like schema of columns. // @@ -35,7 +35,7 @@ message Schema { repeated ColumnSchema columns = 2; } -// Representation of a column within a schema. Columns could be nested inside +// A column within a schema. Columns can be nested inside // other columns. message ColumnSchema { // Required. Name of the column. @@ -55,7 +55,7 @@ message ColumnSchema { // bytes. string description = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A column's mode indicates if values in this column are required, + // Optional. A column's mode indicates whether values in this column are required, // nullable, or repeated. // // Only `NULLABLE`, `REQUIRED`, and `REPEATED` values are supported. diff --git a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/search.proto b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/search.proto index 09373923..d70bdd1d 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/search.proto +++ b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/search.proto @@ -28,61 +28,75 @@ option java_package = "com.google.cloud.datacatalog.v1"; option php_namespace = "Google\\Cloud\\DataCatalog\\V1"; option ruby_package = "Google::Cloud::DataCatalog::V1"; -// A result that appears in the response of a search request. Each result -// captures details of one entry that matches the search. +// Result in the response to a search request. +// +// Each result captures details of one entry that matches the search. message SearchCatalogResult { - // Type of the search result. This field can be used to determine which Get - // method to call to fetch the full resource. + // Type of the search result. + // + // You can use this field to determine which get method to call to fetch the + // full resource. SearchResultType search_result_type = 1; - // Sub-type of the search result. This is a dot-delimited description of the - // resource's full type, and is the same as the value callers would provide in - // the "type" search facet. Examples: `entry.table`, `entry.dataStream`, - // `tagTemplate`. + // Sub-type of the search result. + // + // A dot-delimited full type of the resource. The same type you + // specify in the `type` search predicate. + // + // Examples: `entry.table`, `entry.dataStream`, `tagTemplate`. string search_result_subtype = 2; - // The relative resource name of the resource in URL format. + // The relative name of the resource in URL format. + // // Examples: // - // * `projects/{project_id}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}` - // * `projects/{project_id}/tagTemplates/{tag_template_id}` + // * `projects/{PROJECT_ID}/locations/{LOCATION_ID}/entryGroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}` + // * `projects/{PROJECT_ID}/tagTemplates/{TAG_TEMPLATE_ID}` string relative_resource_name = 3; - // The full name of the cloud resource the entry belongs to. See: - // https://cloud.google.com/apis/design/resource_names#full_resource_name. + // The full name of the Google Cloud resource the entry belongs to. + // + // For more information, see [Full Resource Name] + // (/apis/design/resource_names#full_resource_name). + // // Example: // - // * `//bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId` + // `//bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID` string linked_resource = 4; - // Last-modified timestamp of the entry from the managing system. + // The last modification timestamp of the entry in the source system. google.protobuf.Timestamp modify_time = 7; - // The source system of the entry. Only applicable when `search_result_type` - // is ENTRY. + // The source system of the entry. Applicable only when the + // `search_result_type` is `ENTRY`. oneof system { - // Output only. This field indicates the entry's source system that Data Catalog - // integrates with, such as BigQuery or Cloud Pub/Sub. + // Output only. The source system that Data Catalog automatically integrates with, such + // as BigQuery, Cloud Pub/Sub, or Dataproc Metastore. IntegratedSystem integrated_system = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - // This field indicates the entry's source system that Data Catalog does not - // integrate with. + // Custom source system that you can manually integrate Data Catalog with. string user_specified_system = 9; } - // Fully Qualified Name of the resource. - // There are two main forms of FQNs: - // {system}:{project}.{dot-separated path to resource} - // for non-regionalized resources - // {system}:{project}.{location id}.{dot-separated path to resource} - // for regionalized resources - // Examples: - // * dataproc_metastore:projectId.locationId.instanceId.databaseId.tableId - // * bigquery:table.project_id.dataset_id.table_id + // Fully qualified name (FQN) of the resource. + // + // FQNs take two forms: + // + // * For non-regionalized resources: + // + // `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` + // + // * For regionalized resources: + // + // `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` + // + // Example for a DPMS table: + // + // `dataproc_metastore:PROJECT_ID.LOCATION_ID.INSTANCE_ID.DATABASE_ID.TABLE_ID` string fully_qualified_name = 10; } -// The different types of resources that can be returned in search. +// The resource types that can be returned in search results. enum SearchResultType { // Default unknown type. SEARCH_RESULT_TYPE_UNSPECIFIED = 0; diff --git a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/table_spec.proto b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/table_spec.proto index 43ce0df1..6c4fb9b2 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/table_spec.proto +++ b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/table_spec.proto @@ -34,12 +34,12 @@ message BigQueryTableSpec { // Output only. oneof type_spec { - // Table view specification. This field should only be populated if - // `table_source_type` is `BIGQUERY_VIEW`. + // Table view specification. Populated only if + // the `table_source_type` is `BIGQUERY_VIEW`. ViewSpec view_spec = 2; - // Spec of a BigQuery table. This field should only be populated if - // `table_source_type` is `BIGQUERY_TABLE`. + // Specification of a BigQuery table. Populated only if + // the `table_source_type` is `BIGQUERY_TABLE`. TableSpec table_spec = 3; } } @@ -65,12 +65,14 @@ message ViewSpec { string view_query = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; } -// Normal BigQuery table spec. +// Normal BigQuery table specification. 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, - // `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`. + // Output only. If the table is date-sharded, that is, it matches the `[prefix]YYYYMMDD` + // name pattern, this field 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 [ (google.api.field_behavior) = OUTPUT_ONLY, @@ -80,13 +82,16 @@ message TableSpec { ]; } -// Spec for a group of BigQuery tables with name pattern `[prefix]YYYYMMDD`. -// Context: -// https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding +// Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD` name +// pattern. +// +// For more information, see [Introduction to partitioned tables] +// (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, - // `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`. + // 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, (google.api.resource_reference) = { @@ -94,8 +99,10 @@ message BigQueryDateShardedSpec { } ]; - // 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 + // Output only. The table name prefix of the shards. + // + // The name of any given shard is `[table_prefix]YYYYMMDD`. + // For example, for the `MyTable20180101` shard, the // `table_prefix` is `MyTable`. string table_prefix = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/tags.proto b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/tags.proto index 9ef2e452..eab54abb 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/tags.proto +++ b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/tags.proto @@ -28,8 +28,8 @@ option java_package = "com.google.cloud.datacatalog.v1"; option php_namespace = "Google\\Cloud\\DataCatalog\\V1"; option ruby_package = "Google::Cloud::DataCatalog::V1"; -// Tags are used to attach custom metadata to Data Catalog resources. Tags -// conform to the specifications within their tag template. +// Tags contain custom metadata and are attached to Data Catalog resources. Tags +// conform with the specification of their tag template. // // See [Data Catalog // IAM](https://cloud.google.com/data-catalog/docs/concepts/iam) for information @@ -40,19 +40,16 @@ message Tag { pattern: "projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}/tags/{tag}" }; - // The resource name of the tag in URL format. Example: - // - // `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}` - // - // where `tag_id` is a system-generated identifier. + // The resource name of the tag in URL format where tag ID is a + // system-generated identifier. // // Note: The tag itself might not be stored in the location specified in its // 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 this tag uses. Example: // - // `projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}` + // `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}` // // This field cannot be modified after creation. string template = 2 [(google.api.field_behavior) = REQUIRED]; @@ -62,27 +59,32 @@ message Tag { // The scope within the parent resource that this tag is attached to. If not // provided, the tag is attached to the parent resource itself. - // Deleting the scope from the parent resource will delete all tags attached - // to that scope. These fields cannot be updated after creation. + // + // Deleting the scope from the parent resource deletes all tags attached + // to that scope. + // + // These fields cannot be updated after creation. oneof scope { // Resources like entry can have schemas associated with them. This scope - // allows users to attach tags to an individual column based on that schema. + // allows you to attach tags to an individual column based on that schema. // // To attach a tag to a nested column, separate column names with a dot // (`.`). Example: `column.nested_column`. 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 + // Required. Maps the ID of a tag field to its value and additional information + // about that field. + // + // Tag template defines valid field IDs. A tag // must have at least 1 field and at most 500 fields. map fields = 3 [(google.api.field_behavior) = REQUIRED]; } -// Contains the value and supporting information for a field within +// Contains the value and additional information on a field within // a [Tag][google.cloud.datacatalog.v1.Tag]. message TagField { - // Holds an enum value. + // An enum value. message EnumValue { // The display name of the enum value. string display_name = 1; @@ -93,49 +95,58 @@ message TagField { // Required. The value of this field. oneof kind { - // Holds the value for a tag field with double type. + // The value of a tag field with a double type. double double_value = 2; - // Holds the value for a tag field with string type. + // The value of a tag field with a string type. + // // The maximum length is 2000 UTF-8 characters. string string_value = 3; - // Holds the value for a tag field with boolean type. + // The value of a tag field with a boolean type. bool bool_value = 4; - // Holds the value for a tag field with timestamp type. + // The value of a tag field with a timestamp type. google.protobuf.Timestamp timestamp_value = 5; - // Holds the value for a tag field with enum type. This value must be - // one of the allowed values in the definition of this enum. + // The value of a tag field with an enum type. + // + // This value must be one of the allowed values listed in this enum. EnumValue enum_value = 6; + + // The value of a tag field with a rich text type. + // + // The maximum length is 10 MiB as this value holds HTML descriptions + // including encoded images. The maximum length of the text without images + // is 100 KiB. + string richtext_value = 8; } - // Output only. The order of this field with respect to other fields in this tag. It can be - // set in [Tag][google.cloud.datacatalog.v1.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. + // Output only. The order of this field with respect to other fields in this tag. Can be + // set by [Tag][google.cloud.datacatalog.v1.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 don't have to be sequential. int32 order = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; } -// 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. -// [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, -// the [TagTemplate -// User](https://cloud.google.com/data-catalog/docs/how-to/template-user) role, -// which includes permission to use the tag template to tag resources. +// A tag template defines a tag that can have one or more typed fields. +// +// The template is used to create tags that are attached to GCP resources. +// [Tag template roles] +// (https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles) +// provide permissions to create, edit, and use the template. For example, +// see the [TagTemplate User] +// (https://cloud.google.com/data-catalog/docs/how-to/template-user) role +// that includes a permission to use the tag template to tag resources. message TagTemplate { option (google.api.resource) = { type: "datacatalog.googleapis.com/TagTemplate" pattern: "projects/{project}/locations/{location}/tagTemplates/{tag_template}" }; - // The resource name of the tag template in URL format. Example: - // - // `projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}` + // The resource name of the tag template in URL format. // // Note: The tag template itself and its child resources might not be // stored in the location specified in its name. @@ -148,14 +159,46 @@ message TagTemplate { // The maximum length is 200 characters. string display_name = 2; + // Indicates whether this is a public tag template. + // + // Every user has view access to a *public* tag template by default. + // This means that: + // + // * Every user can use this tag template to tag an entry. + // * If an entry is tagged using the tag template, the tag is always + // shown in the response to ``ListTags`` called on the entry. + // * To get the template using the GetTagTemplate method, you + // need view access either on the project or the organization the tag + // template resides in but no other permission is needed. + // * Operations on the tag template other than viewing (for example, + // editing IAM policies) follow standard IAM structures. + // + // Tags created with a public tag template are referred to as public tags. + // + // You can search for a public tag by value with a + // simple search query instead of using a ``tag:`` predicate. + // + // Public tag templates may not appear in search results depending on scope, + // see: + // [include_public_tag_templates][google.cloud.datacatalog.v1.SearchCatalogRequest.Scope.include_public_tag_templates] + // + // Note: If an [IAM domain + // restriction](https://cloud.google.com/resource-manager/docs/organization-policy/restricting-domains) + // is configured in the tag template's location, the public access will not be + // enabled but the simple search for tag values will still work. + bool is_publicly_readable = 5; + // Required. Map of tag template field IDs to the settings for the field. - // This map is an exhaustive list of the allowed fields. This map must contain + // This map is an exhaustive list of the allowed fields. The map must contain // at least one field and at most 500 fields. // - // The keys to this map are tag template field IDs. Field IDs can contain - // 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. + // The keys to this map are tag template field IDs. The IDs have the + // following limitations: + // + // * Can contain uppercase and lowercase letters, numbers (0-9) and + // underscores (_). + // * Must be at least 1 character and at most 64 characters long. + // * Must start with a letter or underscore. map fields = 3 [(google.api.field_behavior) = REQUIRED]; } @@ -168,9 +211,9 @@ message TagTemplateField { // Output only. The resource name of the tag template field in URL format. Example: // - // `projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}` + // `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}` // - // Note: The `TagTemplateField` itself might not be stored in the location + // Note: The tag template field itself might not be stored in the location // specified in its name. // // The name must contain only letters (a-z, A-Z), numbers (0-9), @@ -188,16 +231,18 @@ message TagTemplateField { // Required. The type of value this tag field can contain. FieldType type = 2 [(google.api.field_behavior) = REQUIRED]; - // Whether this is a required field. Defaults to false. + // If true, this field is required. 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. 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. + // template. + // + // 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 don't have to be sequential. int32 order = 5; } @@ -219,13 +264,13 @@ message FieldType { // be case-insensitively unique within this set. // // The order of items in this set is preserved. This field can be used to - // create, remove and reorder enum values. To rename enum values, use the + // create, remove, and reorder enum values. To rename enum values, use the // `RenameTagTemplateFieldEnumValue` method. repeated EnumValue allowed_values = 1; } enum PrimitiveType { - // This is the default invalid value for a type. + // The default invalid value for a type. PRIMITIVE_TYPE_UNSPECIFIED = 0; // A double precision number. @@ -239,14 +284,17 @@ message FieldType { // A timestamp. TIMESTAMP = 4; + + // A Richtext description. + RICHTEXT = 5; } // Required. oneof type_decl { - // Represents primitive types - string, bool etc. + // Primitive types, such as string, boolean, etc. PrimitiveType primitive_type = 1; - // Represents an enum type. + // An enum type. EnumType enum_type = 2; } } diff --git a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/timestamps.proto b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/timestamps.proto index 6566ce68..2311caf5 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/timestamps.proto +++ b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/timestamps.proto @@ -27,15 +27,22 @@ option java_package = "com.google.cloud.datacatalog.v1"; option php_namespace = "Google\\Cloud\\DataCatalog\\V1"; option ruby_package = "Google::Cloud::DataCatalog::V1"; -// Timestamps about this resource according to a particular system. +// Timestamps associated with this resource in a particular system. message SystemTimestamps { - // The creation time of the resource within the given system. + // Creation timestamp of the resource within the given system. google.protobuf.Timestamp create_time = 1; - // The last-modified time of the resource within the given system. + // Timestamp of the last modification of the resource or its metadata within + // a given system. + // + // Note: Depending on the source system, not every modification updates this + // timestamp. + // For example, BigQuery timestamps every metadata modification but not data + // or permission changes. google.protobuf.Timestamp update_time = 2; - // Output only. The expiration time of the resource within the given system. - // Currently only apllicable to BigQuery resources. + // Output only. Expiration timestamp of the resource within the given system. + // + // Currently only applicable to BigQuery resources. google.protobuf.Timestamp expire_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/usage.proto b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/usage.proto new file mode 100644 index 00000000..aa36d37d --- /dev/null +++ b/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/usage.proto @@ -0,0 +1,65 @@ +// Copyright 2021 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.v1; + +import "google/protobuf/timestamp.proto"; + +option cc_enable_arenas = true; +option csharp_namespace = "Google.Cloud.DataCatalog.V1"; +option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog"; +option java_multiple_files = true; +option java_package = "com.google.cloud.datacatalog.v1"; +option php_namespace = "Google\\Cloud\\DataCatalog\\V1"; +option ruby_package = "Google::Cloud::DataCatalog::V1"; + +// Detailed statistics on the entry's usage. +// +// Usage statistics have the following limitations: +// +// - Only BigQuery tables have them. +// - They only include BigQuery query jobs. +// - They might be underestimated because wildcard table references +// are not yet counted. For more information, see +// [Querying multiple tables using a wildcard table] +// (https://cloud.google.com/bigquery/docs/querying-wildcard-tables) +message UsageStats { + // The number of successful uses of the underlying entry. + float total_completions = 1; + + // The number of failed attempts to use the underlying entry. + float total_failures = 2; + + // The number of cancelled attempts to use the underlying entry. + float total_cancellations = 3; + + // Total time spent only on successful uses, in milliseconds. + float total_execution_time_for_completions_millis = 4; +} + +// The set of all usage signals that Data Catalog stores. +// +// Note: Usually, these signals are updated daily. In rare cases, an update may +// fail but will be performed again on the next day. +message UsageSignal { + // The end timestamp of the duration of usage statistics. + google.protobuf.Timestamp update_time = 1; + + // Usage statistics over each of the predefined time ranges. + // + // Supported time ranges are `{"24H", "7D", "30D"}`. + map usage_within_time_range = 2; +} diff --git a/synth.metadata b/synth.metadata index 3b81cee4..090d619b 100644 --- a/synth.metadata +++ b/synth.metadata @@ -11,16 +11,16 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "551681f25e36b11829e87e580281350461f4f3f5", - "internalRef": "379784268" + "sha": "5b1f7cf1d2e2f8ab028a7090d0981fc774028906", + "internalRef": "387350333" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "551681f25e36b11829e87e580281350461f4f3f5", - "internalRef": "379784268" + "sha": "5b1f7cf1d2e2f8ab028a7090d0981fc774028906", + "internalRef": "387350333" } }, { @@ -186,10 +186,17 @@ "grpc-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationGrpc.java", "java.header", "license-checks.xml", + "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpec.java", + "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryConnectionSpecOrBuilder.java", "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpec.java", "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryDateShardedSpecOrBuilder.java", + "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryProto.java", + "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpec.java", + "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryRoutineSpecOrBuilder.java", "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpec.java", "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryTableSpecOrBuilder.java", + "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpec.java", + "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CloudSqlBigQueryConnectionSpecOrBuilder.java", "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchema.java", "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ColumnSchemaOrBuilder.java", "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Common.java", @@ -210,6 +217,8 @@ "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSource.java", "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/CrossRegionalSourceOrBuilder.java", "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSource.java", + "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpec.java", + "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceConnectionSpecOrBuilder.java", "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceOrBuilder.java", "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceProto.java", "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DatabaseTableSpec.java", @@ -296,6 +305,10 @@ "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldEnumValueRequestOrBuilder.java", "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequest.java", "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RenameTagTemplateFieldRequestOrBuilder.java", + "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequest.java", + "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ReplaceTaxonomyRequestOrBuilder.java", + "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpec.java", + "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/RoutineSpecOrBuilder.java", "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Schema.java", "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOrBuilder.java", "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOuterClass.java", @@ -348,8 +361,14 @@ "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTagTemplateRequestOrBuilder.java", "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequest.java", "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UpdateTaxonomyRequestOrBuilder.java", + "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Usage.java", + "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignal.java", + "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageSignalOrBuilder.java", + "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStats.java", + "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/UsageStatsOrBuilder.java", "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpec.java", "proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/ViewSpecOrBuilder.java", + "proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/bigquery.proto", "proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/common.proto", "proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/data_source.proto", "proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto", @@ -361,6 +380,7 @@ "proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/table_spec.proto", "proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/tags.proto", "proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/timestamps.proto", + "proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/usage.proto", "proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpec.java", "proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryDateShardedSpecOrBuilder.java", "proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/BigQueryTableSpec.java",