Note that searches do not have full recall. There may be results that match your query but - * are not returned, even in subsequent pages of results. These missing results may vary across - * repeated calls to search. Do not rely on this method if you need to guarantee full recall. + *
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](/data-catalog/docs/how-to/search-reference) for more * information. @@ -524,8 +524,7 @@ public DataCatalogStub getStub() { * more information. * @param orderBy Specifies the ordering of results, currently supported case-sensitive choices * are: - *
* `relevance`, only supports desecending * `last_access_timestamp [asc|desc]`, - * defaults to descending if not specified * `last_modified_timestamp [asc|desc]`, + *
* `relevance`, only supports descending * `last_modified_timestamp [asc|desc]`, * defaults to descending if not specified *
If not specified, defaults to `relevance` descending. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -549,9 +548,9 @@ public final SearchCatalogPagedResponse searchCatalog( * return the complete resource, only the resource identifier and high level fields. Clients can * subsequentally call `Get` methods. * - *
Note that searches do not have full recall. There may be results that match your query but - * are not returned, even in subsequent pages of results. These missing results may vary across - * repeated calls to search. Do not rely on this method if you need to guarantee full recall. + *
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](/data-catalog/docs/how-to/search-reference) for more * information. @@ -587,9 +586,9 @@ public final SearchCatalogPagedResponse searchCatalog(SearchCatalogRequest reque * return the complete resource, only the resource identifier and high level fields. Clients can * subsequentally call `Get` methods. * - *
Note that searches do not have full recall. There may be results that match your query but - * are not returned, even in subsequent pages of results. These missing results may vary across - * repeated calls to search. Do not rely on this method if you need to guarantee full recall. + *
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](/data-catalog/docs/how-to/search-reference) for more * information. @@ -625,9 +624,9 @@ public final SearchCatalogPagedResponse searchCatalog(SearchCatalogRequest reque * return the complete resource, only the resource identifier and high level fields. Clients can * subsequentally call `Get` methods. * - *
Note that searches do not have full recall. There may be results that match your query but - * are not returned, even in subsequent pages of results. These missing results may vary across - * repeated calls to search. Do not rely on this method if you need to guarantee full recall. + *
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](/data-catalog/docs/how-to/search-reference) for more
* information.
@@ -663,9 +662,22 @@ public final UnaryCallable 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.
+ *
+ * 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] (/data-catalog/docs/concepts/resource-project) for more
+ * information).
*
* Sample code:
*
@@ -702,9 +714,22 @@ public final EntryGroup createEntryGroup(
// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
- * Alpha feature. Creates an EntryGroup. The user should enable the Data Catalog API in the
- * project identified by the `parent` parameter (see [Data Catalog Resource Project]
- * (/data-catalog/docs/concepts/resource-project) for more information).
+ * 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
+ * ("{@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.
+ *
+ * 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] (/data-catalog/docs/concepts/resource-project) for more
+ * information).
*
* Sample code:
*
@@ -731,9 +756,22 @@ public final EntryGroup createEntryGroup(CreateEntryGroupRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
- * Alpha feature. Creates an EntryGroup. The user should enable the Data Catalog API in the
- * project identified by the `parent` parameter (see [Data Catalog Resource Project]
- * (/data-catalog/docs/concepts/resource-project) for more information).
+ * 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
+ * ("{@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.
+ *
+ * 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] (/data-catalog/docs/concepts/resource-project) for more
+ * information).
*
* Sample code:
*
@@ -759,7 +797,7 @@ public final UnaryCallable Sample code:
*
@@ -785,7 +823,7 @@ public final EntryGroup getEntryGroup(String name, FieldMask readMask) {
// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
- * Alpha feature. Gets an EntryGroup.
+ * Gets an EntryGroup.
*
* Sample code:
*
@@ -808,7 +846,7 @@ public final EntryGroup getEntryGroup(GetEntryGroupRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
- * Alpha feature. Gets an EntryGroup.
+ * Gets an EntryGroup.
*
* Sample code:
*
@@ -830,10 +868,9 @@ public final UnaryCallable Sample code:
*
@@ -856,10 +893,9 @@ public final void deleteEntryGroup(String name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
- * Alpha feature. Deletes an EntryGroup. Only entry groups that do not contain entries can be
- * deleted. The user should enable the Data Catalog API in the project identified by the `name`
- * parameter (see [Data Catalog Resource Project] (/data-catalog/docs/concepts/resource-project)
- * for more information).
+ * 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] (/data-catalog/docs/concepts/resource-project) for more information).
*
* Sample code:
*
@@ -882,10 +918,9 @@ public final void deleteEntryGroup(DeleteEntryGroupRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
- * Alpha feature. Deletes an EntryGroup. Only entry groups that do not contain entries can be
- * deleted. The user should enable the Data Catalog API in the project identified by the `name`
- * parameter (see [Data Catalog Resource Project] (/data-catalog/docs/concepts/resource-project)
- * for more information).
+ * 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] (/data-catalog/docs/concepts/resource-project) for more information).
*
* Sample code:
*
@@ -907,11 +942,14 @@ public final UnaryCallable Users should enable the Data Catalog API in the project identified by the `parent` parameter
* (see [Data Catalog Resource Project] (/data-catalog/docs/concepts/resource-project) for more
* information).
*
+ * A maximum of 100,000 entries may be created per entry group.
+ *
* Sample code:
*
* Users should enable the Data Catalog API in the project identified by the `parent` parameter
* (see [Data Catalog Resource Project] (/data-catalog/docs/concepts/resource-project) for more
* information).
*
+ * A maximum of 100,000 entries may be created per entry group.
+ *
* Sample code:
*
* Users should enable the Data Catalog API in the project identified by the `parent` parameter
* (see [Data Catalog Resource Project] (/data-catalog/docs/concepts/resource-project) for more
* information).
*
+ * A maximum of 100,000 entries may be created per entry group.
+ *
* Sample code:
*
* Sample code:
@@ -1022,7 +1066,10 @@ public final UnaryCallable The following fields are modifiable: * For entries with type `DATA_STREAM`: *
* `schema` * For entries with type `FILESET` * `schema` * `display_name` *
- * `description` * `gcs_fileset_spec` * `gcs_fileset_spec.file_patterns`
+ * `description` * `gcs_fileset_spec` * `gcs_fileset_spec.file_patterns` * For
+ * entries with `user_specified_type` * `schema` * `display_name` * `description`
+ * * user_specified_type * user_specified_system * linked_resource *
+ * source_system_timestamps
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Entry updateEntry(Entry entry, FieldMask updateMask) {
@@ -1033,8 +1080,8 @@ public final Entry updateEntry(Entry entry, FieldMask updateMask) {
// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
- * Updates an existing entry. The user should enable the Data Catalog API in the project
- * identified by the `entry.name` parameter (see [Data Catalog Resource Project]
+ * 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]
* (/data-catalog/docs/concepts/resource-project) for more information).
*
* Sample code:
@@ -1058,8 +1105,8 @@ public final Entry updateEntry(UpdateEntryRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
- * Updates an existing entry. The user should enable the Data Catalog API in the project
- * identified by the `entry.name` parameter (see [Data Catalog Resource Project]
+ * 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]
* (/data-catalog/docs/concepts/resource-project) for more information).
*
* Sample code:
@@ -1082,10 +1129,10 @@ public final UnaryCallable Sample code:
@@ -1110,10 +1157,10 @@ public final void deleteEntry(String name) {
// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
- * Alpha feature. Deletes an existing entry. Only entries created through
+ * Deletes an existing entry. Only entries created through
* [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry] method can be deleted.
- * The user should enable the Data Catalog API in the project identified by the `name` parameter
- * (see [Data Catalog Resource Project] (/data-catalog/docs/concepts/resource-project) for more
+ * Users should enable the Data Catalog API in the project identified by the `name` parameter (see
+ * [Data Catalog Resource Project] (/data-catalog/docs/concepts/resource-project) for more
* information).
*
* Sample code:
@@ -1137,10 +1184,10 @@ public final void deleteEntry(DeleteEntryRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
- * Alpha feature. Deletes an existing entry. Only entries created through
+ * Deletes an existing entry. Only entries created through
* [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry] method can be deleted.
- * The user should enable the Data Catalog API in the project identified by the `name` parameter
- * (see [Data Catalog Resource Project] (/data-catalog/docs/concepts/resource-project) for more
+ * Users should enable the Data Catalog API in the project identified by the `name` parameter (see
+ * [Data Catalog Resource Project] (/data-catalog/docs/concepts/resource-project) for more
* information).
*
* Sample code:
@@ -1177,9 +1224,6 @@ public final UnaryCallable *
* projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
- * Entry groups are logical groupings of entries. Currently, users cannot create/modify
- * entry groups. They are created by Data Catalog; they include `{@literal @}bigquery` for all
- * BigQuery entries, and `{@literal @}pubsub` for all Cloud Pub/Sub entries.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Entry getEntry(String name) {
@@ -1274,6 +1318,248 @@ public final UnaryCallable Sample code:
+ *
+ * * projects/{project_id}/locations/{location}
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListEntryGroupsResponse listEntryGroups(String parent) {
+ LOCATION_PATH_TEMPLATE.validate(parent, "listEntryGroups");
+ ListEntryGroupsRequest request = ListEntryGroupsRequest.newBuilder().setParent(parent).build();
+ return listEntryGroups(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD
+ /**
+ * Lists entry groups.
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final ListEntriesResponse listEntries(String parent) {
+ ENTRY_GROUP_PATH_TEMPLATE.validate(parent, "listEntries");
+ ListEntriesRequest request = ListEntriesRequest.newBuilder().setParent(parent).build();
+ return listEntries(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD
+ /**
+ * Lists entries.
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * * projects/{project_id}/locations/{location}
- * TagTemplate and its child resources may not actually be stored in the location in this
- * name.
+ * @param parent Required. The name of the project and the template location
+ * [region](/compute/docs/regions-zones/#available). NOTE: Currently, only the `us-central1
+ * region` is supported.
+ * Example:
+ * * projects/{project_id}/locations/us-central1
* @param tagTemplateId Required. The id of the tag template to create.
* @param tagTemplate Required. The tag template to create.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
@@ -1440,7 +1727,7 @@ public final UnaryCallable * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
- * Note that this TagTemplateField may not actually be stored in the location in this name.
+ * @param parent Required. The name of the project and the template location
+ * [region](/compute/docs/regions-zones/#available). NOTE: Currently, only the `us-central1
+ * region` is supported.
+ * Example:
+ * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
* @param tagTemplateFieldId Required. The ID of the tag template field to create. Field ids can
* contain letters (both uppercase and lowercase), numbers (0-9), underscores (_) and dashes
* (-). Field IDs must be at least 1 character long and at most 128 characters long. Field IDs
@@ -1705,10 +1994,9 @@ 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. The
- * user should enable the Data Catalog API in the project identified by the `name` parameter (see
- * [Data Catalog Resource Project] (/data-catalog/docs/concepts/resource-project) for more
- * information).
+ * 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] (/data-catalog/docs/concepts/resource-project) for more information).
*
* Sample code:
*
@@ -1748,10 +2036,9 @@ 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. The
- * user should enable the Data Catalog API in the project identified by the `name` parameter (see
- * [Data Catalog Resource Project] (/data-catalog/docs/concepts/resource-project) for more
- * information).
+ * 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] (/data-catalog/docs/concepts/resource-project) for more information).
*
* Sample code:
*
@@ -1776,10 +2063,9 @@ 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. The
- * user should enable the Data Catalog API in the project identified by the `name` parameter (see
- * [Data Catalog Resource Project] (/data-catalog/docs/concepts/resource-project) for more
- * information).
+ * 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] (/data-catalog/docs/concepts/resource-project) for more information).
*
* Sample code:
*
@@ -1891,7 +2177,7 @@ public final TagTemplateField renameTagTemplateField(RenameTagTemplateFieldReque
// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
- * Deletes a field in a tag template and all uses of that field. The user should enable the Data
+ * 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] (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -1922,7 +2208,7 @@ 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. The user should enable the Data
+ * 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] (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -1949,7 +2235,7 @@ public final void deleteTagTemplateField(DeleteTagTemplateFieldRequest request)
// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
- * Deletes a field in a tag template and all uses of that field. The user should enable the Data
+ * 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] (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -2222,7 +2508,11 @@ public final UnaryCallable Examples:
+ * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} *
+ * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ListTagsPagedResponse listTags(String parent) {
diff --git a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogSettings.java b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogSettings.java
index 15840934..a2f17fb5 100644
--- a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogSettings.java
+++ b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogSettings.java
@@ -61,8 +61,12 @@
*
*
* @param parent Required. The name of the Data Catalog resource to list the tags of. The resource
- * could be an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+ * could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
+ * [EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup].
+ *
@@ -944,11 +982,14 @@ public final Entry createEntry(String parent, String entryId, Entry entry) {
// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
- * Alpha feature. Creates an entry. Currently only entries of 'FILESET' type can be created. The
- * user should enable the Data Catalog API in the project identified by the `parent` parameter
+ * Creates an entry. Only entries of 'FILESET' type or user-specified type can be created.
+ *
+ *
*
- * @param parent Required. The name of the project this template is in. Example:
- *
@@ -974,11 +1015,14 @@ public final Entry createEntry(CreateEntryRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
- * Alpha feature. Creates an entry. Currently only entries of 'FILESET' type can be created. The
- * user should enable the Data Catalog API in the project identified by the `parent` parameter
+ * Creates an entry. Only entries of 'FILESET' type or user-specified type can be created.
+ *
+ *
*
- * @param parent Required. The name of the project and the location this template is in. Example:
- *
@@ -1003,8 +1047,8 @@ public final UnaryCallable
+ *
+ * @param parent Required. The name of the location that contains the entry groups, which can be
+ * provided in URL format. Example:
+ *
+ * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
+ * String formattedParent = DataCatalogClient.formatLocationName("[PROJECT]", "[LOCATION]");
+ * ListEntryGroupsResponse response = dataCatalogClient.listEntryGroups(formattedParent);
+ * }
+ *
+ *
+ * @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 ListEntryGroupsResponse listEntryGroups(ListEntryGroupsRequest request) {
+ return listEntryGroupsCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD
+ /**
+ * Lists entry groups.
+ *
+ *
+ * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
+ * String formattedParent = DataCatalogClient.formatLocationName("[PROJECT]", "[LOCATION]");
+ * ListEntryGroupsRequest request = ListEntryGroupsRequest.newBuilder()
+ * .setParent(formattedParent)
+ * .build();
+ * ListEntryGroupsResponse response = dataCatalogClient.listEntryGroups(request);
+ * }
+ *
+ */
+ public final UnaryCallable
+ * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
+ * String formattedParent = DataCatalogClient.formatLocationName("[PROJECT]", "[LOCATION]");
+ * ListEntryGroupsRequest request = ListEntryGroupsRequest.newBuilder()
+ * .setParent(formattedParent)
+ * .build();
+ * ApiFuture<ListEntryGroupsResponse> future = dataCatalogClient.listEntryGroupsCallable().futureCall(request);
+ * // Do something
+ * ListEntryGroupsResponse response = future.get();
+ * }
+ *
+ *
+ * @param parent Required. The name of the entry group that contains the entries, which can be
+ * provided in URL format. Example:
+ *
+ * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
+ * String formattedParent = DataCatalogClient.formatEntryGroupName("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
+ * ListEntriesResponse response = dataCatalogClient.listEntries(formattedParent);
+ * }
+ *
+ *
+ * @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 ListEntriesResponse listEntries(ListEntriesRequest request) {
+ return listEntriesCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD
+ /**
+ * Lists entries.
+ *
+ *
+ * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
+ * String formattedParent = DataCatalogClient.formatEntryGroupName("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
+ * ListEntriesRequest request = ListEntriesRequest.newBuilder()
+ * .setParent(formattedParent)
+ * .build();
+ * ListEntriesResponse response = dataCatalogClient.listEntries(request);
+ * }
+ *
+ */
+ public final UnaryCallable
+ * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
+ * String formattedParent = DataCatalogClient.formatEntryGroupName("[PROJECT]", "[LOCATION]", "[ENTRY_GROUP]");
+ * ListEntriesRequest request = ListEntriesRequest.newBuilder()
+ * .setParent(formattedParent)
+ * .build();
+ * ApiFuture<ListEntriesResponse> future = dataCatalogClient.listEntriesCallable().futureCall(request);
+ * // Do something
+ * ListEntriesResponse response = future.get();
+ * }
+ *
+ *
+ * @param entryGroup Required. The updated entry group. "name" field must be set.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final EntryGroup updateEntryGroup(EntryGroup entryGroup) {
+ UpdateEntryGroupRequest request =
+ UpdateEntryGroupRequest.newBuilder().setEntryGroup(entryGroup).build();
+ return updateEntryGroup(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]
+ * (/data-catalog/docs/concepts/resource-project) for more information).
+ *
+ *
+ * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
+ * EntryGroup entryGroup = EntryGroup.newBuilder().build();
+ * EntryGroup response = dataCatalogClient.updateEntryGroup(entryGroup);
+ * }
+ *
+ *
+ * @param entryGroup Required. The updated entry group. "name" field must be set.
+ * @param updateMask The fields to update on the entry group. If absent or empty, all modifiable
+ * fields are updated.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final EntryGroup updateEntryGroup(EntryGroup entryGroup, FieldMask updateMask) {
+ UpdateEntryGroupRequest request =
+ UpdateEntryGroupRequest.newBuilder()
+ .setEntryGroup(entryGroup)
+ .setUpdateMask(updateMask)
+ .build();
+ return updateEntryGroup(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]
+ * (/data-catalog/docs/concepts/resource-project) for more information).
+ *
+ *
+ * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
+ * EntryGroup entryGroup = EntryGroup.newBuilder().build();
+ * FieldMask updateMask = FieldMask.newBuilder().build();
+ * EntryGroup response = dataCatalogClient.updateEntryGroup(entryGroup, updateMask);
+ * }
+ *
+ *
+ * @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 EntryGroup updateEntryGroup(UpdateEntryGroupRequest request) {
+ return updateEntryGroupCallable().call(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]
+ * (/data-catalog/docs/concepts/resource-project) for more information).
+ *
+ *
+ * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
+ * EntryGroup entryGroup = EntryGroup.newBuilder().build();
+ * UpdateEntryGroupRequest request = UpdateEntryGroupRequest.newBuilder()
+ * .setEntryGroup(entryGroup)
+ * .build();
+ * EntryGroup response = dataCatalogClient.updateEntryGroup(request);
+ * }
+ *
+ */
+ public final UnaryCallable
+ * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
+ * EntryGroup entryGroup = EntryGroup.newBuilder().build();
+ * UpdateEntryGroupRequest request = UpdateEntryGroupRequest.newBuilder()
+ * .setEntryGroup(entryGroup)
+ * .build();
+ * ApiFuture<EntryGroup> future = dataCatalogClient.updateEntryGroupCallable().futureCall(request);
+ * // Do something
+ * EntryGroup response = future.get();
+ * }
+ *
* DataCatalogSettings.Builder dataCatalogSettingsBuilder =
* DataCatalogSettings.newBuilder();
- * dataCatalogSettingsBuilder.createEntryGroupSettings().getRetrySettings().toBuilder()
- * .setTotalTimeout(Duration.ofSeconds(30));
+ * dataCatalogSettingsBuilder
+ * .createEntryGroupSettings()
+ * .setRetrySettings(
+ * dataCatalogSettingsBuilder.createEntryGroupSettings().getRetrySettings().toBuilder()
+ * .setTotalTimeout(Duration.ofSeconds(30))
+ * .build());
* DataCatalogSettings dataCatalogSettings = dataCatalogSettingsBuilder.build();
*
*
@@ -116,6 +120,22 @@ public UnaryCallSettings
* PolicyTagManagerSerializationSettings.Builder policyTagManagerSerializationSettingsBuilder =
* PolicyTagManagerSerializationSettings.newBuilder();
- * policyTagManagerSerializationSettingsBuilder.importTaxonomiesSettings().getRetrySettings().toBuilder()
- * .setTotalTimeout(Duration.ofSeconds(30));
+ * policyTagManagerSerializationSettingsBuilder
+ * .importTaxonomiesSettings()
+ * .setRetrySettings(
+ * policyTagManagerSerializationSettingsBuilder.importTaxonomiesSettings().getRetrySettings().toBuilder()
+ * .setTotalTimeout(Duration.ofSeconds(30))
+ * .build());
* PolicyTagManagerSerializationSettings policyTagManagerSerializationSettings = policyTagManagerSerializationSettingsBuilder.build();
*
*
diff --git a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSettings.java b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSettings.java
index b7a7fa62..7c68ebaf 100644
--- a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSettings.java
+++ b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSettings.java
@@ -57,8 +57,12 @@
*
* PolicyTagManagerSettings.Builder policyTagManagerSettingsBuilder =
* PolicyTagManagerSettings.newBuilder();
- * policyTagManagerSettingsBuilder.createTaxonomySettings().getRetrySettings().toBuilder()
- * .setTotalTimeout(Duration.ofSeconds(30));
+ * policyTagManagerSettingsBuilder
+ * .createTaxonomySettings()
+ * .setRetrySettings(
+ * policyTagManagerSettingsBuilder.createTaxonomySettings().getRetrySettings().toBuilder()
+ * .setTotalTimeout(Duration.ofSeconds(30))
+ * .build());
* PolicyTagManagerSettings policyTagManagerSettings = policyTagManagerSettingsBuilder.build();
*
*
diff --git a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStub.java b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStub.java
index d5b44f09..6fd1242d 100644
--- a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStub.java
+++ b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/DataCatalogStub.java
@@ -36,6 +36,10 @@
import com.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest;
import com.google.cloud.datacatalog.v1beta1.GetEntryRequest;
import com.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest;
+import com.google.cloud.datacatalog.v1beta1.ListEntriesRequest;
+import com.google.cloud.datacatalog.v1beta1.ListEntriesResponse;
+import com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest;
+import com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse;
import com.google.cloud.datacatalog.v1beta1.ListTagsRequest;
import com.google.cloud.datacatalog.v1beta1.ListTagsResponse;
import com.google.cloud.datacatalog.v1beta1.LookupEntryRequest;
@@ -45,6 +49,7 @@
import com.google.cloud.datacatalog.v1beta1.Tag;
import com.google.cloud.datacatalog.v1beta1.TagTemplate;
import com.google.cloud.datacatalog.v1beta1.TagTemplateField;
+import com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest;
import com.google.cloud.datacatalog.v1beta1.UpdateEntryRequest;
import com.google.cloud.datacatalog.v1beta1.UpdateTagRequest;
import com.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest;
@@ -108,6 +113,18 @@ public UnaryCallable
* DataCatalogStubSettings.Builder dataCatalogSettingsBuilder =
* DataCatalogStubSettings.newBuilder();
- * dataCatalogSettingsBuilder.createEntryGroupSettings().getRetrySettings().toBuilder()
- * .setTotalTimeout(Duration.ofSeconds(30));
+ * dataCatalogSettingsBuilder
+ * .createEntryGroupSettings()
+ * .setRetrySettings(
+ * dataCatalogSettingsBuilder.createEntryGroupSettings().getRetrySettings().toBuilder()
+ * .setTotalTimeout(Duration.ofSeconds(30))
+ * .build());
* DataCatalogStubSettings dataCatalogSettings = dataCatalogSettingsBuilder.build();
*
*
@@ -129,6 +138,10 @@ public class DataCatalogStubSettings extends StubSettings
* PolicyTagManagerSerializationStubSettings.Builder policyTagManagerSerializationSettingsBuilder =
* PolicyTagManagerSerializationStubSettings.newBuilder();
- * policyTagManagerSerializationSettingsBuilder.importTaxonomiesSettings().getRetrySettings().toBuilder()
- * .setTotalTimeout(Duration.ofSeconds(30));
+ * policyTagManagerSerializationSettingsBuilder
+ * .importTaxonomiesSettings()
+ * .setRetrySettings(
+ * policyTagManagerSerializationSettingsBuilder.importTaxonomiesSettings().getRetrySettings().toBuilder()
+ * .setTotalTimeout(Duration.ofSeconds(30))
+ * .build());
* PolicyTagManagerSerializationStubSettings policyTagManagerSerializationSettings = policyTagManagerSerializationSettingsBuilder.build();
*
*
diff --git a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStubSettings.java b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStubSettings.java
index 6b90681a..327d196f 100644
--- a/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStubSettings.java
+++ b/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/PolicyTagManagerStubSettings.java
@@ -80,8 +80,12 @@
*
* PolicyTagManagerStubSettings.Builder policyTagManagerSettingsBuilder =
* PolicyTagManagerStubSettings.newBuilder();
- * policyTagManagerSettingsBuilder.createTaxonomySettings().getRetrySettings().toBuilder()
- * .setTotalTimeout(Duration.ofSeconds(30));
+ * policyTagManagerSettingsBuilder
+ * .createTaxonomySettings()
+ * .setRetrySettings(
+ * policyTagManagerSettingsBuilder.createTaxonomySettings().getRetrySettings().toBuilder()
+ * .setTotalTimeout(Duration.ofSeconds(30))
+ * .build());
* PolicyTagManagerStubSettings policyTagManagerSettings = policyTagManagerSettingsBuilder.build();
*
*
diff --git a/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientTest.java b/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientTest.java
index c1a299c4..6639b9c3 100644
--- a/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientTest.java
+++ b/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClientTest.java
@@ -294,12 +294,16 @@ public void deleteEntryGroupExceptionTest() throws Exception {
public void createEntryTest() {
String name = "name3373707";
String linkedResource = "linkedResource1544625012";
+ String userSpecifiedType = "userSpecifiedType-940364963";
+ String userSpecifiedSystem = "userSpecifiedSystem-1776119406";
String displayName = "displayName1615086568";
String description = "description-1724546052";
Entry expectedResponse =
Entry.newBuilder()
.setName(name)
.setLinkedResource(linkedResource)
+ .setUserSpecifiedType(userSpecifiedType)
+ .setUserSpecifiedSystem(userSpecifiedSystem)
.setDisplayName(displayName)
.setDescription(description)
.build();
@@ -350,12 +354,16 @@ public void createEntryExceptionTest() throws Exception {
public void updateEntryTest() {
String name = "name3373707";
String linkedResource = "linkedResource1544625012";
+ String userSpecifiedType = "userSpecifiedType-940364963";
+ String userSpecifiedSystem = "userSpecifiedSystem-1776119406";
String displayName = "displayName1615086568";
String description = "description-1724546052";
Entry expectedResponse =
Entry.newBuilder()
.setName(name)
.setLinkedResource(linkedResource)
+ .setUserSpecifiedType(userSpecifiedType)
+ .setUserSpecifiedSystem(userSpecifiedSystem)
.setDisplayName(displayName)
.setDescription(description)
.build();
@@ -440,12 +448,16 @@ public void deleteEntryExceptionTest() throws Exception {
public void getEntryTest() {
String name2 = "name2-1052831874";
String linkedResource = "linkedResource1544625012";
+ String userSpecifiedType = "userSpecifiedType-940364963";
+ String userSpecifiedSystem = "userSpecifiedSystem-1776119406";
String displayName = "displayName1615086568";
String description = "description-1724546052";
Entry expectedResponse =
Entry.newBuilder()
.setName(name2)
.setLinkedResource(linkedResource)
+ .setUserSpecifiedType(userSpecifiedType)
+ .setUserSpecifiedSystem(userSpecifiedSystem)
.setDisplayName(displayName)
.setDescription(description)
.build();
@@ -485,6 +497,231 @@ public void getEntryExceptionTest() throws Exception {
}
}
+ @Test
+ @SuppressWarnings("all")
+ public void lookupEntryTest() {
+ String name = "name3373707";
+ String linkedResource = "linkedResource1544625012";
+ String userSpecifiedType = "userSpecifiedType-940364963";
+ String userSpecifiedSystem = "userSpecifiedSystem-1776119406";
+ String displayName = "displayName1615086568";
+ String description = "description-1724546052";
+ Entry expectedResponse =
+ Entry.newBuilder()
+ .setName(name)
+ .setLinkedResource(linkedResource)
+ .setUserSpecifiedType(userSpecifiedType)
+ .setUserSpecifiedSystem(userSpecifiedSystem)
+ .setDisplayName(displayName)
+ .setDescription(description)
+ .build();
+ mockDataCatalog.addResponse(expectedResponse);
+
+ LookupEntryRequest request = LookupEntryRequest.newBuilder().build();
+
+ Entry actualResponse = client.lookupEntry(request);
+ Assert.assertEquals(expectedResponse, actualResponse);
+
+ List
- * Alpha feature.
* Creates an EntryGroup.
- * The user should enable the Data Catalog API in the project identified by
+ * 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.
+ * 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]
* (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -1471,7 +1655,23 @@ public void createEntryGroup(
*
*
*
- * Alpha feature.
+ * 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] (/data-catalog/docs/concepts/resource-project) for more
+ * information).
+ *
+ */
+ public void updateEntryGroup(
+ com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest request,
+ io.grpc.stub.StreamObserver
* Gets an EntryGroup.
*
*/
@@ -1486,9 +1686,8 @@ public void getEntryGroup(
*
*
*
- * Alpha feature.
* Deletes an EntryGroup. Only entry groups that do not contain entries can be
- * deleted. The user should enable the Data Catalog API in the project
+ * deleted. Users should enable the Data Catalog API in the project
* identified by the `name` parameter (see [Data Catalog Resource Project]
* (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -1503,11 +1702,26 @@ public void deleteEntryGroup(
*
*
*
- * Alpha feature.
- * Creates an entry. Currently only entries of 'FILESET' type can be created.
- * The user should enable the Data Catalog API in the project identified by
+ * Lists entry groups.
+ *
+ */
+ public void listEntryGroups(
+ com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest request,
+ io.grpc.stub.StreamObserver
+ * Creates an entry. Only entries of 'FILESET' type or 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]
* (/data-catalog/docs/concepts/resource-project) for more information).
+ * A maximum of 100,000 entries may be created per entry group.
*
*/
public void createEntry(
@@ -1521,7 +1735,7 @@ public void createEntry(
*
*
* Updates an existing entry.
- * The user should enable the Data Catalog API in the project identified by
+ * Users should enable the Data Catalog API in the project identified by
* the `entry.name` parameter (see [Data Catalog Resource Project]
* (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -1536,11 +1750,10 @@ public void updateEntry(
*
*
*
- * Alpha feature.
* Deletes an existing entry. Only entries created through
* [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry]
* method can be deleted.
- * The user should enable the Data Catalog API in the project identified by
+ * Users should enable the Data Catalog API in the project identified by
* the `name` parameter (see [Data Catalog Resource Project]
* (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -1579,6 +1792,20 @@ public void lookupEntry(
asyncUnimplementedUnaryCall(getLookupEntryMethodHelper(), responseObserver);
}
+ /**
+ *
+ *
+ *
+ * Lists entries.
+ *
+ */
+ public void listEntries(
+ com.google.cloud.datacatalog.v1beta1.ListEntriesRequest request,
+ io.grpc.stub.StreamObserver
* Deletes a tag template and all tags using the template.
- * The user should enable the Data Catalog API in the project identified by
+ * Users should enable the Data Catalog API in the project identified by
* the `name` parameter (see [Data Catalog Resource Project]
* (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -1668,7 +1895,7 @@ public void createTagTemplateField(
*
*
* Updates a field in a tag template. This method cannot be used to update the
- * field type. The user should enable the Data Catalog API in the project
+ * field type. Users should enable the Data Catalog API in the project
* identified by the `name` parameter (see [Data Catalog Resource Project]
* (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -1702,7 +1929,7 @@ public void renameTagTemplateField(
*
*
* Deletes a field in a tag template and all uses of that field.
- * The user should enable the Data Catalog API in the project identified by
+ * Users should enable the Data Catalog API in the project identified by
* the `name` parameter (see [Data Catalog Resource Project]
* (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -1867,6 +2094,13 @@ public final io.grpc.ServerServiceDefinition bindService() {
com.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest,
com.google.cloud.datacatalog.v1beta1.EntryGroup>(
this, METHODID_CREATE_ENTRY_GROUP)))
+ .addMethod(
+ getUpdateEntryGroupMethodHelper(),
+ asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest,
+ com.google.cloud.datacatalog.v1beta1.EntryGroup>(
+ this, METHODID_UPDATE_ENTRY_GROUP)))
.addMethod(
getGetEntryGroupMethodHelper(),
asyncUnaryCall(
@@ -1880,6 +2114,13 @@ public final io.grpc.ServerServiceDefinition bindService() {
new MethodHandlers<
com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest,
com.google.protobuf.Empty>(this, METHODID_DELETE_ENTRY_GROUP)))
+ .addMethod(
+ getListEntryGroupsMethodHelper(),
+ asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest,
+ com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse>(
+ this, METHODID_LIST_ENTRY_GROUPS)))
.addMethod(
getCreateEntryMethodHelper(),
asyncUnaryCall(
@@ -1910,6 +2151,13 @@ public final io.grpc.ServerServiceDefinition bindService() {
new MethodHandlers<
com.google.cloud.datacatalog.v1beta1.LookupEntryRequest,
com.google.cloud.datacatalog.v1beta1.Entry>(this, METHODID_LOOKUP_ENTRY)))
+ .addMethod(
+ getListEntriesMethodHelper(),
+ asyncUnaryCall(
+ new MethodHandlers<
+ com.google.cloud.datacatalog.v1beta1.ListEntriesRequest,
+ com.google.cloud.datacatalog.v1beta1.ListEntriesResponse>(
+ this, METHODID_LIST_ENTRIES)))
.addMethod(
getCreateTagTemplateMethodHelper(),
asyncUnaryCall(
@@ -2044,10 +2292,10 @@ protected DataCatalogStub build(io.grpc.Channel channel, io.grpc.CallOptions cal
* (https://cloud.google.com/apis/design/custom_methods) and does not return
* the complete resource, only the resource identifier and high level
* fields. Clients can subsequentally call `Get` methods.
- * Note that searches do not have full recall. There may be results that match
- * your query but are not returned, even in subsequent pages of results. These
- * missing results may vary across repeated calls to search. Do not rely on
- * this method if you need to guarantee full recall.
+ * 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](/data-catalog/docs/how-to/search-reference) for more information.
*
@@ -2066,9 +2314,18 @@ public void searchCatalog(
*
*
*
- * Alpha feature.
* Creates an EntryGroup.
- * The user should enable the Data Catalog API in the project identified by
+ * 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.
+ * 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]
* (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -2087,7 +2344,26 @@ public void createEntryGroup(
*
*
*
- * Alpha feature.
+ * 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] (/data-catalog/docs/concepts/resource-project) for more
+ * information).
+ *
+ */
+ public void updateEntryGroup(
+ com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest request,
+ io.grpc.stub.StreamObserver
* Gets an EntryGroup.
*
*/
@@ -2105,9 +2381,8 @@ public void getEntryGroup(
*
*
*
- * Alpha feature.
* Deletes an EntryGroup. Only entry groups that do not contain entries can be
- * deleted. The user should enable the Data Catalog API in the project
+ * deleted. Users should enable the Data Catalog API in the project
* identified by the `name` parameter (see [Data Catalog Resource Project]
* (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -2125,11 +2400,29 @@ public void deleteEntryGroup(
*
*
*
- * Alpha feature.
- * Creates an entry. Currently only entries of 'FILESET' type can be created.
- * The user should enable the Data Catalog API in the project identified by
+ * Lists entry groups.
+ *
+ */
+ public void listEntryGroups(
+ com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest request,
+ io.grpc.stub.StreamObserver
+ * Creates an entry. Only entries of 'FILESET' type or 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]
* (/data-catalog/docs/concepts/resource-project) for more information).
+ * A maximum of 100,000 entries may be created per entry group.
*
*/
public void createEntry(
@@ -2146,7 +2439,7 @@ public void createEntry(
*
*
* Updates an existing entry.
- * The user should enable the Data Catalog API in the project identified by
+ * Users should enable the Data Catalog API in the project identified by
* the `entry.name` parameter (see [Data Catalog Resource Project]
* (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -2164,11 +2457,10 @@ public void updateEntry(
*
*
*
- * Alpha feature.
* Deletes an existing entry. Only entries created through
* [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry]
* method can be deleted.
- * The user should enable the Data Catalog API in the project identified by
+ * Users should enable the Data Catalog API in the project identified by
* the `name` parameter (see [Data Catalog Resource Project]
* (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -2216,6 +2508,23 @@ public void lookupEntry(
responseObserver);
}
+ /**
+ *
+ *
+ *
+ * Lists entries.
+ *
+ */
+ public void listEntries(
+ com.google.cloud.datacatalog.v1beta1.ListEntriesRequest request,
+ io.grpc.stub.StreamObserver
* Deletes a tag template and all tags using the template.
- * The user should enable the Data Catalog API in the project identified by
+ * Users should enable the Data Catalog API in the project identified by
* the `name` parameter (see [Data Catalog Resource Project]
* (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -2320,7 +2629,7 @@ public void createTagTemplateField(
*
*
* Updates a field in a tag template. This method cannot be used to update the
- * field type. The user should enable the Data Catalog API in the project
+ * field type. Users should enable the Data Catalog API in the project
* identified by the `name` parameter (see [Data Catalog Resource Project]
* (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -2360,7 +2669,7 @@ public void renameTagTemplateField(
*
*
* Deletes a field in a tag template and all uses of that field.
- * The user should enable the Data Catalog API in the project identified by
+ * Users should enable the Data Catalog API in the project identified by
* the `name` parameter (see [Data Catalog Resource Project]
* (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -2567,10 +2876,10 @@ protected DataCatalogBlockingStub build(
* (https://cloud.google.com/apis/design/custom_methods) and does not return
* the complete resource, only the resource identifier and high level
* fields. Clients can subsequentally call `Get` methods.
- * Note that searches do not have full recall. There may be results that match
- * your query but are not returned, even in subsequent pages of results. These
- * missing results may vary across repeated calls to search. Do not rely on
- * this method if you need to guarantee full recall.
+ * 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](/data-catalog/docs/how-to/search-reference) for more information.
*
@@ -2585,9 +2894,18 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogResponse searchCatalog(
*
*
*
- * Alpha feature.
* Creates an EntryGroup.
- * The user should enable the Data Catalog API in the project identified by
+ * 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.
+ * 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]
* (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -2602,7 +2920,22 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroup createEntryGroup(
*
*
*
- * Alpha feature.
+ * 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] (/data-catalog/docs/concepts/resource-project) for more
+ * information).
+ *
+ */
+ public com.google.cloud.datacatalog.v1beta1.EntryGroup updateEntryGroup(
+ com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest request) {
+ return blockingUnaryCall(
+ getChannel(), getUpdateEntryGroupMethodHelper(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
* Gets an EntryGroup.
*
*/
@@ -2616,9 +2949,8 @@ public com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroup(
*
*
*
- * Alpha feature.
* Deletes an EntryGroup. Only entry groups that do not contain entries can be
- * deleted. The user should enable the Data Catalog API in the project
+ * deleted. Users should enable the Data Catalog API in the project
* identified by the `name` parameter (see [Data Catalog Resource Project]
* (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -2633,11 +2965,25 @@ public com.google.protobuf.Empty deleteEntryGroup(
*
*
*
- * Alpha feature.
- * Creates an entry. Currently only entries of 'FILESET' type can be created.
- * The user should enable the Data Catalog API in the project identified by
+ * Lists entry groups.
+ *
+ */
+ public com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse listEntryGroups(
+ com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest request) {
+ return blockingUnaryCall(
+ getChannel(), getListEntryGroupsMethodHelper(), getCallOptions(), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Creates an entry. Only entries of 'FILESET' type or 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]
* (/data-catalog/docs/concepts/resource-project) for more information).
+ * A maximum of 100,000 entries may be created per entry group.
*
*/
public com.google.cloud.datacatalog.v1beta1.Entry createEntry(
@@ -2651,7 +2997,7 @@ public com.google.cloud.datacatalog.v1beta1.Entry createEntry(
*
*
* Updates an existing entry.
- * The user should enable the Data Catalog API in the project identified by
+ * Users should enable the Data Catalog API in the project identified by
* the `entry.name` parameter (see [Data Catalog Resource Project]
* (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -2666,11 +3012,10 @@ public com.google.cloud.datacatalog.v1beta1.Entry updateEntry(
*
*
*
- * Alpha feature.
* Deletes an existing entry. Only entries created through
* [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry]
* method can be deleted.
- * The user should enable the Data Catalog API in the project identified by
+ * Users should enable the Data Catalog API in the project identified by
* the `name` parameter (see [Data Catalog Resource Project]
* (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -2708,6 +3053,19 @@ public com.google.cloud.datacatalog.v1beta1.Entry lookupEntry(
getChannel(), getLookupEntryMethodHelper(), getCallOptions(), request);
}
+ /**
+ *
+ *
+ *
+ * Lists entries.
+ *
+ */
+ public com.google.cloud.datacatalog.v1beta1.ListEntriesResponse listEntries(
+ com.google.cloud.datacatalog.v1beta1.ListEntriesRequest request) {
+ return blockingUnaryCall(
+ getChannel(), getListEntriesMethodHelper(), getCallOptions(), request);
+ }
+
/**
*
*
@@ -2744,7 +3102,7 @@ public com.google.cloud.datacatalog.v1beta1.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.
- * The user should enable the Data Catalog API in the project identified by
+ * Users should enable the Data Catalog API in the project identified by
* the `tag_template.name` parameter (see [Data Catalog Resource Project]
* (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -2760,7 +3118,7 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplate updateTagTemplate(
*
*
* Deletes a tag template and all tags using the template.
- * The user should enable the Data Catalog API in the project identified by
+ * Users should enable the Data Catalog API in the project identified by
* the `name` parameter (see [Data Catalog Resource Project]
* (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -2793,7 +3151,7 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateField createTagTemplateFi
*
*
* Updates a field in a tag template. This method cannot be used to update the
- * field type. The user should enable the Data Catalog API in the project
+ * field type. Users should enable the Data Catalog API in the project
* identified by the `name` parameter (see [Data Catalog Resource Project]
* (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -2825,7 +3183,7 @@ public com.google.cloud.datacatalog.v1beta1.TagTemplateField renameTagTemplateFi
*
*
* Deletes a field in a tag template and all uses of that field.
- * The user should enable the Data Catalog API in the project identified by
+ * Users should enable the Data Catalog API in the project identified by
* the `name` parameter (see [Data Catalog Resource Project]
* (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -3000,10 +3358,10 @@ protected DataCatalogFutureStub build(
* (https://cloud.google.com/apis/design/custom_methods) and does not return
* the complete resource, only the resource identifier and high level
* fields. Clients can subsequentally call `Get` methods.
- * Note that searches do not have full recall. There may be results that match
- * your query but are not returned, even in subsequent pages of results. These
- * missing results may vary across repeated calls to search. Do not rely on
- * this method if you need to guarantee full recall.
+ * 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](/data-catalog/docs/how-to/search-reference) for more information.
*
@@ -3019,9 +3377,18 @@ protected DataCatalogFutureStub build(
*
*
*
- * Alpha feature.
* Creates an EntryGroup.
- * The user should enable the Data Catalog API in the project identified by
+ * 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.
+ * 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]
* (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -3037,7 +3404,23 @@ protected DataCatalogFutureStub build(
*
*
*
- * Alpha feature.
+ * 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] (/data-catalog/docs/concepts/resource-project) for more
+ * information).
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.datacatalog.v1beta1.EntryGroup>
+ updateEntryGroup(com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest request) {
+ return futureUnaryCall(
+ getChannel().newCall(getUpdateEntryGroupMethodHelper(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
* Gets an EntryGroup.
*
*/
@@ -3052,9 +3435,8 @@ protected DataCatalogFutureStub build(
*
*
*
- * Alpha feature.
* Deletes an EntryGroup. Only entry groups that do not contain entries can be
- * deleted. The user should enable the Data Catalog API in the project
+ * deleted. Users should enable the Data Catalog API in the project
* identified by the `name` parameter (see [Data Catalog Resource Project]
* (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -3069,11 +3451,26 @@ protected DataCatalogFutureStub build(
*
*
*
- * Alpha feature.
- * Creates an entry. Currently only entries of 'FILESET' type can be created.
- * The user should enable the Data Catalog API in the project identified by
+ * Lists entry groups.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse>
+ listEntryGroups(com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest request) {
+ return futureUnaryCall(
+ getChannel().newCall(getListEntryGroupsMethodHelper(), getCallOptions()), request);
+ }
+
+ /**
+ *
+ *
+ *
+ * Creates an entry. Only entries of 'FILESET' type or 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]
* (/data-catalog/docs/concepts/resource-project) for more information).
+ * A maximum of 100,000 entries may be created per entry group.
*
*/
public com.google.common.util.concurrent.ListenableFuture<
@@ -3088,7 +3485,7 @@ protected DataCatalogFutureStub build(
*
*
* Updates an existing entry.
- * The user should enable the Data Catalog API in the project identified by
+ * Users should enable the Data Catalog API in the project identified by
* the `entry.name` parameter (see [Data Catalog Resource Project]
* (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -3104,11 +3501,10 @@ protected DataCatalogFutureStub build(
*
*
*
- * Alpha feature.
* Deletes an existing entry. Only entries created through
* [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry]
* method can be deleted.
- * The user should enable the Data Catalog API in the project identified by
+ * Users should enable the Data Catalog API in the project identified by
* the `name` parameter (see [Data Catalog Resource Project]
* (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -3149,6 +3545,20 @@ protected DataCatalogFutureStub build(
getChannel().newCall(getLookupEntryMethodHelper(), getCallOptions()), request);
}
+ /**
+ *
+ *
+ *
+ * Lists entries.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.cloud.datacatalog.v1beta1.ListEntriesResponse>
+ listEntries(com.google.cloud.datacatalog.v1beta1.ListEntriesRequest request) {
+ return futureUnaryCall(
+ getChannel().newCall(getListEntriesMethodHelper(), getCallOptions()), request);
+ }
+
/**
*
*
@@ -3187,7 +3597,7 @@ 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.
- * The user should enable the Data Catalog API in the project identified by
+ * Users should enable the Data Catalog API in the project identified by
* the `tag_template.name` parameter (see [Data Catalog Resource Project]
* (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -3204,7 +3614,7 @@ protected DataCatalogFutureStub build(
*
*
* Deletes a tag template and all tags using the template.
- * The user should enable the Data Catalog API in the project identified by
+ * Users should enable the Data Catalog API in the project identified by
* the `name` parameter (see [Data Catalog Resource Project]
* (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -3239,7 +3649,7 @@ protected DataCatalogFutureStub build(
*
*
* Updates a field in a tag template. This method cannot be used to update the
- * field type. The user should enable the Data Catalog API in the project
+ * field type. Users should enable the Data Catalog API in the project
* identified by the `name` parameter (see [Data Catalog Resource Project]
* (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -3275,7 +3685,7 @@ protected DataCatalogFutureStub build(
*
*
* Deletes a field in a tag template and all uses of that field.
- * The user should enable the Data Catalog API in the project identified by
+ * Users should enable the Data Catalog API in the project identified by
* the `name` parameter (see [Data Catalog Resource Project]
* (/data-catalog/docs/concepts/resource-project) for more information).
*
@@ -3429,28 +3839,31 @@ public com.google.common.util.concurrent.ListenableFuture
- * Required. The name of the resource to attach this tag to. Tags can be attached to
- * Entries. Example:
+ * Required. The name of the resource to attach this tag to. Tags can be
+ * attached to Entries. Example:
* * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
* Note that this Tag and its child resources may not actually be stored in
* the location in this name.
@@ -162,8 +162,8 @@ public java.lang.String getParent() {
*
*
*
- * Required. The name of the resource to attach this tag to. Tags can be attached to
- * Entries. Example:
+ * Required. The name of the resource to attach this tag to. Tags can be
+ * attached to Entries. Example:
* * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
* Note that this Tag and its child resources may not actually be stored in
* the location in this name.
@@ -586,8 +586,8 @@ public Builder mergeFrom(
*
*
*
- * Required. The name of the resource to attach this tag to. Tags can be attached to
- * Entries. Example:
+ * Required. The name of the resource to attach this tag to. Tags can be
+ * attached to Entries. Example:
* * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
* Note that this Tag and its child resources may not actually be stored in
* the location in this name.
@@ -614,8 +614,8 @@ public java.lang.String getParent() {
*
*
*
- * Required. The name of the resource to attach this tag to. Tags can be attached to
- * Entries. Example:
+ * Required. The name of the resource to attach this tag to. Tags can be
+ * attached to Entries. Example:
* * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
* Note that this Tag and its child resources may not actually be stored in
* the location in this name.
@@ -642,8 +642,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
*
- * Required. The name of the resource to attach this tag to. Tags can be attached to
- * Entries. Example:
+ * Required. The name of the resource to attach this tag to. Tags can be
+ * attached to Entries. Example:
* * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
* Note that this Tag and its child resources may not actually be stored in
* the location in this name.
@@ -669,8 +669,8 @@ public Builder setParent(java.lang.String value) {
*
*
*
- * Required. The name of the resource to attach this tag to. Tags can be attached to
- * Entries. Example:
+ * Required. The name of the resource to attach this tag to. Tags can be
+ * attached to Entries. Example:
* * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
* Note that this Tag and its child resources may not actually be stored in
* the location in this name.
@@ -692,8 +692,8 @@ public Builder clearParent() {
*
*
*
- * Required. The name of the resource to attach this tag to. Tags can be attached to
- * Entries. Example:
+ * Required. The name of the resource to attach this tag to. Tags can be
+ * attached to Entries. Example:
* * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
* Note that this Tag and its child resources may not actually be stored in
* the location in this name.
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequestOrBuilder.java
index 22819f15..a5bea2b2 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequestOrBuilder.java
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagRequestOrBuilder.java
@@ -27,8 +27,8 @@ public interface CreateTagRequestOrBuilder
*
*
*
- * Required. The name of the resource to attach this tag to. Tags can be attached to
- * Entries. Example:
+ * Required. The name of the resource to attach this tag to. Tags can be
+ * attached to Entries. Example:
* * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
* Note that this Tag and its child resources may not actually be stored in
* the location in this name.
@@ -45,8 +45,8 @@ public interface CreateTagRequestOrBuilder
*
*
*
- * Required. The name of the resource to attach this tag to. Tags can be attached to
- * Entries. Example:
+ * Required. The name of the resource to attach this tag to. Tags can be
+ * attached to Entries. Example:
* * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
* Note that this Tag and its child resources may not actually be stored in
* the location in this name.
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequest.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequest.java
index 17558716..f7a6920e 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequest.java
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequest.java
@@ -143,10 +143,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required. The name of the project this template is in. Example:
- * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
- * Note that this TagTemplateField may not actually be stored in the location
- * in this name.
+ * Required. The name of the project and the template location
+ * [region](/compute/docs/regions-zones/#available).
+ * NOTE: Currently, only the `us-central1 region` is supported.
+ * Example:
+ * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
*
*
*
@@ -170,10 +171,11 @@ public java.lang.String getParent() {
*
*
*
- * Required. The name of the project this template is in. Example:
- * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
- * Note that this TagTemplateField may not actually be stored in the location
- * in this name.
+ * Required. The name of the project and the template location
+ * [region](/compute/docs/regions-zones/#available).
+ * NOTE: Currently, only the `us-central1 region` is supported.
+ * Example:
+ * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
*
*
*
@@ -678,10 +680,11 @@ public Builder mergeFrom(
*
*
*
- * Required. The name of the project this template is in. Example:
- * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
- * Note that this TagTemplateField may not actually be stored in the location
- * in this name.
+ * Required. The name of the project and the template location
+ * [region](/compute/docs/regions-zones/#available).
+ * NOTE: Currently, only the `us-central1 region` is supported.
+ * Example:
+ * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
*
*
*
@@ -705,10 +708,11 @@ public java.lang.String getParent() {
*
*
*
- * Required. The name of the project this template is in. Example:
- * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
- * Note that this TagTemplateField may not actually be stored in the location
- * in this name.
+ * Required. The name of the project and the template location
+ * [region](/compute/docs/regions-zones/#available).
+ * NOTE: Currently, only the `us-central1 region` is supported.
+ * Example:
+ * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
*
*
*
@@ -732,10 +736,11 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
*
- * Required. The name of the project this template is in. Example:
- * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
- * Note that this TagTemplateField may not actually be stored in the location
- * in this name.
+ * Required. The name of the project and the template location
+ * [region](/compute/docs/regions-zones/#available).
+ * NOTE: Currently, only the `us-central1 region` is supported.
+ * Example:
+ * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
*
*
*
@@ -758,10 +763,11 @@ public Builder setParent(java.lang.String value) {
*
*
*
- * Required. The name of the project this template is in. Example:
- * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
- * Note that this TagTemplateField may not actually be stored in the location
- * in this name.
+ * Required. The name of the project and the template location
+ * [region](/compute/docs/regions-zones/#available).
+ * NOTE: Currently, only the `us-central1 region` is supported.
+ * Example:
+ * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
*
*
*
@@ -780,10 +786,11 @@ public Builder clearParent() {
*
*
*
- * Required. The name of the project this template is in. Example:
- * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
- * Note that this TagTemplateField may not actually be stored in the location
- * in this name.
+ * Required. The name of the project and the template location
+ * [region](/compute/docs/regions-zones/#available).
+ * NOTE: Currently, only the `us-central1 region` is supported.
+ * Example:
+ * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
*
*
*
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequestOrBuilder.java
index 1a6efde1..c57f88a4 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequestOrBuilder.java
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateFieldRequestOrBuilder.java
@@ -27,10 +27,11 @@ public interface CreateTagTemplateFieldRequestOrBuilder
*
*
*
- * Required. The name of the project this template is in. Example:
- * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
- * Note that this TagTemplateField may not actually be stored in the location
- * in this name.
+ * Required. The name of the project and the template location
+ * [region](/compute/docs/regions-zones/#available).
+ * NOTE: Currently, only the `us-central1 region` is supported.
+ * Example:
+ * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
*
*
*
@@ -44,10 +45,11 @@ public interface CreateTagTemplateFieldRequestOrBuilder
*
*
*
- * Required. The name of the project this template is in. Example:
- * * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
- * Note that this TagTemplateField may not actually be stored in the location
- * in this name.
+ * Required. The name of the project and the template location
+ * [region](/compute/docs/regions-zones/#available).
+ * NOTE: Currently, only the `us-central1 region` is supported.
+ * Example:
+ * * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
*
*
*
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequest.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequest.java
index f00a8c2b..de10a3f3 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequest.java
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequest.java
@@ -142,11 +142,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required. The name of the project and the location this template is in.
+ * Required. The name of the project and the template location
+ * [region](/compute/docs/regions-zones/#available).
+ * NOTE: Currently, only the `us-central1 region` is supported.
* Example:
- * * projects/{project_id}/locations/{location}
- * TagTemplate and its child resources may not actually be stored in the
- * location in this name.
+ * * projects/{project_id}/locations/us-central1
*
*
*
@@ -170,11 +170,11 @@ public java.lang.String getParent() {
*
*
*
- * Required. The name of the project and the location this template is in.
+ * Required. The name of the project and the template location
+ * [region](/compute/docs/regions-zones/#available).
+ * NOTE: Currently, only the `us-central1 region` is supported.
* Example:
- * * projects/{project_id}/locations/{location}
- * TagTemplate and its child resources may not actually be stored in the
- * location in this name.
+ * * projects/{project_id}/locations/us-central1
*
*
*
@@ -665,11 +665,11 @@ public Builder mergeFrom(
*
*
*
- * Required. The name of the project and the location this template is in.
+ * Required. The name of the project and the template location
+ * [region](/compute/docs/regions-zones/#available).
+ * NOTE: Currently, only the `us-central1 region` is supported.
* Example:
- * * projects/{project_id}/locations/{location}
- * TagTemplate and its child resources may not actually be stored in the
- * location in this name.
+ * * projects/{project_id}/locations/us-central1
*
*
*
@@ -693,11 +693,11 @@ public java.lang.String getParent() {
*
*
*
- * Required. The name of the project and the location this template is in.
+ * Required. The name of the project and the template location
+ * [region](/compute/docs/regions-zones/#available).
+ * NOTE: Currently, only the `us-central1 region` is supported.
* Example:
- * * projects/{project_id}/locations/{location}
- * TagTemplate and its child resources may not actually be stored in the
- * location in this name.
+ * * projects/{project_id}/locations/us-central1
*
*
*
@@ -721,11 +721,11 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
*
- * Required. The name of the project and the location this template is in.
+ * Required. The name of the project and the template location
+ * [region](/compute/docs/regions-zones/#available).
+ * NOTE: Currently, only the `us-central1 region` is supported.
* Example:
- * * projects/{project_id}/locations/{location}
- * TagTemplate and its child resources may not actually be stored in the
- * location in this name.
+ * * projects/{project_id}/locations/us-central1
*
*
*
@@ -748,11 +748,11 @@ public Builder setParent(java.lang.String value) {
*
*
*
- * Required. The name of the project and the location this template is in.
+ * Required. The name of the project and the template location
+ * [region](/compute/docs/regions-zones/#available).
+ * NOTE: Currently, only the `us-central1 region` is supported.
* Example:
- * * projects/{project_id}/locations/{location}
- * TagTemplate and its child resources may not actually be stored in the
- * location in this name.
+ * * projects/{project_id}/locations/us-central1
*
*
*
@@ -771,11 +771,11 @@ public Builder clearParent() {
*
*
*
- * Required. The name of the project and the location this template is in.
+ * Required. The name of the project and the template location
+ * [region](/compute/docs/regions-zones/#available).
+ * NOTE: Currently, only the `us-central1 region` is supported.
* Example:
- * * projects/{project_id}/locations/{location}
- * TagTemplate and its child resources may not actually be stored in the
- * location in this name.
+ * * projects/{project_id}/locations/us-central1
*
*
*
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequestOrBuilder.java
index 09625403..d2e058b8 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequestOrBuilder.java
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/CreateTagTemplateRequestOrBuilder.java
@@ -27,11 +27,11 @@ public interface CreateTagTemplateRequestOrBuilder
*
*
*
- * Required. The name of the project and the location this template is in.
+ * Required. The name of the project and the template location
+ * [region](/compute/docs/regions-zones/#available).
+ * NOTE: Currently, only the `us-central1 region` is supported.
* Example:
- * * projects/{project_id}/locations/{location}
- * TagTemplate and its child resources may not actually be stored in the
- * location in this name.
+ * * projects/{project_id}/locations/us-central1
*
*
*
@@ -45,11 +45,11 @@ public interface CreateTagTemplateRequestOrBuilder
*
*
*
- * Required. The name of the project and the location this template is in.
+ * Required. The name of the project and the template location
+ * [region](/compute/docs/regions-zones/#available).
+ * NOTE: Currently, only the `us-central1 region` is supported.
* Example:
- * * projects/{project_id}/locations/{location}
- * TagTemplate and its child resources may not actually be stored in the
- * location in this name.
+ * * projects/{project_id}/locations/us-central1
*
*
*
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Datacatalog.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Datacatalog.java
index 3f0f829a..761ca7fe 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Datacatalog.java
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Datacatalog.java
@@ -43,6 +43,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_datacatalog_v1beta1_CreateEntryGroupRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -51,6 +55,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -131,6 +143,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
@@ -145,267 +165,311 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "1beta1\032\034google/api/annotations.proto\032\027go"
+ "ogle/api/client.proto\032\037google/api/field_"
+ "behavior.proto\032\031google/api/resource.prot"
- + "o\0327google/cloud/datacatalog/v1beta1/gcs_"
- + "fileset_spec.proto\032-google/cloud/datacat"
- + "alog/v1beta1/schema.proto\032-google/cloud/"
- + "datacatalog/v1beta1/search.proto\0321google"
- + "/cloud/datacatalog/v1beta1/table_spec.pr"
- + "oto\032+google/cloud/datacatalog/v1beta1/ta"
- + "gs.proto\0321google/cloud/datacatalog/v1bet"
- + "a1/timestamps.proto\032\036google/iam/v1/iam_p"
- + "olicy.proto\032\032google/iam/v1/policy.proto\032"
- + "\033google/protobuf/empty.proto\032 google/pro"
- + "tobuf/field_mask.proto\"\236\002\n\024SearchCatalog"
- + "Request\022P\n\005scope\030\006 \001(\0132<.google.cloud.da"
- + "tacatalog.v1beta1.SearchCatalogRequest.S"
- + "copeB\003\340A\002\022\022\n\005query\030\001 \001(\tB\003\340A\002\022\021\n\tpage_si"
- + "ze\030\002 \001(\005\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\022\020\n\010ord"
- + "er_by\030\005 \001(\t\032b\n\005Scope\022\027\n\017include_org_ids\030"
- + "\002 \003(\t\022\033\n\023include_project_ids\030\003 \003(\t\022#\n\033in"
- + "clude_gcp_public_datasets\030\007 \001(\010\"x\n\025Searc"
- + "hCatalogResponse\022F\n\007results\030\001 \003(\01325.goog"
- + "le.cloud.datacatalog.v1beta1.SearchCatal"
- + "ogResult\022\027\n\017next_page_token\030\003 \001(\t\"\270\001\n\027Cr"
- + "eateEntryGroupRequest\022=\n\006parent\030\001 \001(\tB-\340"
- + "A\002\372A\'\022%datacatalog.googleapis.com/EntryG"
- + "roup\022\033\n\016entry_group_id\030\003 \001(\tB\003\340A\002\022A\n\013ent"
- + "ry_group\030\002 \001(\0132,.google.cloud.datacatalo"
- + "g.v1beta1.EntryGroup\"\202\001\n\024GetEntryGroupRe"
- + "quest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%datacatalog"
- + ".googleapis.com/EntryGroup\022-\n\tread_mask\030"
- + "\002 \001(\0132\032.google.protobuf.FieldMask\"V\n\027Del"
- + "eteEntryGroupRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372"
- + "A\'\n%datacatalog.googleapis.com/EntryGrou"
- + "p\"\247\001\n\022CreateEntryRequest\022=\n\006parent\030\001 \001(\t"
- + "B-\340A\002\372A\'\n%datacatalog.googleapis.com/Ent"
- + "ryGroup\022\025\n\010entry_id\030\003 \001(\tB\003\340A\002\022;\n\005entry\030"
- + "\002 \001(\0132\'.google.cloud.datacatalog.v1beta1"
- + ".EntryB\003\340A\002\"\202\001\n\022UpdateEntryRequest\022;\n\005en"
- + "try\030\001 \001(\0132\'.google.cloud.datacatalog.v1b"
- + "eta1.EntryB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.g"
- + "oogle.protobuf.FieldMask\"L\n\022DeleteEntryR"
- + "equest\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n datacatalo"
- + "g.googleapis.com/Entry\"I\n\017GetEntryReques"
+ + "o\032-google/cloud/datacatalog/v1beta1/comm"
+ + "on.proto\0327google/cloud/datacatalog/v1bet"
+ + "a1/gcs_fileset_spec.proto\032-google/cloud/"
+ + "datacatalog/v1beta1/schema.proto\032-google"
+ + "/cloud/datacatalog/v1beta1/search.proto\032"
+ + "1google/cloud/datacatalog/v1beta1/table_"
+ + "spec.proto\032+google/cloud/datacatalog/v1b"
+ + "eta1/tags.proto\0321google/cloud/datacatalo"
+ + "g/v1beta1/timestamps.proto\032\036google/iam/v"
+ + "1/iam_policy.proto\032\032google/iam/v1/policy"
+ + ".proto\032\033google/protobuf/empty.proto\032 goo"
+ + "gle/protobuf/field_mask.proto\"\236\002\n\024Search"
+ + "CatalogRequest\022P\n\005scope\030\006 \001(\0132<.google.c"
+ + "loud.datacatalog.v1beta1.SearchCatalogRe"
+ + "quest.ScopeB\003\340A\002\022\022\n\005query\030\001 \001(\tB\003\340A\002\022\021\n\t"
+ + "page_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\032b\n\005Scope\022\027\n\017include_o"
+ + "rg_ids\030\002 \003(\t\022\033\n\023include_project_ids\030\003 \003("
+ + "\t\022#\n\033include_gcp_public_datasets\030\007 \001(\010\"x"
+ + "\n\025SearchCatalogResponse\022F\n\007results\030\001 \003(\013"
+ + "25.google.cloud.datacatalog.v1beta1.Sear"
+ + "chCatalogResult\022\027\n\017next_page_token\030\003 \001(\t"
+ + "\"\270\001\n\027CreateEntryGroupRequest\022=\n\006parent\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"
+ + "\022A\n\013entry_group\030\002 \001(\0132,.google.cloud.dat"
+ + "acatalog.v1beta1.EntryGroup\"\222\001\n\027UpdateEn"
+ + "tryGroupRequest\022F\n\013entry_group\030\001 \001(\0132,.g"
+ + "oogle.cloud.datacatalog.v1beta1.EntryGro"
+ + "upB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.pr"
+ + "otobuf.FieldMask\"\202\001\n\024GetEntryGroupReques"
+ + "t\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%datacatalog.goo"
+ + "gleapis.com/EntryGroup\022-\n\tread_mask\030\002 \001("
+ + "\0132\032.google.protobuf.FieldMask\"j\n\027DeleteE"
+ + "ntryGroupRequest\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\026ListEntryGroupsReq"
+ + "uest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%datacatalo"
+ + "g.googleapis.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\"v\n\027"
+ + "ListEntryGroupsResponse\022B\n\014entry_groups\030"
+ + "\001 \003(\0132,.google.cloud.datacatalog.v1beta1"
+ + ".EntryGroup\022\027\n\017next_page_token\030\002 \001(\t\"\247\001\n"
+ + "\022CreateEntryRequest\022=\n\006parent\030\001 \001(\tB-\340A\002"
+ + "\372A\'\n%datacatalog.googleapis.com/EntryGro"
+ + "up\022\025\n\010entry_id\030\003 \001(\tB\003\340A\002\022;\n\005entry\030\002 \001(\013"
+ + "2\'.google.cloud.datacatalog.v1beta1.Entr"
+ + "yB\003\340A\002\"\202\001\n\022UpdateEntryRequest\022;\n\005entry\030\001"
+ + " \001(\0132\'.google.cloud.datacatalog.v1beta1."
+ + "EntryB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google"
+ + ".protobuf.FieldMask\"L\n\022DeleteEntryReques"
+ "t\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n datacatalog.goo"
- + "gleapis.com/Entry\"V\n\022LookupEntryRequest\022"
- + "\031\n\017linked_resource\030\001 \001(\tH\000\022\026\n\014sql_resour"
- + "ce\030\003 \001(\tH\000B\r\n\013target_name\"\364\005\n\005Entry\0228\n\004n"
- + "ame\030\001 \001(\tB*\372A\'\n%datacatalog.googleapis.c"
- + "om/EntryGroup\022\034\n\017linked_resource\030\t \001(\tB\003"
- + "\340A\003\022;\n\004type\030\002 \001(\0162+.google.cloud.datacat"
- + "alog.v1beta1.EntryTypeH\000\022L\n\020gcs_fileset_"
- + "spec\030\006 \001(\01320.google.cloud.datacatalog.v1"
- + "beta1.GcsFilesetSpecH\001\022R\n\023bigquery_table"
- + "_spec\030\014 \001(\01323.google.cloud.datacatalog.v"
- + "1beta1.BigQueryTableSpecH\001\022_\n\032bigquery_d"
- + "ate_sharded_spec\030\017 \001(\01329.google.cloud.da"
- + "tacatalog.v1beta1.BigQueryDateShardedSpe"
- + "cH\001\022\024\n\014display_name\030\003 \001(\t\022\023\n\013description"
- + "\030\004 \001(\t\0228\n\006schema\030\005 \001(\0132(.google.cloud.da"
- + "tacatalog.v1beta1.Schema\022Y\n\030source_syste"
- + "m_timestamps\030\007 \001(\01322.google.cloud.dataca"
- + "talog.v1beta1.SystemTimestampsB\003\340A\003:x\352Au"
- + "\n datacatalog.googleapis.com/Entry\022Qproj"
- + "ects/{project}/locations/{location}/entr"
- + "yGroups/{entry_group}/entries/{entry}B\014\n"
- + "\nentry_typeB\013\n\ttype_spec\"\216\002\n\nEntryGroup\022"
- + "\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022\023\n\013d"
- + "escription\030\003 \001(\t\022X\n\027data_catalog_timesta"
- + "mps\030\004 \001(\01322.google.cloud.datacatalog.v1b"
- + "eta1.SystemTimestampsB\003\340A\003:m\352Aj\n%datacat"
- + "alog.googleapis.com/EntryGroup\022Aprojects"
- + "/{project}/locations/{location}/entryGro"
- + "ups/{entry_group}\"\302\001\n\030CreateTagTemplateR"
- + "equest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&datacata"
- + "log.googleapis.com/TagTemplate\022\034\n\017tag_te"
- + "mplate_id\030\003 \001(\tB\003\340A\002\022H\n\014tag_template\030\002 \001"
- + "(\0132-.google.cloud.datacatalog.v1beta1.Ta"
- + "gTemplateB\003\340A\002\"U\n\025GetTagTemplateRequest\022"
- + "<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&datacatalog.googl"
- + "eapis.com/TagTemplate\"\225\001\n\030UpdateTagTempl"
- + "ateRequest\022H\n\014tag_template\030\001 \001(\0132-.googl"
+ + "gleapis.com/Entry\"I\n\017GetEntryRequest\0226\n\004"
+ + "name\030\001 \001(\tB(\340A\002\372A\"\n datacatalog.googleap"
+ + "is.com/Entry\"V\n\022LookupEntryRequest\022\031\n\017li"
+ + "nked_resource\030\001 \001(\tH\000\022\026\n\014sql_resource\030\003 "
+ + "\001(\tH\000B\r\n\013target_name\"\217\007\n\005Entry\0228\n\004name\030\001"
+ + " \001(\tB*\372A\'\n%datacatalog.googleapis.com/En"
+ + "tryGroup\022\027\n\017linked_resource\030\t \001(\t\022;\n\004typ"
+ + "e\030\002 \001(\0162+.google.cloud.datacatalog.v1bet"
+ + "a1.EntryTypeH\000\022\035\n\023user_specified_type\030\020 "
+ + "\001(\tH\000\022T\n\021integrated_system\030\021 \001(\01622.googl"
+ + "e.cloud.datacatalog.v1beta1.IntegratedSy"
+ + "stemB\003\340A\003H\001\022\037\n\025user_specified_system\030\022 \001"
+ + "(\tH\001\022L\n\020gcs_fileset_spec\030\006 \001(\01320.google."
+ + "cloud.datacatalog.v1beta1.GcsFilesetSpec"
+ + "H\002\022R\n\023bigquery_table_spec\030\014 \001(\01323.google"
+ + ".cloud.datacatalog.v1beta1.BigQueryTable"
+ + "SpecH\002\022_\n\032bigquery_date_sharded_spec\030\017 \001"
+ + "(\01329.google.cloud.datacatalog.v1beta1.Bi"
+ + "gQueryDateShardedSpecH\002\022\024\n\014display_name\030"
+ + "\003 \001(\t\022\023\n\013description\030\004 \001(\t\0228\n\006schema\030\005 \001"
+ + "(\0132(.google.cloud.datacatalog.v1beta1.Sc"
+ + "hema\022Y\n\030source_system_timestamps\030\007 \001(\01322"
+ + ".google.cloud.datacatalog.v1beta1.System"
+ + "TimestampsB\003\340A\003:x\352Au\n datacatalog.google"
+ + "apis.com/Entry\022Qprojects/{project}/locat"
+ + "ions/{location}/entryGroups/{entry_group"
+ + "}/entries/{entry}B\014\n\nentry_typeB\010\n\006syste"
+ + "mB\013\n\ttype_spec\"\216\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\022X\n\027data_catalog_timestamps\030\004 \001(\0132"
+ + "2.google.cloud.datacatalog.v1beta1.Syste"
+ + "mTimestampsB\003\340A\003:m\352Aj\n%datacatalog.googl"
+ + "eapis.com/EntryGroup\022Aprojects/{project}"
+ + "/locations/{location}/entryGroups/{entry"
+ + "_group}\"\302\001\n\030CreateTagTemplateRequest\022>\n\006"
+ + "parent\030\001 \001(\tB.\340A\002\372A(\022&datacatalog.google"
+ + "apis.com/TagTemplate\022\034\n\017tag_template_id\030"
+ + "\003 \001(\tB\003\340A\002\022H\n\014tag_template\030\002 \001(\0132-.googl"
+ "e.cloud.datacatalog.v1beta1.TagTemplateB"
+ + "\003\340A\002\"U\n\025GetTagTemplateRequest\022<\n\004name\030\001 "
+ + "\001(\tB.\340A\002\372A(\n&datacatalog.googleapis.com/"
+ + "TagTemplate\"\225\001\n\030UpdateTagTemplateRequest"
+ + "\022H\n\014tag_template\030\001 \001(\0132-.google.cloud.da"
+ + "tacatalog.v1beta1.TagTemplateB\003\340A\002\022/\n\013up"
+ + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM"
+ + "ask\"l\n\030DeleteTagTemplateRequest\022<\n\004name\030"
+ + "\001 \001(\tB.\340A\002\372A(\n&datacatalog.googleapis.co"
+ + "m/TagTemplate\022\022\n\005force\030\002 \001(\010B\003\340A\002\"\203\001\n\020Cr"
+ + "eateTagRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \n\036"
+ + "datacatalog.googleapis.com/Tag\0227\n\003tag\030\002 "
+ + "\001(\0132%.google.cloud.datacatalog.v1beta1.T"
+ + "agB\003\340A\002\"|\n\020UpdateTagRequest\0227\n\003tag\030\001 \001(\013"
+ + "2%.google.cloud.datacatalog.v1beta1.TagB"
+ "\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.proto"
- + "buf.FieldMask\"l\n\030DeleteTagTemplateReques"
- + "t\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&datacatalog.goo"
- + "gleapis.com/TagTemplate\022\022\n\005force\030\002 \001(\010B\003"
- + "\340A\002\"\203\001\n\020CreateTagRequest\0226\n\006parent\030\001 \001(\t"
- + "B&\340A\002\372A \n\036datacatalog.googleapis.com/Tag"
- + "\0227\n\003tag\030\002 \001(\0132%.google.cloud.datacatalog"
- + ".v1beta1.TagB\003\340A\002\"|\n\020UpdateTagRequest\0227\n"
- + "\003tag\030\001 \001(\0132%.google.cloud.datacatalog.v1"
- + "beta1.TagB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.go"
- + "ogle.protobuf.FieldMask\"H\n\020DeleteTagRequ"
- + "est\0224\n\004name\030\001 \001(\tB&\340A\002\372A \022\036datacatalog.g"
- + "oogleapis.com/Tag\"\330\001\n\035CreateTagTemplateF"
- + "ieldRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\n&dat"
- + "acatalog.googleapis.com/TagTemplate\022\"\n\025t"
- + "ag_template_field_id\030\002 \001(\tB\003\340A\002\022S\n\022tag_t"
- + "emplate_field\030\003 \001(\01322.google.cloud.datac"
- + "atalog.v1beta1.TagTemplateFieldB\003\340A\002\"\355\001\n"
- + "\035UpdateTagTemplateFieldRequest\022A\n\004name\030\001"
- + " \001(\tB3\340A\002\372A-\n+datacatalog.googleapis.com"
- + "/TagTemplateField\022S\n\022tag_template_field\030"
- + "\002 \001(\01322.google.cloud.datacatalog.v1beta1"
- + ".TagTemplateFieldB\003\340A\002\0224\n\013update_mask\030\003 "
- + "\001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\"\212\001\n"
- + "\035RenameTagTemplateFieldRequest\022A\n\004name\030\001"
- + " \001(\tB3\340A\002\372A-\n+datacatalog.googleapis.com"
- + "/TagTemplateField\022&\n\031new_tag_template_fi"
- + "eld_id\030\002 \001(\tB\003\340A\002\"v\n\035DeleteTagTemplateFi"
- + "eldRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+dataca"
- + "talog.googleapis.com/TagTemplateField\022\022\n"
- + "\005force\030\002 \001(\010B\003\340A\002\"p\n\017ListTagsRequest\0226\n\006"
- + "parent\030\001 \001(\tB&\340A\002\372A \022\036datacatalog.google"
- + "apis.com/Tag\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_"
- + "token\030\003 \001(\t\"`\n\020ListTagsResponse\0223\n\004tags\030"
- + "\001 \003(\0132%.google.cloud.datacatalog.v1beta1"
- + ".Tag\022\027\n\017next_page_token\030\002 \001(\t*P\n\tEntryTy"
- + "pe\022\032\n\026ENTRY_TYPE_UNSPECIFIED\020\000\022\t\n\005TABLE\020"
- + "\002\022\017\n\013DATA_STREAM\020\003\022\013\n\007FILESET\020\0042\310+\n\013Data"
- + "Catalog\022\262\001\n\rSearchCatalog\0226.google.cloud"
- + ".datacatalog.v1beta1.SearchCatalogReques"
- + "t\0327.google.cloud.datacatalog.v1beta1.Sea"
- + "rchCatalogResponse\"0\202\323\344\223\002\034\"\027/v1beta1/cat"
- + "alog:search:\001*\332A\013scope,query\022\352\001\n\020CreateE"
- + "ntryGroup\0229.google.cloud.datacatalog.v1b"
- + "eta1.CreateEntryGroupRequest\032,.google.cl"
- + "oud.datacatalog.v1beta1.EntryGroup\"m\202\323\344\223"
- + "\002C\"4/v1beta1/{parent=projects/*/location"
- + "s/*}/entryGroups:\013entry_group\332A!parent,e"
- + "ntry_group_id,entry_group\022\313\001\n\rGetEntryGr"
- + "oup\0226.google.cloud.datacatalog.v1beta1.G"
- + "etEntryGroupRequest\032,.google.cloud.datac"
- + "atalog.v1beta1.EntryGroup\"T\202\323\344\223\0026\0224/v1be"
- + "ta1/{name=projects/*/locations/*/entryGr"
- + "oups/*}\332A\004name\332A\016name,read_mask\022\252\001\n\020Dele"
- + "teEntryGroup\0229.google.cloud.datacatalog."
- + "v1beta1.DeleteEntryGroupRequest\032\026.google"
- + ".protobuf.Empty\"C\202\323\344\223\0026*4/v1beta1/{name="
- + "projects/*/locations/*/entryGroups/*}\332A\004"
- + "name\022\323\001\n\013CreateEntry\0224.google.cloud.data"
- + "catalog.v1beta1.CreateEntryRequest\032\'.goo"
- + "gle.cloud.datacatalog.v1beta1.Entry\"e\202\323\344"
- + "\223\002G\">/v1beta1/{parent=projects/*/locatio"
- + "ns/*/entryGroups/*}/entries:\005entry\332A\025par"
- + "ent,entry_id,entry\022\335\001\n\013UpdateEntry\0224.goo"
- + "gle.cloud.datacatalog.v1beta1.UpdateEntr"
- + "yRequest\032\'.google.cloud.datacatalog.v1be"
- + "ta1.Entry\"o\202\323\344\223\002M2D/v1beta1/{entry.name="
- + "projects/*/locations/*/entryGroups/*/ent"
- + "ries/*}:\005entry\332A\005entry\332A\021entry,update_ma"
- + "sk\022\252\001\n\013DeleteEntry\0224.google.cloud.dataca"
- + "talog.v1beta1.DeleteEntryRequest\032\026.googl"
- + "e.protobuf.Empty\"M\202\323\344\223\002@*>/v1beta1/{name"
- + "=projects/*/locations/*/entryGroups/*/en"
- + "tries/*}\332A\004name\022\265\001\n\010GetEntry\0221.google.cl"
- + "oud.datacatalog.v1beta1.GetEntryRequest\032"
- + "\'.google.cloud.datacatalog.v1beta1.Entry"
- + "\"M\202\323\344\223\002@\022>/v1beta1/{name=projects/*/loca"
- + "tions/*/entryGroups/*/entries/*}\332A\004name\022"
- + "\215\001\n\013LookupEntry\0224.google.cloud.datacatal"
- + "og.v1beta1.LookupEntryRequest\032\'.google.c"
- + "loud.datacatalog.v1beta1.Entry\"\037\202\323\344\223\002\031\022\027"
- + "/v1beta1/entries:lookup\022\361\001\n\021CreateTagTem"
- + "plate\022:.google.cloud.datacatalog.v1beta1"
- + ".CreateTagTemplateRequest\032-.google.cloud"
- + ".datacatalog.v1beta1.TagTemplate\"q\202\323\344\223\002E"
- + "\"5/v1beta1/{parent=projects/*/locations/"
- + "*}/tagTemplates:\014tag_template\332A#parent,t"
- + "ag_template_id,tag_template\022\276\001\n\016GetTagTe"
- + "mplate\0227.google.cloud.datacatalog.v1beta"
- + "1.GetTagTemplateRequest\032-.google.cloud.d"
- + "atacatalog.v1beta1.TagTemplate\"D\202\323\344\223\0027\0225"
- + "/v1beta1/{name=projects/*/locations/*/ta"
- + "gTemplates/*}\332A\004name\022\203\002\n\021UpdateTagTempla"
- + "te\022:.google.cloud.datacatalog.v1beta1.Up"
- + "dateTagTemplateRequest\032-.google.cloud.da"
- + "tacatalog.v1beta1.TagTemplate\"\202\001\202\323\344\223\002R2B"
- + "/v1beta1/{tag_template.name=projects/*/l"
- + "ocations/*/tagTemplates/*}:\014tag_template"
- + "\332A\014tag_template\332A\030tag_template,update_ma"
- + "sk\022\263\001\n\021DeleteTagTemplate\022:.google.cloud."
- + "datacatalog.v1beta1.DeleteTagTemplateReq"
- + "uest\032\026.google.protobuf.Empty\"J\202\323\344\223\0027*5/v"
- + "1beta1/{name=projects/*/locations/*/tagT"
- + "emplates/*}\332A\nname,force\022\234\002\n\026CreateTagTe"
- + "mplateField\022?.google.cloud.datacatalog.v"
- + "1beta1.CreateTagTemplateFieldRequest\0322.g"
- + "oogle.cloud.datacatalog.v1beta1.TagTempl"
- + "ateField\"\214\001\202\323\344\223\002T\">/v1beta1/{parent=proj"
- + "ects/*/locations/*/tagTemplates/*}/field"
- + "s:\022tag_template_field\332A/parent,tag_templ"
- + "ate_field_id,tag_template_field\022\252\002\n\026Upda"
- + "teTagTemplateField\022?.google.cloud.dataca"
- + "talog.v1beta1.UpdateTagTemplateFieldRequ"
- + "est\0322.google.cloud.datacatalog.v1beta1.T"
- + "agTemplateField\"\232\001\202\323\344\223\002T2>/v1beta1/{name"
- + "=projects/*/locations/*/tagTemplates/*/f"
- + "ields/*}:\022tag_template_field\332A\027name,tag_"
- + "template_field\332A#name,tag_template_field"
- + ",update_mask\022\200\002\n\026RenameTagTemplateField\022"
- + "?.google.cloud.datacatalog.v1beta1.Renam"
- + "eTagTemplateFieldRequest\0322.google.cloud."
- + "datacatalog.v1beta1.TagTemplateField\"q\202\323"
- + "\344\223\002J\"E/v1beta1/{name=projects/*/location"
- + "s/*/tagTemplates/*/fields/*}:rename:\001*\332A"
- + "\036name,new_tag_template_field_id\022\306\001\n\026Dele"
- + "teTagTemplateField\022?.google.cloud.dataca"
- + "talog.v1beta1.DeleteTagTemplateFieldRequ"
- + "est\032\026.google.protobuf.Empty\"S\202\323\344\223\002@*>/v1"
- + "beta1/{name=projects/*/locations/*/tagTe"
- + "mplates/*/fields/*}\332A\nname,force\022\307\001\n\tCre"
- + "ateTag\0222.google.cloud.datacatalog.v1beta"
- + "1.CreateTagRequest\032%.google.cloud.dataca"
- + "talog.v1beta1.Tag\"_\202\323\344\223\002L\"E/v1beta1/{par"
- + "ent=projects/*/locations/*/entryGroups/*"
- + "/entries/*}/tags:\003tag\332A\nparent,tag\022\326\001\n\tU"
- + "pdateTag\0222.google.cloud.datacatalog.v1be"
- + "ta1.UpdateTagRequest\032%.google.cloud.data"
- + "catalog.v1beta1.Tag\"n\202\323\344\223\002P2I/v1beta1/{t"
- + "ag.name=projects/*/locations/*/entryGrou"
- + "ps/*/entries/*/tags/*}:\003tag\332A\003tag\332A\017tag,"
- + "update_mask\022\255\001\n\tDeleteTag\0222.google.cloud"
- + ".datacatalog.v1beta1.DeleteTagRequest\032\026."
- + "google.protobuf.Empty\"T\202\323\344\223\002G*E/v1beta1/"
- + "{name=projects/*/locations/*/entryGroups"
- + "/*/entries/*/tags/*}\332A\004name\022\311\001\n\010ListTags"
- + "\0221.google.cloud.datacatalog.v1beta1.List"
- + "TagsRequest\0322.google.cloud.datacatalog.v"
- + "1beta1.ListTagsResponse\"V\202\323\344\223\002G\022E/v1beta"
- + "1/{parent=projects/*/locations/*/entryGr"
- + "oups/*/entries/*}/tags\332A\006parent\022\300\002\n\014SetI"
- + "amPolicy\022\".google.iam.v1.SetIamPolicyReq"
- + "uest\032\025.google.iam.v1.Policy\"\364\001\202\323\344\223\002\355\001\"F/"
- + "v1beta1/{resource=projects/*/locations/*"
- + "/tagTemplates/*}:setIamPolicy:\001*ZJ\"E/v1b"
- + "eta1/{resource=projects/*/locations/*/en"
- + "tryGroups/*}:setIamPolicy:\001*ZT\"O/v1beta1"
- + "/{resource=projects/*/locations/*/entryG"
- + "roups/*/entries/*}:setIamPolicy:\001*\022\300\002\n\014G"
- + "etIamPolicy\022\".google.iam.v1.GetIamPolicy"
- + "Request\032\025.google.iam.v1.Policy\"\364\001\202\323\344\223\002\355\001"
- + "\"F/v1beta1/{resource=projects/*/location"
- + "s/*/tagTemplates/*}:getIamPolicy:\001*ZJ\"E/"
- + "v1beta1/{resource=projects/*/locations/*"
- + "/entryGroups/*}:getIamPolicy:\001*ZT\"O/v1be"
- + "ta1/{resource=projects/*/locations/*/ent"
- + "ryGroups/*/entries/*}:getIamPolicy:\001*\022\362\002"
- + "\n\022TestIamPermissions\022(.google.iam.v1.Tes"
- + "tIamPermissionsRequest\032).google.iam.v1.T"
- + "estIamPermissionsResponse\"\206\002\202\323\344\223\002\377\001\"L/v1"
- + "beta1/{resource=projects/*/locations/*/t"
- + "agTemplates/*}:testIamPermissions:\001*ZP\"K"
- + "/v1beta1/{resource=projects/*/locations/"
- + "*/entryGroups/*}:testIamPermissions:\001*ZZ"
- + "\"U/v1beta1/{resource=projects/*/location"
- + "s/*/entryGroups/*/entries/*}:testIamPerm"
- + "issions:\001*\032N\312A\032datacatalog.googleapis.co"
- + "m\322A.https://www.googleapis.com/auth/clou"
- + "d-platformBx\n$com.google.cloud.datacatal"
- + "og.v1beta1P\001ZKgoogle.golang.org/genproto"
- + "/googleapis/cloud/datacatalog/v1beta1;da"
- + "tacatalog\370\001\001b\006proto3"
+ + "buf.FieldMask\"H\n\020DeleteTagRequest\0224\n\004nam"
+ + "e\030\001 \001(\tB&\340A\002\372A \022\036datacatalog.googleapis."
+ + "com/Tag\"\330\001\n\035CreateTagTemplateFieldReques"
+ + "t\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\n&datacatalog.g"
+ + "oogleapis.com/TagTemplate\022\"\n\025tag_templat"
+ + "e_field_id\030\002 \001(\tB\003\340A\002\022S\n\022tag_template_fi"
+ + "eld\030\003 \001(\01322.google.cloud.datacatalog.v1b"
+ + "eta1.TagTemplateFieldB\003\340A\002\"\355\001\n\035UpdateTag"
+ + "TemplateFieldRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372"
+ + "A-\n+datacatalog.googleapis.com/TagTempla"
+ + "teField\022S\n\022tag_template_field\030\002 \001(\01322.go"
+ + "ogle.cloud.datacatalog.v1beta1.TagTempla"
+ + "teFieldB\003\340A\002\0224\n\013update_mask\030\003 \001(\0132\032.goog"
+ + "le.protobuf.FieldMaskB\003\340A\001\"\212\001\n\035RenameTag"
+ + "TemplateFieldRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372"
+ + "A-\n+datacatalog.googleapis.com/TagTempla"
+ + "teField\022&\n\031new_tag_template_field_id\030\002 \001"
+ + "(\tB\003\340A\002\"v\n\035DeleteTagTemplateFieldRequest"
+ + "\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+datacatalog.goog"
+ + "leapis.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/T"
+ + "ag\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001("
+ + "\t\"`\n\020ListTagsResponse\0223\n\004tags\030\001 \003(\0132%.go"
+ + "ogle.cloud.datacatalog.v1beta1.Tag\022\027\n\017ne"
+ + "xt_page_token\030\002 \001(\t\"\251\001\n\022ListEntriesReque"
+ + "st\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%datacatalog."
+ + "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\"h\n\023ListE"
+ + "ntriesResponse\0228\n\007entries\030\001 \003(\0132\'.google"
+ + ".cloud.datacatalog.v1beta1.Entry\022\027\n\017next"
+ + "_page_token\030\002 \001(\t*[\n\tEntryType\022\032\n\026ENTRY_"
+ + "TYPE_UNSPECIFIED\020\000\022\t\n\005TABLE\020\002\022\t\n\005MODEL\020\005"
+ + "\022\017\n\013DATA_STREAM\020\003\022\013\n\007FILESET\020\0042\2372\n\013DataC"
+ + "atalog\022\262\001\n\rSearchCatalog\0226.google.cloud."
+ + "datacatalog.v1beta1.SearchCatalogRequest"
+ + "\0327.google.cloud.datacatalog.v1beta1.Sear"
+ + "chCatalogResponse\"0\202\323\344\223\002\034\"\027/v1beta1/cata"
+ + "log:search:\001*\332A\013scope,query\022\352\001\n\020CreateEn"
+ + "tryGroup\0229.google.cloud.datacatalog.v1be"
+ + "ta1.CreateEntryGroupRequest\032,.google.clo"
+ + "ud.datacatalog.v1beta1.EntryGroup\"m\202\323\344\223\002"
+ + "C\"4/v1beta1/{parent=projects/*/locations"
+ + "/*}/entryGroups:\013entry_group\332A!parent,en"
+ + "try_group_id,entry_group\022\372\001\n\020UpdateEntry"
+ + "Group\0229.google.cloud.datacatalog.v1beta1"
+ + ".UpdateEntryGroupRequest\032,.google.cloud."
+ + "datacatalog.v1beta1.EntryGroup\"}\202\323\344\223\002O2@"
+ + "/v1beta1/{entry_group.name=projects/*/lo"
+ + "cations/*/entryGroups/*}:\013entry_group\332A\013"
+ + "entry_group\332A\027entry_group,update_mask\022\313\001"
+ + "\n\rGetEntryGroup\0226.google.cloud.datacatal"
+ + "og.v1beta1.GetEntryGroupRequest\032,.google"
+ + ".cloud.datacatalog.v1beta1.EntryGroup\"T\202"
+ + "\323\344\223\0026\0224/v1beta1/{name=projects/*/locatio"
+ + "ns/*/entryGroups/*}\332A\004name\332A\016name,read_m"
+ + "ask\022\252\001\n\020DeleteEntryGroup\0229.google.cloud."
+ + "datacatalog.v1beta1.DeleteEntryGroupRequ"
+ + "est\032\026.google.protobuf.Empty\"C\202\323\344\223\0026*4/v1"
+ + "beta1/{name=projects/*/locations/*/entry"
+ + "Groups/*}\332A\004name\022\315\001\n\017ListEntryGroups\0228.g"
+ + "oogle.cloud.datacatalog.v1beta1.ListEntr"
+ + "yGroupsRequest\0329.google.cloud.datacatalo"
+ + "g.v1beta1.ListEntryGroupsResponse\"E\202\323\344\223\002"
+ + "6\0224/v1beta1/{parent=projects/*/locations"
+ + "/*}/entryGroups\332A\006parent\022\323\001\n\013CreateEntry"
+ + "\0224.google.cloud.datacatalog.v1beta1.Crea"
+ + "teEntryRequest\032\'.google.cloud.datacatalo"
+ + "g.v1beta1.Entry\"e\202\323\344\223\002G\">/v1beta1/{paren"
+ + "t=projects/*/locations/*/entryGroups/*}/"
+ + "entries:\005entry\332A\025parent,entry_id,entry\022\335"
+ + "\001\n\013UpdateEntry\0224.google.cloud.datacatalo"
+ + "g.v1beta1.UpdateEntryRequest\032\'.google.cl"
+ + "oud.datacatalog.v1beta1.Entry\"o\202\323\344\223\002M2D/"
+ + "v1beta1/{entry.name=projects/*/locations"
+ + "/*/entryGroups/*/entries/*}:\005entry\332A\005ent"
+ + "ry\332A\021entry,update_mask\022\252\001\n\013DeleteEntry\0224"
+ + ".google.cloud.datacatalog.v1beta1.Delete"
+ + "EntryRequest\032\026.google.protobuf.Empty\"M\202\323"
+ + "\344\223\002@*>/v1beta1/{name=projects/*/location"
+ + "s/*/entryGroups/*/entries/*}\332A\004name\022\265\001\n\010"
+ + "GetEntry\0221.google.cloud.datacatalog.v1be"
+ + "ta1.GetEntryRequest\032\'.google.cloud.datac"
+ + "atalog.v1beta1.Entry\"M\202\323\344\223\002@\022>/v1beta1/{"
+ + "name=projects/*/locations/*/entryGroups/"
+ + "*/entries/*}\332A\004name\022\215\001\n\013LookupEntry\0224.go"
+ + "ogle.cloud.datacatalog.v1beta1.LookupEnt"
+ + "ryRequest\032\'.google.cloud.datacatalog.v1b"
+ + "eta1.Entry\"\037\202\323\344\223\002\031\022\027/v1beta1/entries:loo"
+ + "kup\022\313\001\n\013ListEntries\0224.google.cloud.datac"
+ + "atalog.v1beta1.ListEntriesRequest\0325.goog"
+ + "le.cloud.datacatalog.v1beta1.ListEntries"
+ + "Response\"O\202\323\344\223\002@\022>/v1beta1/{parent=proje"
+ + "cts/*/locations/*/entryGroups/*}/entries"
+ + "\332A\006parent\022\361\001\n\021CreateTagTemplate\022:.google"
+ + ".cloud.datacatalog.v1beta1.CreateTagTemp"
+ + "lateRequest\032-.google.cloud.datacatalog.v"
+ + "1beta1.TagTemplate\"q\202\323\344\223\002E\"5/v1beta1/{pa"
+ + "rent=projects/*/locations/*}/tagTemplate"
+ + "s:\014tag_template\332A#parent,tag_template_id"
+ + ",tag_template\022\276\001\n\016GetTagTemplate\0227.googl"
+ + "e.cloud.datacatalog.v1beta1.GetTagTempla"
+ + "teRequest\032-.google.cloud.datacatalog.v1b"
+ + "eta1.TagTemplate\"D\202\323\344\223\0027\0225/v1beta1/{name"
+ + "=projects/*/locations/*/tagTemplates/*}\332"
+ + "A\004name\022\203\002\n\021UpdateTagTemplate\022:.google.cl"
+ + "oud.datacatalog.v1beta1.UpdateTagTemplat"
+ + "eRequest\032-.google.cloud.datacatalog.v1be"
+ + "ta1.TagTemplate\"\202\001\202\323\344\223\002R2B/v1beta1/{tag_"
+ + "template.name=projects/*/locations/*/tag"
+ + "Templates/*}:\014tag_template\332A\014tag_templat"
+ + "e\332A\030tag_template,update_mask\022\263\001\n\021DeleteT"
+ + "agTemplate\022:.google.cloud.datacatalog.v1"
+ + "beta1.DeleteTagTemplateRequest\032\026.google."
+ + "protobuf.Empty\"J\202\323\344\223\0027*5/v1beta1/{name=p"
+ + "rojects/*/locations/*/tagTemplates/*}\332A\n"
+ + "name,force\022\234\002\n\026CreateTagTemplateField\022?."
+ + "google.cloud.datacatalog.v1beta1.CreateT"
+ + "agTemplateFieldRequest\0322.google.cloud.da"
+ + "tacatalog.v1beta1.TagTemplateField\"\214\001\202\323\344"
+ + "\223\002T\">/v1beta1/{parent=projects/*/locatio"
+ + "ns/*/tagTemplates/*}/fields:\022tag_templat"
+ + "e_field\332A/parent,tag_template_field_id,t"
+ + "ag_template_field\022\252\002\n\026UpdateTagTemplateF"
+ + "ield\022?.google.cloud.datacatalog.v1beta1."
+ + "UpdateTagTemplateFieldRequest\0322.google.c"
+ + "loud.datacatalog.v1beta1.TagTemplateFiel"
+ + "d\"\232\001\202\323\344\223\002T2>/v1beta1/{name=projects/*/lo"
+ + "cations/*/tagTemplates/*/fields/*}:\022tag_"
+ + "template_field\332A\027name,tag_template_field"
+ + "\332A#name,tag_template_field,update_mask\022\200"
+ + "\002\n\026RenameTagTemplateField\022?.google.cloud"
+ + ".datacatalog.v1beta1.RenameTagTemplateFi"
+ + "eldRequest\0322.google.cloud.datacatalog.v1"
+ + "beta1.TagTemplateField\"q\202\323\344\223\002J\"E/v1beta1"
+ + "/{name=projects/*/locations/*/tagTemplat"
+ + "es/*/fields/*}:rename:\001*\332A\036name,new_tag_"
+ + "template_field_id\022\306\001\n\026DeleteTagTemplateF"
+ + "ield\022?.google.cloud.datacatalog.v1beta1."
+ + "DeleteTagTemplateFieldRequest\032\026.google.p"
+ + "rotobuf.Empty\"S\202\323\344\223\002@*>/v1beta1/{name=pr"
+ + "ojects/*/locations/*/tagTemplates/*/fiel"
+ + "ds/*}\332A\nname,force\022\215\002\n\tCreateTag\0222.googl"
+ + "e.cloud.datacatalog.v1beta1.CreateTagReq"
+ + "uest\032%.google.cloud.datacatalog.v1beta1."
+ + "Tag\"\244\001\202\323\344\223\002\220\001\"E/v1beta1/{parent=projects"
+ + "/*/locations/*/entryGroups/*/entries/*}/"
+ + "tags:\003tagZB\";/v1beta1/{parent=projects/*"
+ + "/locations/*/entryGroups/*}/tags:\003tag\332A\n"
+ + "parent,tag\022\240\002\n\tUpdateTag\0222.google.cloud."
+ + "datacatalog.v1beta1.UpdateTagRequest\032%.g"
+ + "oogle.cloud.datacatalog.v1beta1.Tag\"\267\001\202\323"
+ + "\344\223\002\230\0012I/v1beta1/{tag.name=projects/*/loc"
+ + "ations/*/entryGroups/*/entries/*/tags/*}"
+ + ":\003tagZF2?/v1beta1/{tag.name=projects/*/l"
+ + "ocations/*/entryGroups/*/tags/*}:\003tag\332A\003"
+ + "tag\332A\017tag,update_mask\022\356\001\n\tDeleteTag\0222.go"
+ + "ogle.cloud.datacatalog.v1beta1.DeleteTag"
+ + "Request\032\026.google.protobuf.Empty\"\224\001\202\323\344\223\002\206"
+ + "\001*E/v1beta1/{name=projects/*/locations/*"
+ + "/entryGroups/*/entries/*/tags/*}Z=*;/v1b"
+ + "eta1/{name=projects/*/locations/*/entryG"
+ + "roups/*/tags/*}\332A\004name\022\212\002\n\010ListTags\0221.go"
+ + "ogle.cloud.datacatalog.v1beta1.ListTagsR"
+ + "equest\0322.google.cloud.datacatalog.v1beta"
+ + "1.ListTagsResponse\"\226\001\202\323\344\223\002\206\001\022E/v1beta1/{"
+ + "parent=projects/*/locations/*/entryGroup"
+ + "s/*/entries/*}/tagsZ=\022;/v1beta1/{parent="
+ + "projects/*/locations/*/entryGroups/*}/ta"
+ + "gs\332A\006parent\022\352\001\n\014SetIamPolicy\022\".google.ia"
+ + "m.v1.SetIamPolicyRequest\032\025.google.iam.v1"
+ + ".Policy\"\236\001\202\323\344\223\002\227\001\"F/v1beta1/{resource=pr"
+ + "ojects/*/locations/*/tagTemplates/*}:set"
+ + "IamPolicy:\001*ZJ\"E/v1beta1/{resource=proje"
+ + "cts/*/locations/*/entryGroups/*}:setIamP"
+ + "olicy:\001*\022\300\002\n\014GetIamPolicy\022\".google.iam.v"
+ + "1.GetIamPolicyRequest\032\025.google.iam.v1.Po"
+ + "licy\"\364\001\202\323\344\223\002\355\001\"F/v1beta1/{resource=proje"
+ + "cts/*/locations/*/tagTemplates/*}:getIam"
+ + "Policy:\001*ZJ\"E/v1beta1/{resource=projects"
+ + "/*/locations/*/entryGroups/*}:getIamPoli"
+ + "cy:\001*ZT\"O/v1beta1/{resource=projects/*/l"
+ + "ocations/*/entryGroups/*/entries/*}:getI"
+ + "amPolicy:\001*\022\362\002\n\022TestIamPermissions\022(.goo"
+ + "gle.iam.v1.TestIamPermissionsRequest\032).g"
+ + "oogle.iam.v1.TestIamPermissionsResponse\""
+ + "\206\002\202\323\344\223\002\377\001\"L/v1beta1/{resource=projects/*"
+ + "/locations/*/tagTemplates/*}:testIamPerm"
+ + "issions:\001*ZP\"K/v1beta1/{resource=project"
+ + "s/*/locations/*/entryGroups/*}:testIamPe"
+ + "rmissions:\001*ZZ\"U/v1beta1/{resource=proje"
+ + "cts/*/locations/*/entryGroups/*/entries/"
+ + "*}:testIamPermissions:\001*\032N\312A\032datacatalog"
+ + ".googleapis.com\322A.https://www.googleapis"
+ + ".com/auth/cloud-platformBx\n$com.google.c"
+ + "loud.datacatalog.v1beta1P\001ZKgoogle.golan"
+ + "g.org/genproto/googleapis/cloud/datacata"
+ + "log/v1beta1;datacatalog\370\001\001b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -415,6 +479,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.v1beta1.Common.getDescriptor(),
com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass.getDescriptor(),
com.google.cloud.datacatalog.v1beta1.SchemaOuterClass.getDescriptor(),
com.google.cloud.datacatalog.v1beta1.Search.getDescriptor(),
@@ -460,8 +525,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"Parent", "EntryGroupId", "EntryGroup",
});
- internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_descriptor =
+ internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_descriptor =
getDescriptor().getMessageTypes().get(3);
+ internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_descriptor,
+ new java.lang.String[] {
+ "EntryGroup", "UpdateMask",
+ });
+ internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_descriptor =
+ getDescriptor().getMessageTypes().get(4);
internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_datacatalog_v1beta1_GetEntryGroupRequest_descriptor,
@@ -469,15 +542,31 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name", "ReadMask",
});
internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_descriptor =
- getDescriptor().getMessageTypes().get(4);
+ getDescriptor().getMessageTypes().get(5);
internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryGroupRequest_descriptor,
new java.lang.String[] {
- "Name",
+ "Name", "Force",
+ });
+ internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_descriptor =
+ getDescriptor().getMessageTypes().get(6);
+ internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_descriptor,
+ new java.lang.String[] {
+ "Parent", "PageSize", "PageToken",
+ });
+ internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_descriptor =
+ getDescriptor().getMessageTypes().get(7);
+ internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsResponse_descriptor,
+ new java.lang.String[] {
+ "EntryGroups", "NextPageToken",
});
internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_descriptor =
- getDescriptor().getMessageTypes().get(5);
+ getDescriptor().getMessageTypes().get(8);
internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_datacatalog_v1beta1_CreateEntryRequest_descriptor,
@@ -485,7 +574,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "EntryId", "Entry",
});
internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_descriptor =
- getDescriptor().getMessageTypes().get(6);
+ getDescriptor().getMessageTypes().get(9);
internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryRequest_descriptor,
@@ -493,7 +582,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Entry", "UpdateMask",
});
internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_descriptor =
- getDescriptor().getMessageTypes().get(7);
+ getDescriptor().getMessageTypes().get(10);
internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_datacatalog_v1beta1_DeleteEntryRequest_descriptor,
@@ -501,7 +590,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_descriptor =
- getDescriptor().getMessageTypes().get(8);
+ getDescriptor().getMessageTypes().get(11);
internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_datacatalog_v1beta1_GetEntryRequest_descriptor,
@@ -509,7 +598,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_descriptor =
- getDescriptor().getMessageTypes().get(9);
+ getDescriptor().getMessageTypes().get(12);
internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_datacatalog_v1beta1_LookupEntryRequest_descriptor,
@@ -517,7 +606,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"LinkedResource", "SqlResource", "TargetName",
});
internal_static_google_cloud_datacatalog_v1beta1_Entry_descriptor =
- getDescriptor().getMessageTypes().get(10);
+ getDescriptor().getMessageTypes().get(13);
internal_static_google_cloud_datacatalog_v1beta1_Entry_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_datacatalog_v1beta1_Entry_descriptor,
@@ -525,6 +614,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
"LinkedResource",
"Type",
+ "UserSpecifiedType",
+ "IntegratedSystem",
+ "UserSpecifiedSystem",
"GcsFilesetSpec",
"BigqueryTableSpec",
"BigqueryDateShardedSpec",
@@ -533,10 +625,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Schema",
"SourceSystemTimestamps",
"EntryType",
+ "System",
"TypeSpec",
});
internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_descriptor =
- getDescriptor().getMessageTypes().get(11);
+ getDescriptor().getMessageTypes().get(14);
internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_datacatalog_v1beta1_EntryGroup_descriptor,
@@ -544,7 +637,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name", "DisplayName", "Description", "DataCatalogTimestamps",
});
internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_descriptor =
- getDescriptor().getMessageTypes().get(12);
+ getDescriptor().getMessageTypes().get(15);
internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateRequest_descriptor,
@@ -552,7 +645,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "TagTemplateId", "TagTemplate",
});
internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_descriptor =
- getDescriptor().getMessageTypes().get(13);
+ getDescriptor().getMessageTypes().get(16);
internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_datacatalog_v1beta1_GetTagTemplateRequest_descriptor,
@@ -560,7 +653,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_descriptor =
- getDescriptor().getMessageTypes().get(14);
+ getDescriptor().getMessageTypes().get(17);
internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateRequest_descriptor,
@@ -568,7 +661,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"TagTemplate", "UpdateMask",
});
internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_descriptor =
- getDescriptor().getMessageTypes().get(15);
+ getDescriptor().getMessageTypes().get(18);
internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateRequest_descriptor,
@@ -576,7 +669,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name", "Force",
});
internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_descriptor =
- getDescriptor().getMessageTypes().get(16);
+ getDescriptor().getMessageTypes().get(19);
internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_datacatalog_v1beta1_CreateTagRequest_descriptor,
@@ -584,7 +677,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "Tag",
});
internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_descriptor =
- getDescriptor().getMessageTypes().get(17);
+ getDescriptor().getMessageTypes().get(20);
internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_datacatalog_v1beta1_UpdateTagRequest_descriptor,
@@ -592,7 +685,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Tag", "UpdateMask",
});
internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_descriptor =
- getDescriptor().getMessageTypes().get(18);
+ getDescriptor().getMessageTypes().get(21);
internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_datacatalog_v1beta1_DeleteTagRequest_descriptor,
@@ -600,7 +693,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_descriptor =
- getDescriptor().getMessageTypes().get(19);
+ getDescriptor().getMessageTypes().get(22);
internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_datacatalog_v1beta1_CreateTagTemplateFieldRequest_descriptor,
@@ -608,7 +701,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "TagTemplateFieldId", "TagTemplateField",
});
internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_descriptor =
- getDescriptor().getMessageTypes().get(20);
+ getDescriptor().getMessageTypes().get(23);
internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_datacatalog_v1beta1_UpdateTagTemplateFieldRequest_descriptor,
@@ -616,7 +709,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name", "TagTemplateField", "UpdateMask",
});
internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_descriptor =
- getDescriptor().getMessageTypes().get(21);
+ getDescriptor().getMessageTypes().get(24);
internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_datacatalog_v1beta1_RenameTagTemplateFieldRequest_descriptor,
@@ -624,7 +717,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name", "NewTagTemplateFieldId",
});
internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_descriptor =
- getDescriptor().getMessageTypes().get(22);
+ getDescriptor().getMessageTypes().get(25);
internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_datacatalog_v1beta1_DeleteTagTemplateFieldRequest_descriptor,
@@ -632,7 +725,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name", "Force",
});
internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_descriptor =
- getDescriptor().getMessageTypes().get(23);
+ getDescriptor().getMessageTypes().get(26);
internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_datacatalog_v1beta1_ListTagsRequest_descriptor,
@@ -640,13 +733,29 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "PageSize", "PageToken",
});
internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_descriptor =
- getDescriptor().getMessageTypes().get(24);
+ getDescriptor().getMessageTypes().get(27);
internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_datacatalog_v1beta1_ListTagsResponse_descriptor,
new java.lang.String[] {
"Tags", "NextPageToken",
});
+ internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_descriptor =
+ getDescriptor().getMessageTypes().get(28);
+ internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_descriptor,
+ new java.lang.String[] {
+ "Parent", "PageSize", "PageToken", "ReadMask",
+ });
+ internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_descriptor =
+ getDescriptor().getMessageTypes().get(29);
+ internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_datacatalog_v1beta1_ListEntriesResponse_descriptor,
+ new java.lang.String[] {
+ "Entries", "NextPageToken",
+ });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.google.api.ClientProto.defaultHost);
@@ -662,6 +771,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.v1beta1.Common.getDescriptor();
com.google.cloud.datacatalog.v1beta1.GcsFilesetSpecOuterClass.getDescriptor();
com.google.cloud.datacatalog.v1beta1.SchemaOuterClass.getDescriptor();
com.google.cloud.datacatalog.v1beta1.Search.getDescriptor();
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequest.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequest.java
index 81518879..17c76097 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequest.java
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequest.java
@@ -78,6 +78,11 @@ private DeleteEntryGroupRequest(
name_ = s;
break;
}
+ case 16:
+ {
+ force_ = input.readBool();
+ break;
+ }
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
@@ -165,6 +170,23 @@ public com.google.protobuf.ByteString getNameBytes() {
}
}
+ public static final int FORCE_FIELD_NUMBER = 2;
+ private boolean force_;
+ /**
+ *
+ *
+ *
+ * Optional. If true, deletes all entries in the entry group.
+ *
+ *
+ * bool force = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The force.
+ */
+ public boolean getForce() {
+ return force_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -182,6 +204,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!getNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
+ if (force_ != false) {
+ output.writeBool(2, force_);
+ }
unknownFields.writeTo(output);
}
@@ -194,6 +219,9 @@ public int getSerializedSize() {
if (!getNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
+ if (force_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -211,6 +239,7 @@ public boolean equals(final java.lang.Object obj) {
(com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest) obj;
if (!getName().equals(other.getName())) return false;
+ if (getForce() != other.getForce()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -224,6 +253,8 @@ public int hashCode() {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
+ hash = (37 * hash) + FORCE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -373,6 +404,8 @@ public Builder clear() {
super.clear();
name_ = "";
+ force_ = false;
+
return this;
}
@@ -402,6 +435,7 @@ public com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest buildPartial
com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest result =
new com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest(this);
result.name_ = name_;
+ result.force_ = force_;
onBuilt();
return result;
}
@@ -457,6 +491,9 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRe
name_ = other.name_;
onChanged();
}
+ if (other.getForce() != false) {
+ setForce(other.getForce());
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -608,6 +645,57 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private boolean force_;
+ /**
+ *
+ *
+ *
+ * Optional. If true, deletes all entries in the entry group.
+ *
+ *
+ * bool force = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The force.
+ */
+ public boolean getForce() {
+ return force_;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. If true, deletes all entries in the entry group.
+ *
+ *
+ * bool force = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The force to set.
+ * @return This builder for chaining.
+ */
+ public Builder setForce(boolean value) {
+
+ force_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. If true, deletes all entries in the entry group.
+ *
+ *
+ * bool force = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearForce() {
+
+ force_ = false;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequestOrBuilder.java
index f1b937f7..d82381cd 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequestOrBuilder.java
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/DeleteEntryGroupRequestOrBuilder.java
@@ -53,4 +53,17 @@ public interface DeleteEntryGroupRequestOrBuilder
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
+
+ /**
+ *
+ *
+ *
+ * Optional. If true, deletes all entries in the entry group.
+ *
+ *
+ * bool force = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The force.
+ */
+ boolean getForce();
}
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Entry.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Entry.java
index 5dc7b120..bdc2761b 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Entry.java
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Entry.java
@@ -24,9 +24,10 @@
*
* Entry Metadata.
* A Data Catalog Entry resource represents another resource in Google
- * Cloud Platform, such as a BigQuery dataset or a Cloud Pub/Sub topic.
- * Clients can use the `linked_resource` field in the Entry resource to refer to
- * the original resource ID of the source system.
+ * Cloud Platform (such as a BigQuery dataset or a Cloud Pub/Sub topic), or
+ * outside of Google Cloud Platform. Clients can use the `linked_resource` field
+ * in the Entry resource to refer to the original resource ID of the source
+ * system.
* An Entry resource contains resource details, such as its schema. An Entry can
* also be used to attach flexible metadata, such as a
* [Tag][google.cloud.datacatalog.v1beta1.Tag].
@@ -208,6 +209,27 @@ private Entry(
typeSpecCase_ = 15;
break;
}
+ case 130:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+ entryTypeCase_ = 16;
+ entryType_ = s;
+ break;
+ }
+ case 136:
+ {
+ int rawValue = input.readEnum();
+ systemCase_ = 17;
+ system_ = rawValue;
+ break;
+ }
+ case 146:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+ systemCase_ = 18;
+ system_ = s;
+ break;
+ }
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
@@ -250,6 +272,7 @@ public enum EntryTypeCase
com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
TYPE(2),
+ USER_SPECIFIED_TYPE(16),
ENTRYTYPE_NOT_SET(0);
private final int value;
@@ -270,6 +293,8 @@ public static EntryTypeCase forNumber(int value) {
switch (value) {
case 2:
return TYPE;
+ case 16:
+ return USER_SPECIFIED_TYPE;
case 0:
return ENTRYTYPE_NOT_SET;
default:
@@ -286,6 +311,53 @@ public EntryTypeCase getEntryTypeCase() {
return EntryTypeCase.forNumber(entryTypeCase_);
}
+ private int systemCase_ = 0;
+ private java.lang.Object system_;
+
+ public enum SystemCase
+ implements
+ com.google.protobuf.Internal.EnumLite,
+ com.google.protobuf.AbstractMessage.InternalOneOfEnum {
+ INTEGRATED_SYSTEM(17),
+ USER_SPECIFIED_SYSTEM(18),
+ SYSTEM_NOT_SET(0);
+ private final int value;
+
+ private SystemCase(int value) {
+ this.value = value;
+ }
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static SystemCase valueOf(int value) {
+ return forNumber(value);
+ }
+
+ public static SystemCase forNumber(int value) {
+ switch (value) {
+ case 17:
+ return INTEGRATED_SYSTEM;
+ case 18:
+ return USER_SPECIFIED_SYSTEM;
+ case 0:
+ return SYSTEM_NOT_SET;
+ default:
+ return null;
+ }
+ }
+
+ public int getNumber() {
+ return this.value;
+ }
+ };
+
+ public SystemCase getSystemCase() {
+ return SystemCase.forNumber(systemCase_);
+ }
+
private int typeSpecCase_ = 0;
private java.lang.Object typeSpec_;
@@ -395,15 +467,18 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
- * Output only. The resource this metadata entry refers to.
+ * The resource this metadata entry refers to.
* For Google Cloud Platform resources, `linked_resource` is the [full name of
* the
* resource](https://cloud.google.com/apis/design/resource_names#full_resource_name).
* For example, the `linked_resource` for a table resource from BigQuery is:
* * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
+ * Output only when Entry is of type in the EntryType enum. For entries with
+ * user_specified_type, this field is optional and defaults to an empty
+ * string.
*
*
- * string linked_resource = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string linked_resource = 9;
*
* @return The linkedResource.
*/
@@ -422,15 +497,18 @@ public java.lang.String getLinkedResource() {
*
*
*
- * Output only. The resource this metadata entry refers to.
+ * The resource this metadata entry refers to.
* For Google Cloud Platform resources, `linked_resource` is the [full name of
* the
* resource](https://cloud.google.com/apis/design/resource_names#full_resource_name).
* For example, the `linked_resource` for a table resource from BigQuery is:
* * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
+ * Output only when Entry is of type in the EntryType enum. For entries with
+ * user_specified_type, this field is optional and defaults to an empty
+ * string.
*
*
- * string linked_resource = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string linked_resource = 9;
*
* @return The bytes for linkedResource.
*/
@@ -452,6 +530,7 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() {
*
*
* The type of the entry.
+ * Only used for Entries with types in the EntryType enum.
*
*
* .google.cloud.datacatalog.v1beta1.EntryType type = 2;
@@ -469,6 +548,7 @@ public int getTypeValue() {
*
*
* The type of the entry.
+ * Only used for Entries with types in the EntryType enum.
*
*
* .google.cloud.datacatalog.v1beta1.EntryType type = 2;
@@ -485,6 +565,190 @@ public com.google.cloud.datacatalog.v1beta1.EntryType getType() {
return com.google.cloud.datacatalog.v1beta1.EntryType.ENTRY_TYPE_UNSPECIFIED;
}
+ public static final int USER_SPECIFIED_TYPE_FIELD_NUMBER = 16;
+ /**
+ *
+ *
+ *
+ * Entry type if it does not fit any of the input-allowed values listed in
+ * `EntryType` enum above. When creating an entry, users should check the
+ * enum values first, if nothing matches the entry to be created, then
+ * provide a custom value, for example "my_special_type".
+ * `user_specified_type` strings must begin with a letter or underscore and
+ * can only contain letters, numbers, and underscores; are case insensitive;
+ * must be at least 1 character and at most 64 characters long.
+ * Currently, only FILESET enum value is allowed. All other entries created
+ * through Data Catalog must use `user_specified_type`.
+ *
+ *
+ * string user_specified_type = 16;
+ *
+ * @return The userSpecifiedType.
+ */
+ public java.lang.String getUserSpecifiedType() {
+ java.lang.Object ref = "";
+ if (entryTypeCase_ == 16) {
+ ref = entryType_;
+ }
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (entryTypeCase_ == 16) {
+ entryType_ = s;
+ }
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Entry type if it does not fit any of the input-allowed values listed in
+ * `EntryType` enum above. When creating an entry, users should check the
+ * enum values first, if nothing matches the entry to be created, then
+ * provide a custom value, for example "my_special_type".
+ * `user_specified_type` strings must begin with a letter or underscore and
+ * can only contain letters, numbers, and underscores; are case insensitive;
+ * must be at least 1 character and at most 64 characters long.
+ * Currently, only FILESET enum value is allowed. All other entries created
+ * through Data Catalog must use `user_specified_type`.
+ *
+ *
+ * string user_specified_type = 16;
+ *
+ * @return The bytes for userSpecifiedType.
+ */
+ public com.google.protobuf.ByteString getUserSpecifiedTypeBytes() {
+ java.lang.Object ref = "";
+ if (entryTypeCase_ == 16) {
+ ref = entryType_;
+ }
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ if (entryTypeCase_ == 16) {
+ entryType_ = b;
+ }
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int INTEGRATED_SYSTEM_FIELD_NUMBER = 17;
+ /**
+ *
+ *
+ *
+ * Output only. This field indicates the entry's source system that Data
+ * Catalog integrates with, such as BigQuery or Cloud Pub/Sub.
+ *
+ *
+ *
+ * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The enum numeric value on the wire for integratedSystem.
+ */
+ public int getIntegratedSystemValue() {
+ if (systemCase_ == 17) {
+ return (java.lang.Integer) system_;
+ }
+ return 0;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. This field indicates the entry's source system that Data
+ * Catalog integrates with, such as BigQuery or Cloud Pub/Sub.
+ *
+ *
+ *
+ * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The integratedSystem.
+ */
+ public com.google.cloud.datacatalog.v1beta1.IntegratedSystem getIntegratedSystem() {
+ if (systemCase_ == 17) {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.datacatalog.v1beta1.IntegratedSystem result =
+ com.google.cloud.datacatalog.v1beta1.IntegratedSystem.valueOf(
+ (java.lang.Integer) system_);
+ return result == null
+ ? com.google.cloud.datacatalog.v1beta1.IntegratedSystem.UNRECOGNIZED
+ : result;
+ }
+ return com.google.cloud.datacatalog.v1beta1.IntegratedSystem.INTEGRATED_SYSTEM_UNSPECIFIED;
+ }
+
+ public static final int USER_SPECIFIED_SYSTEM_FIELD_NUMBER = 18;
+ /**
+ *
+ *
+ *
+ * This field indicates the entry's source system that Data Catalog does not
+ * integrate with. `user_specified_system` strings must begin with a letter
+ * or underscore and can only contain letters, numbers, and underscores; are
+ * case insensitive; must be at least 1 character and at most 64 characters
+ * long.
+ *
+ *
+ * string user_specified_system = 18;
+ *
+ * @return The userSpecifiedSystem.
+ */
+ public java.lang.String getUserSpecifiedSystem() {
+ java.lang.Object ref = "";
+ if (systemCase_ == 18) {
+ ref = system_;
+ }
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (systemCase_ == 18) {
+ system_ = s;
+ }
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * This field indicates the entry's source system that Data Catalog does not
+ * integrate with. `user_specified_system` strings must begin with a letter
+ * or underscore and can only contain letters, numbers, and underscores; are
+ * case insensitive; must be at least 1 character and at most 64 characters
+ * long.
+ *
+ *
+ * string user_specified_system = 18;
+ *
+ * @return The bytes for userSpecifiedSystem.
+ */
+ public com.google.protobuf.ByteString getUserSpecifiedSystemBytes() {
+ java.lang.Object ref = "";
+ if (systemCase_ == 18) {
+ ref = system_;
+ }
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ if (systemCase_ == 18) {
+ system_ = b;
+ }
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
public static final int GCS_FILESET_SPEC_FIELD_NUMBER = 6;
/**
*
@@ -800,8 +1064,10 @@ public com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder getSchemaOrBuilder()
*
*
*
- * Output only. Timestamps about the underlying Google Cloud Platform
- * resource, not about this Data Catalog Entry.
+ * Output only. Timestamps about the underlying resource, not about this Data
+ * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+ * entries with user_specified_type, this field is optional and defaults to an
+ * empty timestamp.
*
*
*
@@ -817,8 +1083,10 @@ public boolean hasSourceSystemTimestamps() {
*
*
*
- * Output only. Timestamps about the underlying Google Cloud Platform
- * resource, not about this Data Catalog Entry.
+ * Output only. Timestamps about the underlying resource, not about this Data
+ * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+ * entries with user_specified_type, this field is optional and defaults to an
+ * empty timestamp.
*
*
*
@@ -836,8 +1104,10 @@ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getSourceSystemTime
*
*
*
- * Output only. Timestamps about the underlying Google Cloud Platform
- * resource, not about this Data Catalog Entry.
+ * Output only. Timestamps about the underlying resource, not about this Data
+ * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+ * entries with user_specified_type, this field is optional and defaults to an
+ * empty timestamp.
*
*
*
@@ -894,6 +1164,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
output.writeMessage(
15, (com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) typeSpec_);
}
+ if (entryTypeCase_ == 16) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 16, entryType_);
+ }
+ if (systemCase_ == 17) {
+ output.writeEnum(17, ((java.lang.Integer) system_));
+ }
+ if (systemCase_ == 18) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 18, system_);
+ }
unknownFields.writeTo(output);
}
@@ -942,6 +1221,16 @@ public int getSerializedSize() {
com.google.protobuf.CodedOutputStream.computeMessageSize(
15, (com.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec) typeSpec_);
}
+ if (entryTypeCase_ == 16) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, entryType_);
+ }
+ if (systemCase_ == 17) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeEnumSize(17, ((java.lang.Integer) system_));
+ }
+ if (systemCase_ == 18) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, system_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -975,6 +1264,20 @@ public boolean equals(final java.lang.Object obj) {
case 2:
if (getTypeValue() != other.getTypeValue()) return false;
break;
+ case 16:
+ if (!getUserSpecifiedType().equals(other.getUserSpecifiedType())) return false;
+ break;
+ case 0:
+ default:
+ }
+ if (!getSystemCase().equals(other.getSystemCase())) return false;
+ switch (systemCase_) {
+ case 17:
+ if (getIntegratedSystemValue() != other.getIntegratedSystemValue()) return false;
+ break;
+ case 18:
+ if (!getUserSpecifiedSystem().equals(other.getUserSpecifiedSystem())) return false;
+ break;
case 0:
default:
}
@@ -1024,6 +1327,22 @@ public int hashCode() {
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + getTypeValue();
break;
+ case 16:
+ hash = (37 * hash) + USER_SPECIFIED_TYPE_FIELD_NUMBER;
+ hash = (53 * hash) + getUserSpecifiedType().hashCode();
+ break;
+ case 0:
+ default:
+ }
+ switch (systemCase_) {
+ case 17:
+ hash = (37 * hash) + INTEGRATED_SYSTEM_FIELD_NUMBER;
+ hash = (53 * hash) + getIntegratedSystemValue();
+ break;
+ case 18:
+ hash = (37 * hash) + USER_SPECIFIED_SYSTEM_FIELD_NUMBER;
+ hash = (53 * hash) + getUserSpecifiedSystem().hashCode();
+ break;
case 0:
default:
}
@@ -1149,9 +1468,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
* Entry Metadata.
* A Data Catalog Entry resource represents another resource in Google
- * Cloud Platform, such as a BigQuery dataset or a Cloud Pub/Sub topic.
- * Clients can use the `linked_resource` field in the Entry resource to refer to
- * the original resource ID of the source system.
+ * Cloud Platform (such as a BigQuery dataset or a Cloud Pub/Sub topic), or
+ * outside of Google Cloud Platform. Clients can use the `linked_resource` field
+ * in the Entry resource to refer to the original resource ID of the source
+ * system.
* An Entry resource contains resource details, such as its schema. An Entry can
* also be used to attach flexible metadata, such as a
* [Tag][google.cloud.datacatalog.v1beta1.Tag].
@@ -1217,6 +1537,8 @@ public Builder clear() {
}
entryTypeCase_ = 0;
entryType_ = null;
+ systemCase_ = 0;
+ system_ = null;
typeSpecCase_ = 0;
typeSpec_ = null;
return this;
@@ -1251,6 +1573,15 @@ public com.google.cloud.datacatalog.v1beta1.Entry buildPartial() {
if (entryTypeCase_ == 2) {
result.entryType_ = entryType_;
}
+ if (entryTypeCase_ == 16) {
+ result.entryType_ = entryType_;
+ }
+ if (systemCase_ == 17) {
+ result.system_ = system_;
+ }
+ if (systemCase_ == 18) {
+ result.system_ = system_;
+ }
if (typeSpecCase_ == 6) {
if (gcsFilesetSpecBuilder_ == null) {
result.typeSpec_ = typeSpec_;
@@ -1285,6 +1616,7 @@ public com.google.cloud.datacatalog.v1beta1.Entry buildPartial() {
result.sourceSystemTimestamps_ = sourceSystemTimestampsBuilder_.build();
}
result.entryTypeCase_ = entryTypeCase_;
+ result.systemCase_ = systemCase_;
result.typeSpecCase_ = typeSpecCase_;
onBuilt();
return result;
@@ -1363,11 +1695,36 @@ public Builder mergeFrom(com.google.cloud.datacatalog.v1beta1.Entry other) {
setTypeValue(other.getTypeValue());
break;
}
+ case USER_SPECIFIED_TYPE:
+ {
+ entryTypeCase_ = 16;
+ entryType_ = other.entryType_;
+ onChanged();
+ break;
+ }
case ENTRYTYPE_NOT_SET:
{
break;
}
}
+ switch (other.getSystemCase()) {
+ case INTEGRATED_SYSTEM:
+ {
+ setIntegratedSystemValue(other.getIntegratedSystemValue());
+ break;
+ }
+ case USER_SPECIFIED_SYSTEM:
+ {
+ systemCase_ = 18;
+ system_ = other.system_;
+ onChanged();
+ break;
+ }
+ case SYSTEM_NOT_SET:
+ {
+ break;
+ }
+ }
switch (other.getTypeSpecCase()) {
case GCS_FILESET_SPEC:
{
@@ -1432,6 +1789,20 @@ public Builder clearEntryType() {
return this;
}
+ private int systemCase_ = 0;
+ private java.lang.Object system_;
+
+ public SystemCase getSystemCase() {
+ return SystemCase.forNumber(systemCase_);
+ }
+
+ public Builder clearSystem() {
+ systemCase_ = 0;
+ system_ = null;
+ onChanged();
+ return this;
+ }
+
private int typeSpecCase_ = 0;
private java.lang.Object typeSpec_;
@@ -1572,15 +1943,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Output only. The resource this metadata entry refers to.
+ * The resource this metadata entry refers to.
* For Google Cloud Platform resources, `linked_resource` is the [full name of
* the
* resource](https://cloud.google.com/apis/design/resource_names#full_resource_name).
* For example, the `linked_resource` for a table resource from BigQuery is:
* * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
+ * Output only when Entry is of type in the EntryType enum. For entries with
+ * user_specified_type, this field is optional and defaults to an empty
+ * string.
*
*
- * string linked_resource = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string linked_resource = 9;
*
* @return The linkedResource.
*/
@@ -1599,15 +1973,18 @@ public java.lang.String getLinkedResource() {
*
*
*
- * Output only. The resource this metadata entry refers to.
+ * The resource this metadata entry refers to.
* For Google Cloud Platform resources, `linked_resource` is the [full name of
* the
* resource](https://cloud.google.com/apis/design/resource_names#full_resource_name).
* For example, the `linked_resource` for a table resource from BigQuery is:
* * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
+ * Output only when Entry is of type in the EntryType enum. For entries with
+ * user_specified_type, this field is optional and defaults to an empty
+ * string.
*
*
- * string linked_resource = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string linked_resource = 9;
*
* @return The bytes for linkedResource.
*/
@@ -1626,15 +2003,18 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() {
*
*
*
- * Output only. The resource this metadata entry refers to.
+ * The resource this metadata entry refers to.
* For Google Cloud Platform resources, `linked_resource` is the [full name of
* the
* resource](https://cloud.google.com/apis/design/resource_names#full_resource_name).
* For example, the `linked_resource` for a table resource from BigQuery is:
* * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
+ * Output only when Entry is of type in the EntryType enum. For entries with
+ * user_specified_type, this field is optional and defaults to an empty
+ * string.
*
*
- * string linked_resource = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string linked_resource = 9;
*
* @param value The linkedResource to set.
* @return This builder for chaining.
@@ -1652,15 +2032,18 @@ public Builder setLinkedResource(java.lang.String value) {
*
*
*
- * Output only. The resource this metadata entry refers to.
+ * The resource this metadata entry refers to.
* For Google Cloud Platform resources, `linked_resource` is the [full name of
* the
* resource](https://cloud.google.com/apis/design/resource_names#full_resource_name).
* For example, the `linked_resource` for a table resource from BigQuery is:
* * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
+ * Output only when Entry is of type in the EntryType enum. For entries with
+ * user_specified_type, this field is optional and defaults to an empty
+ * string.
*
*
- * string linked_resource = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string linked_resource = 9;
*
* @return This builder for chaining.
*/
@@ -1674,15 +2057,18 @@ public Builder clearLinkedResource() {
*
*
*
- * Output only. The resource this metadata entry refers to.
+ * The resource this metadata entry refers to.
* For Google Cloud Platform resources, `linked_resource` is the [full name of
* the
* resource](https://cloud.google.com/apis/design/resource_names#full_resource_name).
* For example, the `linked_resource` for a table resource from BigQuery is:
* * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
+ * Output only when Entry is of type in the EntryType enum. For entries with
+ * user_specified_type, this field is optional and defaults to an empty
+ * string.
*
*
- * string linked_resource = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string linked_resource = 9;
*
* @param value The bytes for linkedResource to set.
* @return This builder for chaining.
@@ -1703,6 +2089,7 @@ public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) {
*
*
* The type of the entry.
+ * Only used for Entries with types in the EntryType enum.
*
*
* .google.cloud.datacatalog.v1beta1.EntryType type = 2;
@@ -1720,6 +2107,7 @@ public int getTypeValue() {
*
*
* The type of the entry.
+ * Only used for Entries with types in the EntryType enum.
*
*
* .google.cloud.datacatalog.v1beta1.EntryType type = 2;
@@ -1738,6 +2126,7 @@ public Builder setTypeValue(int value) {
*
*
* The type of the entry.
+ * Only used for Entries with types in the EntryType enum.
*
*
* .google.cloud.datacatalog.v1beta1.EntryType type = 2;
@@ -1760,6 +2149,7 @@ public com.google.cloud.datacatalog.v1beta1.EntryType getType() {
*
*
* The type of the entry.
+ * Only used for Entries with types in the EntryType enum.
*
*
* .google.cloud.datacatalog.v1beta1.EntryType type = 2;
@@ -1781,6 +2171,7 @@ public Builder setType(com.google.cloud.datacatalog.v1beta1.EntryType value) {
*
*
* The type of the entry.
+ * Only used for Entries with types in the EntryType enum.
*
*
* .google.cloud.datacatalog.v1beta1.EntryType type = 2;
@@ -1796,6 +2187,415 @@ public Builder clearType() {
return this;
}
+ /**
+ *
+ *
+ *
+ * Entry type if it does not fit any of the input-allowed values listed in
+ * `EntryType` enum above. When creating an entry, users should check the
+ * enum values first, if nothing matches the entry to be created, then
+ * provide a custom value, for example "my_special_type".
+ * `user_specified_type` strings must begin with a letter or underscore and
+ * can only contain letters, numbers, and underscores; are case insensitive;
+ * must be at least 1 character and at most 64 characters long.
+ * Currently, only FILESET enum value is allowed. All other entries created
+ * through Data Catalog must use `user_specified_type`.
+ *
+ *
+ * string user_specified_type = 16;
+ *
+ * @return The userSpecifiedType.
+ */
+ public java.lang.String getUserSpecifiedType() {
+ java.lang.Object ref = "";
+ if (entryTypeCase_ == 16) {
+ ref = entryType_;
+ }
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (entryTypeCase_ == 16) {
+ entryType_ = s;
+ }
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Entry type if it does not fit any of the input-allowed values listed in
+ * `EntryType` enum above. When creating an entry, users should check the
+ * enum values first, if nothing matches the entry to be created, then
+ * provide a custom value, for example "my_special_type".
+ * `user_specified_type` strings must begin with a letter or underscore and
+ * can only contain letters, numbers, and underscores; are case insensitive;
+ * must be at least 1 character and at most 64 characters long.
+ * Currently, only FILESET enum value is allowed. All other entries created
+ * through Data Catalog must use `user_specified_type`.
+ *
+ *
+ * string user_specified_type = 16;
+ *
+ * @return The bytes for userSpecifiedType.
+ */
+ public com.google.protobuf.ByteString getUserSpecifiedTypeBytes() {
+ java.lang.Object ref = "";
+ if (entryTypeCase_ == 16) {
+ ref = entryType_;
+ }
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ if (entryTypeCase_ == 16) {
+ entryType_ = b;
+ }
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Entry type if it does not fit any of the input-allowed values listed in
+ * `EntryType` enum above. When creating an entry, users should check the
+ * enum values first, if nothing matches the entry to be created, then
+ * provide a custom value, for example "my_special_type".
+ * `user_specified_type` strings must begin with a letter or underscore and
+ * can only contain letters, numbers, and underscores; are case insensitive;
+ * must be at least 1 character and at most 64 characters long.
+ * Currently, only FILESET enum value is allowed. All other entries created
+ * through Data Catalog must use `user_specified_type`.
+ *
+ *
+ * string user_specified_type = 16;
+ *
+ * @param value The userSpecifiedType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUserSpecifiedType(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ entryTypeCase_ = 16;
+ entryType_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Entry type if it does not fit any of the input-allowed values listed in
+ * `EntryType` enum above. When creating an entry, users should check the
+ * enum values first, if nothing matches the entry to be created, then
+ * provide a custom value, for example "my_special_type".
+ * `user_specified_type` strings must begin with a letter or underscore and
+ * can only contain letters, numbers, and underscores; are case insensitive;
+ * must be at least 1 character and at most 64 characters long.
+ * Currently, only FILESET enum value is allowed. All other entries created
+ * through Data Catalog must use `user_specified_type`.
+ *
+ *
+ * string user_specified_type = 16;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearUserSpecifiedType() {
+ if (entryTypeCase_ == 16) {
+ entryTypeCase_ = 0;
+ entryType_ = null;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Entry type if it does not fit any of the input-allowed values listed in
+ * `EntryType` enum above. When creating an entry, users should check the
+ * enum values first, if nothing matches the entry to be created, then
+ * provide a custom value, for example "my_special_type".
+ * `user_specified_type` strings must begin with a letter or underscore and
+ * can only contain letters, numbers, and underscores; are case insensitive;
+ * must be at least 1 character and at most 64 characters long.
+ * Currently, only FILESET enum value is allowed. All other entries created
+ * through Data Catalog must use `user_specified_type`.
+ *
+ *
+ * string user_specified_type = 16;
+ *
+ * @param value The bytes for userSpecifiedType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUserSpecifiedTypeBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ entryTypeCase_ = 16;
+ entryType_ = value;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. This field indicates the entry's source system that Data
+ * Catalog integrates with, such as BigQuery or Cloud Pub/Sub.
+ *
+ *
+ *
+ * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The enum numeric value on the wire for integratedSystem.
+ */
+ public int getIntegratedSystemValue() {
+ if (systemCase_ == 17) {
+ return ((java.lang.Integer) system_).intValue();
+ }
+ return 0;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. This field indicates the entry's source system that Data
+ * Catalog integrates with, such as BigQuery or Cloud Pub/Sub.
+ *
+ *
+ *
+ * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @param value The enum numeric value on the wire for integratedSystem to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIntegratedSystemValue(int value) {
+ systemCase_ = 17;
+ system_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. This field indicates the entry's source system that Data
+ * Catalog integrates with, such as BigQuery or Cloud Pub/Sub.
+ *
+ *
+ *
+ * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The integratedSystem.
+ */
+ public com.google.cloud.datacatalog.v1beta1.IntegratedSystem getIntegratedSystem() {
+ if (systemCase_ == 17) {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.datacatalog.v1beta1.IntegratedSystem result =
+ com.google.cloud.datacatalog.v1beta1.IntegratedSystem.valueOf(
+ (java.lang.Integer) system_);
+ return result == null
+ ? com.google.cloud.datacatalog.v1beta1.IntegratedSystem.UNRECOGNIZED
+ : result;
+ }
+ return com.google.cloud.datacatalog.v1beta1.IntegratedSystem.INTEGRATED_SYSTEM_UNSPECIFIED;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. This field indicates the entry's source system that Data
+ * Catalog integrates with, such as BigQuery or Cloud Pub/Sub.
+ *
+ *
+ *
+ * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @param value The integratedSystem to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIntegratedSystem(
+ com.google.cloud.datacatalog.v1beta1.IntegratedSystem value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ systemCase_ = 17;
+ system_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. This field indicates the entry's source system that Data
+ * Catalog integrates with, such as BigQuery or Cloud Pub/Sub.
+ *
+ *
+ *
+ * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearIntegratedSystem() {
+ if (systemCase_ == 17) {
+ systemCase_ = 0;
+ system_ = null;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * This field indicates the entry's source system that Data Catalog does not
+ * integrate with. `user_specified_system` strings must begin with a letter
+ * or underscore and can only contain letters, numbers, and underscores; are
+ * case insensitive; must be at least 1 character and at most 64 characters
+ * long.
+ *
+ *
+ * string user_specified_system = 18;
+ *
+ * @return The userSpecifiedSystem.
+ */
+ public java.lang.String getUserSpecifiedSystem() {
+ java.lang.Object ref = "";
+ if (systemCase_ == 18) {
+ ref = system_;
+ }
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (systemCase_ == 18) {
+ system_ = s;
+ }
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * This field indicates the entry's source system that Data Catalog does not
+ * integrate with. `user_specified_system` strings must begin with a letter
+ * or underscore and can only contain letters, numbers, and underscores; are
+ * case insensitive; must be at least 1 character and at most 64 characters
+ * long.
+ *
+ *
+ * string user_specified_system = 18;
+ *
+ * @return The bytes for userSpecifiedSystem.
+ */
+ public com.google.protobuf.ByteString getUserSpecifiedSystemBytes() {
+ java.lang.Object ref = "";
+ if (systemCase_ == 18) {
+ ref = system_;
+ }
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ if (systemCase_ == 18) {
+ system_ = b;
+ }
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * This field indicates the entry's source system that Data Catalog does not
+ * integrate with. `user_specified_system` strings must begin with a letter
+ * or underscore and can only contain letters, numbers, and underscores; are
+ * case insensitive; must be at least 1 character and at most 64 characters
+ * long.
+ *
+ *
+ * string user_specified_system = 18;
+ *
+ * @param value The userSpecifiedSystem to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUserSpecifiedSystem(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ systemCase_ = 18;
+ system_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * This field indicates the entry's source system that Data Catalog does not
+ * integrate with. `user_specified_system` strings must begin with a letter
+ * or underscore and can only contain letters, numbers, and underscores; are
+ * case insensitive; must be at least 1 character and at most 64 characters
+ * long.
+ *
+ *
+ * string user_specified_system = 18;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearUserSpecifiedSystem() {
+ if (systemCase_ == 18) {
+ systemCase_ = 0;
+ system_ = null;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * This field indicates the entry's source system that Data Catalog does not
+ * integrate with. `user_specified_system` strings must begin with a letter
+ * or underscore and can only contain letters, numbers, and underscores; are
+ * case insensitive; must be at least 1 character and at most 64 characters
+ * long.
+ *
+ *
+ * string user_specified_system = 18;
+ *
+ * @param value The bytes for userSpecifiedSystem to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUserSpecifiedSystemBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ systemCase_ = 18;
+ system_ = value;
+ onChanged();
+ return this;
+ }
+
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec,
com.google.cloud.datacatalog.v1beta1.GcsFilesetSpec.Builder,
@@ -2905,8 +3705,10 @@ public com.google.cloud.datacatalog.v1beta1.SchemaOrBuilder getSchemaOrBuilder()
*
*
*
- * Output only. Timestamps about the underlying Google Cloud Platform
- * resource, not about this Data Catalog Entry.
+ * Output only. Timestamps about the underlying resource, not about this Data
+ * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+ * entries with user_specified_type, this field is optional and defaults to an
+ * empty timestamp.
*
*
*
@@ -2922,8 +3724,10 @@ public boolean hasSourceSystemTimestamps() {
*
*
*
- * Output only. Timestamps about the underlying Google Cloud Platform
- * resource, not about this Data Catalog Entry.
+ * Output only. Timestamps about the underlying resource, not about this Data
+ * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+ * entries with user_specified_type, this field is optional and defaults to an
+ * empty timestamp.
*
*
*
@@ -2945,8 +3749,10 @@ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getSourceSystemTime
*
*
*
- * Output only. Timestamps about the underlying Google Cloud Platform
- * resource, not about this Data Catalog Entry.
+ * Output only. Timestamps about the underlying resource, not about this Data
+ * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+ * entries with user_specified_type, this field is optional and defaults to an
+ * empty timestamp.
*
*
*
@@ -2971,8 +3777,10 @@ public Builder setSourceSystemTimestamps(
*
*
*
- * Output only. Timestamps about the underlying Google Cloud Platform
- * resource, not about this Data Catalog Entry.
+ * Output only. Timestamps about the underlying resource, not about this Data
+ * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+ * entries with user_specified_type, this field is optional and defaults to an
+ * empty timestamp.
*
*
*
@@ -2994,8 +3802,10 @@ public Builder setSourceSystemTimestamps(
*
*
*
- * Output only. Timestamps about the underlying Google Cloud Platform
- * resource, not about this Data Catalog Entry.
+ * Output only. Timestamps about the underlying resource, not about this Data
+ * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+ * entries with user_specified_type, this field is optional and defaults to an
+ * empty timestamp.
*
*
*
@@ -3025,8 +3835,10 @@ public Builder mergeSourceSystemTimestamps(
*
*
*
- * Output only. Timestamps about the underlying Google Cloud Platform
- * resource, not about this Data Catalog Entry.
+ * Output only. Timestamps about the underlying resource, not about this Data
+ * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+ * entries with user_specified_type, this field is optional and defaults to an
+ * empty timestamp.
*
*
*
@@ -3048,8 +3860,10 @@ public Builder clearSourceSystemTimestamps() {
*
*
*
- * Output only. Timestamps about the underlying Google Cloud Platform
- * resource, not about this Data Catalog Entry.
+ * Output only. Timestamps about the underlying resource, not about this Data
+ * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+ * entries with user_specified_type, this field is optional and defaults to an
+ * empty timestamp.
*
*
*
@@ -3066,8 +3880,10 @@ public Builder clearSourceSystemTimestamps() {
*
*
*
- * Output only. Timestamps about the underlying Google Cloud Platform
- * resource, not about this Data Catalog Entry.
+ * Output only. Timestamps about the underlying resource, not about this Data
+ * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+ * entries with user_specified_type, this field is optional and defaults to an
+ * empty timestamp.
*
*
*
@@ -3088,8 +3904,10 @@ public Builder clearSourceSystemTimestamps() {
*
*
*
- * Output only. Timestamps about the underlying Google Cloud Platform
- * resource, not about this Data Catalog Entry.
+ * Output only. Timestamps about the underlying resource, not about this Data
+ * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+ * entries with user_specified_type, this field is optional and defaults to an
+ * empty timestamp.
*
*
*
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroup.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroup.java
index 082907a3..b646e716 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroup.java
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroup.java
@@ -305,7 +305,8 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
*
*
- * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+ * Output only. Timestamps about this EntryGroup. Default value is empty
+ * timestamps.
*
*
*
@@ -321,7 +322,8 @@ public boolean hasDataCatalogTimestamps() {
*
*
*
- * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+ * Output only. Timestamps about this EntryGroup. Default value is empty
+ * timestamps.
*
*
*
@@ -339,7 +341,8 @@ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getDataCatalogTimes
*
*
*
- * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+ * Output only. Timestamps about this EntryGroup. Default value is empty
+ * timestamps.
*
*
*
@@ -1089,7 +1092,8 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+ * Output only. Timestamps about this EntryGroup. Default value is empty
+ * timestamps.
*
*
*
@@ -1105,7 +1109,8 @@ public boolean hasDataCatalogTimestamps() {
*
*
*
- * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+ * Output only. Timestamps about this EntryGroup. Default value is empty
+ * timestamps.
*
*
*
@@ -1127,7 +1132,8 @@ public com.google.cloud.datacatalog.v1beta1.SystemTimestamps getDataCatalogTimes
*
*
*
- * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+ * Output only. Timestamps about this EntryGroup. Default value is empty
+ * timestamps.
*
*
*
@@ -1152,7 +1158,8 @@ public Builder setDataCatalogTimestamps(
*
*
*
- * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+ * Output only. Timestamps about this EntryGroup. Default value is empty
+ * timestamps.
*
*
*
@@ -1174,7 +1181,8 @@ public Builder setDataCatalogTimestamps(
*
*
*
- * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+ * Output only. Timestamps about this EntryGroup. Default value is empty
+ * timestamps.
*
*
*
@@ -1204,7 +1212,8 @@ public Builder mergeDataCatalogTimestamps(
*
*
*
- * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+ * Output only. Timestamps about this EntryGroup. Default value is empty
+ * timestamps.
*
*
*
@@ -1226,7 +1235,8 @@ public Builder clearDataCatalogTimestamps() {
*
*
*
- * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+ * Output only. Timestamps about this EntryGroup. Default value is empty
+ * timestamps.
*
*
*
@@ -1243,7 +1253,8 @@ public Builder clearDataCatalogTimestamps() {
*
*
*
- * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+ * Output only. Timestamps about this EntryGroup. Default value is empty
+ * timestamps.
*
*
*
@@ -1264,7 +1275,8 @@ public Builder clearDataCatalogTimestamps() {
*
*
*
- * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+ * Output only. Timestamps about this EntryGroup. Default value is empty
+ * timestamps.
*
*
*
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroupOrBuilder.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroupOrBuilder.java
index 038bc51a..64dcda8e 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroupOrBuilder.java
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryGroupOrBuilder.java
@@ -114,7 +114,8 @@ public interface EntryGroupOrBuilder
*
*
*
- * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+ * Output only. Timestamps about this EntryGroup. Default value is empty
+ * timestamps.
*
*
*
@@ -128,7 +129,8 @@ public interface EntryGroupOrBuilder
*
*
*
- * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+ * Output only. Timestamps about this EntryGroup. Default value is empty
+ * timestamps.
*
*
*
@@ -142,7 +144,8 @@ public interface EntryGroupOrBuilder
*
*
*
- * Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
+ * Output only. Timestamps about this EntryGroup. Default value is empty
+ * timestamps.
*
*
*
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryOrBuilder.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryOrBuilder.java
index 99265c5e..6342f8e5 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryOrBuilder.java
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryOrBuilder.java
@@ -58,15 +58,18 @@ public interface EntryOrBuilder
*
*
*
- * Output only. The resource this metadata entry refers to.
+ * The resource this metadata entry refers to.
* For Google Cloud Platform resources, `linked_resource` is the [full name of
* the
* resource](https://cloud.google.com/apis/design/resource_names#full_resource_name).
* For example, the `linked_resource` for a table resource from BigQuery is:
* * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
+ * Output only when Entry is of type in the EntryType enum. For entries with
+ * user_specified_type, this field is optional and defaults to an empty
+ * string.
*
*
- * string linked_resource = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string linked_resource = 9;
*
* @return The linkedResource.
*/
@@ -75,15 +78,18 @@ public interface EntryOrBuilder
*
*
*
- * Output only. The resource this metadata entry refers to.
+ * The resource this metadata entry refers to.
* For Google Cloud Platform resources, `linked_resource` is the [full name of
* the
* resource](https://cloud.google.com/apis/design/resource_names#full_resource_name).
* For example, the `linked_resource` for a table resource from BigQuery is:
* * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
+ * Output only when Entry is of type in the EntryType enum. For entries with
+ * user_specified_type, this field is optional and defaults to an empty
+ * string.
*
*
- * string linked_resource = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * string linked_resource = 9;
*
* @return The bytes for linkedResource.
*/
@@ -94,6 +100,7 @@ public interface EntryOrBuilder
*
*
* The type of the entry.
+ * Only used for Entries with types in the EntryType enum.
*
*
* .google.cloud.datacatalog.v1beta1.EntryType type = 2;
@@ -106,6 +113,7 @@ public interface EntryOrBuilder
*
*
* The type of the entry.
+ * Only used for Entries with types in the EntryType enum.
*
*
* .google.cloud.datacatalog.v1beta1.EntryType type = 2;
@@ -114,6 +122,111 @@ public interface EntryOrBuilder
*/
com.google.cloud.datacatalog.v1beta1.EntryType getType();
+ /**
+ *
+ *
+ *
+ * Entry type if it does not fit any of the input-allowed values listed in
+ * `EntryType` enum above. When creating an entry, users should check the
+ * enum values first, if nothing matches the entry to be created, then
+ * provide a custom value, for example "my_special_type".
+ * `user_specified_type` strings must begin with a letter or underscore and
+ * can only contain letters, numbers, and underscores; are case insensitive;
+ * must be at least 1 character and at most 64 characters long.
+ * Currently, only FILESET enum value is allowed. All other entries created
+ * through Data Catalog must use `user_specified_type`.
+ *
+ *
+ * string user_specified_type = 16;
+ *
+ * @return The userSpecifiedType.
+ */
+ java.lang.String getUserSpecifiedType();
+ /**
+ *
+ *
+ *
+ * Entry type if it does not fit any of the input-allowed values listed in
+ * `EntryType` enum above. When creating an entry, users should check the
+ * enum values first, if nothing matches the entry to be created, then
+ * provide a custom value, for example "my_special_type".
+ * `user_specified_type` strings must begin with a letter or underscore and
+ * can only contain letters, numbers, and underscores; are case insensitive;
+ * must be at least 1 character and at most 64 characters long.
+ * Currently, only FILESET enum value is allowed. All other entries created
+ * through Data Catalog must use `user_specified_type`.
+ *
+ *
+ * string user_specified_type = 16;
+ *
+ * @return The bytes for userSpecifiedType.
+ */
+ com.google.protobuf.ByteString getUserSpecifiedTypeBytes();
+
+ /**
+ *
+ *
+ *
+ * Output only. This field indicates the entry's source system that Data
+ * Catalog integrates with, such as BigQuery or Cloud Pub/Sub.
+ *
+ *
+ *
+ * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The enum numeric value on the wire for integratedSystem.
+ */
+ int getIntegratedSystemValue();
+ /**
+ *
+ *
+ *
+ * Output only. This field indicates the entry's source system that Data
+ * Catalog integrates with, such as BigQuery or Cloud Pub/Sub.
+ *
+ *
+ *
+ * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The integratedSystem.
+ */
+ com.google.cloud.datacatalog.v1beta1.IntegratedSystem getIntegratedSystem();
+
+ /**
+ *
+ *
+ *
+ * This field indicates the entry's source system that Data Catalog does not
+ * integrate with. `user_specified_system` strings must begin with a letter
+ * or underscore and can only contain letters, numbers, and underscores; are
+ * case insensitive; must be at least 1 character and at most 64 characters
+ * long.
+ *
+ *
+ * string user_specified_system = 18;
+ *
+ * @return The userSpecifiedSystem.
+ */
+ java.lang.String getUserSpecifiedSystem();
+ /**
+ *
+ *
+ *
+ * This field indicates the entry's source system that Data Catalog does not
+ * integrate with. `user_specified_system` strings must begin with a letter
+ * or underscore and can only contain letters, numbers, and underscores; are
+ * case insensitive; must be at least 1 character and at most 64 characters
+ * long.
+ *
+ *
+ * string user_specified_system = 18;
+ *
+ * @return The bytes for userSpecifiedSystem.
+ */
+ com.google.protobuf.ByteString getUserSpecifiedSystemBytes();
+
/**
*
*
@@ -333,8 +446,10 @@ public interface EntryOrBuilder
*
*
*
- * Output only. Timestamps about the underlying Google Cloud Platform
- * resource, not about this Data Catalog Entry.
+ * Output only. Timestamps about the underlying resource, not about this Data
+ * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+ * entries with user_specified_type, this field is optional and defaults to an
+ * empty timestamp.
*
*
*
@@ -348,8 +463,10 @@ public interface EntryOrBuilder
*
*
*
- * Output only. Timestamps about the underlying Google Cloud Platform
- * resource, not about this Data Catalog Entry.
+ * Output only. Timestamps about the underlying resource, not about this Data
+ * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+ * entries with user_specified_type, this field is optional and defaults to an
+ * empty timestamp.
*
*
*
@@ -363,8 +480,10 @@ public interface EntryOrBuilder
*
*
*
- * Output only. Timestamps about the underlying Google Cloud Platform
- * resource, not about this Data Catalog Entry.
+ * Output only. Timestamps about the underlying resource, not about this Data
+ * Catalog entry. Output only when Entry is of type in the EntryType enum. For
+ * entries with user_specified_type, this field is optional and defaults to an
+ * empty timestamp.
*
*
*
@@ -376,5 +495,7 @@ public interface EntryOrBuilder
public com.google.cloud.datacatalog.v1beta1.Entry.EntryTypeCase getEntryTypeCase();
+ public com.google.cloud.datacatalog.v1beta1.Entry.SystemCase getSystemCase();
+
public com.google.cloud.datacatalog.v1beta1.Entry.TypeSpecCase getTypeSpecCase();
}
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryType.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryType.java
index c21348ad..ffcbe541 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryType.java
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/EntryType.java
@@ -51,6 +51,16 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum {
* TABLE = 2;
*/
TABLE(2),
+ /**
+ *
+ *
+ *
+ * Output only. The type of models.
+ *
+ *
+ * MODEL = 5;
+ */
+ MODEL(5),
/**
*
*
@@ -66,7 +76,7 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum {
*
*
*
- * Alpha feature. An entry type which is a set of files or objects. Example:
+ * An entry type which is a set of files or objects. Example:
* Cloud Storage fileset.
*
*
@@ -97,6 +107,16 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum {
* TABLE = 2;
*/
public static final int TABLE_VALUE = 2;
+ /**
+ *
+ *
+ *
+ * Output only. The type of models.
+ *
+ *
+ * MODEL = 5;
+ */
+ public static final int MODEL_VALUE = 5;
/**
*
*
@@ -112,7 +132,7 @@ public enum EntryType implements com.google.protobuf.ProtocolMessageEnum {
*
*
*
- * Alpha feature. An entry type which is a set of files or objects. Example:
+ * An entry type which is a set of files or objects. Example:
* Cloud Storage fileset.
*
*
@@ -148,6 +168,8 @@ public static EntryType forNumber(int value) {
return ENTRY_TYPE_UNSPECIFIED;
case 2:
return TABLE;
+ case 5:
+ return MODEL;
case 3:
return DATA_STREAM;
case 4:
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpec.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpec.java
index 9bccd5f9..e116f66c 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpec.java
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpec.java
@@ -142,7 +142,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. Patterns to identify a set of files in Google Cloud Storage. See [Cloud
- * Storage documentation](storage/docs/gsutil/addlhelp/WildcardNames) for
+ * Storage documentation](/storage/docs/gsutil/addlhelp/WildcardNames) for
* more information. Note that bucket wildcards are currently not supported.
* Examples of valid file_patterns:
* * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
@@ -151,9 +151,18 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* spanning all subdirectories.
* * `gs://bucket_name/file*`: matches files prefixed by `file` in
* `bucket_name`
+ * * `gs://bucket_name/??.txt`: matches files with two characters followed by
+ * `.txt` in `bucket_name`
+ * * `gs://bucket_name/[aeiou].txt`: matches files that contain a single
+ * vowel character followed by `.txt` in
+ * `bucket_name`
+ * * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
+ * or `m` followed by `.txt` in `bucket_name`
* * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
* `a/*/b` pattern, such as `a/c/b`, `a/d/b`
* * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
+ * You can combine wildcards to provide more powerful matches, for example:
+ * * `gs://bucket_name/[a-m]??.j*g`
*
*
* repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -168,7 +177,7 @@ public com.google.protobuf.ProtocolStringList getFilePatternsList() {
*
*
* Required. Patterns to identify a set of files in Google Cloud Storage. See [Cloud
- * Storage documentation](storage/docs/gsutil/addlhelp/WildcardNames) for
+ * Storage documentation](/storage/docs/gsutil/addlhelp/WildcardNames) for
* more information. Note that bucket wildcards are currently not supported.
* Examples of valid file_patterns:
* * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
@@ -177,9 +186,18 @@ public com.google.protobuf.ProtocolStringList getFilePatternsList() {
* spanning all subdirectories.
* * `gs://bucket_name/file*`: matches files prefixed by `file` in
* `bucket_name`
+ * * `gs://bucket_name/??.txt`: matches files with two characters followed by
+ * `.txt` in `bucket_name`
+ * * `gs://bucket_name/[aeiou].txt`: matches files that contain a single
+ * vowel character followed by `.txt` in
+ * `bucket_name`
+ * * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
+ * or `m` followed by `.txt` in `bucket_name`
* * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
* `a/*/b` pattern, such as `a/c/b`, `a/d/b`
* * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
+ * You can combine wildcards to provide more powerful matches, for example:
+ * * `gs://bucket_name/[a-m]??.j*g`
*
*
* repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -194,7 +212,7 @@ public int getFilePatternsCount() {
*
*
* Required. Patterns to identify a set of files in Google Cloud Storage. See [Cloud
- * Storage documentation](storage/docs/gsutil/addlhelp/WildcardNames) for
+ * Storage documentation](/storage/docs/gsutil/addlhelp/WildcardNames) for
* more information. Note that bucket wildcards are currently not supported.
* Examples of valid file_patterns:
* * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
@@ -203,9 +221,18 @@ public int getFilePatternsCount() {
* spanning all subdirectories.
* * `gs://bucket_name/file*`: matches files prefixed by `file` in
* `bucket_name`
+ * * `gs://bucket_name/??.txt`: matches files with two characters followed by
+ * `.txt` in `bucket_name`
+ * * `gs://bucket_name/[aeiou].txt`: matches files that contain a single
+ * vowel character followed by `.txt` in
+ * `bucket_name`
+ * * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
+ * or `m` followed by `.txt` in `bucket_name`
* * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
* `a/*/b` pattern, such as `a/c/b`, `a/d/b`
* * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
+ * You can combine wildcards to provide more powerful matches, for example:
+ * * `gs://bucket_name/[a-m]??.j*g`
*
*
* repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -221,7 +248,7 @@ public java.lang.String getFilePatterns(int index) {
*
*
* Required. Patterns to identify a set of files in Google Cloud Storage. See [Cloud
- * Storage documentation](storage/docs/gsutil/addlhelp/WildcardNames) for
+ * Storage documentation](/storage/docs/gsutil/addlhelp/WildcardNames) for
* more information. Note that bucket wildcards are currently not supported.
* Examples of valid file_patterns:
* * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
@@ -230,9 +257,18 @@ public java.lang.String getFilePatterns(int index) {
* spanning all subdirectories.
* * `gs://bucket_name/file*`: matches files prefixed by `file` in
* `bucket_name`
+ * * `gs://bucket_name/??.txt`: matches files with two characters followed by
+ * `.txt` in `bucket_name`
+ * * `gs://bucket_name/[aeiou].txt`: matches files that contain a single
+ * vowel character followed by `.txt` in
+ * `bucket_name`
+ * * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
+ * or `m` followed by `.txt` in `bucket_name`
* * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
* `a/*/b` pattern, such as `a/c/b`, `a/d/b`
* * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
+ * You can combine wildcards to provide more powerful matches, for example:
+ * * `gs://bucket_name/[a-m]??.j*g`
*
*
* repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -733,7 +769,7 @@ private void ensureFilePatternsIsMutable() {
*
*
* Required. Patterns to identify a set of files in Google Cloud Storage. See [Cloud
- * Storage documentation](storage/docs/gsutil/addlhelp/WildcardNames) for
+ * Storage documentation](/storage/docs/gsutil/addlhelp/WildcardNames) for
* more information. Note that bucket wildcards are currently not supported.
* Examples of valid file_patterns:
* * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
@@ -742,9 +778,18 @@ private void ensureFilePatternsIsMutable() {
* spanning all subdirectories.
* * `gs://bucket_name/file*`: matches files prefixed by `file` in
* `bucket_name`
+ * * `gs://bucket_name/??.txt`: matches files with two characters followed by
+ * `.txt` in `bucket_name`
+ * * `gs://bucket_name/[aeiou].txt`: matches files that contain a single
+ * vowel character followed by `.txt` in
+ * `bucket_name`
+ * * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
+ * or `m` followed by `.txt` in `bucket_name`
* * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
* `a/*/b` pattern, such as `a/c/b`, `a/d/b`
* * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
+ * You can combine wildcards to provide more powerful matches, for example:
+ * * `gs://bucket_name/[a-m]??.j*g`
*
*
* repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -759,7 +804,7 @@ public com.google.protobuf.ProtocolStringList getFilePatternsList() {
*
*
* Required. Patterns to identify a set of files in Google Cloud Storage. See [Cloud
- * Storage documentation](storage/docs/gsutil/addlhelp/WildcardNames) for
+ * Storage documentation](/storage/docs/gsutil/addlhelp/WildcardNames) for
* more information. Note that bucket wildcards are currently not supported.
* Examples of valid file_patterns:
* * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
@@ -768,9 +813,18 @@ public com.google.protobuf.ProtocolStringList getFilePatternsList() {
* spanning all subdirectories.
* * `gs://bucket_name/file*`: matches files prefixed by `file` in
* `bucket_name`
+ * * `gs://bucket_name/??.txt`: matches files with two characters followed by
+ * `.txt` in `bucket_name`
+ * * `gs://bucket_name/[aeiou].txt`: matches files that contain a single
+ * vowel character followed by `.txt` in
+ * `bucket_name`
+ * * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
+ * or `m` followed by `.txt` in `bucket_name`
* * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
* `a/*/b` pattern, such as `a/c/b`, `a/d/b`
* * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
+ * You can combine wildcards to provide more powerful matches, for example:
+ * * `gs://bucket_name/[a-m]??.j*g`
*
*
* repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -785,7 +839,7 @@ public int getFilePatternsCount() {
*
*
* Required. Patterns to identify a set of files in Google Cloud Storage. See [Cloud
- * Storage documentation](storage/docs/gsutil/addlhelp/WildcardNames) for
+ * Storage documentation](/storage/docs/gsutil/addlhelp/WildcardNames) for
* more information. Note that bucket wildcards are currently not supported.
* Examples of valid file_patterns:
* * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
@@ -794,9 +848,18 @@ public int getFilePatternsCount() {
* spanning all subdirectories.
* * `gs://bucket_name/file*`: matches files prefixed by `file` in
* `bucket_name`
+ * * `gs://bucket_name/??.txt`: matches files with two characters followed by
+ * `.txt` in `bucket_name`
+ * * `gs://bucket_name/[aeiou].txt`: matches files that contain a single
+ * vowel character followed by `.txt` in
+ * `bucket_name`
+ * * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
+ * or `m` followed by `.txt` in `bucket_name`
* * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
* `a/*/b` pattern, such as `a/c/b`, `a/d/b`
* * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
+ * You can combine wildcards to provide more powerful matches, for example:
+ * * `gs://bucket_name/[a-m]??.j*g`
*
*
* repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -812,7 +875,7 @@ public java.lang.String getFilePatterns(int index) {
*
*
* Required. Patterns to identify a set of files in Google Cloud Storage. See [Cloud
- * Storage documentation](storage/docs/gsutil/addlhelp/WildcardNames) for
+ * Storage documentation](/storage/docs/gsutil/addlhelp/WildcardNames) for
* more information. Note that bucket wildcards are currently not supported.
* Examples of valid file_patterns:
* * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
@@ -821,9 +884,18 @@ public java.lang.String getFilePatterns(int index) {
* spanning all subdirectories.
* * `gs://bucket_name/file*`: matches files prefixed by `file` in
* `bucket_name`
+ * * `gs://bucket_name/??.txt`: matches files with two characters followed by
+ * `.txt` in `bucket_name`
+ * * `gs://bucket_name/[aeiou].txt`: matches files that contain a single
+ * vowel character followed by `.txt` in
+ * `bucket_name`
+ * * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
+ * or `m` followed by `.txt` in `bucket_name`
* * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
* `a/*/b` pattern, such as `a/c/b`, `a/d/b`
* * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
+ * You can combine wildcards to provide more powerful matches, for example:
+ * * `gs://bucket_name/[a-m]??.j*g`
*
*
* repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -839,7 +911,7 @@ public com.google.protobuf.ByteString getFilePatternsBytes(int index) {
*
*
* Required. Patterns to identify a set of files in Google Cloud Storage. See [Cloud
- * Storage documentation](storage/docs/gsutil/addlhelp/WildcardNames) for
+ * Storage documentation](/storage/docs/gsutil/addlhelp/WildcardNames) for
* more information. Note that bucket wildcards are currently not supported.
* Examples of valid file_patterns:
* * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
@@ -848,9 +920,18 @@ public com.google.protobuf.ByteString getFilePatternsBytes(int index) {
* spanning all subdirectories.
* * `gs://bucket_name/file*`: matches files prefixed by `file` in
* `bucket_name`
+ * * `gs://bucket_name/??.txt`: matches files with two characters followed by
+ * `.txt` in `bucket_name`
+ * * `gs://bucket_name/[aeiou].txt`: matches files that contain a single
+ * vowel character followed by `.txt` in
+ * `bucket_name`
+ * * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
+ * or `m` followed by `.txt` in `bucket_name`
* * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
* `a/*/b` pattern, such as `a/c/b`, `a/d/b`
* * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
+ * You can combine wildcards to provide more powerful matches, for example:
+ * * `gs://bucket_name/[a-m]??.j*g`
*
*
* repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -873,7 +954,7 @@ public Builder setFilePatterns(int index, java.lang.String value) {
*
*
* Required. Patterns to identify a set of files in Google Cloud Storage. See [Cloud
- * Storage documentation](storage/docs/gsutil/addlhelp/WildcardNames) for
+ * Storage documentation](/storage/docs/gsutil/addlhelp/WildcardNames) for
* more information. Note that bucket wildcards are currently not supported.
* Examples of valid file_patterns:
* * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
@@ -882,9 +963,18 @@ public Builder setFilePatterns(int index, java.lang.String value) {
* spanning all subdirectories.
* * `gs://bucket_name/file*`: matches files prefixed by `file` in
* `bucket_name`
+ * * `gs://bucket_name/??.txt`: matches files with two characters followed by
+ * `.txt` in `bucket_name`
+ * * `gs://bucket_name/[aeiou].txt`: matches files that contain a single
+ * vowel character followed by `.txt` in
+ * `bucket_name`
+ * * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
+ * or `m` followed by `.txt` in `bucket_name`
* * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
* `a/*/b` pattern, such as `a/c/b`, `a/d/b`
* * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
+ * You can combine wildcards to provide more powerful matches, for example:
+ * * `gs://bucket_name/[a-m]??.j*g`
*
*
* repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -906,7 +996,7 @@ public Builder addFilePatterns(java.lang.String value) {
*
*
* Required. Patterns to identify a set of files in Google Cloud Storage. See [Cloud
- * Storage documentation](storage/docs/gsutil/addlhelp/WildcardNames) for
+ * Storage documentation](/storage/docs/gsutil/addlhelp/WildcardNames) for
* more information. Note that bucket wildcards are currently not supported.
* Examples of valid file_patterns:
* * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
@@ -915,9 +1005,18 @@ public Builder addFilePatterns(java.lang.String value) {
* spanning all subdirectories.
* * `gs://bucket_name/file*`: matches files prefixed by `file` in
* `bucket_name`
+ * * `gs://bucket_name/??.txt`: matches files with two characters followed by
+ * `.txt` in `bucket_name`
+ * * `gs://bucket_name/[aeiou].txt`: matches files that contain a single
+ * vowel character followed by `.txt` in
+ * `bucket_name`
+ * * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
+ * or `m` followed by `.txt` in `bucket_name`
* * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
* `a/*/b` pattern, such as `a/c/b`, `a/d/b`
* * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
+ * You can combine wildcards to provide more powerful matches, for example:
+ * * `gs://bucket_name/[a-m]??.j*g`
*
*
* repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -936,7 +1035,7 @@ public Builder addAllFilePatterns(java.lang.Iterable
* Required. Patterns to identify a set of files in Google Cloud Storage. See [Cloud
- * Storage documentation](storage/docs/gsutil/addlhelp/WildcardNames) for
+ * Storage documentation](/storage/docs/gsutil/addlhelp/WildcardNames) for
* more information. Note that bucket wildcards are currently not supported.
* Examples of valid file_patterns:
* * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
@@ -945,9 +1044,18 @@ public Builder addAllFilePatterns(java.lang.Iterable
*
* repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -965,7 +1073,7 @@ public Builder clearFilePatterns() {
*
*
* Required. Patterns to identify a set of files in Google Cloud Storage. See [Cloud
- * Storage documentation](storage/docs/gsutil/addlhelp/WildcardNames) for
+ * Storage documentation](/storage/docs/gsutil/addlhelp/WildcardNames) for
* more information. Note that bucket wildcards are currently not supported.
* Examples of valid file_patterns:
* * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
@@ -974,9 +1082,18 @@ public Builder clearFilePatterns() {
* spanning all subdirectories.
* * `gs://bucket_name/file*`: matches files prefixed by `file` in
* `bucket_name`
+ * * `gs://bucket_name/??.txt`: matches files with two characters followed by
+ * `.txt` in `bucket_name`
+ * * `gs://bucket_name/[aeiou].txt`: matches files that contain a single
+ * vowel character followed by `.txt` in
+ * `bucket_name`
+ * * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
+ * or `m` followed by `.txt` in `bucket_name`
* * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
* `a/*/b` pattern, such as `a/c/b`, `a/d/b`
* * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
+ * You can combine wildcards to provide more powerful matches, for example:
+ * * `gs://bucket_name/[a-m]??.j*g`
*
*
* repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED];
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOrBuilder.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOrBuilder.java
index 79f125dd..b34a5396 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOrBuilder.java
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOrBuilder.java
@@ -28,7 +28,7 @@ public interface GcsFilesetSpecOrBuilder
*
*
* Required. Patterns to identify a set of files in Google Cloud Storage. See [Cloud
- * Storage documentation](storage/docs/gsutil/addlhelp/WildcardNames) for
+ * Storage documentation](/storage/docs/gsutil/addlhelp/WildcardNames) for
* more information. Note that bucket wildcards are currently not supported.
* Examples of valid file_patterns:
* * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
@@ -37,9 +37,18 @@ public interface GcsFilesetSpecOrBuilder
* spanning all subdirectories.
* * `gs://bucket_name/file*`: matches files prefixed by `file` in
* `bucket_name`
+ * * `gs://bucket_name/??.txt`: matches files with two characters followed by
+ * `.txt` in `bucket_name`
+ * * `gs://bucket_name/[aeiou].txt`: matches files that contain a single
+ * vowel character followed by `.txt` in
+ * `bucket_name`
+ * * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
+ * or `m` followed by `.txt` in `bucket_name`
* * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
* `a/*/b` pattern, such as `a/c/b`, `a/d/b`
* * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
+ * You can combine wildcards to provide more powerful matches, for example:
+ * * `gs://bucket_name/[a-m]??.j*g`
*
*
* repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -52,7 +61,7 @@ public interface GcsFilesetSpecOrBuilder
*
*
* Required. Patterns to identify a set of files in Google Cloud Storage. See [Cloud
- * Storage documentation](storage/docs/gsutil/addlhelp/WildcardNames) for
+ * Storage documentation](/storage/docs/gsutil/addlhelp/WildcardNames) for
* more information. Note that bucket wildcards are currently not supported.
* Examples of valid file_patterns:
* * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
@@ -61,9 +70,18 @@ public interface GcsFilesetSpecOrBuilder
* spanning all subdirectories.
* * `gs://bucket_name/file*`: matches files prefixed by `file` in
* `bucket_name`
+ * * `gs://bucket_name/??.txt`: matches files with two characters followed by
+ * `.txt` in `bucket_name`
+ * * `gs://bucket_name/[aeiou].txt`: matches files that contain a single
+ * vowel character followed by `.txt` in
+ * `bucket_name`
+ * * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
+ * or `m` followed by `.txt` in `bucket_name`
* * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
* `a/*/b` pattern, such as `a/c/b`, `a/d/b`
* * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
+ * You can combine wildcards to provide more powerful matches, for example:
+ * * `gs://bucket_name/[a-m]??.j*g`
*
*
* repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -76,7 +94,7 @@ public interface GcsFilesetSpecOrBuilder
*
*
* Required. Patterns to identify a set of files in Google Cloud Storage. See [Cloud
- * Storage documentation](storage/docs/gsutil/addlhelp/WildcardNames) for
+ * Storage documentation](/storage/docs/gsutil/addlhelp/WildcardNames) for
* more information. Note that bucket wildcards are currently not supported.
* Examples of valid file_patterns:
* * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
@@ -85,9 +103,18 @@ public interface GcsFilesetSpecOrBuilder
* spanning all subdirectories.
* * `gs://bucket_name/file*`: matches files prefixed by `file` in
* `bucket_name`
+ * * `gs://bucket_name/??.txt`: matches files with two characters followed by
+ * `.txt` in `bucket_name`
+ * * `gs://bucket_name/[aeiou].txt`: matches files that contain a single
+ * vowel character followed by `.txt` in
+ * `bucket_name`
+ * * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
+ * or `m` followed by `.txt` in `bucket_name`
* * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
* `a/*/b` pattern, such as `a/c/b`, `a/d/b`
* * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
+ * You can combine wildcards to provide more powerful matches, for example:
+ * * `gs://bucket_name/[a-m]??.j*g`
*
*
* repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED];
@@ -101,7 +128,7 @@ public interface GcsFilesetSpecOrBuilder
*
*
* Required. Patterns to identify a set of files in Google Cloud Storage. See [Cloud
- * Storage documentation](storage/docs/gsutil/addlhelp/WildcardNames) for
+ * Storage documentation](/storage/docs/gsutil/addlhelp/WildcardNames) for
* more information. Note that bucket wildcards are currently not supported.
* Examples of valid file_patterns:
* * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
@@ -110,9 +137,18 @@ public interface GcsFilesetSpecOrBuilder
* spanning all subdirectories.
* * `gs://bucket_name/file*`: matches files prefixed by `file` in
* `bucket_name`
+ * * `gs://bucket_name/??.txt`: matches files with two characters followed by
+ * `.txt` in `bucket_name`
+ * * `gs://bucket_name/[aeiou].txt`: matches files that contain a single
+ * vowel character followed by `.txt` in
+ * `bucket_name`
+ * * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
+ * or `m` followed by `.txt` in `bucket_name`
* * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
* `a/*/b` pattern, such as `a/c/b`, `a/d/b`
* * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
+ * You can combine wildcards to provide more powerful matches, for example:
+ * * `gs://bucket_name/[a-m]??.j*g`
*
*
* repeated string file_patterns = 1 [(.google.api.field_behavior) = REQUIRED];
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequest.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequest.java
index f76deda6..f732f4ab 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequest.java
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequest.java
@@ -120,10 +120,6 @@ 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}
- * Entry groups are logical groupings of entries. Currently, users cannot
- * create/modify entry groups. They are created by Data Catalog; they include
- * `@bigquery` for all BigQuery entries, and `@pubsub` for all Cloud Pub/Sub
- * entries.
*
*
*
@@ -149,10 +145,6 @@ public java.lang.String getName() {
*
* Required. The name of the entry. Example:
* * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
- * Entry groups are logical groupings of entries. Currently, users cannot
- * create/modify entry groups. They are created by Data Catalog; they include
- * `@bigquery` for all BigQuery entries, and `@pubsub` for all Cloud Pub/Sub
- * entries.
*
*
*
@@ -499,10 +491,6 @@ public Builder mergeFrom(
*
* Required. The name of the entry. Example:
* * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
- * Entry groups are logical groupings of entries. Currently, users cannot
- * create/modify entry groups. They are created by Data Catalog; they include
- * `@bigquery` for all BigQuery entries, and `@pubsub` for all Cloud Pub/Sub
- * entries.
*
*
*
@@ -528,10 +516,6 @@ public java.lang.String getName() {
*
* Required. The name of the entry. Example:
* * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
- * Entry groups are logical groupings of entries. Currently, users cannot
- * create/modify entry groups. They are created by Data Catalog; they include
- * `@bigquery` for all BigQuery entries, and `@pubsub` for all Cloud Pub/Sub
- * entries.
*
*
*
@@ -557,10 +541,6 @@ 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}
- * Entry groups are logical groupings of entries. Currently, users cannot
- * create/modify entry groups. They are created by Data Catalog; they include
- * `@bigquery` for all BigQuery entries, and `@pubsub` for all Cloud Pub/Sub
- * entries.
*
*
*
@@ -585,10 +565,6 @@ 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}
- * Entry groups are logical groupings of entries. Currently, users cannot
- * create/modify entry groups. They are created by Data Catalog; they include
- * `@bigquery` for all BigQuery entries, and `@pubsub` for all Cloud Pub/Sub
- * entries.
*
*
*
@@ -609,10 +585,6 @@ public Builder clearName() {
*
* Required. The name of the entry. Example:
* * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
- * Entry groups are logical groupings of entries. Currently, users cannot
- * create/modify entry groups. They are created by Data Catalog; they include
- * `@bigquery` for all BigQuery entries, and `@pubsub` for all Cloud Pub/Sub
- * entries.
*
*
*
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequestOrBuilder.java
index 4102a514..f1f18671 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequestOrBuilder.java
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GetEntryRequestOrBuilder.java
@@ -29,10 +29,6 @@ public interface GetEntryRequestOrBuilder
*
* Required. The name of the entry. Example:
* * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
- * Entry groups are logical groupings of entries. Currently, users cannot
- * create/modify entry groups. They are created by Data Catalog; they include
- * `@bigquery` for all BigQuery entries, and `@pubsub` for all Cloud Pub/Sub
- * entries.
*
*
*
@@ -48,10 +44,6 @@ public interface GetEntryRequestOrBuilder
*
* Required. The name of the entry. Example:
* * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
- * Entry groups are logical groupings of entries. Currently, users cannot
- * create/modify entry groups. They are created by Data Catalog; they include
- * `@bigquery` for all BigQuery entries, and `@pubsub` for all Cloud Pub/Sub
- * entries.
*
*
*
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/IntegratedSystem.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/IntegratedSystem.java
new file mode 100644
index 00000000..299898d3
--- /dev/null
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/IntegratedSystem.java
@@ -0,0 +1,173 @@
+/*
+ * 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/v1beta1/common.proto
+
+package com.google.cloud.datacatalog.v1beta1;
+
+/**
+ *
+ *
+ *
+ * This enum describes all the possible systems that Data Catalog integrates
+ * with.
+ *
+ *
+ * Protobuf enum {@code google.cloud.datacatalog.v1beta1.IntegratedSystem}
+ */
+public enum IntegratedSystem implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ *
+ *
+ *
+ * Default unknown system.
+ *
+ *
+ * INTEGRATED_SYSTEM_UNSPECIFIED = 0;
+ */
+ INTEGRATED_SYSTEM_UNSPECIFIED(0),
+ /**
+ *
+ *
+ *
+ * BigQuery.
+ *
+ *
+ * BIGQUERY = 1;
+ */
+ BIGQUERY(1),
+ /**
+ *
+ *
+ *
+ * Cloud Pub/Sub.
+ *
+ *
+ * CLOUD_PUBSUB = 2;
+ */
+ CLOUD_PUBSUB(2),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ *
+ *
+ *
+ * Default unknown system.
+ *
+ *
+ * INTEGRATED_SYSTEM_UNSPECIFIED = 0;
+ */
+ public static final int INTEGRATED_SYSTEM_UNSPECIFIED_VALUE = 0;
+ /**
+ *
+ *
+ *
+ * BigQuery.
+ *
+ *
+ * BIGQUERY = 1;
+ */
+ public static final int BIGQUERY_VALUE = 1;
+ /**
+ *
+ *
+ *
+ * Cloud Pub/Sub.
+ *
+ *
+ * CLOUD_PUBSUB = 2;
+ */
+ public static final int CLOUD_PUBSUB_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 IntegratedSystem 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 IntegratedSystem forNumber(int value) {
+ switch (value) {
+ case 0:
+ return INTEGRATED_SYSTEM_UNSPECIFIED;
+ case 1:
+ return BIGQUERY;
+ case 2:
+ return CLOUD_PUBSUB;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap
+ * Request message for
+ * [ListEntries][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntries].
+ *
+ *
+ * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListEntriesRequest}
+ */
+public final class ListEntriesRequest extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ListEntriesRequest)
+ ListEntriesRequestOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use ListEntriesRequest.newBuilder() to construct.
+ private ListEntriesRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private ListEntriesRequest() {
+ parent_ = "";
+ pageToken_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListEntriesRequest();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private ListEntriesRequest(
+ 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();
+
+ parent_ = s;
+ break;
+ }
+ case 16:
+ {
+ pageSize_ = input.readInt32();
+ break;
+ }
+ case 26:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ pageToken_ = s;
+ break;
+ }
+ case 34:
+ {
+ com.google.protobuf.FieldMask.Builder subBuilder = null;
+ if (readMask_ != null) {
+ subBuilder = readMask_.toBuilder();
+ }
+ readMask_ =
+ input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(readMask_);
+ readMask_ = 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.v1beta1.Datacatalog
+ .internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.datacatalog.v1beta1.Datacatalog
+ .internal_static_google_cloud_datacatalog_v1beta1_ListEntriesRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.datacatalog.v1beta1.ListEntriesRequest.class,
+ com.google.cloud.datacatalog.v1beta1.ListEntriesRequest.Builder.class);
+ }
+
+ public static final int PARENT_FIELD_NUMBER = 1;
+ private volatile java.lang.Object parent_;
+ /**
+ *
+ *
+ *
+ * Required. The name of the entry group that contains the entries, which can
+ * be provided in URL format. Example:
+ * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The parent.
+ */
+ public java.lang.String getParent() {
+ java.lang.Object ref = parent_;
+ 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();
+ parent_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The name of the entry group that contains the entries, which can
+ * be provided in URL format. Example:
+ * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for parent.
+ */
+ public com.google.protobuf.ByteString getParentBytes() {
+ java.lang.Object ref = parent_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ parent_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int PAGE_SIZE_FIELD_NUMBER = 2;
+ private int pageSize_;
+ /**
+ *
+ *
+ *
+ * The maximum number of items to return. Default is 10. Max limit is 1000.
+ * Throws an invalid argument for `page_size > 1000`.
+ *
+ *
+ * int32 page_size = 2;
+ *
+ * @return The pageSize.
+ */
+ public int getPageSize() {
+ return pageSize_;
+ }
+
+ public static final int PAGE_TOKEN_FIELD_NUMBER = 3;
+ private volatile java.lang.Object pageToken_;
+ /**
+ *
+ *
+ *
+ * Token that specifies which page is requested. If empty, the first page is
+ * returned.
+ *
+ *
+ * string page_token = 3;
+ *
+ * @return The pageToken.
+ */
+ public java.lang.String getPageToken() {
+ java.lang.Object ref = pageToken_;
+ 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();
+ pageToken_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Token that specifies which page is requested. If empty, the first page is
+ * returned.
+ *
+ *
+ * string page_token = 3;
+ *
+ * @return The bytes for pageToken.
+ */
+ public com.google.protobuf.ByteString getPageTokenBytes() {
+ java.lang.Object ref = pageToken_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ pageToken_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int READ_MASK_FIELD_NUMBER = 4;
+ private com.google.protobuf.FieldMask readMask_;
+ /**
+ *
+ *
+ *
+ * The fields to return for each Entry. If not set or empty, all
+ * fields are returned.
+ * For example, setting read_mask to contain only one path "name" will cause
+ * ListEntries to return a list of Entries with only "name" field.
+ *
+ *
+ * .google.protobuf.FieldMask read_mask = 4;
+ *
+ * @return Whether the readMask field is set.
+ */
+ public boolean hasReadMask() {
+ return readMask_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * The fields to return for each Entry. If not set or empty, all
+ * fields are returned.
+ * For example, setting read_mask to contain only one path "name" will cause
+ * ListEntries to return a list of Entries with only "name" field.
+ *
+ *
+ * .google.protobuf.FieldMask read_mask = 4;
+ *
+ * @return The readMask.
+ */
+ public com.google.protobuf.FieldMask getReadMask() {
+ return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_;
+ }
+ /**
+ *
+ *
+ *
+ * The fields to return for each Entry. If not set or empty, all
+ * fields are returned.
+ * For example, setting read_mask to contain only one path "name" will cause
+ * ListEntries to return a list of Entries with only "name" field.
+ *
+ *
+ * .google.protobuf.FieldMask read_mask = 4;
+ */
+ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
+ return getReadMask();
+ }
+
+ 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 (!getParentBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
+ }
+ if (pageSize_ != 0) {
+ output.writeInt32(2, pageSize_);
+ }
+ if (!getPageTokenBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_);
+ }
+ if (readMask_ != null) {
+ output.writeMessage(4, getReadMask());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getParentBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
+ }
+ if (pageSize_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_);
+ }
+ if (!getPageTokenBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_);
+ }
+ if (readMask_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getReadMask());
+ }
+ 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.v1beta1.ListEntriesRequest)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.datacatalog.v1beta1.ListEntriesRequest other =
+ (com.google.cloud.datacatalog.v1beta1.ListEntriesRequest) obj;
+
+ if (!getParent().equals(other.getParent())) return false;
+ if (getPageSize() != other.getPageSize()) return false;
+ if (!getPageToken().equals(other.getPageToken())) return false;
+ if (hasReadMask() != other.hasReadMask()) return false;
+ if (hasReadMask()) {
+ if (!getReadMask().equals(other.getReadMask())) 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) + PARENT_FIELD_NUMBER;
+ hash = (53 * hash) + getParent().hashCode();
+ hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER;
+ hash = (53 * hash) + getPageSize();
+ hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER;
+ hash = (53 * hash) + getPageToken().hashCode();
+ if (hasReadMask()) {
+ hash = (37 * hash) + READ_MASK_FIELD_NUMBER;
+ hash = (53 * hash) + getReadMask().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.datacatalog.v1beta1.ListEntriesRequest prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ *
+ * Request message for
+ * [ListEntries][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntries].
+ *
+ *
+ * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListEntriesRequest}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Required. The name of the entry group that contains the entries, which can
+ * be provided in URL format. Example:
+ * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The parent.
+ */
+ public java.lang.String getParent() {
+ java.lang.Object ref = parent_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ parent_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The name of the entry group that contains the entries, which can
+ * be provided in URL format. Example:
+ * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for parent.
+ */
+ public com.google.protobuf.ByteString getParentBytes() {
+ java.lang.Object ref = parent_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ parent_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The name of the entry group that contains the entries, which can
+ * be provided in URL format. Example:
+ * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
+ */
+ public Builder setParent(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ parent_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The name of the entry group that contains the entries, which can
+ * be provided in URL format. Example:
+ * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearParent() {
+
+ parent_ = getDefaultInstance().getParent();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The name of the entry group that contains the entries, which can
+ * be provided in URL format. Example:
+ * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
+ */
+ public Builder setParentBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ parent_ = value;
+ onChanged();
+ return this;
+ }
+
+ private int pageSize_;
+ /**
+ *
+ *
+ *
+ * The maximum number of items to return. Default is 10. Max limit is 1000.
+ * Throws an invalid argument for `page_size > 1000`.
+ *
+ *
+ * int32 page_size = 2;
+ *
+ * @return The pageSize.
+ */
+ public int getPageSize() {
+ return pageSize_;
+ }
+ /**
+ *
+ *
+ *
+ * The maximum number of items to return. Default is 10. Max limit is 1000.
+ * Throws an invalid argument for `page_size > 1000`.
+ *
+ *
+ * int32 page_size = 2;
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPageSize(int value) {
+
+ pageSize_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The maximum number of items to return. Default is 10. Max limit is 1000.
+ * Throws an invalid argument for `page_size > 1000`.
+ *
+ *
+ * int32 page_size = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearPageSize() {
+
+ pageSize_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object pageToken_ = "";
+ /**
+ *
+ *
+ *
+ * Token that specifies which page is requested. If empty, the first page is
+ * returned.
+ *
+ *
+ * string page_token = 3;
+ *
+ * @return The pageToken.
+ */
+ public java.lang.String getPageToken() {
+ java.lang.Object ref = pageToken_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ pageToken_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Token that specifies which page is requested. If empty, the first page is
+ * returned.
+ *
+ *
+ * string page_token = 3;
+ *
+ * @return The bytes for pageToken.
+ */
+ public com.google.protobuf.ByteString getPageTokenBytes() {
+ java.lang.Object ref = pageToken_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ pageToken_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Token that specifies which page is requested. If empty, the first page is
+ * returned.
+ *
+ *
+ * string page_token = 3;
+ *
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPageToken(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ pageToken_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Token that specifies which page is requested. If empty, the first page is
+ * returned.
+ *
+ *
+ * string page_token = 3;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearPageToken() {
+
+ pageToken_ = getDefaultInstance().getPageToken();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Token that specifies which page is requested. If empty, the first page is
+ * returned.
+ *
+ *
+ * string page_token = 3;
+ *
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ pageToken_ = value;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.FieldMask readMask_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.FieldMask,
+ com.google.protobuf.FieldMask.Builder,
+ com.google.protobuf.FieldMaskOrBuilder>
+ readMaskBuilder_;
+ /**
+ *
+ *
+ *
+ * The fields to return for each Entry. If not set or empty, all
+ * fields are returned.
+ * For example, setting read_mask to contain only one path "name" will cause
+ * ListEntries to return a list of Entries with only "name" field.
+ *
+ *
+ * .google.protobuf.FieldMask read_mask = 4;
+ *
+ * @return Whether the readMask field is set.
+ */
+ public boolean hasReadMask() {
+ return readMaskBuilder_ != null || readMask_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * The fields to return for each Entry. If not set or empty, all
+ * fields are returned.
+ * For example, setting read_mask to contain only one path "name" will cause
+ * ListEntries to return a list of Entries with only "name" field.
+ *
+ *
+ * .google.protobuf.FieldMask read_mask = 4;
+ *
+ * @return The readMask.
+ */
+ public com.google.protobuf.FieldMask getReadMask() {
+ if (readMaskBuilder_ == null) {
+ return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_;
+ } else {
+ return readMaskBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The fields to return for each Entry. If not set or empty, all
+ * fields are returned.
+ * For example, setting read_mask to contain only one path "name" will cause
+ * ListEntries to return a list of Entries with only "name" field.
+ *
+ *
+ * .google.protobuf.FieldMask read_mask = 4;
+ */
+ public Builder setReadMask(com.google.protobuf.FieldMask value) {
+ if (readMaskBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ readMask_ = value;
+ onChanged();
+ } else {
+ readMaskBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The fields to return for each Entry. If not set or empty, all
+ * fields are returned.
+ * For example, setting read_mask to contain only one path "name" will cause
+ * ListEntries to return a list of Entries with only "name" field.
+ *
+ *
+ * .google.protobuf.FieldMask read_mask = 4;
+ */
+ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+ if (readMaskBuilder_ == null) {
+ readMask_ = builderForValue.build();
+ onChanged();
+ } else {
+ readMaskBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The fields to return for each Entry. If not set or empty, all
+ * fields are returned.
+ * For example, setting read_mask to contain only one path "name" will cause
+ * ListEntries to return a list of Entries with only "name" field.
+ *
+ *
+ * .google.protobuf.FieldMask read_mask = 4;
+ */
+ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
+ if (readMaskBuilder_ == null) {
+ if (readMask_ != null) {
+ readMask_ =
+ com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial();
+ } else {
+ readMask_ = value;
+ }
+ onChanged();
+ } else {
+ readMaskBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The fields to return for each Entry. If not set or empty, all
+ * fields are returned.
+ * For example, setting read_mask to contain only one path "name" will cause
+ * ListEntries to return a list of Entries with only "name" field.
+ *
+ *
+ * .google.protobuf.FieldMask read_mask = 4;
+ */
+ public Builder clearReadMask() {
+ if (readMaskBuilder_ == null) {
+ readMask_ = null;
+ onChanged();
+ } else {
+ readMask_ = null;
+ readMaskBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The fields to return for each Entry. If not set or empty, all
+ * fields are returned.
+ * For example, setting read_mask to contain only one path "name" will cause
+ * ListEntries to return a list of Entries with only "name" field.
+ *
+ *
+ * .google.protobuf.FieldMask read_mask = 4;
+ */
+ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
+
+ onChanged();
+ return getReadMaskFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * The fields to return for each Entry. If not set or empty, all
+ * fields are returned.
+ * For example, setting read_mask to contain only one path "name" will cause
+ * ListEntries to return a list of Entries with only "name" field.
+ *
+ *
+ * .google.protobuf.FieldMask read_mask = 4;
+ */
+ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
+ if (readMaskBuilder_ != null) {
+ return readMaskBuilder_.getMessageOrBuilder();
+ } else {
+ return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The fields to return for each Entry. If not set or empty, all
+ * fields are returned.
+ * For example, setting read_mask to contain only one path "name" will cause
+ * ListEntries to return a list of Entries with only "name" field.
+ *
+ *
+ * .google.protobuf.FieldMask read_mask = 4;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.FieldMask,
+ com.google.protobuf.FieldMask.Builder,
+ com.google.protobuf.FieldMaskOrBuilder>
+ getReadMaskFieldBuilder() {
+ if (readMaskBuilder_ == null) {
+ readMaskBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.FieldMask,
+ com.google.protobuf.FieldMask.Builder,
+ com.google.protobuf.FieldMaskOrBuilder>(
+ getReadMask(), getParentForChildren(), isClean());
+ readMask_ = null;
+ }
+ return readMaskBuilder_;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.datacatalog.v1beta1.ListEntriesRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ListEntriesRequest)
+ private static final com.google.cloud.datacatalog.v1beta1.ListEntriesRequest DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ListEntriesRequest();
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntriesRequest getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Required. The name of the entry group that contains the entries, which can
+ * be provided in URL format. Example:
+ * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The parent.
+ */
+ java.lang.String getParent();
+ /**
+ *
+ *
+ *
+ * Required. The name of the entry group that contains the entries, which can
+ * be provided in URL format. Example:
+ * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for parent.
+ */
+ com.google.protobuf.ByteString getParentBytes();
+
+ /**
+ *
+ *
+ *
+ * The maximum number of items to return. Default is 10. Max limit is 1000.
+ * Throws an invalid argument for `page_size > 1000`.
+ *
+ *
+ * int32 page_size = 2;
+ *
+ * @return The pageSize.
+ */
+ int getPageSize();
+
+ /**
+ *
+ *
+ *
+ * Token that specifies which page is requested. If empty, the first page is
+ * returned.
+ *
+ *
+ * string page_token = 3;
+ *
+ * @return The pageToken.
+ */
+ java.lang.String getPageToken();
+ /**
+ *
+ *
+ *
+ * Token that specifies which page is requested. If empty, the first page is
+ * returned.
+ *
+ *
+ * string page_token = 3;
+ *
+ * @return The bytes for pageToken.
+ */
+ com.google.protobuf.ByteString getPageTokenBytes();
+
+ /**
+ *
+ *
+ *
+ * The fields to return for each Entry. If not set or empty, all
+ * fields are returned.
+ * For example, setting read_mask to contain only one path "name" will cause
+ * ListEntries to return a list of Entries with only "name" field.
+ *
+ *
+ * .google.protobuf.FieldMask read_mask = 4;
+ *
+ * @return Whether the readMask field is set.
+ */
+ boolean hasReadMask();
+ /**
+ *
+ *
+ *
+ * The fields to return for each Entry. If not set or empty, all
+ * fields are returned.
+ * For example, setting read_mask to contain only one path "name" will cause
+ * ListEntries to return a list of Entries with only "name" field.
+ *
+ *
+ * .google.protobuf.FieldMask read_mask = 4;
+ *
+ * @return The readMask.
+ */
+ com.google.protobuf.FieldMask getReadMask();
+ /**
+ *
+ *
+ *
+ * The fields to return for each Entry. If not set or empty, all
+ * fields are returned.
+ * For example, setting read_mask to contain only one path "name" will cause
+ * ListEntries to return a list of Entries with only "name" field.
+ *
+ *
+ * .google.protobuf.FieldMask read_mask = 4;
+ */
+ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder();
+}
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponse.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponse.java
new file mode 100644
index 00000000..172f1c0e
--- /dev/null
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntriesResponse.java
@@ -0,0 +1,1131 @@
+/*
+ * 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/v1beta1/datacatalog.proto
+
+package com.google.cloud.datacatalog.v1beta1;
+
+/**
+ *
+ *
+ *
+ * Response message for
+ * [ListEntries][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntries].
+ *
+ *
+ * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListEntriesResponse}
+ */
+public final class ListEntriesResponse extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ListEntriesResponse)
+ ListEntriesResponseOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use ListEntriesResponse.newBuilder() to construct.
+ private ListEntriesResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private ListEntriesResponse() {
+ entries_ = java.util.Collections.emptyList();
+ nextPageToken_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListEntriesResponse();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private ListEntriesResponse(
+ 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:
+ {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+ entries_ = new java.util.ArrayList
+ * Entry details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1;
+ */
+ public java.util.List
+ * Entry details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1;
+ */
+ public java.util.List extends com.google.cloud.datacatalog.v1beta1.EntryOrBuilder>
+ getEntriesOrBuilderList() {
+ return entries_;
+ }
+ /**
+ *
+ *
+ *
+ * Entry details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1;
+ */
+ public int getEntriesCount() {
+ return entries_.size();
+ }
+ /**
+ *
+ *
+ *
+ * Entry details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1;
+ */
+ public com.google.cloud.datacatalog.v1beta1.Entry getEntries(int index) {
+ return entries_.get(index);
+ }
+ /**
+ *
+ *
+ *
+ * Entry details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1;
+ */
+ public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntriesOrBuilder(int index) {
+ return entries_.get(index);
+ }
+
+ public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
+ private volatile java.lang.Object nextPageToken_;
+ /**
+ *
+ *
+ *
+ * Token to retrieve the next page of results. It is set to empty if no items
+ * remain in results.
+ *
+ *
+ * string next_page_token = 2;
+ *
+ * @return The nextPageToken.
+ */
+ public java.lang.String getNextPageToken() {
+ java.lang.Object ref = nextPageToken_;
+ 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();
+ nextPageToken_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Token to retrieve the next page of results. It is set to empty if no items
+ * remain in results.
+ *
+ *
+ * string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
+ */
+ public com.google.protobuf.ByteString getNextPageTokenBytes() {
+ java.lang.Object ref = nextPageToken_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ nextPageToken_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ for (int i = 0; i < entries_.size(); i++) {
+ output.writeMessage(1, entries_.get(i));
+ }
+ if (!getNextPageTokenBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < entries_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, entries_.get(i));
+ }
+ if (!getNextPageTokenBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
+ }
+ 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.v1beta1.ListEntriesResponse)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.datacatalog.v1beta1.ListEntriesResponse other =
+ (com.google.cloud.datacatalog.v1beta1.ListEntriesResponse) obj;
+
+ if (!getEntriesList().equals(other.getEntriesList())) return false;
+ if (!getNextPageToken().equals(other.getNextPageToken())) 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 (getEntriesCount() > 0) {
+ hash = (37 * hash) + ENTRIES_FIELD_NUMBER;
+ hash = (53 * hash) + getEntriesList().hashCode();
+ }
+ hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER;
+ hash = (53 * hash) + getNextPageToken().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.datacatalog.v1beta1.ListEntriesResponse 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;
+ }
+ /**
+ *
+ *
+ *
+ * Response message for
+ * [ListEntries][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntries].
+ *
+ *
+ * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListEntriesResponse}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Entry details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1;
+ */
+ public java.util.List
+ * Entry details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1;
+ */
+ public int getEntriesCount() {
+ if (entriesBuilder_ == null) {
+ return entries_.size();
+ } else {
+ return entriesBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Entry details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1;
+ */
+ public com.google.cloud.datacatalog.v1beta1.Entry getEntries(int index) {
+ if (entriesBuilder_ == null) {
+ return entries_.get(index);
+ } else {
+ return entriesBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Entry details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1;
+ */
+ public Builder setEntries(int index, com.google.cloud.datacatalog.v1beta1.Entry value) {
+ if (entriesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureEntriesIsMutable();
+ entries_.set(index, value);
+ onChanged();
+ } else {
+ entriesBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Entry details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1;
+ */
+ public Builder setEntries(
+ int index, com.google.cloud.datacatalog.v1beta1.Entry.Builder builderForValue) {
+ if (entriesBuilder_ == null) {
+ ensureEntriesIsMutable();
+ entries_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ entriesBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Entry details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1;
+ */
+ public Builder addEntries(com.google.cloud.datacatalog.v1beta1.Entry value) {
+ if (entriesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureEntriesIsMutable();
+ entries_.add(value);
+ onChanged();
+ } else {
+ entriesBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Entry details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1;
+ */
+ public Builder addEntries(int index, com.google.cloud.datacatalog.v1beta1.Entry value) {
+ if (entriesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureEntriesIsMutable();
+ entries_.add(index, value);
+ onChanged();
+ } else {
+ entriesBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Entry details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1;
+ */
+ public Builder addEntries(com.google.cloud.datacatalog.v1beta1.Entry.Builder builderForValue) {
+ if (entriesBuilder_ == null) {
+ ensureEntriesIsMutable();
+ entries_.add(builderForValue.build());
+ onChanged();
+ } else {
+ entriesBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Entry details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1;
+ */
+ public Builder addEntries(
+ int index, com.google.cloud.datacatalog.v1beta1.Entry.Builder builderForValue) {
+ if (entriesBuilder_ == null) {
+ ensureEntriesIsMutable();
+ entries_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ entriesBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Entry details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1;
+ */
+ public Builder addAllEntries(
+ java.lang.Iterable extends com.google.cloud.datacatalog.v1beta1.Entry> values) {
+ if (entriesBuilder_ == null) {
+ ensureEntriesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entries_);
+ onChanged();
+ } else {
+ entriesBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Entry details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1;
+ */
+ public Builder clearEntries() {
+ if (entriesBuilder_ == null) {
+ entries_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ entriesBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Entry details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1;
+ */
+ public Builder removeEntries(int index) {
+ if (entriesBuilder_ == null) {
+ ensureEntriesIsMutable();
+ entries_.remove(index);
+ onChanged();
+ } else {
+ entriesBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Entry details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1;
+ */
+ public com.google.cloud.datacatalog.v1beta1.Entry.Builder getEntriesBuilder(int index) {
+ return getEntriesFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ *
+ * Entry details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1;
+ */
+ public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntriesOrBuilder(int index) {
+ if (entriesBuilder_ == null) {
+ return entries_.get(index);
+ } else {
+ return entriesBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Entry details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1;
+ */
+ public java.util.List extends com.google.cloud.datacatalog.v1beta1.EntryOrBuilder>
+ getEntriesOrBuilderList() {
+ if (entriesBuilder_ != null) {
+ return entriesBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(entries_);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Entry details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1;
+ */
+ public com.google.cloud.datacatalog.v1beta1.Entry.Builder addEntriesBuilder() {
+ return getEntriesFieldBuilder()
+ .addBuilder(com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * Entry details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1;
+ */
+ public com.google.cloud.datacatalog.v1beta1.Entry.Builder addEntriesBuilder(int index) {
+ return getEntriesFieldBuilder()
+ .addBuilder(index, com.google.cloud.datacatalog.v1beta1.Entry.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * Entry details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1;
+ */
+ public java.util.List
+ * Token to retrieve the next page of results. It is set to empty if no items
+ * remain in results.
+ *
+ *
+ * string next_page_token = 2;
+ *
+ * @return The nextPageToken.
+ */
+ public java.lang.String getNextPageToken() {
+ java.lang.Object ref = nextPageToken_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ nextPageToken_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Token to retrieve the next page of results. It is set to empty if no items
+ * remain in results.
+ *
+ *
+ * string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
+ */
+ public com.google.protobuf.ByteString getNextPageTokenBytes() {
+ java.lang.Object ref = nextPageToken_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ nextPageToken_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Token to retrieve the next page of results. It is set to empty if no items
+ * remain in results.
+ *
+ *
+ * string next_page_token = 2;
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNextPageToken(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ nextPageToken_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Token to retrieve the next page of results. It is set to empty if no items
+ * remain in results.
+ *
+ *
+ * string next_page_token = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearNextPageToken() {
+
+ nextPageToken_ = getDefaultInstance().getNextPageToken();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Token to retrieve the next page of results. It is set to empty if no items
+ * remain in results.
+ *
+ *
+ * string next_page_token = 2;
+ *
+ * @param value The bytes for nextPageToken to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ nextPageToken_ = 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.v1beta1.ListEntriesResponse)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ListEntriesResponse)
+ private static final com.google.cloud.datacatalog.v1beta1.ListEntriesResponse DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ListEntriesResponse();
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntriesResponse getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Entry details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1;
+ */
+ java.util.List
+ * Entry details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1;
+ */
+ com.google.cloud.datacatalog.v1beta1.Entry getEntries(int index);
+ /**
+ *
+ *
+ *
+ * Entry details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1;
+ */
+ int getEntriesCount();
+ /**
+ *
+ *
+ *
+ * Entry details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1;
+ */
+ java.util.List extends com.google.cloud.datacatalog.v1beta1.EntryOrBuilder>
+ getEntriesOrBuilderList();
+ /**
+ *
+ *
+ *
+ * Entry details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.Entry entries = 1;
+ */
+ com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntriesOrBuilder(int index);
+
+ /**
+ *
+ *
+ *
+ * Token to retrieve the next page of results. It is set to empty if no items
+ * remain in results.
+ *
+ *
+ * string next_page_token = 2;
+ *
+ * @return The nextPageToken.
+ */
+ java.lang.String getNextPageToken();
+ /**
+ *
+ *
+ *
+ * Token to retrieve the next page of results. It is set to empty if no items
+ * remain in results.
+ *
+ *
+ * string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
+ */
+ com.google.protobuf.ByteString getNextPageTokenBytes();
+}
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequest.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequest.java
new file mode 100644
index 00000000..2209e9b5
--- /dev/null
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsRequest.java
@@ -0,0 +1,941 @@
+/*
+ * 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/v1beta1/datacatalog.proto
+
+package com.google.cloud.datacatalog.v1beta1;
+
+/**
+ *
+ *
+ *
+ * Request message for
+ * [ListEntryGroups][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntryGroups].
+ *
+ *
+ * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest}
+ */
+public final class ListEntryGroupsRequest extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest)
+ ListEntryGroupsRequestOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use ListEntryGroupsRequest.newBuilder() to construct.
+ private ListEntryGroupsRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private ListEntryGroupsRequest() {
+ parent_ = "";
+ pageToken_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListEntryGroupsRequest();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private ListEntryGroupsRequest(
+ 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();
+
+ parent_ = s;
+ break;
+ }
+ case 16:
+ {
+ pageSize_ = input.readInt32();
+ break;
+ }
+ case 26:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+
+ pageToken_ = s;
+ break;
+ }
+ default:
+ {
+ if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.cloud.datacatalog.v1beta1.Datacatalog
+ .internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.datacatalog.v1beta1.Datacatalog
+ .internal_static_google_cloud_datacatalog_v1beta1_ListEntryGroupsRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest.class,
+ com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest.Builder.class);
+ }
+
+ public static final int PARENT_FIELD_NUMBER = 1;
+ private volatile java.lang.Object parent_;
+ /**
+ *
+ *
+ *
+ * Required. The name of the location that contains the entry groups, which
+ * can be provided in URL format. Example:
+ * * projects/{project_id}/locations/{location}
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The parent.
+ */
+ public java.lang.String getParent() {
+ java.lang.Object ref = parent_;
+ 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();
+ parent_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The name of the location that contains the entry groups, which
+ * can be provided in URL format. Example:
+ * * projects/{project_id}/locations/{location}
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for parent.
+ */
+ public com.google.protobuf.ByteString getParentBytes() {
+ java.lang.Object ref = parent_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ parent_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int PAGE_SIZE_FIELD_NUMBER = 2;
+ private int pageSize_;
+ /**
+ *
+ *
+ *
+ * Optional. The maximum number of items to return. Default is 10. Max limit
+ * is 1000. Throws an invalid argument for `page_size > 1000`.
+ *
+ *
+ * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageSize.
+ */
+ public int getPageSize() {
+ return pageSize_;
+ }
+
+ public static final int PAGE_TOKEN_FIELD_NUMBER = 3;
+ private volatile java.lang.Object pageToken_;
+ /**
+ *
+ *
+ *
+ * Optional. Token that specifies which page is requested. If empty, the first
+ * page is returned.
+ *
+ *
+ * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageToken.
+ */
+ public java.lang.String getPageToken() {
+ java.lang.Object ref = pageToken_;
+ 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();
+ pageToken_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Token that specifies which page is requested. If empty, the first
+ * page is returned.
+ *
+ *
+ * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for pageToken.
+ */
+ public com.google.protobuf.ByteString getPageTokenBytes() {
+ java.lang.Object ref = pageToken_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ pageToken_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!getParentBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
+ }
+ if (pageSize_ != 0) {
+ output.writeInt32(2, pageSize_);
+ }
+ if (!getPageTokenBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getParentBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
+ }
+ if (pageSize_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_);
+ }
+ if (!getPageTokenBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_);
+ }
+ 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.v1beta1.ListEntryGroupsRequest)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest other =
+ (com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest) obj;
+
+ if (!getParent().equals(other.getParent())) return false;
+ if (getPageSize() != other.getPageSize()) return false;
+ if (!getPageToken().equals(other.getPageToken())) 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) + PARENT_FIELD_NUMBER;
+ hash = (53 * hash) + getParent().hashCode();
+ hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER;
+ hash = (53 * hash) + getPageSize();
+ hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER;
+ hash = (53 * hash) + getPageToken().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ *
+ * Request message for
+ * [ListEntryGroups][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntryGroups].
+ *
+ *
+ * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Required. The name of the location that contains the entry groups, which
+ * can be provided in URL format. Example:
+ * * projects/{project_id}/locations/{location}
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The parent.
+ */
+ public java.lang.String getParent() {
+ java.lang.Object ref = parent_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ parent_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The name of the location that contains the entry groups, which
+ * can be provided in URL format. Example:
+ * * projects/{project_id}/locations/{location}
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for parent.
+ */
+ public com.google.protobuf.ByteString getParentBytes() {
+ java.lang.Object ref = parent_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ parent_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The name of the location that contains the entry groups, which
+ * can be provided in URL format. Example:
+ * * projects/{project_id}/locations/{location}
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
+ */
+ public Builder setParent(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ parent_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The name of the location that contains the entry groups, which
+ * can be provided in URL format. Example:
+ * * projects/{project_id}/locations/{location}
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearParent() {
+
+ parent_ = getDefaultInstance().getParent();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The name of the location that contains the entry groups, which
+ * can be provided in URL format. Example:
+ * * projects/{project_id}/locations/{location}
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
+ */
+ public Builder setParentBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ parent_ = value;
+ onChanged();
+ return this;
+ }
+
+ private int pageSize_;
+ /**
+ *
+ *
+ *
+ * Optional. The maximum number of items to return. Default is 10. Max limit
+ * is 1000. Throws an invalid argument for `page_size > 1000`.
+ *
+ *
+ * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageSize.
+ */
+ public int getPageSize() {
+ return pageSize_;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The maximum number of items to return. Default is 10. Max limit
+ * is 1000. Throws an invalid argument for `page_size > 1000`.
+ *
+ *
+ * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPageSize(int value) {
+
+ pageSize_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The maximum number of items to return. Default is 10. Max limit
+ * is 1000. Throws an invalid argument for `page_size > 1000`.
+ *
+ *
+ * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearPageSize() {
+
+ pageSize_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object pageToken_ = "";
+ /**
+ *
+ *
+ *
+ * Optional. Token that specifies which page is requested. If empty, the first
+ * page is returned.
+ *
+ *
+ * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageToken.
+ */
+ public java.lang.String getPageToken() {
+ java.lang.Object ref = pageToken_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ pageToken_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Token that specifies which page is requested. If empty, the first
+ * page is returned.
+ *
+ *
+ * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for pageToken.
+ */
+ public com.google.protobuf.ByteString getPageTokenBytes() {
+ java.lang.Object ref = pageToken_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ pageToken_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Token that specifies which page is requested. If empty, the first
+ * page is returned.
+ *
+ *
+ * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPageToken(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ pageToken_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Token that specifies which page is requested. If empty, the first
+ * page is returned.
+ *
+ *
+ * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearPageToken() {
+
+ pageToken_ = getDefaultInstance().getPageToken();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Token that specifies which page is requested. If empty, the first
+ * page is returned.
+ *
+ *
+ * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ pageToken_ = 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.v1beta1.ListEntryGroupsRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest)
+ private static final com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest();
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Required. The name of the location that contains the entry groups, which
+ * can be provided in URL format. Example:
+ * * projects/{project_id}/locations/{location}
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The parent.
+ */
+ java.lang.String getParent();
+ /**
+ *
+ *
+ *
+ * Required. The name of the location that contains the entry groups, which
+ * can be provided in URL format. Example:
+ * * projects/{project_id}/locations/{location}
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for parent.
+ */
+ com.google.protobuf.ByteString getParentBytes();
+
+ /**
+ *
+ *
+ *
+ * Optional. The maximum number of items to return. Default is 10. Max limit
+ * is 1000. Throws an invalid argument for `page_size > 1000`.
+ *
+ *
+ * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageSize.
+ */
+ int getPageSize();
+
+ /**
+ *
+ *
+ *
+ * Optional. Token that specifies which page is requested. If empty, the first
+ * page is returned.
+ *
+ *
+ * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageToken.
+ */
+ java.lang.String getPageToken();
+ /**
+ *
+ *
+ *
+ * Optional. Token that specifies which page is requested. If empty, the first
+ * page is returned.
+ *
+ *
+ * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for pageToken.
+ */
+ com.google.protobuf.ByteString getPageTokenBytes();
+}
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponse.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponse.java
new file mode 100644
index 00000000..52fae0e2
--- /dev/null
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListEntryGroupsResponse.java
@@ -0,0 +1,1143 @@
+/*
+ * 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/v1beta1/datacatalog.proto
+
+package com.google.cloud.datacatalog.v1beta1;
+
+/**
+ *
+ *
+ *
+ * Response message for
+ * [ListEntryGroups][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntryGroups].
+ *
+ *
+ * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse}
+ */
+public final class ListEntryGroupsResponse extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse)
+ ListEntryGroupsResponseOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use ListEntryGroupsResponse.newBuilder() to construct.
+ private ListEntryGroupsResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private ListEntryGroupsResponse() {
+ entryGroups_ = java.util.Collections.emptyList();
+ nextPageToken_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListEntryGroupsResponse();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private ListEntryGroupsResponse(
+ 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:
+ {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+ entryGroups_ =
+ new java.util.ArrayList
+ * EntryGroup details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1;
+ */
+ public java.util.List
+ * EntryGroup details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1;
+ */
+ public java.util.List extends com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder>
+ getEntryGroupsOrBuilderList() {
+ return entryGroups_;
+ }
+ /**
+ *
+ *
+ *
+ * EntryGroup details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1;
+ */
+ public int getEntryGroupsCount() {
+ return entryGroups_.size();
+ }
+ /**
+ *
+ *
+ *
+ * EntryGroup details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1;
+ */
+ public com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroups(int index) {
+ return entryGroups_.get(index);
+ }
+ /**
+ *
+ *
+ *
+ * EntryGroup details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1;
+ */
+ public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupsOrBuilder(
+ int index) {
+ return entryGroups_.get(index);
+ }
+
+ public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
+ private volatile java.lang.Object nextPageToken_;
+ /**
+ *
+ *
+ *
+ * Token to retrieve the next page of results. It is set to empty if no items
+ * remain in results.
+ *
+ *
+ * string next_page_token = 2;
+ *
+ * @return The nextPageToken.
+ */
+ public java.lang.String getNextPageToken() {
+ java.lang.Object ref = nextPageToken_;
+ 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();
+ nextPageToken_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Token to retrieve the next page of results. It is set to empty if no items
+ * remain in results.
+ *
+ *
+ * string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
+ */
+ public com.google.protobuf.ByteString getNextPageTokenBytes() {
+ java.lang.Object ref = nextPageToken_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ nextPageToken_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ for (int i = 0; i < entryGroups_.size(); i++) {
+ output.writeMessage(1, entryGroups_.get(i));
+ }
+ if (!getNextPageTokenBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < entryGroups_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, entryGroups_.get(i));
+ }
+ if (!getNextPageTokenBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
+ }
+ 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.v1beta1.ListEntryGroupsResponse)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse other =
+ (com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse) obj;
+
+ if (!getEntryGroupsList().equals(other.getEntryGroupsList())) return false;
+ if (!getNextPageToken().equals(other.getNextPageToken())) 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 (getEntryGroupsCount() > 0) {
+ hash = (37 * hash) + ENTRY_GROUPS_FIELD_NUMBER;
+ hash = (53 * hash) + getEntryGroupsList().hashCode();
+ }
+ hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER;
+ hash = (53 * hash) + getNextPageToken().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse 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;
+ }
+ /**
+ *
+ *
+ *
+ * Response message for
+ * [ListEntryGroups][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntryGroups].
+ *
+ *
+ * Protobuf type {@code google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * EntryGroup details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1;
+ */
+ public java.util.List
+ * EntryGroup details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1;
+ */
+ public int getEntryGroupsCount() {
+ if (entryGroupsBuilder_ == null) {
+ return entryGroups_.size();
+ } else {
+ return entryGroupsBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * EntryGroup details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1;
+ */
+ public com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroups(int index) {
+ if (entryGroupsBuilder_ == null) {
+ return entryGroups_.get(index);
+ } else {
+ return entryGroupsBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * EntryGroup details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1;
+ */
+ public Builder setEntryGroups(
+ int index, com.google.cloud.datacatalog.v1beta1.EntryGroup value) {
+ if (entryGroupsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureEntryGroupsIsMutable();
+ entryGroups_.set(index, value);
+ onChanged();
+ } else {
+ entryGroupsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * EntryGroup details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1;
+ */
+ public Builder setEntryGroups(
+ int index, com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder builderForValue) {
+ if (entryGroupsBuilder_ == null) {
+ ensureEntryGroupsIsMutable();
+ entryGroups_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ entryGroupsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * EntryGroup details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1;
+ */
+ public Builder addEntryGroups(com.google.cloud.datacatalog.v1beta1.EntryGroup value) {
+ if (entryGroupsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureEntryGroupsIsMutable();
+ entryGroups_.add(value);
+ onChanged();
+ } else {
+ entryGroupsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * EntryGroup details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1;
+ */
+ public Builder addEntryGroups(
+ int index, com.google.cloud.datacatalog.v1beta1.EntryGroup value) {
+ if (entryGroupsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureEntryGroupsIsMutable();
+ entryGroups_.add(index, value);
+ onChanged();
+ } else {
+ entryGroupsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * EntryGroup details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1;
+ */
+ public Builder addEntryGroups(
+ com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder builderForValue) {
+ if (entryGroupsBuilder_ == null) {
+ ensureEntryGroupsIsMutable();
+ entryGroups_.add(builderForValue.build());
+ onChanged();
+ } else {
+ entryGroupsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * EntryGroup details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1;
+ */
+ public Builder addEntryGroups(
+ int index, com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder builderForValue) {
+ if (entryGroupsBuilder_ == null) {
+ ensureEntryGroupsIsMutable();
+ entryGroups_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ entryGroupsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * EntryGroup details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1;
+ */
+ public Builder addAllEntryGroups(
+ java.lang.Iterable extends com.google.cloud.datacatalog.v1beta1.EntryGroup> values) {
+ if (entryGroupsBuilder_ == null) {
+ ensureEntryGroupsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entryGroups_);
+ onChanged();
+ } else {
+ entryGroupsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * EntryGroup details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1;
+ */
+ public Builder clearEntryGroups() {
+ if (entryGroupsBuilder_ == null) {
+ entryGroups_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ entryGroupsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * EntryGroup details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1;
+ */
+ public Builder removeEntryGroups(int index) {
+ if (entryGroupsBuilder_ == null) {
+ ensureEntryGroupsIsMutable();
+ entryGroups_.remove(index);
+ onChanged();
+ } else {
+ entryGroupsBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * EntryGroup details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1;
+ */
+ public com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder getEntryGroupsBuilder(
+ int index) {
+ return getEntryGroupsFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ *
+ * EntryGroup details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1;
+ */
+ public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupsOrBuilder(
+ int index) {
+ if (entryGroupsBuilder_ == null) {
+ return entryGroups_.get(index);
+ } else {
+ return entryGroupsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * EntryGroup details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1;
+ */
+ public java.util.List extends com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder>
+ getEntryGroupsOrBuilderList() {
+ if (entryGroupsBuilder_ != null) {
+ return entryGroupsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(entryGroups_);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * EntryGroup details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1;
+ */
+ public com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder addEntryGroupsBuilder() {
+ return getEntryGroupsFieldBuilder()
+ .addBuilder(com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * EntryGroup details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1;
+ */
+ public com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder addEntryGroupsBuilder(
+ int index) {
+ return getEntryGroupsFieldBuilder()
+ .addBuilder(index, com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * EntryGroup details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1;
+ */
+ public java.util.List
+ * Token to retrieve the next page of results. It is set to empty if no items
+ * remain in results.
+ *
+ *
+ * string next_page_token = 2;
+ *
+ * @return The nextPageToken.
+ */
+ public java.lang.String getNextPageToken() {
+ java.lang.Object ref = nextPageToken_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ nextPageToken_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Token to retrieve the next page of results. It is set to empty if no items
+ * remain in results.
+ *
+ *
+ * string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
+ */
+ public com.google.protobuf.ByteString getNextPageTokenBytes() {
+ java.lang.Object ref = nextPageToken_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ nextPageToken_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Token to retrieve the next page of results. It is set to empty if no items
+ * remain in results.
+ *
+ *
+ * string next_page_token = 2;
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNextPageToken(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ nextPageToken_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Token to retrieve the next page of results. It is set to empty if no items
+ * remain in results.
+ *
+ *
+ * string next_page_token = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearNextPageToken() {
+
+ nextPageToken_ = getDefaultInstance().getNextPageToken();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Token to retrieve the next page of results. It is set to empty if no items
+ * remain in results.
+ *
+ *
+ * string next_page_token = 2;
+ *
+ * @param value The bytes for nextPageToken to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ nextPageToken_ = 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.v1beta1.ListEntryGroupsResponse)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse)
+ private static final com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse();
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * EntryGroup details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1;
+ */
+ java.util.List
+ * EntryGroup details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1;
+ */
+ com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroups(int index);
+ /**
+ *
+ *
+ *
+ * EntryGroup details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1;
+ */
+ int getEntryGroupsCount();
+ /**
+ *
+ *
+ *
+ * EntryGroup details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1;
+ */
+ java.util.List extends com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder>
+ getEntryGroupsOrBuilderList();
+ /**
+ *
+ *
+ *
+ * EntryGroup details.
+ *
+ *
+ * repeated .google.cloud.datacatalog.v1beta1.EntryGroup entry_groups = 1;
+ */
+ com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupsOrBuilder(int index);
+
+ /**
+ *
+ *
+ *
+ * Token to retrieve the next page of results. It is set to empty if no items
+ * remain in results.
+ *
+ *
+ * string next_page_token = 2;
+ *
+ * @return The nextPageToken.
+ */
+ java.lang.String getNextPageToken();
+ /**
+ *
+ *
+ *
+ * Token to retrieve the next page of results. It is set to empty if no items
+ * remain in results.
+ *
+ *
+ * string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
+ */
+ com.google.protobuf.ByteString getNextPageTokenBytes();
+}
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequest.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequest.java
index 10cc5875..06acc8ba 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequest.java
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequest.java
@@ -132,7 +132,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. The name of the Data Catalog resource to list the tags of. The
- * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+ * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an
+ * [EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup].
+ * Examples:
+ * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}
+ * * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
*
*
*
@@ -157,7 +161,11 @@ public java.lang.String getParent() {
*
*