public final class Entry extends com.google.protobuf.GeneratedMessageV3 implements EntryOrBuilder
Entry Metadata. A Data Catalog Entry resource represents another resource in Google Cloud Platform, such as a BigQuery Dataset or a Pub/Sub Topic. Clients 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, such as its schema. An Entry can also be used to attach flexible metadata, such as a [Tag][google.cloud.datacatalog.v1beta1.Tag].Protobuf type
google.cloud.datacatalog.v1beta1.Entry| Modifier and Type | Class and Description |
|---|---|
static class |
Entry.Builder
Entry Metadata.
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
BIGQUERY_DATE_SHARDED_SPEC_FIELD_NUMBER |
static int |
BIGQUERY_TABLE_SPEC_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
LINKED_RESOURCE_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SCHEMA_FIELD_NUMBER |
static int |
SOURCE_SYSTEM_TIMESTAMPS_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
BigQueryDateShardedSpec |
getBigqueryDateShardedSpec()
Specification for a group of BigQuery tables with name pattern
[prefix]YYYYMMDD.
|
BigQueryDateShardedSpecOrBuilder |
getBigqueryDateShardedSpecOrBuilder()
Specification for a group of BigQuery tables with name pattern
[prefix]YYYYMMDD.
|
BigQueryTableSpec |
getBigqueryTableSpec()
Specification that applies to a BigQuery table.
|
BigQueryTableSpecOrBuilder |
getBigqueryTableSpecOrBuilder()
Specification that applies to a BigQuery table.
|
static Entry |
getDefaultInstance() |
Entry |
getDefaultInstanceForType() |
String |
getDescription()
Optional.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Optional.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDisplayName()
Optional.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Optional.
|
String |
getLinkedResource()
Output only.
|
com.google.protobuf.ByteString |
getLinkedResourceBytes()
Output only.
|
String |
getName()
Required when used in
[UpdateEntryRequest][google.cloud.datacatalog.v1beta1.UpdateEntryRequest].
|
com.google.protobuf.ByteString |
getNameBytes()
Required when used in
[UpdateEntryRequest][google.cloud.datacatalog.v1beta1.UpdateEntryRequest].
|
com.google.protobuf.Parser<Entry> |
getParserForType() |
Schema |
getSchema()
Optional.
|
SchemaOrBuilder |
getSchemaOrBuilder()
Optional.
|
int |
getSerializedSize() |
SystemTimestamps |
getSourceSystemTimestamps()
Output only.
|
SystemTimestampsOrBuilder |
getSourceSystemTimestampsOrBuilder()
Output only.
|
EntryType |
getType()
Required.
|
Entry.TypeSpecCase |
getTypeSpecCase() |
int |
getTypeValue()
Required.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBigqueryDateShardedSpec()
Specification for a group of BigQuery tables with name pattern
[prefix]YYYYMMDD.
|
boolean |
hasBigqueryTableSpec()
Specification that applies to a BigQuery table.
|
int |
hashCode() |
boolean |
hasSchema()
Optional.
|
boolean |
hasSourceSystemTimestamps()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
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) |
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, internalGetMapField, makeExtensionsImmutable, 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 TYPE_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 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 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public Entry.TypeSpecCase getTypeSpecCase()
getTypeSpecCase in interface EntryOrBuilderpublic String getName()
Required when used in
[UpdateEntryRequest][google.cloud.datacatalog.v1beta1.UpdateEntryRequest].
The Data Catalog resource name of the entry in URL format. For example,
"projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}".
Note that this Entry and its child resources may not actually be stored in
the location in this name.
string name = 1;getName in interface EntryOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required when used in
[UpdateEntryRequest][google.cloud.datacatalog.v1beta1.UpdateEntryRequest].
The Data Catalog resource name of the entry in URL format. For example,
"projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}".
Note that this Entry and its child resources may not actually be stored in
the location in this name.
string name = 1;getNameBytes in interface EntryOrBuilderpublic String getLinkedResource()
Output only. The full name of the cloud resource the entry belongs to. See: https://cloud.google.com/apis/design/resource_names#full_resource_name Data Catalog supports resources from select Google Cloud Platform systems. `linked_resource` is the full name of the Google Cloud Platform resource. For example, the `linked_resource` for a table resource from BigQuery is: "//bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId".
string linked_resource = 9;getLinkedResource in interface EntryOrBuilderpublic com.google.protobuf.ByteString getLinkedResourceBytes()
Output only. The full name of the cloud resource the entry belongs to. See: https://cloud.google.com/apis/design/resource_names#full_resource_name Data Catalog supports resources from select Google Cloud Platform systems. `linked_resource` is the full name of the Google Cloud Platform resource. For example, the `linked_resource` for a table resource from BigQuery is: "//bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId".
string linked_resource = 9;getLinkedResourceBytes in interface EntryOrBuilderpublic int getTypeValue()
Required. Type of entry.
.google.cloud.datacatalog.v1beta1.EntryType type = 2;getTypeValue in interface EntryOrBuilderpublic EntryType getType()
Required. Type of entry.
.google.cloud.datacatalog.v1beta1.EntryType type = 2;getType in interface EntryOrBuilderpublic boolean hasBigqueryTableSpec()
Specification that applies to a BigQuery table. This is only valid on entries of type TABLE.
.google.cloud.datacatalog.v1beta1.BigQueryTableSpec bigquery_table_spec = 12;hasBigqueryTableSpec in interface EntryOrBuilderpublic BigQueryTableSpec getBigqueryTableSpec()
Specification that applies to a BigQuery table. This is only valid on entries of type TABLE.
.google.cloud.datacatalog.v1beta1.BigQueryTableSpec bigquery_table_spec = 12;getBigqueryTableSpec in interface EntryOrBuilderpublic BigQueryTableSpecOrBuilder getBigqueryTableSpecOrBuilder()
Specification that applies to a BigQuery table. This is only valid on entries of type TABLE.
.google.cloud.datacatalog.v1beta1.BigQueryTableSpec bigquery_table_spec = 12;getBigqueryTableSpecOrBuilder in interface EntryOrBuilderpublic boolean hasBigqueryDateShardedSpec()
Specification for a group of BigQuery tables with name pattern [prefix]YYYYMMDD. Context: https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding
.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15;
hasBigqueryDateShardedSpec in interface EntryOrBuilderpublic BigQueryDateShardedSpec getBigqueryDateShardedSpec()
Specification for a group of BigQuery tables with name pattern [prefix]YYYYMMDD. Context: https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding
.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15;
getBigqueryDateShardedSpec in interface EntryOrBuilderpublic BigQueryDateShardedSpecOrBuilder getBigqueryDateShardedSpecOrBuilder()
Specification for a group of BigQuery tables with name pattern [prefix]YYYYMMDD. Context: https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding
.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15;
getBigqueryDateShardedSpecOrBuilder in interface EntryOrBuilderpublic String getDisplayName()
Optional. Display information such as title and description. A short name to identify the entry, for example, "Analytics Data - Jan 2011". Default value is an empty string.
string display_name = 3;getDisplayName in interface EntryOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Optional. Display information such as title and description. A short name to identify the entry, for example, "Analytics Data - Jan 2011". Default value is an empty string.
string display_name = 3;getDisplayNameBytes in interface EntryOrBuilderpublic String getDescription()
Optional. Entry description, which can consist of several sentences or paragraphs that describe entry contents. Default value is an empty string.
string description = 4;getDescription in interface EntryOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Optional. Entry description, which can consist of several sentences or paragraphs that describe entry contents. Default value is an empty string.
string description = 4;getDescriptionBytes in interface EntryOrBuilderpublic boolean hasSchema()
Optional. Schema of the entry. An entry might not have any schema attached to it.
.google.cloud.datacatalog.v1beta1.Schema schema = 5;hasSchema in interface EntryOrBuilderpublic Schema getSchema()
Optional. Schema of the entry. An entry might not have any schema attached to it.
.google.cloud.datacatalog.v1beta1.Schema schema = 5;getSchema in interface EntryOrBuilderpublic SchemaOrBuilder getSchemaOrBuilder()
Optional. Schema of the entry. An entry might not have any schema attached to it.
.google.cloud.datacatalog.v1beta1.Schema schema = 5;getSchemaOrBuilder in interface EntryOrBuilderpublic boolean hasSourceSystemTimestamps()
Output only. Timestamps about the underlying Google Cloud Platform resource -- not about this Data Catalog Entry.
.google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7;hasSourceSystemTimestamps in interface EntryOrBuilderpublic SystemTimestamps getSourceSystemTimestamps()
Output only. Timestamps about the underlying Google Cloud Platform resource -- not about this Data Catalog Entry.
.google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7;getSourceSystemTimestamps in interface EntryOrBuilderpublic SystemTimestampsOrBuilder getSourceSystemTimestampsOrBuilder()
Output only. Timestamps about the underlying Google Cloud Platform resource -- not about this Data Catalog Entry.
.google.cloud.datacatalog.v1beta1.SystemTimestamps source_system_timestamps = 7;getSourceSystemTimestampsOrBuilder 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 © 2019 Google LLC. All rights reserved.