public final class Link extends com.google.protobuf.GeneratedMessageV3 implements LinkOrBuilder
Links represent the data flow between **source** (upstream) and **target** (downstream) assets in transformation pipelines. Links are created when LineageEvents record data transformation between related assets.Protobuf type
google.cloud.datacatalog.lineage.v1.Link| Modifier and Type | Class and Description |
|---|---|
static class |
Link.Builder
Links represent the data flow between **source** (upstream)
and **target** (downstream) assets in transformation pipelines.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
END_TIME_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SOURCE_FIELD_NUMBER |
static int |
START_TIME_FIELD_NUMBER |
static int |
TARGET_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Link |
getDefaultInstance() |
Link |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Timestamp |
getEndTime()
The end of the last event establishing this link.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
The end of the last event establishing this link.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
com.google.protobuf.Parser<Link> |
getParserForType() |
int |
getSerializedSize() |
EntityReference |
getSource()
The pointer to the entity that is the **source** of this link.
|
EntityReferenceOrBuilder |
getSourceOrBuilder()
The pointer to the entity that is the **source** of this link.
|
com.google.protobuf.Timestamp |
getStartTime()
The start of the first event establishing this link.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
The start of the first event establishing this link.
|
EntityReference |
getTarget()
The pointer to the entity that is the **target** of this link.
|
EntityReferenceOrBuilder |
getTargetOrBuilder()
The pointer to the entity that is the **target** of this link.
|
boolean |
hasEndTime()
The end of the last event establishing this link.
|
int |
hashCode() |
boolean |
hasSource()
The pointer to the entity that is the **source** of this link.
|
boolean |
hasStartTime()
The start of the first event establishing this link.
|
boolean |
hasTarget()
The pointer to the entity that is the **target** of this link.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Link.Builder |
newBuilder() |
static Link.Builder |
newBuilder(Link prototype) |
Link.Builder |
newBuilderForType() |
protected Link.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Link |
parseDelimitedFrom(InputStream input) |
static Link |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Link |
parseFrom(byte[] data) |
static Link |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Link |
parseFrom(ByteBuffer data) |
static Link |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Link |
parseFrom(com.google.protobuf.ByteString data) |
static Link |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Link |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Link |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Link |
parseFrom(InputStream input) |
static Link |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Link> |
parser() |
Link.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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 SOURCE_FIELD_NUMBER
public static final int TARGET_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 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 String getName()
Output only. Immutable. The name of the link. Format:
`projects/{project}/locations/{location}/links/{link}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
getName in interface LinkOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. Immutable. The name of the link. Format:
`projects/{project}/locations/{location}/links/{link}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
getNameBytes in interface LinkOrBuilderpublic boolean hasSource()
The pointer to the entity that is the **source** of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference source = 2;hasSource in interface LinkOrBuilderpublic EntityReference getSource()
The pointer to the entity that is the **source** of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference source = 2;getSource in interface LinkOrBuilderpublic EntityReferenceOrBuilder getSourceOrBuilder()
The pointer to the entity that is the **source** of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference source = 2;getSourceOrBuilder in interface LinkOrBuilderpublic boolean hasTarget()
The pointer to the entity that is the **target** of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference target = 3;hasTarget in interface LinkOrBuilderpublic EntityReference getTarget()
The pointer to the entity that is the **target** of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference target = 3;getTarget in interface LinkOrBuilderpublic EntityReferenceOrBuilder getTargetOrBuilder()
The pointer to the entity that is the **target** of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference target = 3;getTargetOrBuilder in interface LinkOrBuilderpublic boolean hasStartTime()
The start of the first event establishing this link.
.google.protobuf.Timestamp start_time = 4;hasStartTime in interface LinkOrBuilderpublic com.google.protobuf.Timestamp getStartTime()
The start of the first event establishing this link.
.google.protobuf.Timestamp start_time = 4;getStartTime in interface LinkOrBuilderpublic com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
The start of the first event establishing this link.
.google.protobuf.Timestamp start_time = 4;getStartTimeOrBuilder in interface LinkOrBuilderpublic boolean hasEndTime()
The end of the last event establishing this link.
.google.protobuf.Timestamp end_time = 5;hasEndTime in interface LinkOrBuilderpublic com.google.protobuf.Timestamp getEndTime()
The end of the last event establishing this link.
.google.protobuf.Timestamp end_time = 5;getEndTime in interface LinkOrBuilderpublic com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
The end of the last event establishing this link.
.google.protobuf.Timestamp end_time = 5;getEndTimeOrBuilder in interface LinkOrBuilderpublic 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 Link parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Link parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Link parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Link parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Link parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Link parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Link parseFrom(InputStream input) throws IOException
IOExceptionpublic static Link parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Link parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Link parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Link parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Link parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Link.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Link.Builder newBuilder()
public static Link.Builder newBuilder(Link prototype)
public Link.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Link.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Link getDefaultInstance()
public static com.google.protobuf.Parser<Link> parser()
public com.google.protobuf.Parser<Link> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Link getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.