Class Entry

  • All Implemented Interfaces:
    EntryOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class Entry
    extends com.google.protobuf.GeneratedMessageV3
    implements EntryOrBuilder
     Entry metadata.
     A Data Catalog entry represents another resource in Google
     Cloud Platform (such as a BigQuery dataset or a Pub/Sub topic) or
     outside of it. You can use the `linked_resource` field
     in the entry resource to refer to the original resource ID of the source
     system.
    
     An entry resource contains resource details, for example, its schema.
     Additionally, you can attach flexible metadata to an entry in the form of a
     [Tag][google.cloud.datacatalog.v1.Tag].
     
    Protobuf type google.cloud.datacatalog.v1.Entry
    See Also:
    Serialized Form
    • Field Detail

      • LINKED_RESOURCE_FIELD_NUMBER

        public static final int LINKED_RESOURCE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FULLY_QUALIFIED_NAME_FIELD_NUMBER

        public static final int FULLY_QUALIFIED_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • USER_SPECIFIED_TYPE_FIELD_NUMBER

        public static final int USER_SPECIFIED_TYPE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • INTEGRATED_SYSTEM_FIELD_NUMBER

        public static final int INTEGRATED_SYSTEM_FIELD_NUMBER
        See Also:
        Constant Field Values
      • USER_SPECIFIED_SYSTEM_FIELD_NUMBER

        public static final int USER_SPECIFIED_SYSTEM_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SQL_DATABASE_SYSTEM_SPEC_FIELD_NUMBER

        public static final int SQL_DATABASE_SYSTEM_SPEC_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LOOKER_SYSTEM_SPEC_FIELD_NUMBER

        public static final int LOOKER_SYSTEM_SPEC_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CLOUD_BIGTABLE_SYSTEM_SPEC_FIELD_NUMBER

        public static final int CLOUD_BIGTABLE_SYSTEM_SPEC_FIELD_NUMBER
        See Also:
        Constant Field Values
      • GCS_FILESET_SPEC_FIELD_NUMBER

        public static final int GCS_FILESET_SPEC_FIELD_NUMBER
        See Also:
        Constant Field Values
      • BIGQUERY_TABLE_SPEC_FIELD_NUMBER

        public static final int BIGQUERY_TABLE_SPEC_FIELD_NUMBER
        See Also:
        Constant Field Values
      • BIGQUERY_DATE_SHARDED_SPEC_FIELD_NUMBER

        public static final int BIGQUERY_DATE_SHARDED_SPEC_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DATABASE_TABLE_SPEC_FIELD_NUMBER

        public static final int DATABASE_TABLE_SPEC_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DATA_SOURCE_CONNECTION_SPEC_FIELD_NUMBER

        public static final int DATA_SOURCE_CONNECTION_SPEC_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ROUTINE_SPEC_FIELD_NUMBER

        public static final int ROUTINE_SPEC_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FILESET_SPEC_FIELD_NUMBER

        public static final int FILESET_SPEC_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SERVICE_SPEC_FIELD_NUMBER

        public static final int SERVICE_SPEC_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DISPLAY_NAME_FIELD_NUMBER

        public static final int DISPLAY_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DESCRIPTION_FIELD_NUMBER

        public static final int DESCRIPTION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • BUSINESS_CONTEXT_FIELD_NUMBER

        public static final int BUSINESS_CONTEXT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SOURCE_SYSTEM_TIMESTAMPS_FIELD_NUMBER

        public static final int SOURCE_SYSTEM_TIMESTAMPS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • USAGE_SIGNAL_FIELD_NUMBER

        public static final int USAGE_SIGNAL_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DATA_SOURCE_FIELD_NUMBER

        public static final int DATA_SOURCE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PERSONAL_DETAILS_FIELD_NUMBER

        public static final int PERSONAL_DETAILS_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getName

        public String getName()
         Output only. The resource name of an entry in URL format.
        
         Note: The entry itself and its child resources might not be
         stored in the location specified in its name.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getName in interface EntryOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Output only. The resource name of an entry in URL format.
        
         Note: The entry itself and its child resources might not be
         stored in the location specified in its name.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getNameBytes in interface EntryOrBuilder
        Returns:
        The bytes for name.
      • getLinkedResource

        public String getLinkedResource()
         The resource this metadata entry refers to.
        
         For Google Cloud Platform resources, `linked_resource` is the
         [Full Resource Name]
         (https://cloud.google.com/apis/design/resource_names#full_resource_name).
         For example, the `linked_resource` for a table resource from BigQuery is:
        
         `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
        
         Output only when the entry is one of the types in the `EntryType` enum.
        
         For entries with a `user_specified_type`, this field is optional and
         defaults to an empty string.
        
         The resource string must contain only letters (a-z, A-Z), numbers (0-9),
         underscores (_), periods (.), colons (:), slashes (/), dashes (-),
         and hashes (#).
         The maximum size is 200 bytes when encoded in UTF-8.
         
        string linked_resource = 9;
        Specified by:
        getLinkedResource in interface EntryOrBuilder
        Returns:
        The linkedResource.
      • getLinkedResourceBytes

        public com.google.protobuf.ByteString getLinkedResourceBytes()
         The resource this metadata entry refers to.
        
         For Google Cloud Platform resources, `linked_resource` is the
         [Full Resource Name]
         (https://cloud.google.com/apis/design/resource_names#full_resource_name).
         For example, the `linked_resource` for a table resource from BigQuery is:
        
         `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
        
         Output only when the entry is one of the types in the `EntryType` enum.
        
         For entries with a `user_specified_type`, this field is optional and
         defaults to an empty string.
        
         The resource string must contain only letters (a-z, A-Z), numbers (0-9),
         underscores (_), periods (.), colons (:), slashes (/), dashes (-),
         and hashes (#).
         The maximum size is 200 bytes when encoded in UTF-8.
         
        string linked_resource = 9;
        Specified by:
        getLinkedResourceBytes in interface EntryOrBuilder
        Returns:
        The bytes for linkedResource.
      • getFullyQualifiedName

        public String getFullyQualifiedName()
         [Fully Qualified Name
         (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
         of the resource. Set automatically for entries representing resources from
         synced systems. Settable only during creation, and read-only later. Can
         be used for search and lookup of the entries.
         
        string fully_qualified_name = 29;
        Specified by:
        getFullyQualifiedName in interface EntryOrBuilder
        Returns:
        The fullyQualifiedName.
      • getFullyQualifiedNameBytes

        public com.google.protobuf.ByteString getFullyQualifiedNameBytes()
         [Fully Qualified Name
         (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names)
         of the resource. Set automatically for entries representing resources from
         synced systems. Settable only during creation, and read-only later. Can
         be used for search and lookup of the entries.
         
        string fully_qualified_name = 29;
        Specified by:
        getFullyQualifiedNameBytes in interface EntryOrBuilder
        Returns:
        The bytes for fullyQualifiedName.
      • hasType

        public boolean hasType()
         The type of the entry.
        
         For details, see [`EntryType`](#entrytype).
         
        .google.cloud.datacatalog.v1.EntryType type = 2;
        Specified by:
        hasType in interface EntryOrBuilder
        Returns:
        Whether the type field is set.
      • getTypeValue

        public int getTypeValue()
         The type of the entry.
        
         For details, see [`EntryType`](#entrytype).
         
        .google.cloud.datacatalog.v1.EntryType type = 2;
        Specified by:
        getTypeValue in interface EntryOrBuilder
        Returns:
        The enum numeric value on the wire for type.
      • getType

        public EntryType getType()
         The type of the entry.
        
         For details, see [`EntryType`](#entrytype).
         
        .google.cloud.datacatalog.v1.EntryType type = 2;
        Specified by:
        getType in interface EntryOrBuilder
        Returns:
        The type.
      • hasUserSpecifiedType

        public boolean hasUserSpecifiedType()
         Custom entry type that doesn't match any of the values allowed for input
         and listed in the `EntryType` enum.
        
         When creating an entry, first check the type values in the enum.
         If there are no appropriate types for the new entry,
         provide a custom value, for example, `my_special_type`.
        
         The `user_specified_type` string has the following limitations:
        
         * Is case insensitive.
         * Must begin with a letter or underscore.
         * Can only contain letters, numbers, and underscores.
         * Must be at least 1 character and at most 64 characters long.
         
        string user_specified_type = 16;
        Specified by:
        hasUserSpecifiedType in interface EntryOrBuilder
        Returns:
        Whether the userSpecifiedType field is set.
      • getUserSpecifiedType

        public String getUserSpecifiedType()
         Custom entry type that doesn't match any of the values allowed for input
         and listed in the `EntryType` enum.
        
         When creating an entry, first check the type values in the enum.
         If there are no appropriate types for the new entry,
         provide a custom value, for example, `my_special_type`.
        
         The `user_specified_type` string has the following limitations:
        
         * Is case insensitive.
         * Must begin with a letter or underscore.
         * Can only contain letters, numbers, and underscores.
         * Must be at least 1 character and at most 64 characters long.
         
        string user_specified_type = 16;
        Specified by:
        getUserSpecifiedType in interface EntryOrBuilder
        Returns:
        The userSpecifiedType.
      • getUserSpecifiedTypeBytes

        public com.google.protobuf.ByteString getUserSpecifiedTypeBytes()
         Custom entry type that doesn't match any of the values allowed for input
         and listed in the `EntryType` enum.
        
         When creating an entry, first check the type values in the enum.
         If there are no appropriate types for the new entry,
         provide a custom value, for example, `my_special_type`.
        
         The `user_specified_type` string has the following limitations:
        
         * Is case insensitive.
         * Must begin with a letter or underscore.
         * Can only contain letters, numbers, and underscores.
         * Must be at least 1 character and at most 64 characters long.
         
        string user_specified_type = 16;
        Specified by:
        getUserSpecifiedTypeBytes in interface EntryOrBuilder
        Returns:
        The bytes for userSpecifiedType.
      • hasIntegratedSystem

        public boolean hasIntegratedSystem()
         Output only. Indicates the entry's source system that Data Catalog
         integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
         
        .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasIntegratedSystem in interface EntryOrBuilder
        Returns:
        Whether the integratedSystem field is set.
      • getIntegratedSystemValue

        public int getIntegratedSystemValue()
         Output only. Indicates the entry's source system that Data Catalog
         integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
         
        .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getIntegratedSystemValue in interface EntryOrBuilder
        Returns:
        The enum numeric value on the wire for integratedSystem.
      • getIntegratedSystem

        public IntegratedSystem getIntegratedSystem()
         Output only. Indicates the entry's source system that Data Catalog
         integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
         
        .google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getIntegratedSystem in interface EntryOrBuilder
        Returns:
        The integratedSystem.
      • hasUserSpecifiedSystem

        public boolean hasUserSpecifiedSystem()
         Indicates the entry's source system that Data Catalog doesn't
         automatically integrate with.
        
         The `user_specified_system` string has the following limitations:
        
         * Is case insensitive.
         * Must begin with a letter or underscore.
         * Can only contain letters, numbers, and underscores.
         * Must be at least 1 character and at most 64 characters long.
         
        string user_specified_system = 18;
        Specified by:
        hasUserSpecifiedSystem in interface EntryOrBuilder
        Returns:
        Whether the userSpecifiedSystem field is set.
      • getUserSpecifiedSystem

        public String getUserSpecifiedSystem()
         Indicates the entry's source system that Data Catalog doesn't
         automatically integrate with.
        
         The `user_specified_system` string has the following limitations:
        
         * Is case insensitive.
         * Must begin with a letter or underscore.
         * Can only contain letters, numbers, and underscores.
         * Must be at least 1 character and at most 64 characters long.
         
        string user_specified_system = 18;
        Specified by:
        getUserSpecifiedSystem in interface EntryOrBuilder
        Returns:
        The userSpecifiedSystem.
      • getUserSpecifiedSystemBytes

        public com.google.protobuf.ByteString getUserSpecifiedSystemBytes()
         Indicates the entry's source system that Data Catalog doesn't
         automatically integrate with.
        
         The `user_specified_system` string has the following limitations:
        
         * Is case insensitive.
         * Must begin with a letter or underscore.
         * Can only contain letters, numbers, and underscores.
         * Must be at least 1 character and at most 64 characters long.
         
        string user_specified_system = 18;
        Specified by:
        getUserSpecifiedSystemBytes in interface EntryOrBuilder
        Returns:
        The bytes for userSpecifiedSystem.
      • hasSqlDatabaseSystemSpec

        public boolean hasSqlDatabaseSystemSpec()
         Specification that applies to a relational database system. Only settable
         when `user_specified_system` is equal to `SQL_DATABASE`
         
        .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39;
        Specified by:
        hasSqlDatabaseSystemSpec in interface EntryOrBuilder
        Returns:
        Whether the sqlDatabaseSystemSpec field is set.
      • getSqlDatabaseSystemSpec

        public SqlDatabaseSystemSpec getSqlDatabaseSystemSpec()
         Specification that applies to a relational database system. Only settable
         when `user_specified_system` is equal to `SQL_DATABASE`
         
        .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39;
        Specified by:
        getSqlDatabaseSystemSpec in interface EntryOrBuilder
        Returns:
        The sqlDatabaseSystemSpec.
      • getSqlDatabaseSystemSpecOrBuilder

        public SqlDatabaseSystemSpecOrBuilder getSqlDatabaseSystemSpecOrBuilder()
         Specification that applies to a relational database system. Only settable
         when `user_specified_system` is equal to `SQL_DATABASE`
         
        .google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39;
        Specified by:
        getSqlDatabaseSystemSpecOrBuilder in interface EntryOrBuilder
      • hasLookerSystemSpec

        public boolean hasLookerSystemSpec()
         Specification that applies to Looker sysstem. Only settable when
         `user_specified_system` is equal to `LOOKER`
         
        .google.cloud.datacatalog.v1.LookerSystemSpec looker_system_spec = 40;
        Specified by:
        hasLookerSystemSpec in interface EntryOrBuilder
        Returns:
        Whether the lookerSystemSpec field is set.
      • getLookerSystemSpec

        public LookerSystemSpec getLookerSystemSpec()
         Specification that applies to Looker sysstem. Only settable when
         `user_specified_system` is equal to `LOOKER`
         
        .google.cloud.datacatalog.v1.LookerSystemSpec looker_system_spec = 40;
        Specified by:
        getLookerSystemSpec in interface EntryOrBuilder
        Returns:
        The lookerSystemSpec.
      • getLookerSystemSpecOrBuilder

        public LookerSystemSpecOrBuilder getLookerSystemSpecOrBuilder()
         Specification that applies to Looker sysstem. Only settable when
         `user_specified_system` is equal to `LOOKER`
         
        .google.cloud.datacatalog.v1.LookerSystemSpec looker_system_spec = 40;
        Specified by:
        getLookerSystemSpecOrBuilder in interface EntryOrBuilder
      • hasCloudBigtableSystemSpec

        public boolean hasCloudBigtableSystemSpec()
         Specification that applies to Cloud Bigtable system. Only settable when
         `integrated_system` is equal to `CLOUD_BIGTABLE`
         
        .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41;
        Specified by:
        hasCloudBigtableSystemSpec in interface EntryOrBuilder
        Returns:
        Whether the cloudBigtableSystemSpec field is set.
      • getCloudBigtableSystemSpec

        public CloudBigtableSystemSpec getCloudBigtableSystemSpec()
         Specification that applies to Cloud Bigtable system. Only settable when
         `integrated_system` is equal to `CLOUD_BIGTABLE`
         
        .google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41;
        Specified by:
        getCloudBigtableSystemSpec in interface EntryOrBuilder
        Returns:
        The cloudBigtableSystemSpec.
      • hasGcsFilesetSpec

        public boolean hasGcsFilesetSpec()
         Specification that applies to a Cloud Storage fileset. Valid only
         for entries with the `FILESET` type.
         
        .google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6;
        Specified by:
        hasGcsFilesetSpec in interface EntryOrBuilder
        Returns:
        Whether the gcsFilesetSpec field is set.
      • getGcsFilesetSpec

        public GcsFilesetSpec getGcsFilesetSpec()
         Specification that applies to a Cloud Storage fileset. Valid only
         for entries with the `FILESET` type.
         
        .google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6;
        Specified by:
        getGcsFilesetSpec in interface EntryOrBuilder
        Returns:
        The gcsFilesetSpec.
      • getGcsFilesetSpecOrBuilder

        public GcsFilesetSpecOrBuilder getGcsFilesetSpecOrBuilder()
         Specification that applies to a Cloud Storage fileset. Valid only
         for entries with the `FILESET` type.
         
        .google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6;
        Specified by:
        getGcsFilesetSpecOrBuilder in interface EntryOrBuilder
      • hasBigqueryTableSpec

        public boolean hasBigqueryTableSpec()
         Output only. Specification that applies to a BigQuery table. Valid only
         for entries with the `TABLE` type.
         
        .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasBigqueryTableSpec in interface EntryOrBuilder
        Returns:
        Whether the bigqueryTableSpec field is set.
      • getBigqueryTableSpec

        public BigQueryTableSpec getBigqueryTableSpec()
         Output only. Specification that applies to a BigQuery table. Valid only
         for entries with the `TABLE` type.
         
        .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getBigqueryTableSpec in interface EntryOrBuilder
        Returns:
        The bigqueryTableSpec.
      • getBigqueryTableSpecOrBuilder

        public BigQueryTableSpecOrBuilder getBigqueryTableSpecOrBuilder()
         Output only. Specification that applies to a BigQuery table. Valid only
         for entries with the `TABLE` type.
         
        .google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getBigqueryTableSpecOrBuilder in interface EntryOrBuilder
      • hasBigqueryDateShardedSpec

        public boolean hasBigqueryDateShardedSpec()
         Output only. Specification for a group of BigQuery tables with
         the `[prefix]YYYYMMDD` name pattern.
        
         For more information, see [Introduction to partitioned tables]
         (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
         
        .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasBigqueryDateShardedSpec in interface EntryOrBuilder
        Returns:
        Whether the bigqueryDateShardedSpec field is set.
      • getBigqueryDateShardedSpec

        public BigQueryDateShardedSpec getBigqueryDateShardedSpec()
         Output only. Specification for a group of BigQuery tables with
         the `[prefix]YYYYMMDD` name pattern.
        
         For more information, see [Introduction to partitioned tables]
         (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
         
        .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getBigqueryDateShardedSpec in interface EntryOrBuilder
        Returns:
        The bigqueryDateShardedSpec.
      • getBigqueryDateShardedSpecOrBuilder

        public BigQueryDateShardedSpecOrBuilder getBigqueryDateShardedSpecOrBuilder()
         Output only. Specification for a group of BigQuery tables with
         the `[prefix]YYYYMMDD` name pattern.
        
         For more information, see [Introduction to partitioned tables]
         (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
         
        .google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getBigqueryDateShardedSpecOrBuilder in interface EntryOrBuilder
      • hasDatabaseTableSpec

        public boolean hasDatabaseTableSpec()
         Specification that applies to a table resource. Valid only
         for entries with the `TABLE` or `EXPLORE` type.
         
        .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24;
        Specified by:
        hasDatabaseTableSpec in interface EntryOrBuilder
        Returns:
        Whether the databaseTableSpec field is set.
      • getDatabaseTableSpec

        public DatabaseTableSpec getDatabaseTableSpec()
         Specification that applies to a table resource. Valid only
         for entries with the `TABLE` or `EXPLORE` type.
         
        .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24;
        Specified by:
        getDatabaseTableSpec in interface EntryOrBuilder
        Returns:
        The databaseTableSpec.
      • getDatabaseTableSpecOrBuilder

        public DatabaseTableSpecOrBuilder getDatabaseTableSpecOrBuilder()
         Specification that applies to a table resource. Valid only
         for entries with the `TABLE` or `EXPLORE` type.
         
        .google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24;
        Specified by:
        getDatabaseTableSpecOrBuilder in interface EntryOrBuilder
      • hasDataSourceConnectionSpec

        public boolean hasDataSourceConnectionSpec()
         Specification that applies to a data source connection. Valid only
         for entries with the `DATA_SOURCE_CONNECTION` type.
         
        .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27;
        Specified by:
        hasDataSourceConnectionSpec in interface EntryOrBuilder
        Returns:
        Whether the dataSourceConnectionSpec field is set.
      • getDataSourceConnectionSpec

        public DataSourceConnectionSpec getDataSourceConnectionSpec()
         Specification that applies to a data source connection. Valid only
         for entries with the `DATA_SOURCE_CONNECTION` type.
         
        .google.cloud.datacatalog.v1.DataSourceConnectionSpec data_source_connection_spec = 27;
        Specified by:
        getDataSourceConnectionSpec in interface EntryOrBuilder
        Returns:
        The dataSourceConnectionSpec.
      • hasRoutineSpec

        public boolean hasRoutineSpec()
         Specification that applies to a user-defined function or procedure. Valid
         only for entries with the `ROUTINE` type.
         
        .google.cloud.datacatalog.v1.RoutineSpec routine_spec = 28;
        Specified by:
        hasRoutineSpec in interface EntryOrBuilder
        Returns:
        Whether the routineSpec field is set.
      • getRoutineSpec

        public RoutineSpec getRoutineSpec()
         Specification that applies to a user-defined function or procedure. Valid
         only for entries with the `ROUTINE` type.
         
        .google.cloud.datacatalog.v1.RoutineSpec routine_spec = 28;
        Specified by:
        getRoutineSpec in interface EntryOrBuilder
        Returns:
        The routineSpec.
      • getRoutineSpecOrBuilder

        public RoutineSpecOrBuilder getRoutineSpecOrBuilder()
         Specification that applies to a user-defined function or procedure. Valid
         only for entries with the `ROUTINE` type.
         
        .google.cloud.datacatalog.v1.RoutineSpec routine_spec = 28;
        Specified by:
        getRoutineSpecOrBuilder in interface EntryOrBuilder
      • hasFilesetSpec

        public boolean hasFilesetSpec()
         Specification that applies to a fileset resource. Valid only
         for entries with the `FILESET` type.
         
        .google.cloud.datacatalog.v1.FilesetSpec fileset_spec = 33;
        Specified by:
        hasFilesetSpec in interface EntryOrBuilder
        Returns:
        Whether the filesetSpec field is set.
      • getFilesetSpec

        public FilesetSpec getFilesetSpec()
         Specification that applies to a fileset resource. Valid only
         for entries with the `FILESET` type.
         
        .google.cloud.datacatalog.v1.FilesetSpec fileset_spec = 33;
        Specified by:
        getFilesetSpec in interface EntryOrBuilder
        Returns:
        The filesetSpec.
      • getFilesetSpecOrBuilder

        public FilesetSpecOrBuilder getFilesetSpecOrBuilder()
         Specification that applies to a fileset resource. Valid only
         for entries with the `FILESET` type.
         
        .google.cloud.datacatalog.v1.FilesetSpec fileset_spec = 33;
        Specified by:
        getFilesetSpecOrBuilder in interface EntryOrBuilder
      • hasServiceSpec

        public boolean hasServiceSpec()
         Specification that applies to a Service resource.
         
        .google.cloud.datacatalog.v1.ServiceSpec service_spec = 42;
        Specified by:
        hasServiceSpec in interface EntryOrBuilder
        Returns:
        Whether the serviceSpec field is set.
      • getServiceSpec

        public ServiceSpec getServiceSpec()
         Specification that applies to a Service resource.
         
        .google.cloud.datacatalog.v1.ServiceSpec service_spec = 42;
        Specified by:
        getServiceSpec in interface EntryOrBuilder
        Returns:
        The serviceSpec.
      • getDisplayName

        public String getDisplayName()
         Display name of an entry.
        
         The maximum size is 500 bytes when encoded in UTF-8.
         Default value is an empty string.
         
        string display_name = 3;
        Specified by:
        getDisplayName in interface EntryOrBuilder
        Returns:
        The displayName.
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         Display name of an entry.
        
         The maximum size is 500 bytes when encoded in UTF-8.
         Default value is an empty string.
         
        string display_name = 3;
        Specified by:
        getDisplayNameBytes in interface EntryOrBuilder
        Returns:
        The bytes for displayName.
      • getDescription

        public String getDescription()
         Entry description that can consist of several sentences or paragraphs
         that describe entry contents.
        
         The description must not contain Unicode non-characters as well as C0
         and C1 control codes except tabs (HT), new lines (LF), carriage returns
         (CR), and page breaks (FF).
         The maximum size is 2000 bytes when encoded in UTF-8.
         Default value is an empty string.
         
        string description = 4;
        Specified by:
        getDescription in interface EntryOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         Entry description that can consist of several sentences or paragraphs
         that describe entry contents.
        
         The description must not contain Unicode non-characters as well as C0
         and C1 control codes except tabs (HT), new lines (LF), carriage returns
         (CR), and page breaks (FF).
         The maximum size is 2000 bytes when encoded in UTF-8.
         Default value is an empty string.
         
        string description = 4;
        Specified by:
        getDescriptionBytes in interface EntryOrBuilder
        Returns:
        The bytes for description.
      • hasBusinessContext

        public boolean hasBusinessContext()
         Business Context of the entry. Not supported for BigQuery datasets
         
        .google.cloud.datacatalog.v1.BusinessContext business_context = 37;
        Specified by:
        hasBusinessContext in interface EntryOrBuilder
        Returns:
        Whether the businessContext field is set.
      • getBusinessContext

        public BusinessContext getBusinessContext()
         Business Context of the entry. Not supported for BigQuery datasets
         
        .google.cloud.datacatalog.v1.BusinessContext business_context = 37;
        Specified by:
        getBusinessContext in interface EntryOrBuilder
        Returns:
        The businessContext.
      • hasSchema

        public boolean hasSchema()
         Schema of the entry. An entry might not have any schema attached to it.
         
        .google.cloud.datacatalog.v1.Schema schema = 5;
        Specified by:
        hasSchema in interface EntryOrBuilder
        Returns:
        Whether the schema field is set.
      • getSchema

        public Schema getSchema()
         Schema of the entry. An entry might not have any schema attached to it.
         
        .google.cloud.datacatalog.v1.Schema schema = 5;
        Specified by:
        getSchema in interface EntryOrBuilder
        Returns:
        The schema.
      • getSchemaOrBuilder

        public SchemaOrBuilder getSchemaOrBuilder()
         Schema of the entry. An entry might not have any schema attached to it.
         
        .google.cloud.datacatalog.v1.Schema schema = 5;
        Specified by:
        getSchemaOrBuilder in interface EntryOrBuilder
      • hasSourceSystemTimestamps

        public boolean hasSourceSystemTimestamps()
         Timestamps from the underlying resource, not from the Data Catalog
         entry.
        
         Output only when the entry has a system listed in the `IntegratedSystem`
         enum. For entries with `user_specified_system`, this field is optional
         and defaults to an empty timestamp.
         
        .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7;
        Specified by:
        hasSourceSystemTimestamps in interface EntryOrBuilder
        Returns:
        Whether the sourceSystemTimestamps field is set.
      • getSourceSystemTimestamps

        public SystemTimestamps getSourceSystemTimestamps()
         Timestamps from the underlying resource, not from the Data Catalog
         entry.
        
         Output only when the entry has a system listed in the `IntegratedSystem`
         enum. For entries with `user_specified_system`, this field is optional
         and defaults to an empty timestamp.
         
        .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7;
        Specified by:
        getSourceSystemTimestamps in interface EntryOrBuilder
        Returns:
        The sourceSystemTimestamps.
      • getSourceSystemTimestampsOrBuilder

        public SystemTimestampsOrBuilder getSourceSystemTimestampsOrBuilder()
         Timestamps from the underlying resource, not from the Data Catalog
         entry.
        
         Output only when the entry has a system listed in the `IntegratedSystem`
         enum. For entries with `user_specified_system`, this field is optional
         and defaults to an empty timestamp.
         
        .google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7;
        Specified by:
        getSourceSystemTimestampsOrBuilder in interface EntryOrBuilder
      • hasUsageSignal

        public boolean hasUsageSignal()
         Resource usage statistics.
         
        .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13;
        Specified by:
        hasUsageSignal in interface EntryOrBuilder
        Returns:
        Whether the usageSignal field is set.
      • getUsageSignal

        public UsageSignal getUsageSignal()
         Resource usage statistics.
         
        .google.cloud.datacatalog.v1.UsageSignal usage_signal = 13;
        Specified by:
        getUsageSignal in interface EntryOrBuilder
        Returns:
        The usageSignal.
      • getLabelsCount

        public int getLabelsCount()
        Description copied from interface: EntryOrBuilder
         Cloud labels attached to the entry.
        
         In Data Catalog, you can create and modify labels attached only to custom
         entries. Synced entries have unmodifiable labels that come from the source
         system.
         
        map<string, string> labels = 14;
        Specified by:
        getLabelsCount in interface EntryOrBuilder
      • containsLabels

        public boolean containsLabels​(String key)
         Cloud labels attached to the entry.
        
         In Data Catalog, you can create and modify labels attached only to custom
         entries. Synced entries have unmodifiable labels that come from the source
         system.
         
        map<string, string> labels = 14;
        Specified by:
        containsLabels in interface EntryOrBuilder
      • getLabelsMap

        public Map<String,​String> getLabelsMap()
         Cloud labels attached to the entry.
        
         In Data Catalog, you can create and modify labels attached only to custom
         entries. Synced entries have unmodifiable labels that come from the source
         system.
         
        map<string, string> labels = 14;
        Specified by:
        getLabelsMap in interface EntryOrBuilder
      • getLabelsOrDefault

        public String getLabelsOrDefault​(String key,
                                         String defaultValue)
         Cloud labels attached to the entry.
        
         In Data Catalog, you can create and modify labels attached only to custom
         entries. Synced entries have unmodifiable labels that come from the source
         system.
         
        map<string, string> labels = 14;
        Specified by:
        getLabelsOrDefault in interface EntryOrBuilder
      • getLabelsOrThrow

        public String getLabelsOrThrow​(String key)
         Cloud labels attached to the entry.
        
         In Data Catalog, you can create and modify labels attached only to custom
         entries. Synced entries have unmodifiable labels that come from the source
         system.
         
        map<string, string> labels = 14;
        Specified by:
        getLabelsOrThrow in interface EntryOrBuilder
      • hasDataSource

        public boolean hasDataSource()
         Output only. Physical location of the entry.
         
        .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasDataSource in interface EntryOrBuilder
        Returns:
        Whether the dataSource field is set.
      • getDataSource

        public DataSource getDataSource()
         Output only. Physical location of the entry.
         
        .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDataSource in interface EntryOrBuilder
        Returns:
        The dataSource.
      • getDataSourceOrBuilder

        public DataSourceOrBuilder getDataSourceOrBuilder()
         Output only. Physical location of the entry.
         
        .google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDataSourceOrBuilder in interface EntryOrBuilder
      • hasPersonalDetails

        public boolean hasPersonalDetails()
         Output only. Additional information related to the entry. Private to the
         current user.
         
        .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasPersonalDetails in interface EntryOrBuilder
        Returns:
        Whether the personalDetails field is set.
      • getPersonalDetails

        public PersonalDetails getPersonalDetails()
         Output only. Additional information related to the entry. Private to the
         current user.
         
        .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPersonalDetails in interface EntryOrBuilder
        Returns:
        The personalDetails.
      • getPersonalDetailsOrBuilder

        public PersonalDetailsOrBuilder getPersonalDetailsOrBuilder()
         Output only. Additional information related to the entry. Private to the
         current user.
         
        .google.cloud.datacatalog.v1.PersonalDetails personal_details = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPersonalDetailsOrBuilder in interface EntryOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Entry parseFrom​(ByteBuffer data)
                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Entry parseFrom​(ByteBuffer data,
                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Entry parseFrom​(com.google.protobuf.ByteString data)
                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Entry parseFrom​(com.google.protobuf.ByteString data,
                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Entry parseFrom​(byte[] data)
                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Entry parseFrom​(byte[] data,
                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Entry parseFrom​(com.google.protobuf.CodedInputStream input,
                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                               throws IOException
        Throws:
        IOException
      • newBuilderForType

        public Entry.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Entry.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Entry.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static Entry getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<Entry> parser()
      • getParserForType

        public com.google.protobuf.Parser<Entry> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Entry getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder