diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Entry.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Entry.java index 80d98f13..cfb93687 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Entry.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Entry.java @@ -523,6 +523,21 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { } public static final int TYPE_FIELD_NUMBER = 2; + /** + * + * + *
+   * The type of the entry.
+   * Only used for Entries with types in the EntryType enum.
+   * 
+ * + * .google.cloud.datacatalog.v1.EntryType type = 2; + * + * @return Whether the type field is set. + */ + public boolean hasType() { + return entryTypeCase_ == 2; + } /** * * @@ -564,6 +579,28 @@ public com.google.cloud.datacatalog.v1.EntryType getType() { } 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 Whether the userSpecifiedType field is set. + */ + public boolean hasUserSpecifiedType() { + return entryTypeCase_ == 16; + } /** * * @@ -636,6 +673,23 @@ public com.google.protobuf.ByteString getUserSpecifiedTypeBytes() { } 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 Pub/Sub.
+   * 
+ * + * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the integratedSystem field is set. + */ + public boolean hasIntegratedSystem() { + return systemCase_ == 17; + } /** * * @@ -683,6 +737,24 @@ public com.google.cloud.datacatalog.v1.IntegratedSystem getIntegratedSystem() { } 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 Whether the userSpecifiedSystem field is set. + */ + public boolean hasUserSpecifiedSystem() { + return systemCase_ == 18; + } /** * * @@ -2086,6 +2158,22 @@ public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { return this; } + /** + * + * + *
+     * The type of the entry.
+     * Only used for Entries with types in the EntryType enum.
+     * 
+ * + * .google.cloud.datacatalog.v1.EntryType type = 2; + * + * @return Whether the type field is set. + */ + @java.lang.Override + public boolean hasType() { + return entryTypeCase_ == 2; + } /** * * @@ -2189,6 +2277,29 @@ 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 Whether the userSpecifiedType field is set. + */ + @java.lang.Override + public boolean hasUserSpecifiedType() { + return entryTypeCase_ == 16; + } /** * * @@ -2348,6 +2459,24 @@ public Builder setUserSpecifiedTypeBytes(com.google.protobuf.ByteString value) { return this; } + /** + * + * + *
+     * Output only. This field indicates the entry's source system that Data
+     * Catalog integrates with, such as BigQuery or Pub/Sub.
+     * 
+ * + * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the integratedSystem field is set. + */ + @java.lang.Override + public boolean hasIntegratedSystem() { + return systemCase_ == 17; + } /** * * @@ -2463,6 +2592,25 @@ public Builder clearIntegratedSystem() { 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 Whether the userSpecifiedSystem field is set. + */ + @java.lang.Override + public boolean hasUserSpecifiedSystem() { + return systemCase_ == 18; + } /** * * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOrBuilder.java index 364676eb..08f5c9e5 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/EntryOrBuilder.java @@ -95,6 +95,19 @@ public interface EntryOrBuilder */ com.google.protobuf.ByteString getLinkedResourceBytes(); + /** + * + * + *
+   * The type of the entry.
+   * Only used for Entries with types in the EntryType enum.
+   * 
+ * + * .google.cloud.datacatalog.v1.EntryType type = 2; + * + * @return Whether the type field is set. + */ + boolean hasType(); /** * * @@ -122,6 +135,26 @@ public interface EntryOrBuilder */ com.google.cloud.datacatalog.v1.EntryType getType(); + /** + * + * + *
+   * Entry type if it does not fit any of the input-allowed values listed in
+   * `EntryType` enum above. When creating an entry, users should check the
+   * enum values first, if nothing matches the entry to be created, then
+   * provide a custom value, for example "my_special_type".
+   * `user_specified_type` strings must begin with a letter or underscore and
+   * can only contain letters, numbers, and underscores; are case insensitive;
+   * must be at least 1 character and at most 64 characters long.
+   * Currently, only FILESET enum value is allowed. All other entries created
+   * through Data Catalog must use `user_specified_type`.
+   * 
+ * + * string user_specified_type = 16; + * + * @return Whether the userSpecifiedType field is set. + */ + boolean hasUserSpecifiedType(); /** * * @@ -163,6 +196,21 @@ public interface EntryOrBuilder */ com.google.protobuf.ByteString getUserSpecifiedTypeBytes(); + /** + * + * + *
+   * Output only. This field indicates the entry's source system that Data
+   * Catalog integrates with, such as BigQuery or Pub/Sub.
+   * 
+ * + * + * .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the integratedSystem field is set. + */ + boolean hasIntegratedSystem(); /** * * @@ -194,6 +242,22 @@ public interface EntryOrBuilder */ com.google.cloud.datacatalog.v1.IntegratedSystem getIntegratedSystem(); + /** + * + * + *
+   * This field indicates the entry's source system that Data Catalog does not
+   * integrate with. `user_specified_system` strings must begin with a letter
+   * or underscore and can only contain letters, numbers, and underscores; are
+   * case insensitive; must be at least 1 character and at most 64 characters
+   * long.
+   * 
+ * + * string user_specified_system = 18; + * + * @return Whether the userSpecifiedSystem field is set. + */ + boolean hasUserSpecifiedSystem(); /** * * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldType.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldType.java index b39c282a..bf695369 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldType.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldType.java @@ -2200,6 +2200,20 @@ public TypeDeclCase getTypeDeclCase() { } public static final int PRIMITIVE_TYPE_FIELD_NUMBER = 1; + /** + * + * + *
+   * Represents primitive types - string, bool etc.
+   * 
+ * + * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; + * + * @return Whether the primitiveType field is set. + */ + public boolean hasPrimitiveType() { + return typeDeclCase_ == 1; + } /** * * @@ -2665,6 +2679,21 @@ public Builder clearTypeDecl() { return this; } + /** + * + * + *
+     * Represents primitive types - string, bool etc.
+     * 
+ * + * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; + * + * @return Whether the primitiveType field is set. + */ + @java.lang.Override + public boolean hasPrimitiveType() { + return typeDeclCase_ == 1; + } /** * * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldTypeOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldTypeOrBuilder.java index 532173bd..83faf392 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldTypeOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/FieldTypeOrBuilder.java @@ -23,6 +23,18 @@ public interface FieldTypeOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.FieldType) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * Represents primitive types - string, bool etc.
+   * 
+ * + * .google.cloud.datacatalog.v1.FieldType.PrimitiveType primitive_type = 1; + * + * @return Whether the primitiveType field is set. + */ + boolean hasPrimitiveType(); /** * * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequest.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequest.java index c7183535..6093c767 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequest.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequest.java @@ -165,6 +165,26 @@ public TargetNameCase getTargetNameCase() { } public static final int LINKED_RESOURCE_FIELD_NUMBER = 1; + /** + * + * + *
+   * The full name of the Google Cloud Platform resource the Data Catalog
+   * entry represents. See:
+   * https://cloud.google.com/apis/design/resource_names#full_resource_name.
+   * Full names are case-sensitive.
+   * Examples:
+   *  * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
+   *  * //pubsub.googleapis.com/projects/projectId/topics/topicId
+   * 
+ * + * string linked_resource = 1; + * + * @return Whether the linkedResource field is set. + */ + public boolean hasLinkedResource() { + return targetNameCase_ == 1; + } /** * * @@ -233,6 +253,28 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { } public static final int SQL_RESOURCE_FIELD_NUMBER = 3; + /** + * + * + *
+   * The SQL name of the entry. SQL names are case-sensitive.
+   * Examples:
+   *   * `pubsub.project_id.topic_id`
+   *   * ``pubsub.project_id.`topic.id.with.dots` ``
+   *   * `bigquery.table.project_id.dataset_id.table_id`
+   *   * `bigquery.dataset.project_id.dataset_id`
+   *   * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
+   * `*_id`s shoud satisfy the standard SQL rules for identifiers.
+   * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
+   * 
+ * + * string sql_resource = 3; + * + * @return Whether the sqlResource field is set. + */ + public boolean hasSqlResource() { + return targetNameCase_ == 3; + } /** * * @@ -685,6 +727,27 @@ public Builder clearTargetName() { return this; } + /** + * + * + *
+     * The full name of the Google Cloud Platform resource the Data Catalog
+     * entry represents. See:
+     * https://cloud.google.com/apis/design/resource_names#full_resource_name.
+     * Full names are case-sensitive.
+     * Examples:
+     *  * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
+     *  * //pubsub.googleapis.com/projects/projectId/topics/topicId
+     * 
+ * + * string linked_resource = 1; + * + * @return Whether the linkedResource field is set. + */ + @java.lang.Override + public boolean hasLinkedResource() { + return targetNameCase_ == 1; + } /** * * @@ -834,6 +897,29 @@ public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { return this; } + /** + * + * + *
+     * The SQL name of the entry. SQL names are case-sensitive.
+     * Examples:
+     *   * `pubsub.project_id.topic_id`
+     *   * ``pubsub.project_id.`topic.id.with.dots` ``
+     *   * `bigquery.table.project_id.dataset_id.table_id`
+     *   * `bigquery.dataset.project_id.dataset_id`
+     *   * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
+     * `*_id`s shoud satisfy the standard SQL rules for identifiers.
+     * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
+     * 
+ * + * string sql_resource = 3; + * + * @return Whether the sqlResource field is set. + */ + @java.lang.Override + public boolean hasSqlResource() { + return targetNameCase_ == 3; + } /** * * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequestOrBuilder.java index afe2d5c5..1caaee2b 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/LookupEntryRequestOrBuilder.java @@ -23,6 +23,24 @@ public interface LookupEntryRequestOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1.LookupEntryRequest) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * The full name of the Google Cloud Platform resource the Data Catalog
+   * entry represents. See:
+   * https://cloud.google.com/apis/design/resource_names#full_resource_name.
+   * Full names are case-sensitive.
+   * Examples:
+   *  * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
+   *  * //pubsub.googleapis.com/projects/projectId/topics/topicId
+   * 
+ * + * string linked_resource = 1; + * + * @return Whether the linkedResource field is set. + */ + boolean hasLinkedResource(); /** * * @@ -60,6 +78,26 @@ public interface LookupEntryRequestOrBuilder */ com.google.protobuf.ByteString getLinkedResourceBytes(); + /** + * + * + *
+   * The SQL name of the entry. SQL names are case-sensitive.
+   * Examples:
+   *   * `pubsub.project_id.topic_id`
+   *   * ``pubsub.project_id.`topic.id.with.dots` ``
+   *   * `bigquery.table.project_id.dataset_id.table_id`
+   *   * `bigquery.dataset.project_id.dataset_id`
+   *   * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
+   * `*_id`s shoud satisfy the standard SQL rules for identifiers.
+   * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
+   * 
+ * + * string sql_resource = 3; + * + * @return Whether the sqlResource field is set. + */ + boolean hasSqlResource(); /** * * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResult.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResult.java index 89784f3e..3259a05c 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResult.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResult.java @@ -401,6 +401,23 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { } public static final int INTEGRATED_SYSTEM_FIELD_NUMBER = 8; + /** + * + * + *
+   * 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.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the integratedSystem field is set. + */ + public boolean hasIntegratedSystem() { + return systemCase_ == 8; + } /** * * @@ -448,6 +465,21 @@ public com.google.cloud.datacatalog.v1.IntegratedSystem getIntegratedSystem() { } public static final int USER_SPECIFIED_SYSTEM_FIELD_NUMBER = 9; + /** + * + * + *
+   * This field indicates the entry's source system that Data Catalog does not
+   * integrate with.
+   * 
+ * + * string user_specified_system = 9; + * + * @return Whether the userSpecifiedSystem field is set. + */ + public boolean hasUserSpecifiedSystem() { + return systemCase_ == 9; + } /** * * @@ -1413,6 +1445,24 @@ public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { 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.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the integratedSystem field is set. + */ + @java.lang.Override + public boolean hasIntegratedSystem() { + return systemCase_ == 8; + } /** * * @@ -1528,6 +1578,22 @@ public Builder clearIntegratedSystem() { return this; } + /** + * + * + *
+     * This field indicates the entry's source system that Data Catalog does not
+     * integrate with.
+     * 
+ * + * string user_specified_system = 9; + * + * @return Whether the userSpecifiedSystem field is set. + */ + @java.lang.Override + public boolean hasUserSpecifiedSystem() { + return systemCase_ == 9; + } /** * * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResultOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResultOrBuilder.java index 8d5121ee..46149130 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResultOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SearchCatalogResultOrBuilder.java @@ -143,6 +143,21 @@ public interface SearchCatalogResultOrBuilder */ com.google.protobuf.ByteString getLinkedResourceBytes(); + /** + * + * + *
+   * 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.v1.IntegratedSystem integrated_system = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the integratedSystem field is set. + */ + boolean hasIntegratedSystem(); /** * * @@ -174,6 +189,19 @@ public interface SearchCatalogResultOrBuilder */ com.google.cloud.datacatalog.v1.IntegratedSystem getIntegratedSystem(); + /** + * + * + *
+   * This field indicates the entry's source system that Data Catalog does not
+   * integrate with.
+   * 
+ * + * string user_specified_system = 9; + * + * @return Whether the userSpecifiedSystem field is set. + */ + boolean hasUserSpecifiedSystem(); /** * * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tag.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tag.java index 7fb10344..dd551bb9 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tag.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tag.java @@ -368,6 +368,24 @@ public com.google.protobuf.ByteString getTemplateDisplayNameBytes() { } public static final int COLUMN_FIELD_NUMBER = 4; + /** + * + * + *
+   * Resources like Entry can have schemas associated with them. This scope
+   * allows users to attach tags to an individual column based on that schema.
+   * For attaching a tag to a nested column, use `.` to separate the column
+   * names. Example:
+   * * `outer_column.inner_column`
+   * 
+ * + * string column = 4; + * + * @return Whether the column field is set. + */ + public boolean hasColumn() { + return scopeCase_ == 4; + } /** * * @@ -1345,6 +1363,25 @@ public Builder setTemplateDisplayNameBytes(com.google.protobuf.ByteString value) return this; } + /** + * + * + *
+     * Resources like Entry can have schemas associated with them. This scope
+     * allows users to attach tags to an individual column based on that schema.
+     * For attaching a tag to a nested column, use `.` to separate the column
+     * names. Example:
+     * * `outer_column.inner_column`
+     * 
+ * + * string column = 4; + * + * @return Whether the column field is set. + */ + @java.lang.Override + public boolean hasColumn() { + return scopeCase_ == 4; + } /** * * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagField.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagField.java index e76764f6..52a16edc 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagField.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagField.java @@ -926,6 +926,21 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int DOUBLE_VALUE_FIELD_NUMBER = 2; + /** + * + * + *
+   * Holds the value for a tag field with double type.
+   * 
+ * + * double double_value = 2; + * + * @return Whether the doubleValue field is set. + */ + @java.lang.Override + public boolean hasDoubleValue() { + return kindCase_ == 2; + } /** * * @@ -946,6 +961,20 @@ public double getDoubleValue() { } public static final int STRING_VALUE_FIELD_NUMBER = 3; + /** + * + * + *
+   * Holds the value for a tag field with string type.
+   * 
+ * + * string string_value = 3; + * + * @return Whether the stringValue field is set. + */ + public boolean hasStringValue() { + return kindCase_ == 3; + } /** * * @@ -1002,6 +1031,21 @@ public com.google.protobuf.ByteString getStringValueBytes() { } public static final int BOOL_VALUE_FIELD_NUMBER = 4; + /** + * + * + *
+   * Holds the value for a tag field with boolean type.
+   * 
+ * + * bool bool_value = 4; + * + * @return Whether the boolValue field is set. + */ + @java.lang.Override + public boolean hasBoolValue() { + return kindCase_ == 4; + } /** * * @@ -1744,6 +1788,20 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { return this; } + /** + * + * + *
+     * Holds the value for a tag field with double type.
+     * 
+ * + * double double_value = 2; + * + * @return Whether the doubleValue field is set. + */ + public boolean hasDoubleValue() { + return kindCase_ == 2; + } /** * * @@ -1799,6 +1857,21 @@ public Builder clearDoubleValue() { return this; } + /** + * + * + *
+     * Holds the value for a tag field with string type.
+     * 
+ * + * string string_value = 3; + * + * @return Whether the stringValue field is set. + */ + @java.lang.Override + public boolean hasStringValue() { + return kindCase_ == 3; + } /** * * @@ -1918,6 +1991,20 @@ public Builder setStringValueBytes(com.google.protobuf.ByteString value) { return this; } + /** + * + * + *
+     * Holds the value for a tag field with boolean type.
+     * 
+ * + * bool bool_value = 4; + * + * @return Whether the boolValue field is set. + */ + public boolean hasBoolValue() { + return kindCase_ == 4; + } /** * * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagFieldOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagFieldOrBuilder.java index c5690ad2..a277017d 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagFieldOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagFieldOrBuilder.java @@ -48,6 +48,18 @@ public interface TagFieldOrBuilder */ com.google.protobuf.ByteString getDisplayNameBytes(); + /** + * + * + *
+   * Holds the value for a tag field with double type.
+   * 
+ * + * double double_value = 2; + * + * @return Whether the doubleValue field is set. + */ + boolean hasDoubleValue(); /** * * @@ -61,6 +73,18 @@ public interface TagFieldOrBuilder */ double getDoubleValue(); + /** + * + * + *
+   * Holds the value for a tag field with string type.
+   * 
+ * + * string string_value = 3; + * + * @return Whether the stringValue field is set. + */ + boolean hasStringValue(); /** * * @@ -86,6 +110,18 @@ public interface TagFieldOrBuilder */ com.google.protobuf.ByteString getStringValueBytes(); + /** + * + * + *
+   * Holds the value for a tag field with boolean type.
+   * 
+ * + * bool bool_value = 4; + * + * @return Whether the boolValue field is set. + */ + boolean hasBoolValue(); /** * * diff --git a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagOrBuilder.java b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagOrBuilder.java index bc30fae9..d09e17ec 100644 --- a/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TagOrBuilder.java @@ -108,6 +108,22 @@ public interface TagOrBuilder */ com.google.protobuf.ByteString getTemplateDisplayNameBytes(); + /** + * + * + *
+   * Resources like Entry can have schemas associated with them. This scope
+   * allows users to attach tags to an individual column based on that schema.
+   * For attaching a tag to a nested column, use `.` to separate the column
+   * names. Example:
+   * * `outer_column.inner_column`
+   * 
+ * + * string column = 4; + * + * @return Whether the column field is set. + */ + boolean hasColumn(); /** * * 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 41991b2e..fc5248ee 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 @@ -529,6 +529,21 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { } public static final int TYPE_FIELD_NUMBER = 2; + /** + * + * + *
+   * The type of the entry.
+   * Only used for Entries with types in the EntryType enum.
+   * 
+ * + * .google.cloud.datacatalog.v1beta1.EntryType type = 2; + * + * @return Whether the type field is set. + */ + public boolean hasType() { + return entryTypeCase_ == 2; + } /** * * @@ -570,6 +585,28 @@ public com.google.cloud.datacatalog.v1beta1.EntryType getType() { } 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 Whether the userSpecifiedType field is set. + */ + public boolean hasUserSpecifiedType() { + return entryTypeCase_ == 16; + } /** * * @@ -642,6 +679,23 @@ public com.google.protobuf.ByteString getUserSpecifiedTypeBytes() { } 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 Pub/Sub.
+   * 
+ * + * + * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the integratedSystem field is set. + */ + public boolean hasIntegratedSystem() { + return systemCase_ == 17; + } /** * * @@ -690,6 +744,24 @@ public com.google.cloud.datacatalog.v1beta1.IntegratedSystem getIntegratedSystem } 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 Whether the userSpecifiedSystem field is set. + */ + public boolean hasUserSpecifiedSystem() { + return systemCase_ == 18; + } /** * * @@ -2107,6 +2179,22 @@ public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { return this; } + /** + * + * + *
+     * The type of the entry.
+     * Only used for Entries with types in the EntryType enum.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.EntryType type = 2; + * + * @return Whether the type field is set. + */ + @java.lang.Override + public boolean hasType() { + return entryTypeCase_ == 2; + } /** * * @@ -2212,6 +2300,29 @@ 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 Whether the userSpecifiedType field is set. + */ + @java.lang.Override + public boolean hasUserSpecifiedType() { + return entryTypeCase_ == 16; + } /** * * @@ -2371,6 +2482,24 @@ public Builder setUserSpecifiedTypeBytes(com.google.protobuf.ByteString value) { return this; } + /** + * + * + *
+     * Output only. This field indicates the entry's source system that Data Catalog
+     * integrates with, such as BigQuery or Pub/Sub.
+     * 
+ * + * + * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the integratedSystem field is set. + */ + @java.lang.Override + public boolean hasIntegratedSystem() { + return systemCase_ == 17; + } /** * * @@ -2488,6 +2617,25 @@ public Builder clearIntegratedSystem() { 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 Whether the userSpecifiedSystem field is set. + */ + @java.lang.Override + public boolean hasUserSpecifiedSystem() { + return systemCase_ == 18; + } /** * * 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 d4fed6c7..88d58bcf 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 @@ -95,6 +95,19 @@ public interface EntryOrBuilder */ 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; + * + * @return Whether the type field is set. + */ + boolean hasType(); /** * * @@ -122,6 +135,26 @@ 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 Whether the userSpecifiedType field is set. + */ + boolean hasUserSpecifiedType(); /** * * @@ -163,6 +196,21 @@ public interface EntryOrBuilder */ com.google.protobuf.ByteString getUserSpecifiedTypeBytes(); + /** + * + * + *
+   * Output only. This field indicates the entry's source system that Data Catalog
+   * integrates with, such as BigQuery or Pub/Sub.
+   * 
+ * + * + * .google.cloud.datacatalog.v1beta1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the integratedSystem field is set. + */ + boolean hasIntegratedSystem(); /** * * @@ -194,6 +242,22 @@ public interface EntryOrBuilder */ 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 Whether the userSpecifiedSystem field is set. + */ + boolean hasUserSpecifiedSystem(); /** * * diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequest.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequest.java index 759d83cc..786c809f 100644 --- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequest.java +++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequest.java @@ -302,6 +302,21 @@ public com.google.protobuf.ByteString getTaxonomiesBytes(int index) { } public static final int SERIALIZED_TAXONOMIES_FIELD_NUMBER = 3; + /** + * + * + *
+   * Export taxonomies as serialized taxonomies.
+   * 
+ * + * bool serialized_taxonomies = 3; + * + * @return Whether the serializedTaxonomies field is set. + */ + @java.lang.Override + public boolean hasSerializedTaxonomies() { + return destinationCase_ == 3; + } /** * * @@ -1041,6 +1056,20 @@ public Builder addTaxonomiesBytes(com.google.protobuf.ByteString value) { return this; } + /** + * + * + *
+     * Export taxonomies as serialized taxonomies.
+     * 
+ * + * bool serialized_taxonomies = 3; + * + * @return Whether the serializedTaxonomies field is set. + */ + public boolean hasSerializedTaxonomies() { + return destinationCase_ == 3; + } /** * * diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequestOrBuilder.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequestOrBuilder.java index 669291fc..23552979 100644 --- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequestOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/ExportTaxonomiesRequestOrBuilder.java @@ -113,6 +113,18 @@ public interface ExportTaxonomiesRequestOrBuilder */ com.google.protobuf.ByteString getTaxonomiesBytes(int index); + /** + * + * + *
+   * Export taxonomies as serialized taxonomies.
+   * 
+ * + * bool serialized_taxonomies = 3; + * + * @return Whether the serializedTaxonomies field is set. + */ + boolean hasSerializedTaxonomies(); /** * * diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldType.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldType.java index eb32f315..d6e2ae4f 100644 --- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldType.java +++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldType.java @@ -2226,6 +2226,20 @@ public TypeDeclCase getTypeDeclCase() { } public static final int PRIMITIVE_TYPE_FIELD_NUMBER = 1; + /** + * + * + *
+   * Represents primitive types - string, bool etc.
+   * 
+ * + * .google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1; + * + * @return Whether the primitiveType field is set. + */ + public boolean hasPrimitiveType() { + return typeDeclCase_ == 1; + } /** * * @@ -2691,6 +2705,21 @@ public Builder clearTypeDecl() { return this; } + /** + * + * + *
+     * Represents primitive types - string, bool etc.
+     * 
+ * + * .google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1; + * + * @return Whether the primitiveType field is set. + */ + @java.lang.Override + public boolean hasPrimitiveType() { + return typeDeclCase_ == 1; + } /** * * diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldTypeOrBuilder.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldTypeOrBuilder.java index c6bbc1ba..e456b8dd 100644 --- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldTypeOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldTypeOrBuilder.java @@ -23,6 +23,18 @@ public interface FieldTypeOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.FieldType) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * Represents primitive types - string, bool etc.
+   * 
+ * + * .google.cloud.datacatalog.v1beta1.FieldType.PrimitiveType primitive_type = 1; + * + * @return Whether the primitiveType field is set. + */ + boolean hasPrimitiveType(); /** * * 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 645af321..a437d33b 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 @@ -165,6 +165,26 @@ public TargetNameCase getTargetNameCase() { } public static final int LINKED_RESOURCE_FIELD_NUMBER = 1; + /** + * + * + *
+   * The full name of the Google Cloud Platform resource the Data Catalog
+   * entry represents. See:
+   * https://cloud.google.com/apis/design/resource_names#full_resource_name.
+   * Full names are case-sensitive.
+   * Examples:
+   *  * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
+   *  * //pubsub.googleapis.com/projects/projectId/topics/topicId
+   * 
+ * + * string linked_resource = 1; + * + * @return Whether the linkedResource field is set. + */ + public boolean hasLinkedResource() { + return targetNameCase_ == 1; + } /** * * @@ -233,6 +253,28 @@ public com.google.protobuf.ByteString getLinkedResourceBytes() { } public static final int SQL_RESOURCE_FIELD_NUMBER = 3; + /** + * + * + *
+   * The SQL name of the entry. SQL names are case-sensitive.
+   * Examples:
+   *   * `pubsub.project_id.topic_id`
+   *   * ``pubsub.project_id.`topic.id.with.dots` ``
+   *   * `bigquery.table.project_id.dataset_id.table_id`
+   *   * `bigquery.dataset.project_id.dataset_id`
+   *   * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
+   * `*_id`s shoud satisfy the standard SQL rules for identifiers.
+   * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
+   * 
+ * + * string sql_resource = 3; + * + * @return Whether the sqlResource field is set. + */ + public boolean hasSqlResource() { + return targetNameCase_ == 3; + } /** * * @@ -686,6 +728,27 @@ public Builder clearTargetName() { return this; } + /** + * + * + *
+     * The full name of the Google Cloud Platform resource the Data Catalog
+     * entry represents. See:
+     * https://cloud.google.com/apis/design/resource_names#full_resource_name.
+     * Full names are case-sensitive.
+     * Examples:
+     *  * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
+     *  * //pubsub.googleapis.com/projects/projectId/topics/topicId
+     * 
+ * + * string linked_resource = 1; + * + * @return Whether the linkedResource field is set. + */ + @java.lang.Override + public boolean hasLinkedResource() { + return targetNameCase_ == 1; + } /** * * @@ -835,6 +898,29 @@ public Builder setLinkedResourceBytes(com.google.protobuf.ByteString value) { return this; } + /** + * + * + *
+     * The SQL name of the entry. SQL names are case-sensitive.
+     * Examples:
+     *   * `pubsub.project_id.topic_id`
+     *   * ``pubsub.project_id.`topic.id.with.dots` ``
+     *   * `bigquery.table.project_id.dataset_id.table_id`
+     *   * `bigquery.dataset.project_id.dataset_id`
+     *   * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
+     * `*_id`s shoud satisfy the standard SQL rules for identifiers.
+     * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
+     * 
+ * + * string sql_resource = 3; + * + * @return Whether the sqlResource field is set. + */ + @java.lang.Override + public boolean hasSqlResource() { + return targetNameCase_ == 3; + } /** * * 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 8a51935f..857bc998 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 @@ -23,6 +23,24 @@ public interface LookupEntryRequestOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.datacatalog.v1beta1.LookupEntryRequest) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * The full name of the Google Cloud Platform resource the Data Catalog
+   * entry represents. See:
+   * https://cloud.google.com/apis/design/resource_names#full_resource_name.
+   * Full names are case-sensitive.
+   * Examples:
+   *  * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
+   *  * //pubsub.googleapis.com/projects/projectId/topics/topicId
+   * 
+ * + * string linked_resource = 1; + * + * @return Whether the linkedResource field is set. + */ + boolean hasLinkedResource(); /** * * @@ -60,6 +78,26 @@ public interface LookupEntryRequestOrBuilder */ com.google.protobuf.ByteString getLinkedResourceBytes(); + /** + * + * + *
+   * The SQL name of the entry. SQL names are case-sensitive.
+   * Examples:
+   *   * `pubsub.project_id.topic_id`
+   *   * ``pubsub.project_id.`topic.id.with.dots` ``
+   *   * `bigquery.table.project_id.dataset_id.table_id`
+   *   * `bigquery.dataset.project_id.dataset_id`
+   *   * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id`
+   * `*_id`s shoud satisfy the standard SQL rules for identifiers.
+   * https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
+   * 
+ * + * string sql_resource = 3; + * + * @return Whether the sqlResource field is set. + */ + boolean hasSqlResource(); /** * * diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tag.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tag.java index 6965f4fe..87662ba6 100644 --- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tag.java +++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tag.java @@ -368,6 +368,24 @@ public com.google.protobuf.ByteString getTemplateDisplayNameBytes() { } public static final int COLUMN_FIELD_NUMBER = 4; + /** + * + * + *
+   * Resources like Entry can have schemas associated with them. This scope
+   * allows users to attach tags to an individual column based on that schema.
+   * For attaching a tag to a nested column, use `.` to separate the column
+   * names. Example:
+   * * `outer_column.inner_column`
+   * 
+ * + * string column = 4; + * + * @return Whether the column field is set. + */ + public boolean hasColumn() { + return scopeCase_ == 4; + } /** * * @@ -1352,6 +1370,25 @@ public Builder setTemplateDisplayNameBytes(com.google.protobuf.ByteString value) return this; } + /** + * + * + *
+     * Resources like Entry can have schemas associated with them. This scope
+     * allows users to attach tags to an individual column based on that schema.
+     * For attaching a tag to a nested column, use `.` to separate the column
+     * names. Example:
+     * * `outer_column.inner_column`
+     * 
+ * + * string column = 4; + * + * @return Whether the column field is set. + */ + @java.lang.Override + public boolean hasColumn() { + return scopeCase_ == 4; + } /** * * diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagField.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagField.java index e4672e1b..bc260edb 100644 --- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagField.java +++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagField.java @@ -928,6 +928,21 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int DOUBLE_VALUE_FIELD_NUMBER = 2; + /** + * + * + *
+   * Holds the value for a tag field with double type.
+   * 
+ * + * double double_value = 2; + * + * @return Whether the doubleValue field is set. + */ + @java.lang.Override + public boolean hasDoubleValue() { + return kindCase_ == 2; + } /** * * @@ -948,6 +963,20 @@ public double getDoubleValue() { } public static final int STRING_VALUE_FIELD_NUMBER = 3; + /** + * + * + *
+   * Holds the value for a tag field with string type.
+   * 
+ * + * string string_value = 3; + * + * @return Whether the stringValue field is set. + */ + public boolean hasStringValue() { + return kindCase_ == 3; + } /** * * @@ -1004,6 +1033,21 @@ public com.google.protobuf.ByteString getStringValueBytes() { } public static final int BOOL_VALUE_FIELD_NUMBER = 4; + /** + * + * + *
+   * Holds the value for a tag field with boolean type.
+   * 
+ * + * bool bool_value = 4; + * + * @return Whether the boolValue field is set. + */ + @java.lang.Override + public boolean hasBoolValue() { + return kindCase_ == 4; + } /** * * @@ -1747,6 +1791,20 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { return this; } + /** + * + * + *
+     * Holds the value for a tag field with double type.
+     * 
+ * + * double double_value = 2; + * + * @return Whether the doubleValue field is set. + */ + public boolean hasDoubleValue() { + return kindCase_ == 2; + } /** * * @@ -1802,6 +1860,21 @@ public Builder clearDoubleValue() { return this; } + /** + * + * + *
+     * Holds the value for a tag field with string type.
+     * 
+ * + * string string_value = 3; + * + * @return Whether the stringValue field is set. + */ + @java.lang.Override + public boolean hasStringValue() { + return kindCase_ == 3; + } /** * * @@ -1921,6 +1994,20 @@ public Builder setStringValueBytes(com.google.protobuf.ByteString value) { return this; } + /** + * + * + *
+     * Holds the value for a tag field with boolean type.
+     * 
+ * + * bool bool_value = 4; + * + * @return Whether the boolValue field is set. + */ + public boolean hasBoolValue() { + return kindCase_ == 4; + } /** * * diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagFieldOrBuilder.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagFieldOrBuilder.java index dadf718c..852a6824 100644 --- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagFieldOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagFieldOrBuilder.java @@ -48,6 +48,18 @@ public interface TagFieldOrBuilder */ com.google.protobuf.ByteString getDisplayNameBytes(); + /** + * + * + *
+   * Holds the value for a tag field with double type.
+   * 
+ * + * double double_value = 2; + * + * @return Whether the doubleValue field is set. + */ + boolean hasDoubleValue(); /** * * @@ -61,6 +73,18 @@ public interface TagFieldOrBuilder */ double getDoubleValue(); + /** + * + * + *
+   * Holds the value for a tag field with string type.
+   * 
+ * + * string string_value = 3; + * + * @return Whether the stringValue field is set. + */ + boolean hasStringValue(); /** * * @@ -86,6 +110,18 @@ public interface TagFieldOrBuilder */ com.google.protobuf.ByteString getStringValueBytes(); + /** + * + * + *
+   * Holds the value for a tag field with boolean type.
+   * 
+ * + * bool bool_value = 4; + * + * @return Whether the boolValue field is set. + */ + boolean hasBoolValue(); /** * * diff --git a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagOrBuilder.java b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagOrBuilder.java index 33502942..360c874c 100644 --- a/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagOrBuilder.java +++ b/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TagOrBuilder.java @@ -108,6 +108,22 @@ public interface TagOrBuilder */ com.google.protobuf.ByteString getTemplateDisplayNameBytes(); + /** + * + * + *
+   * Resources like Entry can have schemas associated with them. This scope
+   * allows users to attach tags to an individual column based on that schema.
+   * For attaching a tag to a nested column, use `.` to separate the column
+   * names. Example:
+   * * `outer_column.inner_column`
+   * 
+ * + * string column = 4; + * + * @return Whether the column field is set. + */ + boolean hasColumn(); /** * * diff --git a/synth.metadata b/synth.metadata index 840a32d7..7dcc1b39 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,23 +4,23 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-datacatalog.git", - "sha": "19e2d6da3de10c54a2ceec164c0c55e27b7925fe" + "sha": "aaccedda258b9a4999f7145fe431448ac6d38e62" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9", - "internalRef": "358516065" + "sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516", + "internalRef": "359781040" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9", - "internalRef": "358516065" + "sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516", + "internalRef": "359781040" } }, {