Class Entry (1.43.0)

public final class Entry extends 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.

Protobuf type google.cloud.datacatalog.v1.Entry

Implements

EntryOrBuilder

Static Fields

BIGQUERY_DATE_SHARDED_SPEC_FIELD_NUMBER

public static final int BIGQUERY_DATE_SHARDED_SPEC_FIELD_NUMBER
Field Value
TypeDescription
int

BIGQUERY_TABLE_SPEC_FIELD_NUMBER

public static final int BIGQUERY_TABLE_SPEC_FIELD_NUMBER
Field Value
TypeDescription
int

BUSINESS_CONTEXT_FIELD_NUMBER

public static final int BUSINESS_CONTEXT_FIELD_NUMBER
Field Value
TypeDescription
int

CLOUD_BIGTABLE_SYSTEM_SPEC_FIELD_NUMBER

public static final int CLOUD_BIGTABLE_SYSTEM_SPEC_FIELD_NUMBER
Field Value
TypeDescription
int

DATABASE_TABLE_SPEC_FIELD_NUMBER

public static final int DATABASE_TABLE_SPEC_FIELD_NUMBER
Field Value
TypeDescription
int

DATASET_SPEC_FIELD_NUMBER

public static final int DATASET_SPEC_FIELD_NUMBER
Field Value
TypeDescription
int

DATA_SOURCE_CONNECTION_SPEC_FIELD_NUMBER

public static final int DATA_SOURCE_CONNECTION_SPEC_FIELD_NUMBER
Field Value
TypeDescription
int

DATA_SOURCE_FIELD_NUMBER

public static final int DATA_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

FILESET_SPEC_FIELD_NUMBER

public static final int FILESET_SPEC_FIELD_NUMBER
Field Value
TypeDescription
int

FULLY_QUALIFIED_NAME_FIELD_NUMBER

public static final int FULLY_QUALIFIED_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

GCS_FILESET_SPEC_FIELD_NUMBER

public static final int GCS_FILESET_SPEC_FIELD_NUMBER
Field Value
TypeDescription
int

INTEGRATED_SYSTEM_FIELD_NUMBER

public static final int INTEGRATED_SYSTEM_FIELD_NUMBER
Field Value
TypeDescription
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
TypeDescription
int

LINKED_RESOURCE_FIELD_NUMBER

public static final int LINKED_RESOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

LOOKER_SYSTEM_SPEC_FIELD_NUMBER

public static final int LOOKER_SYSTEM_SPEC_FIELD_NUMBER
Field Value
TypeDescription
int

MODEL_SPEC_FIELD_NUMBER

public static final int MODEL_SPEC_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

PERSONAL_DETAILS_FIELD_NUMBER

public static final int PERSONAL_DETAILS_FIELD_NUMBER
Field Value
TypeDescription
int

ROUTINE_SPEC_FIELD_NUMBER

public static final int ROUTINE_SPEC_FIELD_NUMBER
Field Value
TypeDescription
int

SCHEMA_FIELD_NUMBER

public static final int SCHEMA_FIELD_NUMBER
Field Value
TypeDescription
int

SERVICE_SPEC_FIELD_NUMBER

public static final int SERVICE_SPEC_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_SYSTEM_TIMESTAMPS_FIELD_NUMBER

public static final int SOURCE_SYSTEM_TIMESTAMPS_FIELD_NUMBER
Field Value
TypeDescription
int

SQL_DATABASE_SYSTEM_SPEC_FIELD_NUMBER

public static final int SQL_DATABASE_SYSTEM_SPEC_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

USAGE_SIGNAL_FIELD_NUMBER

public static final int USAGE_SIGNAL_FIELD_NUMBER
Field Value
TypeDescription
int

USER_SPECIFIED_SYSTEM_FIELD_NUMBER

public static final int USER_SPECIFIED_SYSTEM_FIELD_NUMBER
Field Value
TypeDescription
int

USER_SPECIFIED_TYPE_FIELD_NUMBER

public static final int USER_SPECIFIED_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Entry getDefaultInstance()
Returns
TypeDescription
Entry

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Entry.Builder newBuilder()
Returns
TypeDescription
Entry.Builder

newBuilder(Entry prototype)

public static Entry.Builder newBuilder(Entry prototype)
Parameter
NameDescription
prototypeEntry
Returns
TypeDescription
Entry.Builder

parseDelimitedFrom(InputStream input)

public static Entry parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Entry
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Entry parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Entry
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Entry parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Entry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Entry parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Entry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Entry parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Entry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Entry parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Entry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Entry parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Entry
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Entry parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Entry
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Entry parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Entry
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Entry parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Entry
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Entry parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Entry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Entry parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Entry
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Entry> parser()
Returns
TypeDescription
Parser<Entry>

Methods

containsLabels(String key)

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;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

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.

.google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
BigQueryDateShardedSpec

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.

.google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
BigQueryDateShardedSpecOrBuilder

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];

Returns
TypeDescription
BigQueryTableSpec

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];

Returns
TypeDescription
BigQueryTableSpecOrBuilder

getBusinessContext()

public BusinessContext getBusinessContext()

Business Context of the entry. Not supported for BigQuery datasets

.google.cloud.datacatalog.v1.BusinessContext business_context = 37;

Returns
TypeDescription
BusinessContext

The businessContext.

getBusinessContextOrBuilder()

public BusinessContextOrBuilder getBusinessContextOrBuilder()

Business Context of the entry. Not supported for BigQuery datasets

.google.cloud.datacatalog.v1.BusinessContext business_context = 37;

Returns
TypeDescription
BusinessContextOrBuilder

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;

Returns
TypeDescription
CloudBigtableSystemSpec

The cloudBigtableSystemSpec.

getCloudBigtableSystemSpecOrBuilder()

public CloudBigtableSystemSpecOrBuilder getCloudBigtableSystemSpecOrBuilder()

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;

Returns
TypeDescription
CloudBigtableSystemSpecOrBuilder

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];

Returns
TypeDescription
DataSource

The dataSource.

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;

Returns
TypeDescription
DataSourceConnectionSpec

The dataSourceConnectionSpec.

getDataSourceConnectionSpecOrBuilder()

public DataSourceConnectionSpecOrBuilder getDataSourceConnectionSpecOrBuilder()

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;

Returns
TypeDescription
DataSourceConnectionSpecOrBuilder

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];

Returns
TypeDescription
DataSourceOrBuilder

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;

Returns
TypeDescription
DatabaseTableSpec

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;

Returns
TypeDescription
DatabaseTableSpecOrBuilder

getDatasetSpec()

public DatasetSpec getDatasetSpec()

Specification that applies to a dataset.

.google.cloud.datacatalog.v1.DatasetSpec dataset_spec = 32;

Returns
TypeDescription
DatasetSpec

The datasetSpec.

getDatasetSpecOrBuilder()

public DatasetSpecOrBuilder getDatasetSpecOrBuilder()

Specification that applies to a dataset.

.google.cloud.datacatalog.v1.DatasetSpec dataset_spec = 32;

Returns
TypeDescription
DatasetSpecOrBuilder

getDefaultInstanceForType()

public Entry getDefaultInstanceForType()
Returns
TypeDescription
Entry

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;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public 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;

Returns
TypeDescription
ByteString

The bytes for description.

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;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public 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;

Returns
TypeDescription
ByteString

The bytes for displayName.

getEntryTypeCase()

public Entry.EntryTypeCase getEntryTypeCase()
Returns
TypeDescription
Entry.EntryTypeCase

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;

Returns
TypeDescription
FilesetSpec

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;

Returns
TypeDescription
FilesetSpecOrBuilder

getFullyQualifiedName()

public String getFullyQualifiedName()

Fully Qualified Name (FQN) 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;

Returns
TypeDescription
String

The fullyQualifiedName.

getFullyQualifiedNameBytes()

public ByteString getFullyQualifiedNameBytes()

Fully Qualified Name (FQN) 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;

Returns
TypeDescription
ByteString

The bytes for fullyQualifiedName.

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;

Returns
TypeDescription
GcsFilesetSpec

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;

Returns
TypeDescription
GcsFilesetSpecOrBuilder

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];

Returns
TypeDescription
IntegratedSystem

The integratedSystem.

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];

Returns
TypeDescription
int

The enum numeric value on the wire for integratedSystem.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

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;

Returns
TypeDescription
int

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;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

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;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

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;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getLinkedResource()

public String getLinkedResource()

The resource this metadata entry refers to.

For Google Cloud Platform resources, linked_resource is the 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;

Returns
TypeDescription
String

The linkedResource.

getLinkedResourceBytes()

public ByteString getLinkedResourceBytes()

The resource this metadata entry refers to.

For Google Cloud Platform resources, linked_resource is the 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;

Returns
TypeDescription
ByteString

The bytes for linkedResource.

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;

Returns
TypeDescription
LookerSystemSpec

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;

Returns
TypeDescription
LookerSystemSpecOrBuilder

getModelSpec()

public ModelSpec getModelSpec()

Model specification.

.google.cloud.datacatalog.v1.ModelSpec model_spec = 43;

Returns
TypeDescription
ModelSpec

The modelSpec.

getModelSpecOrBuilder()

public ModelSpecOrBuilder getModelSpecOrBuilder()

Model specification.

.google.cloud.datacatalog.v1.ModelSpec model_spec = 43;

Returns
TypeDescription
ModelSpecOrBuilder

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) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public 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) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<Entry> getParserForType()
Returns
TypeDescription
Parser<Entry>
Overrides

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];

Returns
TypeDescription
PersonalDetails

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];

Returns
TypeDescription
PersonalDetailsOrBuilder

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;

Returns
TypeDescription
RoutineSpec

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;

Returns
TypeDescription
RoutineSpecOrBuilder

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;

Returns
TypeDescription
Schema

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;

Returns
TypeDescription
SchemaOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getServiceSpec()

public ServiceSpec getServiceSpec()

Specification that applies to a Service resource.

.google.cloud.datacatalog.v1.ServiceSpec service_spec = 42;

Returns
TypeDescription
ServiceSpec

The serviceSpec.

getServiceSpecOrBuilder()

public ServiceSpecOrBuilder getServiceSpecOrBuilder()

Specification that applies to a Service resource.

.google.cloud.datacatalog.v1.ServiceSpec service_spec = 42;

Returns
TypeDescription
ServiceSpecOrBuilder

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;

Returns
TypeDescription
SystemTimestamps

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;

Returns
TypeDescription
SystemTimestampsOrBuilder

getSpecCase()

public Entry.SpecCase getSpecCase()
Returns
TypeDescription
Entry.SpecCase

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;

Returns
TypeDescription
SqlDatabaseSystemSpec

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;

Returns
TypeDescription
SqlDatabaseSystemSpecOrBuilder

getSystemCase()

public Entry.SystemCase getSystemCase()
Returns
TypeDescription
Entry.SystemCase

getSystemSpecCase()

public Entry.SystemSpecCase getSystemSpecCase()
Returns
TypeDescription
Entry.SystemSpecCase

getType()

public EntryType getType()

The type of the entry.

For details, see EntryType.

.google.cloud.datacatalog.v1.EntryType type = 2;

Returns
TypeDescription
EntryType

The type.

getTypeSpecCase()

public Entry.TypeSpecCase getTypeSpecCase()
Returns
TypeDescription
Entry.TypeSpecCase

getTypeValue()

public int getTypeValue()

The type of the entry.

For details, see EntryType.

.google.cloud.datacatalog.v1.EntryType type = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for type.

getUsageSignal()

public UsageSignal getUsageSignal()

Resource usage statistics.

.google.cloud.datacatalog.v1.UsageSignal usage_signal = 13;

Returns
TypeDescription
UsageSignal

The usageSignal.

getUsageSignalOrBuilder()

public UsageSignalOrBuilder getUsageSignalOrBuilder()

Resource usage statistics.

.google.cloud.datacatalog.v1.UsageSignal usage_signal = 13;

Returns
TypeDescription
UsageSignalOrBuilder

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;

Returns
TypeDescription
String

The userSpecifiedSystem.

getUserSpecifiedSystemBytes()

public 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;

Returns
TypeDescription
ByteString

The bytes for userSpecifiedSystem.

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;

Returns
TypeDescription
String

The userSpecifiedType.

getUserSpecifiedTypeBytes()

public 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;

Returns
TypeDescription
ByteString

The bytes for userSpecifiedType.

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.

.google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the bigqueryDateShardedSpec field is set.

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];

Returns
TypeDescription
boolean

Whether the bigqueryTableSpec field is set.

hasBusinessContext()

public boolean hasBusinessContext()

Business Context of the entry. Not supported for BigQuery datasets

.google.cloud.datacatalog.v1.BusinessContext business_context = 37;

Returns
TypeDescription
boolean

Whether the businessContext field is set.

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;

Returns
TypeDescription
boolean

Whether the cloudBigtableSystemSpec field is set.

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];

Returns
TypeDescription
boolean

Whether the dataSource field is set.

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;

Returns
TypeDescription
boolean

Whether the dataSourceConnectionSpec field is set.

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;

Returns
TypeDescription
boolean

Whether the databaseTableSpec field is set.

hasDatasetSpec()

public boolean hasDatasetSpec()

Specification that applies to a dataset.

.google.cloud.datacatalog.v1.DatasetSpec dataset_spec = 32;

Returns
TypeDescription
boolean

Whether the datasetSpec field is set.

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;

Returns
TypeDescription
boolean

Whether the filesetSpec field is set.

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;

Returns
TypeDescription
boolean

Whether the gcsFilesetSpec field is set.

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];

Returns
TypeDescription
boolean

Whether the integratedSystem field is set.

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;

Returns
TypeDescription
boolean

Whether the lookerSystemSpec field is set.

hasModelSpec()

public boolean hasModelSpec()

Model specification.

.google.cloud.datacatalog.v1.ModelSpec model_spec = 43;

Returns
TypeDescription
boolean

Whether the modelSpec field is set.

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];

Returns
TypeDescription
boolean

Whether the personalDetails field is set.

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;

Returns
TypeDescription
boolean

Whether the routineSpec field is set.

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;

Returns
TypeDescription
boolean

Whether the schema field is set.

hasServiceSpec()

public boolean hasServiceSpec()

Specification that applies to a Service resource.

.google.cloud.datacatalog.v1.ServiceSpec service_spec = 42;

Returns
TypeDescription
boolean

Whether the serviceSpec field is set.

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;

Returns
TypeDescription
boolean

Whether the sourceSystemTimestamps field is set.

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;

Returns
TypeDescription
boolean

Whether the sqlDatabaseSystemSpec field is set.

hasType()

public boolean hasType()

The type of the entry.

For details, see EntryType.

.google.cloud.datacatalog.v1.EntryType type = 2;

Returns
TypeDescription
boolean

Whether the type field is set.

hasUsageSignal()

public boolean hasUsageSignal()

Resource usage statistics.

.google.cloud.datacatalog.v1.UsageSignal usage_signal = 13;

Returns
TypeDescription
boolean

Whether the usageSignal field is set.

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;

Returns
TypeDescription
boolean

Whether the userSpecifiedSystem field is set.

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;

Returns
TypeDescription
boolean

Whether the userSpecifiedType field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Entry.Builder newBuilderForType()
Returns
TypeDescription
Entry.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Entry.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Entry.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Entry.Builder toBuilder()
Returns
TypeDescription
Entry.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException