diff --git a/README.md b/README.md
index a2afd9c4..ae397da2 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
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) {
@@ -1291,10 +1335,11 @@ public final UnaryCallable * 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 +1485,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 +1752,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 +1794,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 +1821,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 +1935,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 +1966,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 +1993,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 +2266,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) {
@@ -2610,6 +2658,128 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
return stub.testIamPermissionsCallable();
}
+ // 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).
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ * Sample code:
+ *
+ *
*
* @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 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()) {
+ * UpdateEntryGroupRequest request = UpdateEntryGroupRequest.newBuilder().build();
+ * EntryGroup response = dataCatalogClient.updateEntryGroup(request);
+ * }
+ *
+ */
+ public final UnaryCallable
+ * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
+ * UpdateEntryGroupRequest request = UpdateEntryGroupRequest.newBuilder().build();
+ * ApiFuture<EntryGroup> future = dataCatalogClient.updateEntryGroupCallable().futureCall(request);
+ * // Do something
+ * EntryGroup response = future.get();
+ * }
+ *
+ *
+ * @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()) {
+ * ListEntryGroupsRequest request = ListEntryGroupsRequest.newBuilder().build();
+ * ListEntryGroupsResponse response = dataCatalogClient.listEntryGroups(request);
+ * }
+ *
+ */
+ public final UnaryCallable
+ * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
+ * ListEntryGroupsRequest request = ListEntryGroupsRequest.newBuilder().build();
+ * ApiFuture<ListEntryGroupsResponse> future = dataCatalogClient.listEntryGroupsCallable().futureCall(request);
+ * // Do something
+ * ListEntryGroupsResponse response = future.get();
+ * }
+ *
+ *
+ * @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()) {
+ * ListEntriesRequest request = ListEntriesRequest.newBuilder().build();
+ * ListEntriesResponse response = dataCatalogClient.listEntries(request);
+ * }
+ *
+ */
+ public final UnaryCallable
+ * try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
+ * ListEntriesRequest request = ListEntriesRequest.newBuilder().build();
+ * ApiFuture<ListEntriesResponse> future = dataCatalogClient.listEntriesCallable().futureCall(request);
+ * // Do something
+ * ListEntriesResponse response = future.get();
+ * }
+ *
- * 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() {
*
*
*
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTag.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTag.java
index 6f40ab0a..41678642 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTag.java
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTag.java
@@ -23,14 +23,9 @@
*
*
- * 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() {
*
*
*
@@ -90,7 +90,7 @@ public interface LookupEntryRequestOrBuilder
* * ``pubsub.project_id.`topic.id.with.dots` ``
* * `bigquery.table.project_id.dataset_id.table_id`
* * `bigquery.dataset.project_id.dataset_id`
- * * `datacatalog.project_id.location_id.entry_group_id.entry_id`
+ * * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
* `*_id`s shoud satisfy the standard SQL rules for identifiers.
* https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
*
- * 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) {
*
*
*
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequestOrBuilder.java
index 7d5cce86..3e7e939a 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequestOrBuilder.java
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequestOrBuilder.java
@@ -70,7 +70,7 @@ public interface LookupEntryRequestOrBuilder
* * ``pubsub.project_id.`topic.id.with.dots` ``
* * `bigquery.table.project_id.dataset_id.table_id`
* * `bigquery.dataset.project_id.dataset_id`
- * * `datacatalog.project_id.location_id.entry_group_id.entry_id`
+ * * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
* `*_id`s shoud satisfy the standard SQL rules for identifiers.
* https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
*
- * 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() {
*
*
*
@@ -969,7 +969,7 @@ public Builder clearSqlResource() {
* * ``pubsub.project_id.`topic.id.with.dots` ``
* * `bigquery.table.project_id.dataset_id.table_id`
* * `bigquery.dataset.project_id.dataset_id`
- * * `datacatalog.project_id.location_id.entry_group_id.entry_id`
+ * * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
* `*_id`s shoud satisfy the standard SQL rules for identifiers.
* https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
*
- * 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
*
*
*
@@ -942,7 +942,7 @@ public Builder setSqlResource(java.lang.String value) {
* * ``pubsub.project_id.`topic.id.with.dots` ``
* * `bigquery.table.project_id.dataset_id.table_id`
* * `bigquery.dataset.project_id.dataset_id`
- * * `datacatalog.project_id.location_id.entry_group_id.entry_id`
+ * * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
* `*_id`s shoud satisfy the standard SQL rules for identifiers.
* https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
*
- * 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
*
*
*
@@ -913,7 +913,7 @@ public com.google.protobuf.ByteString getSqlResourceBytes() {
* * ``pubsub.project_id.`topic.id.with.dots` ``
* * `bigquery.table.project_id.dataset_id.table_id`
* * `bigquery.dataset.project_id.dataset_id`
- * * `datacatalog.project_id.location_id.entry_group_id.entry_id`
+ * * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
* `*_id`s shoud satisfy the standard SQL rules for identifiers.
* https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
*
- * 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() {
*
*
*
@@ -878,7 +878,7 @@ public java.lang.String getSqlResource() {
* * ``pubsub.project_id.`topic.id.with.dots` ``
* * `bigquery.table.project_id.dataset_id.table_id`
* * `bigquery.dataset.project_id.dataset_id`
- * * `datacatalog.project_id.location_id.entry_group_id.entry_id`
+ * * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
* `*_id`s shoud satisfy the standard SQL rules for identifiers.
* https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
*
- * 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() {
*
*
*
@@ -843,7 +843,7 @@ public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) {
* * ``pubsub.project_id.`topic.id.with.dots` ``
* * `bigquery.table.project_id.dataset_id.table_id`
* * `bigquery.dataset.project_id.dataset_id`
- * * `datacatalog.project_id.location_id.entry_group_id.entry_id`
+ * * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
* `*_id`s shoud satisfy the standard SQL rules for identifiers.
* https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
*
- * 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) {
*
*
*
@@ -278,7 +278,7 @@ public java.lang.String getSqlResource() {
* * ``pubsub.project_id.`topic.id.with.dots` ``
* * `bigquery.table.project_id.dataset_id.table_id`
* * `bigquery.dataset.project_id.dataset_id`
- * * `datacatalog.project_id.location_id.entry_group_id.entry_id`
+ * * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
* `*_id`s shoud satisfy the standard SQL rules for identifiers.
* https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
*
- * 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() {
*
*
* 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}
*
*
*
@@ -600,7 +608,11 @@ public Builder mergeFrom(
*
*
* Required. The name of the Data Catalog resource to list the tags of. The
- * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+ * 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}
*
*
*
@@ -625,7 +637,11 @@ public java.lang.String getParent() {
*
*
* Required. The name of the Data Catalog resource to list the tags of. The
- * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+ * 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}
*
*
*
@@ -650,7 +666,11 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* Required. The name of the Data Catalog resource to list the tags of. The
- * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+ * 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}
*
*
*
@@ -674,7 +694,11 @@ public Builder setParent(java.lang.String value) {
*
*
* Required. The name of the Data Catalog resource to list the tags of. The
- * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+ * 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}
*
*
*
@@ -694,7 +718,11 @@ public Builder clearParent() {
*
*
* Required. The name of the Data Catalog resource to list the tags of. The
- * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+ * 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}
*
*
*
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequestOrBuilder.java
index b44a7b75..1e88b29f 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequestOrBuilder.java
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ListTagsRequestOrBuilder.java
@@ -28,7 +28,11 @@ public interface ListTagsRequestOrBuilder
*
*
* Required. The name of the Data Catalog resource to list the tags of. The
- * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+ * 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}
*
*
*
@@ -43,7 +47,11 @@ public interface ListTagsRequestOrBuilder
*
*
* Required. The name of the Data Catalog resource to list the tags of. The
- * resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+ * 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}
*
*
*
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequest.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequest.java
index c8ad7b4f..f3f809b2 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequest.java
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/LookupEntryRequest.java
@@ -243,7 +243,7 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() {
* * ``pubsub.project_id.`topic.id.with.dots` ``
* * `bigquery.table.project_id.dataset_id.table_id`
* * `bigquery.dataset.project_id.dataset_id`
- * * `datacatalog.project_id.location_id.entry_group_id.entry_id`
+ * * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
* `*_id`s shoud satisfy the standard SQL rules for identifiers.
* https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
*
* Denotes one policy tag in a taxonomy (e.g. ssn). Policy Tags can be defined
- * in a hierarchy. For example, consider the following hierachy:
- * Geolocation
- * |
- * ------------------------------------
- * | | |
- * LatLong City ZipCode
- * PolicyTag "Geolocation" contains three child policy tags: "LatLong",
- * "City", and "ZipCode".
+ * in a hierarchy. For example, consider the following hierarchy:
+ * Geolocation -> (LatLong, City, ZipCode). PolicyTag "Geolocation"
+ * contains three child policy tags: "LatLong", "City", and "ZipCode".
*
*
* Protobuf type {@code google.cloud.datacatalog.v1beta1.PolicyTag}
@@ -642,14 +637,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
* Denotes one policy tag in a taxonomy (e.g. ssn). Policy Tags can be defined
- * in a hierarchy. For example, consider the following hierachy:
- * Geolocation
- * |
- * ------------------------------------
- * | | |
- * LatLong City ZipCode
- * PolicyTag "Geolocation" contains three child policy tags: "LatLong",
- * "City", and "ZipCode".
+ * in a hierarchy. For example, consider the following hierarchy:
+ * Geolocation -> (LatLong, City, ZipCode). PolicyTag "Geolocation"
+ * contains three child policy tags: "LatLong", "City", and "ZipCode".
*
*
* Protobuf type {@code google.cloud.datacatalog.v1beta1.PolicyTag}
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequest.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequest.java
index 96cddabf..db259918 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequest.java
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequest.java
@@ -179,7 +179,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
- * Required. The new ID of this tag template field. For example, `my_new_field`.
+ * Required. The new ID of this tag template field. For example,
+ * `my_new_field`.
*
*
* string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -201,7 +202,8 @@ public java.lang.String getNewTagTemplateFieldId() {
*
*
*
- * Required. The new ID of this tag template field. For example, `my_new_field`.
+ * Required. The new ID of this tag template field. For example,
+ * `my_new_field`.
*
*
* string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -690,7 +692,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Required. The new ID of this tag template field. For example, `my_new_field`.
+ * Required. The new ID of this tag template field. For example,
+ * `my_new_field`.
*
*
* string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -712,7 +715,8 @@ public java.lang.String getNewTagTemplateFieldId() {
*
*
*
- * Required. The new ID of this tag template field. For example, `my_new_field`.
+ * Required. The new ID of this tag template field. For example,
+ * `my_new_field`.
*
*
* string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -734,7 +738,8 @@ public com.google.protobuf.ByteString getNewTagTemplateFieldIdBytes() {
*
*
*
- * Required. The new ID of this tag template field. For example, `my_new_field`.
+ * Required. The new ID of this tag template field. For example,
+ * `my_new_field`.
*
*
* string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -755,7 +760,8 @@ public Builder setNewTagTemplateFieldId(java.lang.String value) {
*
*
*
- * Required. The new ID of this tag template field. For example, `my_new_field`.
+ * Required. The new ID of this tag template field. For example,
+ * `my_new_field`.
*
*
* string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -772,7 +778,8 @@ public Builder clearNewTagTemplateFieldId() {
*
*
*
- * Required. The new ID of this tag template field. For example, `my_new_field`.
+ * Required. The new ID of this tag template field. For example,
+ * `my_new_field`.
*
*
* string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED];
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequestOrBuilder.java
index 97add7ba..b877274f 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequestOrBuilder.java
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/RenameTagTemplateFieldRequestOrBuilder.java
@@ -58,7 +58,8 @@ public interface RenameTagTemplateFieldRequestOrBuilder
*
*
*
- * Required. The new ID of this tag template field. For example, `my_new_field`.
+ * Required. The new ID of this tag template field. For example,
+ * `my_new_field`.
*
*
* string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED];
@@ -70,7 +71,8 @@ public interface RenameTagTemplateFieldRequestOrBuilder
*
*
*
- * Required. The new ID of this tag template field. For example, `my_new_field`.
+ * Required. The new ID of this tag template field. For example,
+ * `my_new_field`.
*
*
* string new_tag_template_field_id = 2 [(.google.api.field_behavior) = REQUIRED];
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Search.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Search.java
index 24ac45f2..65bebd2b 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Search.java
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Search.java
@@ -42,25 +42,27 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
java.lang.String[] descriptorData = {
"\n-google/cloud/datacatalog/v1beta1/searc"
+ "h.proto\022 google.cloud.datacatalog.v1beta"
- + "1\032\037google/api/field_behavior.proto\032\037goog"
- + "le/protobuf/timestamp.proto\"\275\001\n\023SearchCa"
- + "talogResult\022N\n\022search_result_type\030\001 \001(\0162"
- + "2.google.cloud.datacatalog.v1beta1.Searc"
- + "hResultType\022\035\n\025search_result_subtype\030\002 \001"
- + "(\t\022\036\n\026relative_resource_name\030\003 \001(\t\022\027\n\017li"
- + "nked_resource\030\004 \001(\t*d\n\020SearchResultType\022"
- + "\"\n\036SEARCH_RESULT_TYPE_UNSPECIFIED\020\000\022\t\n\005E"
- + "NTRY\020\001\022\020\n\014TAG_TEMPLATE\020\002\022\017\n\013ENTRY_GROUP\020"
- + "\003Bx\n$com.google.cloud.datacatalog.v1beta"
- + "1P\001ZKgoogle.golang.org/genproto/googleap"
- + "is/cloud/datacatalog/v1beta1;datacatalog"
- + "\370\001\001b\006proto3"
+ + "1\032\037google/api/field_behavior.proto\032-goog"
+ + "le/cloud/datacatalog/v1beta1/common.prot"
+ + "o\032\037google/protobuf/timestamp.proto\"\275\001\n\023S"
+ + "earchCatalogResult\022N\n\022search_result_type"
+ + "\030\001 \001(\01622.google.cloud.datacatalog.v1beta"
+ + "1.SearchResultType\022\035\n\025search_result_subt"
+ + "ype\030\002 \001(\t\022\036\n\026relative_resource_name\030\003 \001("
+ + "\t\022\027\n\017linked_resource\030\004 \001(\t*d\n\020SearchResu"
+ + "ltType\022\"\n\036SEARCH_RESULT_TYPE_UNSPECIFIED"
+ + "\020\000\022\t\n\005ENTRY\020\001\022\020\n\014TAG_TEMPLATE\020\002\022\017\n\013ENTRY"
+ + "_GROUP\020\003Bx\n$com.google.cloud.datacatalog"
+ + ".v1beta1P\001ZKgoogle.golang.org/genproto/g"
+ + "oogleapis/cloud/datacatalog/v1beta1;data"
+ + "catalog\370\001\001b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.api.FieldBehaviorProto.getDescriptor(),
+ com.google.cloud.datacatalog.v1beta1.Common.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
});
internal_static_google_cloud_datacatalog_v1beta1_SearchCatalogResult_descriptor =
@@ -72,6 +74,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"SearchResultType", "SearchResultSubtype", "RelativeResourceName", "LinkedResource",
});
com.google.api.FieldBehaviorProto.getDescriptor();
+ com.google.cloud.datacatalog.v1beta1.Common.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
}
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequest.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequest.java
index 2aa3f5e6..1eb5e68d 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequest.java
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequest.java
@@ -1578,7 +1578,8 @@ public com.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope getScope(
*
*
*
- * Required. The query string in search query syntax. The query must be non-empty.
+ * Required. The query string in search query syntax. The query must be
+ * non-empty.
* Query strings can be simple as "x" or more qualified as:
* * name:x
* * column:x
@@ -1607,7 +1608,8 @@ public java.lang.String getQuery() {
*
*
*
- * Required. The query string in search query syntax. The query must be non-empty.
+ * Required. The query string in search query syntax. The query must be
+ * non-empty.
* Query strings can be simple as "x" or more qualified as:
* * name:x
* * column:x
@@ -1658,8 +1660,8 @@ public int getPageSize() {
*
*
* Optional. Pagination token returned in an earlier
- * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
- * indicates that this is a continuation of a prior
+ * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
+ * which indicates that this is a continuation of a prior
* [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog]
* call, and that the system should return the next page of data. If empty,
* the first page is returned.
@@ -1685,8 +1687,8 @@ public java.lang.String getPageToken() {
*
*
* Optional. Pagination token returned in an earlier
- * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
- * indicates that this is a continuation of a prior
+ * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
+ * which indicates that this is a continuation of a prior
* [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog]
* call, and that the system should return the next page of data. If empty,
* the first page is returned.
@@ -1716,9 +1718,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
* 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
+ * * `relevance`, only supports descending
* * `last_modified_timestamp [asc|desc]`, defaults to descending if not
* specified
* If not specified, defaults to `relevance` descending.
@@ -1745,9 +1745,7 @@ public java.lang.String getOrderBy() {
*
* 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
+ * * `relevance`, only supports descending
* * `last_modified_timestamp [asc|desc]`, defaults to descending if not
* specified
* If not specified, defaults to `relevance` descending.
@@ -2376,7 +2374,8 @@ public Builder clearScope() {
*
*
*
- * Required. The query string in search query syntax. The query must be non-empty.
+ * Required. The query string in search query syntax. The query must be
+ * non-empty.
* Query strings can be simple as "x" or more qualified as:
* * name:x
* * column:x
@@ -2405,7 +2404,8 @@ public java.lang.String getQuery() {
*
*
*
- * Required. The query string in search query syntax. The query must be non-empty.
+ * Required. The query string in search query syntax. The query must be
+ * non-empty.
* Query strings can be simple as "x" or more qualified as:
* * name:x
* * column:x
@@ -2434,7 +2434,8 @@ public com.google.protobuf.ByteString getQueryBytes() {
*
*
*
- * Required. The query string in search query syntax. The query must be non-empty.
+ * Required. The query string in search query syntax. The query must be
+ * non-empty.
* Query strings can be simple as "x" or more qualified as:
* * name:x
* * column:x
@@ -2462,7 +2463,8 @@ public Builder setQuery(java.lang.String value) {
*
*
*
- * Required. The query string in search query syntax. The query must be non-empty.
+ * Required. The query string in search query syntax. The query must be
+ * non-empty.
* Query strings can be simple as "x" or more qualified as:
* * name:x
* * column:x
@@ -2486,7 +2488,8 @@ public Builder clearQuery() {
*
*
*
- * Required. The query string in search query syntax. The query must be non-empty.
+ * Required. The query string in search query syntax. The query must be
+ * non-empty.
* Query strings can be simple as "x" or more qualified as:
* * name:x
* * column:x
@@ -2572,8 +2575,8 @@ public Builder clearPageSize() {
*
*
* Optional. Pagination token returned in an earlier
- * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
- * indicates that this is a continuation of a prior
+ * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
+ * which indicates that this is a continuation of a prior
* [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog]
* call, and that the system should return the next page of data. If empty,
* the first page is returned.
@@ -2599,8 +2602,8 @@ public java.lang.String getPageToken() {
*
*
* Optional. Pagination token returned in an earlier
- * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
- * indicates that this is a continuation of a prior
+ * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
+ * which indicates that this is a continuation of a prior
* [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog]
* call, and that the system should return the next page of data. If empty,
* the first page is returned.
@@ -2626,8 +2629,8 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
*
*
* Optional. Pagination token returned in an earlier
- * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
- * indicates that this is a continuation of a prior
+ * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
+ * which indicates that this is a continuation of a prior
* [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog]
* call, and that the system should return the next page of data. If empty,
* the first page is returned.
@@ -2652,8 +2655,8 @@ public Builder setPageToken(java.lang.String value) {
*
*
*
*
* Optional. Pagination token returned in an earlier
- * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
- * indicates that this is a continuation of a prior
+ * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
+ * which indicates that this is a continuation of a prior
* [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog]
* call, and that the system should return the next page of data. If empty,
* the first page is returned.
@@ -2674,8 +2677,8 @@ public Builder clearPageToken() {
*
*
*
*
* Optional. Pagination token returned in an earlier
- * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
- * indicates that this is a continuation of a prior
+ * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
+ * which indicates that this is a continuation of a prior
* [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog]
* call, and that the system should return the next page of data. If empty,
* the first page is returned.
@@ -2704,9 +2707,7 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
*
*
*
* 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
+ * * `relevance`, only supports descending
* * `last_modified_timestamp [asc|desc]`, defaults to descending if not
* specified
* If not specified, defaults to `relevance` descending.
@@ -2733,9 +2734,7 @@ public java.lang.String getOrderBy() {
*
*
*
* 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
+ * * `relevance`, only supports descending
* * `last_modified_timestamp [asc|desc]`, defaults to descending if not
* specified
* If not specified, defaults to `relevance` descending.
@@ -2762,9 +2761,7 @@ public com.google.protobuf.ByteString getOrderByBytes() {
*
*
*
* 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
+ * * `relevance`, only supports descending
* * `last_modified_timestamp [asc|desc]`, defaults to descending if not
* specified
* If not specified, defaults to `relevance` descending.
@@ -2790,9 +2787,7 @@ public Builder setOrderBy(java.lang.String value) {
*
*
*
* 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
+ * * `relevance`, only supports descending
* * `last_modified_timestamp [asc|desc]`, defaults to descending if not
* specified
* If not specified, defaults to `relevance` descending.
@@ -2814,9 +2809,7 @@ public Builder clearOrderBy() {
*
*
*
* 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
+ * * `relevance`, only supports descending
* * `last_modified_timestamp [asc|desc]`, defaults to descending if not
* specified
* If not specified, defaults to `relevance` descending.
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequestOrBuilder.java
index fc722433..d3294d78 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequestOrBuilder.java
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SearchCatalogRequestOrBuilder.java
@@ -68,7 +68,8 @@ public interface SearchCatalogRequestOrBuilder
*
*
*
*
*
- * Required. The query string in search query syntax. The query must be non-empty.
+ * Required. The query string in search query syntax. The query must be
+ * non-empty.
* Query strings can be simple as "x" or more qualified as:
* * name:x
* * column:x
@@ -87,7 +88,8 @@ public interface SearchCatalogRequestOrBuilder
*
*
*
*
*
- * Required. The query string in search query syntax. The query must be non-empty.
+ * Required. The query string in search query syntax. The query must be
+ * non-empty.
* Query strings can be simple as "x" or more qualified as:
* * name:x
* * column:x
@@ -122,8 +124,8 @@ public interface SearchCatalogRequestOrBuilder
*
*
*
*
* Optional. Pagination token returned in an earlier
- * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
- * indicates that this is a continuation of a prior
+ * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
+ * which indicates that this is a continuation of a prior
* [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog]
* call, and that the system should return the next page of data. If empty,
* the first page is returned.
@@ -139,8 +141,8 @@ public interface SearchCatalogRequestOrBuilder
*
*
*
*
* Optional. Pagination token returned in an earlier
- * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
- * indicates that this is a continuation of a prior
+ * [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
+ * which indicates that this is a continuation of a prior
* [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog]
* call, and that the system should return the next page of data. If empty,
* the first page is returned.
@@ -158,9 +160,7 @@ public interface SearchCatalogRequestOrBuilder
*
*
*
* 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
+ * * `relevance`, only supports descending
* * `last_modified_timestamp [asc|desc]`, defaults to descending if not
* specified
* If not specified, defaults to `relevance` descending.
@@ -177,9 +177,7 @@ public interface SearchCatalogRequestOrBuilder
*
*
*
* 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
+ * * `relevance`, only supports descending
* * `last_modified_timestamp [asc|desc]`, defaults to descending if not
* specified
* If not specified, defaults to `relevance` descending.
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplate.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplate.java
index f0ecaf1b..f2eabba6 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplate.java
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagTemplate.java
@@ -22,9 +22,12 @@
*
*
*
*
*
- * A tag template defines the schema of the tags used to attach to Data Catalog
- * resources. It defines the mapping of accepted field names and types that can
- * be used within the tag. The tag template also controls the access to the tag.
+ * A tag template defines a tag, which can have one or more typed fields.
+ * The template is used to create and attach the tag to GCP resources.
+ * [Tag template roles](/iam/docs/understanding-roles#data-catalog-roles)
+ * provide permissions to create, edit, and use the template (see, for example,
+ * the [TagTemplate User](/data-catalog/docs/how-to/template-user) role, which
+ * includes permission to use the tag template to tag resources.
*
*
* Protobuf type {@code google.cloud.datacatalog.v1beta1.TagTemplate}
@@ -580,9 +583,12 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * A tag template defines the schema of the tags used to attach to Data Catalog
- * resources. It defines the mapping of accepted field names and types that can
- * be used within the tag. The tag template also controls the access to the tag.
+ * A tag template defines a tag, which can have one or more typed fields.
+ * The template is used to create and attach the tag to GCP resources.
+ * [Tag template roles](/iam/docs/understanding-roles#data-catalog-roles)
+ * provide permissions to create, edit, and use the template (see, for example,
+ * the [TagTemplate User](/data-catalog/docs/how-to/template-user) role, which
+ * includes permission to use the tag template to tag resources.
*
*
* Protobuf type {@code google.cloud.datacatalog.v1beta1.TagTemplate}
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequest.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequest.java
new file mode 100644
index 00000000..916713c3
--- /dev/null
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryGroupRequest.java
@@ -0,0 +1,1042 @@
+/*
+ * 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
+ * [UpdateEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateEntryGroup].
+ *
+ *
+ * Protobuf type {@code google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest}
+ */
+public final class UpdateEntryGroupRequest extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest)
+ UpdateEntryGroupRequestOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use UpdateEntryGroupRequest.newBuilder() to construct.
+ private UpdateEntryGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private UpdateEntryGroupRequest() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new UpdateEntryGroupRequest();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ private UpdateEntryGroupRequest(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder subBuilder = null;
+ if (entryGroup_ != null) {
+ subBuilder = entryGroup_.toBuilder();
+ }
+ entryGroup_ =
+ input.readMessage(
+ com.google.cloud.datacatalog.v1beta1.EntryGroup.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(entryGroup_);
+ entryGroup_ = subBuilder.buildPartial();
+ }
+
+ break;
+ }
+ case 18:
+ {
+ com.google.protobuf.FieldMask.Builder subBuilder = null;
+ if (updateMask_ != null) {
+ subBuilder = updateMask_.toBuilder();
+ }
+ updateMask_ =
+ input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(updateMask_);
+ updateMask_ = 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_UpdateEntryGroupRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.cloud.datacatalog.v1beta1.Datacatalog
+ .internal_static_google_cloud_datacatalog_v1beta1_UpdateEntryGroupRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.class,
+ com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest.Builder.class);
+ }
+
+ public static final int ENTRY_GROUP_FIELD_NUMBER = 1;
+ private com.google.cloud.datacatalog.v1beta1.EntryGroup entryGroup_;
+ /**
+ *
+ *
+ *
+ * Required. The updated entry group. "name" field must be set.
+ *
+ *
+ *
+ * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the entryGroup field is set.
+ */
+ public boolean hasEntryGroup() {
+ return entryGroup_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The updated entry group. "name" field must be set.
+ *
+ *
+ *
+ * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The entryGroup.
+ */
+ public com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroup() {
+ return entryGroup_ == null
+ ? com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance()
+ : entryGroup_;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The updated entry group. "name" field must be set.
+ *
+ *
+ *
+ * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupOrBuilder() {
+ return getEntryGroup();
+ }
+
+ public static final int UPDATE_MASK_FIELD_NUMBER = 2;
+ private com.google.protobuf.FieldMask updateMask_;
+ /**
+ *
+ *
+ *
+ * The fields to update on the entry group. If absent or empty, all modifiable
+ * fields are updated.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return Whether the updateMask field is set.
+ */
+ public boolean hasUpdateMask() {
+ return updateMask_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * The fields to update on the entry group. If absent or empty, all modifiable
+ * fields are updated.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return The updateMask.
+ */
+ public com.google.protobuf.FieldMask getUpdateMask() {
+ return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+ }
+ /**
+ *
+ *
+ *
+ * The fields to update on the entry group. If absent or empty, all modifiable
+ * fields are updated.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2;
+ */
+ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
+ return getUpdateMask();
+ }
+
+ 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 (entryGroup_ != null) {
+ output.writeMessage(1, getEntryGroup());
+ }
+ if (updateMask_ != null) {
+ output.writeMessage(2, getUpdateMask());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (entryGroup_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntryGroup());
+ }
+ if (updateMask_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+ }
+ 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.UpdateEntryGroupRequest)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest other =
+ (com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest) obj;
+
+ if (hasEntryGroup() != other.hasEntryGroup()) return false;
+ if (hasEntryGroup()) {
+ if (!getEntryGroup().equals(other.getEntryGroup())) return false;
+ }
+ if (hasUpdateMask() != other.hasUpdateMask()) return false;
+ if (hasUpdateMask()) {
+ if (!getUpdateMask().equals(other.getUpdateMask())) 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 (hasEntryGroup()) {
+ hash = (37 * hash) + ENTRY_GROUP_FIELD_NUMBER;
+ hash = (53 * hash) + getEntryGroup().hashCode();
+ }
+ if (hasUpdateMask()) {
+ hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER;
+ hash = (53 * hash) + getUpdateMask().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest 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.UpdateEntryGroupRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest 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.UpdateEntryGroupRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest 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.UpdateEntryGroupRequest parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest 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.UpdateEntryGroupRequest parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest 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.UpdateEntryGroupRequest 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.UpdateEntryGroupRequest 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.UpdateEntryGroupRequest 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
+ * [UpdateEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateEntryGroup].
+ *
+ *
+ * Protobuf type {@code google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Required. The updated entry group. "name" field must be set.
+ *
+ *
+ *
+ * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the entryGroup field is set.
+ */
+ public boolean hasEntryGroup() {
+ return entryGroupBuilder_ != null || entryGroup_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The updated entry group. "name" field must be set.
+ *
+ *
+ *
+ * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The entryGroup.
+ */
+ public com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroup() {
+ if (entryGroupBuilder_ == null) {
+ return entryGroup_ == null
+ ? com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance()
+ : entryGroup_;
+ } else {
+ return entryGroupBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The updated entry group. "name" field must be set.
+ *
+ *
+ *
+ * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setEntryGroup(com.google.cloud.datacatalog.v1beta1.EntryGroup value) {
+ if (entryGroupBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ entryGroup_ = value;
+ onChanged();
+ } else {
+ entryGroupBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The updated entry group. "name" field must be set.
+ *
+ *
+ *
+ * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setEntryGroup(
+ com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder builderForValue) {
+ if (entryGroupBuilder_ == null) {
+ entryGroup_ = builderForValue.build();
+ onChanged();
+ } else {
+ entryGroupBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The updated entry group. "name" field must be set.
+ *
+ *
+ *
+ * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder mergeEntryGroup(com.google.cloud.datacatalog.v1beta1.EntryGroup value) {
+ if (entryGroupBuilder_ == null) {
+ if (entryGroup_ != null) {
+ entryGroup_ =
+ com.google.cloud.datacatalog.v1beta1.EntryGroup.newBuilder(entryGroup_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ entryGroup_ = value;
+ }
+ onChanged();
+ } else {
+ entryGroupBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The updated entry group. "name" field must be set.
+ *
+ *
+ *
+ * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder clearEntryGroup() {
+ if (entryGroupBuilder_ == null) {
+ entryGroup_ = null;
+ onChanged();
+ } else {
+ entryGroup_ = null;
+ entryGroupBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The updated entry group. "name" field must be set.
+ *
+ *
+ *
+ * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder getEntryGroupBuilder() {
+
+ onChanged();
+ return getEntryGroupFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Required. The updated entry group. "name" field must be set.
+ *
+ *
+ *
+ * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupOrBuilder() {
+ if (entryGroupBuilder_ != null) {
+ return entryGroupBuilder_.getMessageOrBuilder();
+ } else {
+ return entryGroup_ == null
+ ? com.google.cloud.datacatalog.v1beta1.EntryGroup.getDefaultInstance()
+ : entryGroup_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The updated entry group. "name" field must be set.
+ *
+ *
+ *
+ * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.datacatalog.v1beta1.EntryGroup,
+ com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder,
+ com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder>
+ getEntryGroupFieldBuilder() {
+ if (entryGroupBuilder_ == null) {
+ entryGroupBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.datacatalog.v1beta1.EntryGroup,
+ com.google.cloud.datacatalog.v1beta1.EntryGroup.Builder,
+ com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder>(
+ getEntryGroup(), getParentForChildren(), isClean());
+ entryGroup_ = null;
+ }
+ return entryGroupBuilder_;
+ }
+
+ private com.google.protobuf.FieldMask updateMask_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.FieldMask,
+ com.google.protobuf.FieldMask.Builder,
+ com.google.protobuf.FieldMaskOrBuilder>
+ updateMaskBuilder_;
+ /**
+ *
+ *
+ *
+ * The fields to update on the entry group. If absent or empty, all modifiable
+ * fields are updated.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return Whether the updateMask field is set.
+ */
+ public boolean hasUpdateMask() {
+ return updateMaskBuilder_ != null || updateMask_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * The fields to update on the entry group. If absent or empty, all modifiable
+ * fields are updated.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return The updateMask.
+ */
+ public com.google.protobuf.FieldMask getUpdateMask() {
+ if (updateMaskBuilder_ == null) {
+ return updateMask_ == null
+ ? com.google.protobuf.FieldMask.getDefaultInstance()
+ : updateMask_;
+ } else {
+ return updateMaskBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The fields to update on the entry group. If absent or empty, all modifiable
+ * fields are updated.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2;
+ */
+ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
+ if (updateMaskBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ updateMask_ = value;
+ onChanged();
+ } else {
+ updateMaskBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The fields to update on the entry group. If absent or empty, all modifiable
+ * fields are updated.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2;
+ */
+ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+ if (updateMaskBuilder_ == null) {
+ updateMask_ = builderForValue.build();
+ onChanged();
+ } else {
+ updateMaskBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The fields to update on the entry group. If absent or empty, all modifiable
+ * fields are updated.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2;
+ */
+ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
+ if (updateMaskBuilder_ == null) {
+ if (updateMask_ != null) {
+ updateMask_ =
+ com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+ } else {
+ updateMask_ = value;
+ }
+ onChanged();
+ } else {
+ updateMaskBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The fields to update on the entry group. If absent or empty, all modifiable
+ * fields are updated.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2;
+ */
+ public Builder clearUpdateMask() {
+ if (updateMaskBuilder_ == null) {
+ updateMask_ = null;
+ onChanged();
+ } else {
+ updateMask_ = null;
+ updateMaskBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The fields to update on the entry group. If absent or empty, all modifiable
+ * fields are updated.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2;
+ */
+ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
+
+ onChanged();
+ return getUpdateMaskFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * The fields to update on the entry group. If absent or empty, all modifiable
+ * fields are updated.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2;
+ */
+ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
+ if (updateMaskBuilder_ != null) {
+ return updateMaskBuilder_.getMessageOrBuilder();
+ } else {
+ return updateMask_ == null
+ ? com.google.protobuf.FieldMask.getDefaultInstance()
+ : updateMask_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The fields to update on the entry group. If absent or empty, all modifiable
+ * fields are updated.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.FieldMask,
+ com.google.protobuf.FieldMask.Builder,
+ com.google.protobuf.FieldMaskOrBuilder>
+ getUpdateMaskFieldBuilder() {
+ if (updateMaskBuilder_ == null) {
+ updateMaskBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.FieldMask,
+ com.google.protobuf.FieldMask.Builder,
+ com.google.protobuf.FieldMaskOrBuilder>(
+ getUpdateMask(), getParentForChildren(), isClean());
+ updateMask_ = null;
+ }
+ return updateMaskBuilder_;
+ }
+
+ @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.UpdateEntryGroupRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest)
+ private static final com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest();
+ }
+
+ public static com.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Required. The updated entry group. "name" field must be set.
+ *
+ *
+ *
+ * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the entryGroup field is set.
+ */
+ boolean hasEntryGroup();
+ /**
+ *
+ *
+ *
+ * Required. The updated entry group. "name" field must be set.
+ *
+ *
+ *
+ * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The entryGroup.
+ */
+ com.google.cloud.datacatalog.v1beta1.EntryGroup getEntryGroup();
+ /**
+ *
+ *
+ *
+ * Required. The updated entry group. "name" field must be set.
+ *
+ *
+ *
+ * .google.cloud.datacatalog.v1beta1.EntryGroup entry_group = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.cloud.datacatalog.v1beta1.EntryGroupOrBuilder getEntryGroupOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * The fields to update on the entry group. If absent or empty, all modifiable
+ * fields are updated.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return Whether the updateMask field is set.
+ */
+ boolean hasUpdateMask();
+ /**
+ *
+ *
+ *
+ * The fields to update on the entry group. If absent or empty, all modifiable
+ * fields are updated.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2;
+ *
+ * @return The updateMask.
+ */
+ com.google.protobuf.FieldMask getUpdateMask();
+ /**
+ *
+ *
+ *
+ * The fields to update on the entry group. If absent or empty, all modifiable
+ * fields are updated.
+ *
+ *
+ * .google.protobuf.FieldMask update_mask = 2;
+ */
+ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
+}
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequest.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequest.java
index d938dd92..be7e6f90 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequest.java
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequest.java
@@ -202,6 +202,14 @@ public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntryOrBuilder() {
* * `description`
* * `gcs_fileset_spec`
* * `gcs_fileset_spec.file_patterns`
+ * * For entries with `user_specified_type`
+ * * `schema`
+ * * `display_name`
+ * * `description`
+ * * user_specified_type
+ * * user_specified_system
+ * * linked_resource
+ * * source_system_timestamps
* .google.protobuf.FieldMask update_mask = 2;
@@ -226,6 +234,14 @@ public boolean hasUpdateMask() {
* * `description`
* * `gcs_fileset_spec`
* * `gcs_fileset_spec.file_patterns`
+ * * For entries with `user_specified_type`
+ * * `schema`
+ * * `display_name`
+ * * `description`
+ * * user_specified_type
+ * * user_specified_system
+ * * linked_resource
+ * * source_system_timestamps
* .google.protobuf.FieldMask update_mask = 2;
@@ -250,6 +266,14 @@ public com.google.protobuf.FieldMask getUpdateMask() {
* * `description`
* * `gcs_fileset_spec`
* * `gcs_fileset_spec.file_patterns`
+ * * For entries with `user_specified_type`
+ * * `schema`
+ * * `display_name`
+ * * `description`
+ * * user_specified_type
+ * * user_specified_system
+ * * linked_resource
+ * * source_system_timestamps
* .google.protobuf.FieldMask update_mask = 2;
@@ -842,6 +866,14 @@ public com.google.cloud.datacatalog.v1beta1.EntryOrBuilder getEntryOrBuilder() {
* * `description`
* * `gcs_fileset_spec`
* * `gcs_fileset_spec.file_patterns`
+ * * For entries with `user_specified_type`
+ * * `schema`
+ * * `display_name`
+ * * `description`
+ * * user_specified_type
+ * * user_specified_system
+ * * linked_resource
+ * * source_system_timestamps
* .google.protobuf.FieldMask update_mask = 2;
@@ -866,6 +898,14 @@ public boolean hasUpdateMask() {
* * `description`
* * `gcs_fileset_spec`
* * `gcs_fileset_spec.file_patterns`
+ * * For entries with `user_specified_type`
+ * * `schema`
+ * * `display_name`
+ * * `description`
+ * * user_specified_type
+ * * user_specified_system
+ * * linked_resource
+ * * source_system_timestamps
* .google.protobuf.FieldMask update_mask = 2;
@@ -896,6 +936,14 @@ public com.google.protobuf.FieldMask getUpdateMask() {
* * `description`
* * `gcs_fileset_spec`
* * `gcs_fileset_spec.file_patterns`
+ * * For entries with `user_specified_type`
+ * * `schema`
+ * * `display_name`
+ * * `description`
+ * * user_specified_type
+ * * user_specified_system
+ * * linked_resource
+ * * source_system_timestamps
* .google.protobuf.FieldMask update_mask = 2;
@@ -928,6 +976,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
* * `description`
* * `gcs_fileset_spec`
* * `gcs_fileset_spec.file_patterns`
+ * * For entries with `user_specified_type`
+ * * `schema`
+ * * `display_name`
+ * * `description`
+ * * user_specified_type
+ * * user_specified_system
+ * * linked_resource
+ * * source_system_timestamps
* .google.protobuf.FieldMask update_mask = 2;
@@ -957,6 +1013,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
* * `description`
* * `gcs_fileset_spec`
* * `gcs_fileset_spec.file_patterns`
+ * * For entries with `user_specified_type`
+ * * `schema`
+ * * `display_name`
+ * * `description`
+ * * user_specified_type
+ * * user_specified_system
+ * * linked_resource
+ * * source_system_timestamps
* .google.protobuf.FieldMask update_mask = 2;
@@ -991,6 +1055,14 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
* * `description`
* * `gcs_fileset_spec`
* * `gcs_fileset_spec.file_patterns`
+ * * For entries with `user_specified_type`
+ * * `schema`
+ * * `display_name`
+ * * `description`
+ * * user_specified_type
+ * * user_specified_system
+ * * linked_resource
+ * * source_system_timestamps
* .google.protobuf.FieldMask update_mask = 2;
@@ -1021,6 +1093,14 @@ public Builder clearUpdateMask() {
* * `description`
* * `gcs_fileset_spec`
* * `gcs_fileset_spec.file_patterns`
+ * * For entries with `user_specified_type`
+ * * `schema`
+ * * `display_name`
+ * * `description`
+ * * user_specified_type
+ * * user_specified_system
+ * * linked_resource
+ * * source_system_timestamps
* .google.protobuf.FieldMask update_mask = 2;
@@ -1045,6 +1125,14 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
* * `description`
* * `gcs_fileset_spec`
* * `gcs_fileset_spec.file_patterns`
+ * * For entries with `user_specified_type`
+ * * `schema`
+ * * `display_name`
+ * * `description`
+ * * user_specified_type
+ * * user_specified_system
+ * * linked_resource
+ * * source_system_timestamps
* .google.protobuf.FieldMask update_mask = 2;
@@ -1073,6 +1161,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
* * `description`
* * `gcs_fileset_spec`
* * `gcs_fileset_spec.file_patterns`
+ * * For entries with `user_specified_type`
+ * * `schema`
+ * * `display_name`
+ * * `description`
+ * * user_specified_type
+ * * user_specified_system
+ * * linked_resource
+ * * source_system_timestamps
* .google.protobuf.FieldMask update_mask = 2;
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequestOrBuilder.java
index e189a50b..6537955f 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequestOrBuilder.java
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/UpdateEntryRequestOrBuilder.java
@@ -79,6 +79,14 @@ public interface UpdateEntryRequestOrBuilder
* * `description`
* * `gcs_fileset_spec`
* * `gcs_fileset_spec.file_patterns`
+ * * For entries with `user_specified_type`
+ * * `schema`
+ * * `display_name`
+ * * `description`
+ * * user_specified_type
+ * * user_specified_system
+ * * linked_resource
+ * * source_system_timestamps
* .google.protobuf.FieldMask update_mask = 2;
@@ -101,6 +109,14 @@ public interface UpdateEntryRequestOrBuilder
* * `description`
* * `gcs_fileset_spec`
* * `gcs_fileset_spec.file_patterns`
+ * * For entries with `user_specified_type`
+ * * `schema`
+ * * `display_name`
+ * * `description`
+ * * user_specified_type
+ * * user_specified_system
+ * * linked_resource
+ * * source_system_timestamps
* .google.protobuf.FieldMask update_mask = 2;
@@ -123,6 +139,14 @@ public interface UpdateEntryRequestOrBuilder
* * `description`
* * `gcs_fileset_spec`
* * `gcs_fileset_spec.file_patterns`
+ * * For entries with `user_specified_type`
+ * * `schema`
+ * * `display_name`
+ * * `description`
+ * * user_specified_type
+ * * user_specified_system
+ * * linked_resource
+ * * source_system_timestamps
* .google.protobuf.FieldMask update_mask = 2;
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/common.proto b/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/common.proto
new file mode 100644
index 00000000..a0b29e09
--- /dev/null
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/common.proto
@@ -0,0 +1,36 @@
+// Copyright 2019 Google LLC.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+syntax = "proto3";
+
+package google.cloud.datacatalog.v1beta1;
+
+option cc_enable_arenas = true;
+option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1;datacatalog";
+option java_multiple_files = true;
+option java_package = "com.google.cloud.datacatalog.v1beta1";
+
+// This enum describes all the possible systems that Data Catalog integrates
+// with.
+enum IntegratedSystem {
+ // Default unknown system.
+ INTEGRATED_SYSTEM_UNSPECIFIED = 0;
+
+ // BigQuery.
+ BIGQUERY = 1;
+
+ // Cloud Pub/Sub.
+ CLOUD_PUBSUB = 2;
+}
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/datacatalog.proto b/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/datacatalog.proto
index 0a4bbda6..8532e511 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/datacatalog.proto
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/datacatalog.proto
@@ -21,6 +21,7 @@ import "google/api/annotations.proto";
import "google/api/client.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
+import "google/cloud/datacatalog/v1beta1/common.proto";
import "google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto";
import "google/cloud/datacatalog/v1beta1/schema.proto";
import "google/cloud/datacatalog/v1beta1/search.proto";
@@ -41,7 +42,8 @@ option java_package = "com.google.cloud.datacatalog.v1beta1";
// their data.
service DataCatalog {
option (google.api.default_host) = "datacatalog.googleapis.com";
- option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
+ option (google.api.oauth_scopes) =
+ "https://www.googleapis.com/auth/cloud-platform";
// Searches Data Catalog for multiple resources like entries, tags that
// match a query.
@@ -51,10 +53,10 @@ service DataCatalog {
// 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.
@@ -66,9 +68,22 @@ service DataCatalog {
option (google.api.method_signature) = "scope,query";
}
- // 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).
rpc CreateEntryGroup(CreateEntryGroupRequest) returns (EntryGroup) {
@@ -79,7 +94,19 @@ service DataCatalog {
option (google.api.method_signature) = "parent,entry_group_id,entry_group";
}
- // 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).
+ rpc UpdateEntryGroup(UpdateEntryGroupRequest) returns (EntryGroup) {
+ option (google.api.http) = {
+ patch: "/v1beta1/{entry_group.name=projects/*/locations/*/entryGroups/*}"
+ body: "entry_group"
+ };
+ option (google.api.method_signature) = "entry_group";
+ option (google.api.method_signature) = "entry_group,update_mask";
+ }
+
// Gets an EntryGroup.
rpc GetEntryGroup(GetEntryGroupRequest) returns (EntryGroup) {
option (google.api.http) = {
@@ -89,23 +116,35 @@ service DataCatalog {
option (google.api.method_signature) = "name,read_mask";
}
- // 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).
- rpc DeleteEntryGroup(DeleteEntryGroupRequest) returns (google.protobuf.Empty) {
+ rpc DeleteEntryGroup(DeleteEntryGroupRequest)
+ returns (google.protobuf.Empty) {
option (google.api.http) = {
delete: "/v1beta1/{name=projects/*/locations/*/entryGroups/*}"
};
option (google.api.method_signature) = "name";
}
- // 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.
+ rpc ListEntryGroups(ListEntryGroupsRequest)
+ returns (ListEntryGroupsResponse) {
+ option (google.api.http) = {
+ get: "/v1beta1/{parent=projects/*/locations/*}/entryGroups"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // 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.
rpc CreateEntry(CreateEntryRequest) returns (Entry) {
option (google.api.http) = {
post: "/v1beta1/{parent=projects/*/locations/*/entryGroups/*}/entries"
@@ -115,7 +154,7 @@ service DataCatalog {
}
// 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).
rpc UpdateEntry(UpdateEntryRequest) returns (Entry) {
@@ -127,11 +166,10 @@ service DataCatalog {
option (google.api.method_signature) = "entry,update_mask";
}
- // 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).
rpc DeleteEntry(DeleteEntryRequest) returns (google.protobuf.Empty) {
@@ -158,6 +196,14 @@ service DataCatalog {
};
}
+ // Lists entries.
+ rpc ListEntries(ListEntriesRequest) returns (ListEntriesResponse) {
+ option (google.api.http) = {
+ get: "/v1beta1/{parent=projects/*/locations/*/entryGroups/*}/entries"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
// Creates a tag template. The user should enable the Data Catalog API in
// the project identified by the `parent` parameter (see [Data Catalog
// Resource Project](/data-catalog/docs/concepts/resource-project) for more
@@ -167,7 +213,8 @@ service DataCatalog {
post: "/v1beta1/{parent=projects/*/locations/*}/tagTemplates"
body: "tag_template"
};
- option (google.api.method_signature) = "parent,tag_template_id,tag_template";
+ option (google.api.method_signature) =
+ "parent,tag_template_id,tag_template";
}
// Gets a tag template.
@@ -181,7 +228,7 @@ service DataCatalog {
// 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).
rpc UpdateTagTemplate(UpdateTagTemplateRequest) returns (TagTemplate) {
@@ -194,10 +241,11 @@ service DataCatalog {
}
// 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).
- rpc DeleteTagTemplate(DeleteTagTemplateRequest) returns (google.protobuf.Empty) {
+ rpc DeleteTagTemplate(DeleteTagTemplateRequest)
+ returns (google.protobuf.Empty) {
option (google.api.http) = {
delete: "/v1beta1/{name=projects/*/locations/*/tagTemplates/*}"
};
@@ -209,32 +257,37 @@ service DataCatalog {
// [Data Catalog Resource
// Project](/data-catalog/docs/concepts/resource-project) for more
// information).
- rpc CreateTagTemplateField(CreateTagTemplateFieldRequest) returns (TagTemplateField) {
+ rpc CreateTagTemplateField(CreateTagTemplateFieldRequest)
+ returns (TagTemplateField) {
option (google.api.http) = {
post: "/v1beta1/{parent=projects/*/locations/*/tagTemplates/*}/fields"
body: "tag_template_field"
};
- option (google.api.method_signature) = "parent,tag_template_field_id,tag_template_field";
+ option (google.api.method_signature) =
+ "parent,tag_template_field_id,tag_template_field";
}
// Updates a field in a tag template. This method cannot be used to update the
- // 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).
- rpc UpdateTagTemplateField(UpdateTagTemplateFieldRequest) returns (TagTemplateField) {
+ rpc UpdateTagTemplateField(UpdateTagTemplateFieldRequest)
+ returns (TagTemplateField) {
option (google.api.http) = {
patch: "/v1beta1/{name=projects/*/locations/*/tagTemplates/*/fields/*}"
body: "tag_template_field"
};
option (google.api.method_signature) = "name,tag_template_field";
- option (google.api.method_signature) = "name,tag_template_field,update_mask";
+ option (google.api.method_signature) =
+ "name,tag_template_field,update_mask";
}
// Renames a field in a tag template. The user should enable the Data Catalog
// API in the project identified by the `name` parameter (see [Data Catalog
// Resource Project](/data-catalog/docs/concepts/resource-project) for more
// information).
- rpc RenameTagTemplateField(RenameTagTemplateFieldRequest) returns (TagTemplateField) {
+ rpc RenameTagTemplateField(RenameTagTemplateFieldRequest)
+ returns (TagTemplateField) {
option (google.api.http) = {
post: "/v1beta1/{name=projects/*/locations/*/tagTemplates/*/fields/*}:rename"
body: "*"
@@ -243,10 +296,11 @@ service DataCatalog {
}
// 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).
- rpc DeleteTagTemplateField(DeleteTagTemplateFieldRequest) returns (google.protobuf.Empty) {
+ rpc DeleteTagTemplateField(DeleteTagTemplateFieldRequest)
+ returns (google.protobuf.Empty) {
option (google.api.http) = {
delete: "/v1beta1/{name=projects/*/locations/*/tagTemplates/*/fields/*}"
};
@@ -264,6 +318,10 @@ service DataCatalog {
option (google.api.http) = {
post: "/v1beta1/{parent=projects/*/locations/*/entryGroups/*/entries/*}/tags"
body: "tag"
+ additional_bindings {
+ post: "/v1beta1/{parent=projects/*/locations/*/entryGroups/*}/tags"
+ body: "tag"
+ }
};
option (google.api.method_signature) = "parent,tag";
}
@@ -273,6 +331,10 @@ service DataCatalog {
option (google.api.http) = {
patch: "/v1beta1/{tag.name=projects/*/locations/*/entryGroups/*/entries/*/tags/*}"
body: "tag"
+ additional_bindings {
+ patch: "/v1beta1/{tag.name=projects/*/locations/*/entryGroups/*/tags/*}"
+ body: "tag"
+ }
};
option (google.api.method_signature) = "tag";
option (google.api.method_signature) = "tag,update_mask";
@@ -282,6 +344,9 @@ service DataCatalog {
rpc DeleteTag(DeleteTagRequest) returns (google.protobuf.Empty) {
option (google.api.http) = {
delete: "/v1beta1/{name=projects/*/locations/*/entryGroups/*/entries/*/tags/*}"
+ additional_bindings {
+ delete: "/v1beta1/{name=projects/*/locations/*/entryGroups/*/tags/*}"
+ }
};
option (google.api.method_signature) = "name";
}
@@ -290,6 +355,9 @@ service DataCatalog {
rpc ListTags(ListTagsRequest) returns (ListTagsResponse) {
option (google.api.http) = {
get: "/v1beta1/{parent=projects/*/locations/*/entryGroups/*/entries/*}/tags"
+ additional_bindings {
+ get: "/v1beta1/{parent=projects/*/locations/*/entryGroups/*}/tags"
+ }
};
option (google.api.method_signature) = "parent";
}
@@ -309,7 +377,8 @@ service DataCatalog {
// templates.
// - `datacatalog.entries.setIamPolicy` to set policies on entries.
// - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
- rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) {
+ rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest)
+ returns (google.iam.v1.Policy) {
option (google.api.http) = {
post: "/v1beta1/{resource=projects/*/locations/*/tagTemplates/*}:setIamPolicy"
body: "*"
@@ -317,10 +386,6 @@ service DataCatalog {
post: "/v1beta1/{resource=projects/*/locations/*/entryGroups/*}:setIamPolicy"
body: "*"
}
- additional_bindings {
- post: "/v1beta1/{resource=projects/*/locations/*/entryGroups/*/entries/*}:setIamPolicy"
- body: "*"
- }
};
}
@@ -341,7 +406,8 @@ service DataCatalog {
// templates.
// - `datacatalog.entries.getIamPolicy` to get policies on entries.
// - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
- rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) {
+ rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest)
+ returns (google.iam.v1.Policy) {
option (google.api.http) = {
post: "/v1beta1/{resource=projects/*/locations/*/tagTemplates/*}:getIamPolicy"
body: "*"
@@ -370,7 +436,8 @@ service DataCatalog {
//
// A caller is not required to have Google IAM permission to make this
// request.
- rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) {
+ rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest)
+ returns (google.iam.v1.TestIamPermissionsResponse) {
option (google.api.http) = {
post: "/v1beta1/{resource=projects/*/locations/*/tagTemplates/*}:testIamPermissions"
body: "*"
@@ -416,7 +483,8 @@ message SearchCatalogRequest {
// Required. The scope of this search request.
Scope scope = 6 [(google.api.field_behavior) = REQUIRED];
- // Required. The query string in search query syntax. The query must be non-empty.
+ // Required. The query string in search query syntax. The query must be
+ // non-empty.
//
// Query strings can be simple as "x" or more qualified as:
//
@@ -434,8 +502,8 @@ message SearchCatalogRequest {
int32 page_size = 2;
// Optional. Pagination token returned in an earlier
- // [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which
- // indicates that this is a continuation of a prior
+ // [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token],
+ // which indicates that this is a continuation of a prior
// [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog]
// call, and that the system should return the next page of data. If empty,
// the first page is returned.
@@ -444,9 +512,7 @@ message SearchCatalogRequest {
// 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
+ // * `relevance`, only supports descending
// * `last_modified_timestamp [asc|desc]`, defaults to descending if not
// specified
//
@@ -489,6 +555,17 @@ message CreateEntryGroupRequest {
EntryGroup entry_group = 2;
}
+// Request message for
+// [UpdateEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateEntryGroup].
+message UpdateEntryGroupRequest {
+ // Required. The updated entry group. "name" field must be set.
+ EntryGroup entry_group = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // The fields to update on the entry group. If absent or empty, all modifiable
+ // fields are updated.
+ google.protobuf.FieldMask update_mask = 2;
+}
+
// Request message for
// [GetEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.GetEntryGroup].
message GetEntryGroupRequest {
@@ -516,6 +593,43 @@ message DeleteEntryGroupRequest {
type: "datacatalog.googleapis.com/EntryGroup"
}
];
+
+ // Optional. If true, deletes all entries in the entry group.
+ bool force = 2 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Request message for
+// [ListEntryGroups][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntryGroups].
+message ListEntryGroupsRequest {
+ // Required. The name of the location that contains the entry groups, which
+ // can be provided in URL format. Example:
+ //
+ // * projects/{project_id}/locations/{location}
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/EntryGroup"
+ }
+ ];
+
+ // Optional. The maximum number of items to return. Default is 10. Max limit
+ // is 1000. Throws an invalid argument for `page_size > 1000`.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Token that specifies which page is requested. If empty, the first
+ // page is returned.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Response message for
+// [ListEntryGroups][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntryGroups].
+message ListEntryGroupsResponse {
+ // EntryGroup details.
+ repeated EntryGroup entry_groups = 1;
+
+ // Token to retrieve the next page of results. It is set to empty if no items
+ // remain in results.
+ string next_page_token = 2;
}
// Request message for
@@ -559,6 +673,14 @@ message UpdateEntryRequest {
// * `description`
// * `gcs_fileset_spec`
// * `gcs_fileset_spec.file_patterns`
+ // * For entries with `user_specified_type`
+ // * `schema`
+ // * `display_name`
+ // * `description`
+ // * user_specified_type
+ // * user_specified_system
+ // * linked_resource
+ // * source_system_timestamps
google.protobuf.FieldMask update_mask = 2;
}
@@ -582,11 +704,6 @@ message GetEntryRequest {
// 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.
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
@@ -620,7 +737,7 @@ message LookupEntryRequest {
// * ``pubsub.project_id.`topic.id.with.dots` ``
// * `bigquery.table.project_id.dataset_id.table_id`
// * `bigquery.dataset.project_id.dataset_id`
- // * `datacatalog.project_id.location_id.entry_group_id.entry_id`
+ // * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
//
// `*_id`s shoud satisfy the standard SQL rules for identifiers.
// https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
@@ -630,9 +747,10 @@ message LookupEntryRequest {
// 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
@@ -650,10 +768,10 @@ message Entry {
// Note that this Entry and its child resources may not actually be stored in
// the location in this name.
string name = 1 [(google.api.resource_reference) = {
- type: "datacatalog.googleapis.com/EntryGroup"
- }];
+ type: "datacatalog.googleapis.com/EntryGroup"
+ }];
- // 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
@@ -661,12 +779,44 @@ message Entry {
// For example, the `linked_resource` for a table resource from BigQuery is:
//
// * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
- string linked_resource = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
+ //
+ // 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;
// Required. Entry type.
oneof entry_type {
// The type of the entry.
+ // Only used for Entries with types in the EntryType enum.
EntryType type = 2;
+
+ // Entry type if it does not fit any of the input-allowed values listed in
+ // `EntryType` enum above. When creating an entry, users should check the
+ // enum values first, if nothing matches the entry to be created, then
+ // provide a custom value, for example "my_special_type".
+ // `user_specified_type` strings must begin with a letter or underscore and
+ // can only contain letters, numbers, and underscores; are case insensitive;
+ // must be at least 1 character and at most 64 characters long.
+ //
+ // Currently, only FILESET enum value is allowed. All other entries created
+ // through Data Catalog must use `user_specified_type`.
+ string user_specified_type = 16;
+ }
+
+ // The source system of the entry.
+ oneof system {
+ // Output only. This field indicates the entry's source system that Data
+ // Catalog integrates with, such as BigQuery or Cloud Pub/Sub.
+ IntegratedSystem integrated_system = 17
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // This field indicates the entry's source system that Data Catalog does not
+ // integrate with. `user_specified_system` strings must begin with a letter
+ // 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;
}
// Type specification information.
@@ -697,9 +847,12 @@ message Entry {
// Schema of the entry. An entry might not have any schema attached to it.
Schema schema = 5;
- // Output only. Timestamps about the underlying Google Cloud Platform
- // resource, not about this Data Catalog Entry.
- SystemTimestamps source_system_timestamps = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
+ // Output only. Timestamps about the underlying resource, not about this Data
+ // Catalog entry. Output only when Entry is of type in the EntryType enum. For
+ // entries with user_specified_type, this field is optional and defaults to an
+ // empty timestamp.
+ SystemTimestamps source_system_timestamps = 7
+ [(google.api.field_behavior) = OUTPUT_ONLY];
}
// EntryGroup Metadata.
@@ -728,20 +881,22 @@ message EntryGroup {
// string.
string description = 3;
- // Output only. Timestamps about this EntryGroup. Default value is empty timestamps.
- SystemTimestamps data_catalog_timestamps = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+ // Output only. Timestamps about this EntryGroup. Default value is empty
+ // timestamps.
+ SystemTimestamps data_catalog_timestamps = 4
+ [(google.api.field_behavior) = OUTPUT_ONLY];
}
// Request message for
// [CreateTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.CreateTagTemplate].
message CreateTagTemplateRequest {
- // Required. The name of the project and the location this template is in.
- // Example:
+ // 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.
//
- // * projects/{project_id}/locations/{location}
+ // Example:
//
- // TagTemplate and its child resources may not actually be stored in the
- // location in this name.
+ // * projects/{project_id}/locations/us-central1
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
@@ -756,20 +911,6 @@ message CreateTagTemplateRequest {
TagTemplate tag_template = 2 [(google.api.field_behavior) = REQUIRED];
}
-// Request message for
-// [GetTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.GetTagTemplate].
-message GetTagTemplateRequest {
- // Required. The name of the tag template. Example:
- //
- // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datacatalog.googleapis.com/TagTemplate"
- }
- ];
-}
-
// Entry resources in Data Catalog can be of different types e.g. a BigQuery
// Table entry is of type `TABLE`. This enum describes all the possible types
// Data Catalog contains.
@@ -781,15 +922,32 @@ enum EntryType {
// logical views.
TABLE = 2;
+ // Output only. The type of models.
+ MODEL = 5;
+
// Output only. An entry type which is used for streaming entries. Example:
// Cloud Pub/Sub topic.
DATA_STREAM = 3;
- // 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.
FILESET = 4;
}
+// Request message for
+// [GetTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.GetTagTemplate].
+message GetTagTemplateRequest {
+ // Required. The name of the tag template. Example:
+ //
+ // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "datacatalog.googleapis.com/TagTemplate"
+ }
+ ];
+}
+
// Request message for
// [UpdateTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTagTemplate].
message UpdateTagTemplateRequest {
@@ -828,8 +986,8 @@ message DeleteTagTemplateRequest {
// Request message for
// [CreateTag][google.cloud.datacatalog.v1beta1.DataCatalog.CreateTag].
message CreateTagRequest {
- // Required. The name of the resource to attach this tag to. Tags can be attached to
- // Entries. Example:
+ // Required. The name of the resource to attach this tag to. Tags can be
+ // attached to Entries. Example:
//
// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}
//
@@ -837,9 +995,7 @@ message CreateTagRequest {
// the location in this name.
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "datacatalog.googleapis.com/Tag"
- }
+ (google.api.resource_reference) = { type: "datacatalog.googleapis.com/Tag" }
];
// Required. The tag to create.
@@ -874,12 +1030,13 @@ message DeleteTagRequest {
// Request message for
// [CreateTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.CreateTagTemplateField].
message CreateTagTemplateFieldRequest {
- // Required. The name of the project this template is in. Example:
+ // 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.
//
- // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
+ // Example:
//
- // Note that this TagTemplateField may not actually be stored in the location
- // in this name.
+ // * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id}
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
@@ -895,7 +1052,8 @@ message CreateTagTemplateFieldRequest {
string tag_template_field_id = 2 [(google.api.field_behavior) = REQUIRED];
// Required. The tag template field to create.
- TagTemplateField tag_template_field = 3 [(google.api.field_behavior) = REQUIRED];
+ TagTemplateField tag_template_field = 3
+ [(google.api.field_behavior) = REQUIRED];
}
// Request message for
@@ -912,7 +1070,8 @@ message UpdateTagTemplateFieldRequest {
];
// Required. The template to update.
- TagTemplateField tag_template_field = 2 [(google.api.field_behavior) = REQUIRED];
+ TagTemplateField tag_template_field = 2
+ [(google.api.field_behavior) = REQUIRED];
// Optional. The field mask specifies the parts of the template to be updated.
// Allowed fields:
@@ -928,7 +1087,8 @@ message UpdateTagTemplateFieldRequest {
// existing values. Therefore, enum values can only be added, existing enum
// values cannot be deleted nor renamed. Updating a template field from
// optional to required is NOT allowed.
- google.protobuf.FieldMask update_mask = 3 [(google.api.field_behavior) = OPTIONAL];
+ google.protobuf.FieldMask update_mask = 3
+ [(google.api.field_behavior) = OPTIONAL];
}
// Request message for
@@ -944,7 +1104,8 @@ message RenameTagTemplateFieldRequest {
}
];
- // Required. The new ID of this tag template field. For example, `my_new_field`.
+ // Required. The new ID of this tag template field. For example,
+ // `my_new_field`.
string new_tag_template_field_id = 2 [(google.api.field_behavior) = REQUIRED];
}
@@ -971,7 +1132,13 @@ message DeleteTagTemplateFieldRequest {
// [ListTags][google.cloud.datacatalog.v1beta1.DataCatalog.ListTags].
message ListTagsRequest {
// Required. The name of the Data Catalog resource to list the tags of. The
- // resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry].
+ // 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}
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
@@ -997,3 +1164,43 @@ message ListTagsResponse {
// remain in results.
string next_page_token = 2;
}
+
+// Request message for
+// [ListEntries][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntries].
+message ListEntriesRequest {
+ // 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) = {
+ type: "datacatalog.googleapis.com/EntryGroup"
+ }
+ ];
+
+ // 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;
+
+ // Token that specifies which page is requested. If empty, the first page is
+ // returned.
+ string page_token = 3;
+
+ // 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;
+}
+
+// Response message for
+// [ListEntries][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntries].
+message ListEntriesResponse {
+ // Entry details.
+ repeated Entry entries = 1;
+
+ // Token to retrieve the next page of results. It is set to empty if no items
+ // remain in results.
+ string next_page_token = 2;
+}
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto b/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto
index 5fb5164d..ac868180 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto
@@ -28,7 +28,7 @@ option java_package = "com.google.cloud.datacatalog.v1beta1";
// Describes a Cloud Storage fileset entry.
message GcsFilesetSpec {
// 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:
@@ -39,9 +39,20 @@ message GcsFilesetSpec {
// 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];
// Output only. Sample files contained in this fileset, not all files contained in this
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanager.proto b/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanager.proto
index f40fd6e2..d07478f6 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanager.proto
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanager.proto
@@ -204,14 +204,9 @@ message Taxonomy {
}
// Denotes one policy tag in a taxonomy (e.g. ssn). Policy Tags can be defined
-// in a hierarchy. For example, consider the following hierachy:
-// Geolocation
-// |
-// ------------------------------------
-// | | |
-// LatLong City ZipCode
-// PolicyTag "Geolocation" contains three child policy tags: "LatLong",
-// "City", and "ZipCode".
+// in a hierarchy. For example, consider the following hierarchy:
+// Geolocation -> (LatLong, City, ZipCode). PolicyTag "Geolocation"
+// contains three child policy tags: "LatLong", "City", and "ZipCode".
message PolicyTag {
option (google.api.resource) = {
type: "datacatalog.googleapis.com/PolicyTag"
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/search.proto b/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/search.proto
index aa4abb06..607d2fe1 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/search.proto
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/search.proto
@@ -18,6 +18,7 @@ syntax = "proto3";
package google.cloud.datacatalog.v1beta1;
import "google/api/field_behavior.proto";
+import "google/cloud/datacatalog/v1beta1/common.proto";
import "google/protobuf/timestamp.proto";
option cc_enable_arenas = true;
diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/tags.proto b/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/tags.proto
index 91b3a01d..71931e34 100644
--- a/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/tags.proto
+++ b/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/tags.proto
@@ -108,9 +108,12 @@ message TagField {
}
}
-// A tag template defines the schema of the tags used to attach to Data Catalog
-// resources. It defines the mapping of accepted field names and types that can
-// be used within the tag. The tag template also controls the access to the tag.
+// A tag template defines a tag, which can have one or more typed fields.
+// The template is used to create and attach the tag to GCP resources.
+// [Tag template roles](/iam/docs/understanding-roles#data-catalog-roles)
+// provide permissions to create, edit, and use the template (see, for example,
+// the [TagTemplate User](/data-catalog/docs/how-to/template-user) role, which
+// includes permission to use the tag template to tag resources.
message TagTemplate {
option (google.api.resource) = {
type: "datacatalog.googleapis.com/TagTemplate"
diff --git a/synth.metadata b/synth.metadata
index 062da633..aaec50e5 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -1,5 +1,5 @@
{
- "updateTime": "2020-02-05T08:46:01.490901Z",
+ "updateTime": "2020-02-06T22:45:57.666110Z",
"sources": [
{
"generator": {
@@ -12,16 +12,16 @@
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "a8ed9d921fdddc61d8467bfd7c1668f0ad90435c",
- "internalRef": "293257997",
- "log": "a8ed9d921fdddc61d8467bfd7c1668f0ad90435c\nfix: set Ruby module name for OrgPolicy\n\nPiperOrigin-RevId: 293257997\n\n6c7d28509bd8315de8af0889688ee20099594269\nredis: v1beta1 add UpgradeInstance and connect_mode field to Instance\n\nPiperOrigin-RevId: 293242878\n\nae0abed4fcb4c21f5cb67a82349a049524c4ef68\nredis: v1 add connect_mode field to Instance\n\nPiperOrigin-RevId: 293241914\n\n3f7a0d29b28ee9365771da2b66edf7fa2b4e9c56\nAdds service config definition for bigqueryreservation v1beta1\n\nPiperOrigin-RevId: 293234418\n\n0c88168d5ed6fe353a8cf8cbdc6bf084f6bb66a5\naddition of BUILD & configuration for accessapproval v1\n\nPiperOrigin-RevId: 293219198\n\n39bedc2e30f4778ce81193f6ba1fec56107bcfc4\naccessapproval: v1 publish protos\n\nPiperOrigin-RevId: 293167048\n\n69d9945330a5721cd679f17331a78850e2618226\nAdd file-level `Session` resource definition\n\nPiperOrigin-RevId: 293080182\n\nf6a1a6b417f39694275ca286110bc3c1ca4db0dc\nAdd file-level `Session` resource definition\n\nPiperOrigin-RevId: 293080178\n\n"
+ "sha": "2e23b8fbc45f5d9e200572ca662fe1271bcd6760",
+ "internalRef": "293666452",
+ "log": "2e23b8fbc45f5d9e200572ca662fe1271bcd6760\nAdd ListEntryGroups method, add http bindings to support entry group tagging, and update some comments.\n\nPiperOrigin-RevId: 293666452\n\n0275e38a4ca03a13d3f47a9613aac8c8b0d3f1f2\nAdd proto_package field to managedidentities API. It is needed for APIs that still depend on artman generation.\n\nPiperOrigin-RevId: 293643323\n\n4cdfe8278cb6f308106580d70648001c9146e759\nRegenerating public protos for Data Catalog to add new Custom Type Entry feature.\n\nPiperOrigin-RevId: 293614782\n\n45d2a569ab526a1fad3720f95eefb1c7330eaada\nEnable client generation for v1 ManagedIdentities API.\n\nPiperOrigin-RevId: 293515675\n\n2c17086b77e6f3bcf04a1f65758dfb0c3da1568f\nAdd the Actions on Google common types (//google/actions/type/*).\n\nPiperOrigin-RevId: 293478245\n\n781aadb932e64a12fb6ead7cd842698d99588433\nDialogflow weekly v2/v2beta1 library update:\n- Documentation updates\nImportant updates are also posted at\nhttps://cloud.google.com/dialogflow/docs/release-notes\n\nPiperOrigin-RevId: 293443396\n\ne2602608c9138c2fca24162720e67f9307c30b95\nDialogflow weekly v2/v2beta1 library update:\n- Documentation updates\nImportant updates are also posted at\nhttps://cloud.google.com/dialogflow/docs/release-notes\n\nPiperOrigin-RevId: 293442964\n\nc8aef82028d06b7992278fa9294c18570dc86c3d\nAdd cc_proto_library and cc_grpc_library targets for Bigtable protos.\n\nAlso fix indentation of cc_grpc_library targets in Spanner and IAM protos.\n\nPiperOrigin-RevId: 293440538\n\ne2faab04f4cb7f9755072330866689b1943a16e9\ncloudtasks: v2 replace non-standard retry params in gapic config v2\n\nPiperOrigin-RevId: 293424055\n\ndfb4097ea628a8470292c6590a4313aee0c675bd\nerrorreporting: v1beta1 add legacy artman config for php\n\nPiperOrigin-RevId: 293423790\n\nb18aed55b45bfe5b62476292c72759e6c3e573c6\nasset: v1p1beta1 updated comment for `page_size` limit.\n\nPiperOrigin-RevId: 293421386\n\nc9ef36b7956d9859a2fc86ad35fcaa16958ab44f\nbazel: Refactor CI build scripts\n\nPiperOrigin-RevId: 293387911\n\n"
}
},
{
"template": {
"name": "java_library",
"origin": "synthtool.gcp",
- "version": "2019.10.17"
+ "version": "2020.2.4"
}
}
],