public final class Link extends 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
Static Fields
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
Field Value
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
Field Value
TARGET_FIELD_NUMBER
public static final int TARGET_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Link getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Link.Builder newBuilder()
Returns
newBuilder(Link prototype)
public static Link.Builder newBuilder(Link prototype)
Parameter
Name | Description |
prototype | Link
|
Returns
public static Link parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Link parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Link parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Link parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Link parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Link parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Link parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Link parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Link parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Link parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Link parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Link parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Link> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Link getDefaultInstanceForType()
Returns
getEndTime()
public Timestamp getEndTime()
The end of the last event establishing this link.
.google.protobuf.Timestamp end_time = 5;
Returns
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
The end of the last event establishing this link.
.google.protobuf.Timestamp end_time = 5;
Returns
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];
Returns
Type | Description |
String | The name.
|
getNameBytes()
public 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];
Returns
getParserForType()
public Parser<Link> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSource()
public EntityReference getSource()
The pointer to the entity that is the source of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference source = 2;
Returns
getSourceOrBuilder()
public EntityReferenceOrBuilder getSourceOrBuilder()
The pointer to the entity that is the source of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference source = 2;
Returns
getStartTime()
public Timestamp getStartTime()
The start of the first event establishing this link.
.google.protobuf.Timestamp start_time = 4;
Returns
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
The start of the first event establishing this link.
.google.protobuf.Timestamp start_time = 4;
Returns
getTarget()
public EntityReference getTarget()
The pointer to the entity that is the target of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference target = 3;
Returns
getTargetOrBuilder()
public EntityReferenceOrBuilder getTargetOrBuilder()
The pointer to the entity that is the target of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference target = 3;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasEndTime()
public boolean hasEndTime()
The end of the last event establishing this link.
.google.protobuf.Timestamp end_time = 5;
Returns
Type | Description |
boolean | Whether the endTime field is set.
|
hasSource()
public boolean hasSource()
The pointer to the entity that is the source of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference source = 2;
Returns
Type | Description |
boolean | Whether the source field is set.
|
hasStartTime()
public boolean hasStartTime()
The start of the first event establishing this link.
.google.protobuf.Timestamp start_time = 4;
Returns
Type | Description |
boolean | Whether the startTime field is set.
|
hasTarget()
public boolean hasTarget()
The pointer to the entity that is the target of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference target = 3;
Returns
Type | Description |
boolean | Whether the target field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Link.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Link.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Link.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions