Interface EntryOrBuilder (1.6.2)

public interface EntryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

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

getBigqueryDateShardedSpec()

public abstract BigQueryDateShardedSpec getBigqueryDateShardedSpec()

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;

Returns
TypeDescription
BigQueryDateShardedSpec

The bigqueryDateShardedSpec.

getBigqueryDateShardedSpecOrBuilder()

public abstract BigQueryDateShardedSpecOrBuilder getBigqueryDateShardedSpecOrBuilder()

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;

Returns
TypeDescription
BigQueryDateShardedSpecOrBuilder

getBigqueryTableSpec()

public abstract BigQueryTableSpec getBigqueryTableSpec()

Specification that applies to a BigQuery table. Valid only for entries with the TABLE type.

.google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12;

Returns
TypeDescription
BigQueryTableSpec

The bigqueryTableSpec.

getBigqueryTableSpecOrBuilder()

public abstract BigQueryTableSpecOrBuilder getBigqueryTableSpecOrBuilder()

Specification that applies to a BigQuery table. Valid only for entries with the TABLE type.

.google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12;

Returns
TypeDescription
BigQueryTableSpecOrBuilder

getDataSource()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract DatabaseTableSpec getDatabaseTableSpec()

Specification that applies to a table resource. Valid only for entries with the TABLE type.

.google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24;

Returns
TypeDescription
DatabaseTableSpec

The databaseTableSpec.

getDatabaseTableSpecOrBuilder()

public abstract DatabaseTableSpecOrBuilder getDatabaseTableSpecOrBuilder()

Specification that applies to a table resource. Valid only for entries with the TABLE type.

.google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24;

Returns
TypeDescription
DatabaseTableSpecOrBuilder

getDescription()

public abstract 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 abstract 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 abstract String getDisplayName()

Display name of an entry. The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can't start or end with spaces. The maximum size is 200 bytes when encoded in UTF-8. Default value is an empty string.

string display_name = 3;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Display name of an entry. The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can't start or end with spaces. The maximum size is 200 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 abstract Entry.EntryTypeCase getEntryTypeCase()
Returns
TypeDescription
Entry.EntryTypeCase

getFullyQualifiedName()

public abstract 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 afterwards. Can be used for search and lookup of the entries. FQNs take two forms:

  • For non-regionalized resources: {SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}
  • For regionalized resources: {SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS} Example for a DPMS table: dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}

string fully_qualified_name = 29;

Returns
TypeDescription
String

The fullyQualifiedName.

getFullyQualifiedNameBytes()

public abstract 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 afterwards. Can be used for search and lookup of the entries. FQNs take two forms:

  • For non-regionalized resources: {SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}
  • For regionalized resources: {SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS} Example for a DPMS table: dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}

string fully_qualified_name = 29;

Returns
TypeDescription
ByteString

The bytes for fullyQualifiedName.

getGcsFilesetSpec()

public abstract 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 abstract 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 abstract 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 abstract 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()

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.

getName()

public abstract 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 abstract 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.

getRoutineSpec()

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

getSourceSystemTimestamps()

public abstract SystemTimestamps getSourceSystemTimestamps()

Timestamps from the underlying resource, not from the Data Catalog entry. Output only when the entry has a type listed in the EntryType enum. For entries with user_specified_type, 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 abstract SystemTimestampsOrBuilder getSourceSystemTimestampsOrBuilder()

Timestamps from the underlying resource, not from the Data Catalog entry. Output only when the entry has a type listed in the EntryType enum. For entries with user_specified_type, this field is optional and defaults to an empty timestamp.

.google.cloud.datacatalog.v1.SystemTimestamps source_system_timestamps = 7;

Returns
TypeDescription
SystemTimestampsOrBuilder

getSpecCase()

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

getSystemCase()

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

getType()

public abstract EntryType getType()

The type of the entry. Only used for entries with types listed in the EntryType enum. Currently, only FILESET enum value is allowed. All other entries created in Data Catalog must use the user_specified_type.

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

Returns
TypeDescription
EntryType

The type.

getTypeSpecCase()

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

getTypeValue()

public abstract int getTypeValue()

The type of the entry. Only used for entries with types listed in the EntryType enum. Currently, only FILESET enum value is allowed. All other entries created in Data Catalog must use the user_specified_type.

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

Returns
TypeDescription
int

The enum numeric value on the wire for type.

getUsageSignal()

public abstract UsageSignal getUsageSignal()

Output only. Resource usage statistics.

.google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
UsageSignal

The usageSignal.

getUsageSignalOrBuilder()

public abstract UsageSignalOrBuilder getUsageSignalOrBuilder()

Output only. Resource usage statistics.

.google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
UsageSignalOrBuilder

getUserSpecifiedSystem()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract boolean hasBigqueryDateShardedSpec()

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;

Returns
TypeDescription
boolean

Whether the bigqueryDateShardedSpec field is set.

hasBigqueryTableSpec()

public abstract boolean hasBigqueryTableSpec()

Specification that applies to a BigQuery table. Valid only for entries with the TABLE type.

.google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12;

Returns
TypeDescription
boolean

Whether the bigqueryTableSpec field is set.

hasDataSource()

public abstract 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 abstract 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 abstract boolean hasDatabaseTableSpec()

Specification that applies to a table resource. Valid only for entries with the TABLE type.

.google.cloud.datacatalog.v1.DatabaseTableSpec database_table_spec = 24;

Returns
TypeDescription
boolean

Whether the databaseTableSpec field is set.

hasGcsFilesetSpec()

public abstract 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 abstract 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.

hasRoutineSpec()

public abstract 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 abstract 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.

hasSourceSystemTimestamps()

public abstract boolean hasSourceSystemTimestamps()

Timestamps from the underlying resource, not from the Data Catalog entry. Output only when the entry has a type listed in the EntryType enum. For entries with user_specified_type, 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.

hasType()

public abstract boolean hasType()

The type of the entry. Only used for entries with types listed in the EntryType enum. Currently, only FILESET enum value is allowed. All other entries created in Data Catalog must use the user_specified_type.

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

Returns
TypeDescription
boolean

Whether the type field is set.

hasUsageSignal()

public abstract boolean hasUsageSignal()

Output only. Resource usage statistics.

.google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the usageSignal field is set.

hasUserSpecifiedSystem()

public abstract 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 abstract 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.