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| Modifier and Type | Class and Description |
|---|---|
static class |
Entry.Builder
Entry metadata.
|
static class |
Entry.EntryTypeCase |
static class |
Entry.SpecCase |
static class |
Entry.SystemCase |
static class |
Entry.TypeSpecCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BIGQUERY_DATE_SHARDED_SPEC_FIELD_NUMBER |
static int |
BIGQUERY_TABLE_SPEC_FIELD_NUMBER |
static int |
DATA_SOURCE_CONNECTION_SPEC_FIELD_NUMBER |
static int |
DATA_SOURCE_FIELD_NUMBER |
static int |
DATABASE_TABLE_SPEC_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
FULLY_QUALIFIED_NAME_FIELD_NUMBER |
static int |
GCS_FILESET_SPEC_FIELD_NUMBER |
static int |
INTEGRATED_SYSTEM_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
LINKED_RESOURCE_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
ROUTINE_SPEC_FIELD_NUMBER |
static int |
SCHEMA_FIELD_NUMBER |
static int |
SOURCE_SYSTEM_TIMESTAMPS_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
USAGE_SIGNAL_FIELD_NUMBER |
static int |
USER_SPECIFIED_SYSTEM_FIELD_NUMBER |
static int |
USER_SPECIFIED_TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Cloud labels attached to the entry.
|
boolean |
equals(Object obj) |
BigQueryDateShardedSpec |
getBigqueryDateShardedSpec()
Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
name pattern.
|
BigQueryDateShardedSpecOrBuilder |
getBigqueryDateShardedSpecOrBuilder()
Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
name pattern.
|
BigQueryTableSpec |
getBigqueryTableSpec()
Specification that applies to a BigQuery table.
|
BigQueryTableSpecOrBuilder |
getBigqueryTableSpecOrBuilder()
Specification that applies to a BigQuery table.
|
DatabaseTableSpec |
getDatabaseTableSpec()
Specification that applies to a table resource.
|
DatabaseTableSpecOrBuilder |
getDatabaseTableSpecOrBuilder()
Specification that applies to a table resource.
|
DataSource |
getDataSource()
Output only.
|
DataSourceConnectionSpec |
getDataSourceConnectionSpec()
Specification that applies to a data source connection.
|
DataSourceConnectionSpecOrBuilder |
getDataSourceConnectionSpecOrBuilder()
Specification that applies to a data source connection.
|
DataSourceOrBuilder |
getDataSourceOrBuilder()
Output only.
|
static Entry |
getDefaultInstance() |
Entry |
getDefaultInstanceForType() |
String |
getDescription()
Entry description that can consist of several sentences or paragraphs
that describe entry contents.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Entry description that can consist of several sentences or paragraphs
that describe entry contents.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDisplayName()
Display name of an entry.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Display name of an entry.
|
Entry.EntryTypeCase |
getEntryTypeCase() |
String |
getFullyQualifiedName()
Fully qualified name (FQN) of the resource.
|
com.google.protobuf.ByteString |
getFullyQualifiedNameBytes()
Fully qualified name (FQN) of the resource.
|
GcsFilesetSpec |
getGcsFilesetSpec()
Specification that applies to a Cloud Storage fileset.
|
GcsFilesetSpecOrBuilder |
getGcsFilesetSpecOrBuilder()
Specification that applies to a Cloud Storage fileset.
|
IntegratedSystem |
getIntegratedSystem()
Output only.
|
int |
getIntegratedSystemValue()
Output only.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Cloud labels attached to the entry.
|
Map<String,String> |
getLabelsMap()
Cloud labels attached to the entry.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Cloud labels attached to the entry.
|
String |
getLabelsOrThrow(String key)
Cloud labels attached to the entry.
|
String |
getLinkedResource()
The resource this metadata entry refers to.
|
com.google.protobuf.ByteString |
getLinkedResourceBytes()
The resource this metadata entry refers to.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
com.google.protobuf.Parser<Entry> |
getParserForType() |
RoutineSpec |
getRoutineSpec()
Specification that applies to a user-defined function or procedure.
|
RoutineSpecOrBuilder |
getRoutineSpecOrBuilder()
Specification that applies to a user-defined function or procedure.
|
Schema |
getSchema()
Schema of the entry.
|
SchemaOrBuilder |
getSchemaOrBuilder()
Schema of the entry.
|
int |
getSerializedSize() |
SystemTimestamps |
getSourceSystemTimestamps()
Timestamps from the underlying resource, not from the Data Catalog
entry.
|
SystemTimestampsOrBuilder |
getSourceSystemTimestampsOrBuilder()
Timestamps from the underlying resource, not from the Data Catalog
entry.
|
Entry.SpecCase |
getSpecCase() |
Entry.SystemCase |
getSystemCase() |
EntryType |
getType()
The type of the entry.
|
Entry.TypeSpecCase |
getTypeSpecCase() |
int |
getTypeValue()
The type of the entry.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
UsageSignal |
getUsageSignal()
Output only.
|
UsageSignalOrBuilder |
getUsageSignalOrBuilder()
Output only.
|
String |
getUserSpecifiedSystem()
Indicates the entry's source system that Data Catalog doesn't
automatically integrate with.
|
com.google.protobuf.ByteString |
getUserSpecifiedSystemBytes()
Indicates the entry's source system that Data Catalog doesn't
automatically integrate with.
|
String |
getUserSpecifiedType()
Custom entry type that doesn't match any of the values allowed for input
and listed in the `EntryType` enum.
|
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.
|
boolean |
hasBigqueryDateShardedSpec()
Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
name pattern.
|
boolean |
hasBigqueryTableSpec()
Specification that applies to a BigQuery table.
|
boolean |
hasDatabaseTableSpec()
Specification that applies to a table resource.
|
boolean |
hasDataSource()
Output only.
|
boolean |
hasDataSourceConnectionSpec()
Specification that applies to a data source connection.
|
boolean |
hasGcsFilesetSpec()
Specification that applies to a Cloud Storage fileset.
|
int |
hashCode() |
boolean |
hasIntegratedSystem()
Output only.
|
boolean |
hasRoutineSpec()
Specification that applies to a user-defined function or procedure.
|
boolean |
hasSchema()
Schema of the entry.
|
boolean |
hasSourceSystemTimestamps()
Timestamps from the underlying resource, not from the Data Catalog
entry.
|
boolean |
hasType()
The type of the entry.
|
boolean |
hasUsageSignal()
Output only.
|
boolean |
hasUserSpecifiedSystem()
Indicates the entry's source system that Data Catalog doesn't
automatically integrate with.
|
boolean |
hasUserSpecifiedType()
Custom entry type that doesn't match any of the values allowed for input
and listed in the `EntryType` enum.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Entry.Builder |
newBuilder() |
static Entry.Builder |
newBuilder(Entry prototype) |
Entry.Builder |
newBuilderForType() |
protected Entry.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Entry |
parseDelimitedFrom(InputStream input) |
static Entry |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Entry |
parseFrom(byte[] data) |
static Entry |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Entry |
parseFrom(ByteBuffer data) |
static Entry |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Entry |
parseFrom(com.google.protobuf.ByteString data) |
static Entry |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Entry |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Entry |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Entry |
parseFrom(InputStream input) |
static Entry |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Entry> |
parser() |
Entry.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int LINKED_RESOURCE_FIELD_NUMBER
public static final int FULLY_QUALIFIED_NAME_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int USER_SPECIFIED_TYPE_FIELD_NUMBER
public static final int INTEGRATED_SYSTEM_FIELD_NUMBER
public static final int USER_SPECIFIED_SYSTEM_FIELD_NUMBER
public static final int GCS_FILESET_SPEC_FIELD_NUMBER
public static final int BIGQUERY_TABLE_SPEC_FIELD_NUMBER
public static final int BIGQUERY_DATE_SHARDED_SPEC_FIELD_NUMBER
public static final int DATABASE_TABLE_SPEC_FIELD_NUMBER
public static final int DATA_SOURCE_CONNECTION_SPEC_FIELD_NUMBER
public static final int ROUTINE_SPEC_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int SCHEMA_FIELD_NUMBER
public static final int SOURCE_SYSTEM_TIMESTAMPS_FIELD_NUMBER
public static final int USAGE_SIGNAL_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int DATA_SOURCE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public Entry.EntryTypeCase getEntryTypeCase()
getEntryTypeCase in interface EntryOrBuilderpublic Entry.SystemCase getSystemCase()
getSystemCase in interface EntryOrBuilderpublic Entry.TypeSpecCase getTypeSpecCase()
getTypeSpecCase in interface EntryOrBuilderpublic Entry.SpecCase getSpecCase()
getSpecCase in interface EntryOrBuilderpublic 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) = { ... }
getName in interface EntryOrBuilderpublic 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) = { ... }
getNameBytes in interface EntryOrBuilderpublic 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;getLinkedResource in interface EntryOrBuilderpublic 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;getLinkedResourceBytes in interface EntryOrBuilderpublic 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;getFullyQualifiedName in interface EntryOrBuilderpublic com.google.protobuf.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;getFullyQualifiedNameBytes in interface EntryOrBuilderpublic 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;hasType in interface EntryOrBuilderpublic 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;getTypeValue in interface EntryOrBuilderpublic 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;getType in interface EntryOrBuilderpublic 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;hasUserSpecifiedType in interface EntryOrBuilderpublic 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;getUserSpecifiedType in interface EntryOrBuilderpublic 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;getUserSpecifiedTypeBytes in interface EntryOrBuilderpublic 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];
hasIntegratedSystem in interface EntryOrBuilderpublic 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];
getIntegratedSystemValue in interface EntryOrBuilderpublic 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];
getIntegratedSystem in interface EntryOrBuilderpublic 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;hasUserSpecifiedSystem in interface EntryOrBuilderpublic 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;getUserSpecifiedSystem in interface EntryOrBuilderpublic 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;getUserSpecifiedSystemBytes in interface EntryOrBuilderpublic 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;hasGcsFilesetSpec in interface EntryOrBuilderpublic 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;getGcsFilesetSpec in interface EntryOrBuilderpublic 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;getGcsFilesetSpecOrBuilder in interface EntryOrBuilderpublic 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;hasBigqueryTableSpec in interface EntryOrBuilderpublic 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;getBigqueryTableSpec in interface EntryOrBuilderpublic 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;getBigqueryTableSpecOrBuilder in interface EntryOrBuilderpublic boolean hasBigqueryDateShardedSpec()
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;
hasBigqueryDateShardedSpec in interface EntryOrBuilderpublic BigQueryDateShardedSpec getBigqueryDateShardedSpec()
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;
getBigqueryDateShardedSpec in interface EntryOrBuilderpublic BigQueryDateShardedSpecOrBuilder getBigqueryDateShardedSpecOrBuilder()
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;
getBigqueryDateShardedSpecOrBuilder in interface EntryOrBuilderpublic 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;hasDatabaseTableSpec in interface EntryOrBuilderpublic 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;getDatabaseTableSpec in interface EntryOrBuilderpublic 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;getDatabaseTableSpecOrBuilder in interface EntryOrBuilderpublic 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;
hasDataSourceConnectionSpec in interface EntryOrBuilderpublic 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;
getDataSourceConnectionSpec in interface EntryOrBuilderpublic 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;
getDataSourceConnectionSpecOrBuilder in interface EntryOrBuilderpublic 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;hasRoutineSpec in interface EntryOrBuilderpublic 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;getRoutineSpec in interface EntryOrBuilderpublic 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;getRoutineSpecOrBuilder in interface EntryOrBuilderpublic 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;getDisplayName in interface EntryOrBuilderpublic com.google.protobuf.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;getDisplayNameBytes in interface EntryOrBuilderpublic 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;getDescription in interface EntryOrBuilderpublic 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;getDescriptionBytes in interface EntryOrBuilderpublic boolean hasSchema()
Schema of the entry. An entry might not have any schema attached to it.
.google.cloud.datacatalog.v1.Schema schema = 5;hasSchema in interface EntryOrBuilderpublic Schema getSchema()
Schema of the entry. An entry might not have any schema attached to it.
.google.cloud.datacatalog.v1.Schema schema = 5;getSchema in interface EntryOrBuilderpublic SchemaOrBuilder getSchemaOrBuilder()
Schema of the entry. An entry might not have any schema attached to it.
.google.cloud.datacatalog.v1.Schema schema = 5;getSchemaOrBuilder in interface EntryOrBuilderpublic 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;hasSourceSystemTimestamps in interface EntryOrBuilderpublic 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;getSourceSystemTimestamps in interface EntryOrBuilderpublic 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;getSourceSystemTimestampsOrBuilder in interface EntryOrBuilderpublic boolean hasUsageSignal()
Output only. Resource usage statistics.
.google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUsageSignal in interface EntryOrBuilderpublic UsageSignal getUsageSignal()
Output only. Resource usage statistics.
.google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUsageSignal in interface EntryOrBuilderpublic UsageSignalOrBuilder getUsageSignalOrBuilder()
Output only. Resource usage statistics.
.google.cloud.datacatalog.v1.UsageSignal usage_signal = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUsageSignalOrBuilder in interface EntryOrBuilderpublic int getLabelsCount()
EntryOrBuilderCloud 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;getLabelsCount in interface EntryOrBuilderpublic 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;containsLabels in interface EntryOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface EntryOrBuilderpublic 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;getLabelsMap in interface EntryOrBuilderpublic 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;getLabelsOrDefault in interface EntryOrBuilderpublic 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;getLabelsOrThrow in interface EntryOrBuilderpublic boolean hasDataSource()
Output only. Physical location of the entry.
.google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasDataSource in interface EntryOrBuilderpublic DataSource getDataSource()
Output only. Physical location of the entry.
.google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDataSource in interface EntryOrBuilderpublic DataSourceOrBuilder getDataSourceOrBuilder()
Output only. Physical location of the entry.
.google.cloud.datacatalog.v1.DataSource data_source = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDataSourceOrBuilder in interface EntryOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Entry parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Entry parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Entry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Entry parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Entry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Entry parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Entry parseFrom(InputStream input) throws IOException
IOExceptionpublic static Entry parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Entry parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Entry parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Entry parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Entry parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Entry.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Entry.Builder newBuilder()
public static Entry.Builder newBuilder(Entry prototype)
public Entry.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Entry.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Entry getDefaultInstance()
public static com.google.protobuf.Parser<Entry> parser()
public com.google.protobuf.Parser<Entry> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Entry getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.