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