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 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 `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 Sample code:
*
@@ -535,8 +572,7 @@ public final UnaryCallable 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 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 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 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 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 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:
- * 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 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 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`:
* 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 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 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:
- * 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 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 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:
- * 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 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 Example:
- * 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:
- * 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 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 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 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 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:
- * 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 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 Example:
- * 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:
- * 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:
- * 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:
- * 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:
- * * `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:
- * * `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:
- * 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:
- * 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:
- * 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:
- * 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:
- * 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:
- * 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 Sample code:
*
@@ -3303,15 +3374,10 @@ public final UnaryCallable Examples:
- * 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:
- * 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 Sample code:
*
@@ -3446,14 +3507,20 @@ public final UnaryCallable 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 May return:
+ *
+ * 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.
+ * 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:
+ *
+ * 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:
+ *
+ * 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 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 Sample code:
*
@@ -278,8 +282,8 @@ public final UnaryCallable 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 Sample code:
*
@@ -372,8 +375,8 @@ public final UnaryCallable 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 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 Sample code:
@@ -788,8 +786,8 @@ public final UnaryCallable 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:
*
* 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:
*
* 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:
*
* Sample code:
@@ -891,8 +889,7 @@ public final UnaryCallable Sample code:
*
@@ -903,8 +900,8 @@ public final UnaryCallable 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 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 @@
* 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:
+ *
+ * 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:
+ *
+ * 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:
*
* ======================= 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:
*
* 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:
*
*
+ *
*
- *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
*
- *
- *
- *
+ * @param parent Required. The name of the location that contains the entry groups to list.
+ *
- *
- *
+ * @param parent Required. The name of the location that contains the entry groups to list.
+ *
+ *
+ *
+ *
+ *
- *
*
* @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.
+ *
+ *
- *
- *
+ * @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.
+ *
+ *
- *
- *
+ * @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.
+ *
+ *
- *
- *
+ * @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
- *
- *
+ * @param parent Required. The name of the entry group that contains the entries to list.
+ *
- *
- *
+ * @param parent Required. The name of the entry group that contains the entries to list.
+ *
- *
- *
* @param tagTemplateId Required. The ID of the tag template to create.
*
- *
- *
* @param tagTemplateId Required. The ID of the tag template to create.
*
- *
- *
+ * @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
- *
- *
- * @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.
+ *
- *
- *
- * @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.
+ *
- *
- *
* @param tagTemplateFieldId Required. The ID of the tag template field to create.
*
- *
- *
* @param tagTemplateFieldId Required. The ID of the tag template field to create.
*
- *
- *
+ * @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.
+ *
+ *
- *
- *
+ * @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.
+ *
+ *
- *
- *
+ * @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:
- *
+ *
*
- *
- *
+ * @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:
- *
+ *
*
- *
- *
+ * @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.
+ *
+ *
- *
- *
+ * @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.
+ *
+ *
- *
- *
+ * @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.
+ *
+ *
- *
- *
+ * @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.
+ *
+ *
- *
- *
- * @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.
+ *
- *
- *
- * @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.
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
- *
- *
+ * @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
- *
- *
+ * @param parent Required. The name of the Data Catalog resource to list the tags of.
+ *
- *
- *
+ * @param parent Required. The name of the Data Catalog resource to list the tags of.
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
*
- *
+ *
+ *
+ *
- *
*
*
- *
*
*
- *
*
*
- *
*
* {@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.
+ *
+ * {@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.
+ *
+ * {@code
+ * try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
+ * PolicyTagManagerSerializationClient.create()) {
+ * ReplaceTaxonomyRequest request =
+ * ReplaceTaxonomyRequest.newBuilder()
+ * .setName(TaxonomyName.of("[PROJECT]", "[LOCATION]", "[TAXONOMY]").toString())
+ * .setSerializedTaxonomy(SerializedTaxonomy.newBuilder().build())
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@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
*/
public com.google.common.util.concurrent.ListenableFuture{@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{@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
*/
public com.google.common.util.concurrent.ListenableFuture<
@@ -3600,19 +3615,18 @@ public com.google.common.util.concurrent.ListenableFuture
- * 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
- * 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
* 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
- * 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
- * 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
- * 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
- * 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
- * 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
- * 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
- * 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
+ .
- * 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
+ * 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
+ * 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
+ * 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
+ * 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
+ * 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
+ * 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
+ * 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
+ * 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
+ * Paths of the imported libraries.
+ *
+ *
+ * repeated string imported_libraries = 1;
+ *
+ * @return A list containing the importedLibraries.
+ */
+ java.util.List
+ * 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
+ * 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
+ * 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
+ * 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
+ * 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
+ * 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
*
*
*