Class LineageLink (0.85.0)

public final class LineageLink extends GeneratedMessage implements LineageLinkOrBuilder

Lineage link between two entities.

Protobuf type google.cloud.datacatalog.lineage.v1.LineageLink

Static Fields

public static final int DEPENDENCY_INFO_FIELD_NUMBER
Field Value
Type Description
int
public static final int DEPTH_FIELD_NUMBER
Field Value
Type Description
int
public static final int LOCATION_FIELD_NUMBER
Field Value
Type Description
int
public static final int PROCESSES_FIELD_NUMBER
Field Value
Type Description
int
public static final int SOURCE_FIELD_NUMBER
Field Value
Type Description
int
public static final int TARGET_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

public static LineageLink getDefaultInstance()
Returns
Type Description
LineageLink
public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor
public static LineageLink.Builder newBuilder()
Returns
Type Description
LineageLink.Builder
public static LineageLink.Builder newBuilder(LineageLink prototype)
Parameter
Name Description
prototype LineageLink
Returns
Type Description
LineageLink.Builder
public static LineageLink parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LineageLink
Exceptions
Type Description
IOException
public static LineageLink parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LineageLink
Exceptions
Type Description
IOException
public static LineageLink parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
LineageLink
Exceptions
Type Description
InvalidProtocolBufferException
public static LineageLink parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LineageLink
Exceptions
Type Description
InvalidProtocolBufferException
public static LineageLink parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
LineageLink
Exceptions
Type Description
InvalidProtocolBufferException
public static LineageLink parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LineageLink
Exceptions
Type Description
InvalidProtocolBufferException
public static LineageLink parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
LineageLink
Exceptions
Type Description
IOException
public static LineageLink parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LineageLink
Exceptions
Type Description
IOException
public static LineageLink parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LineageLink
Exceptions
Type Description
IOException
public static LineageLink parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LineageLink
Exceptions
Type Description
IOException
public static LineageLink parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
LineageLink
Exceptions
Type Description
InvalidProtocolBufferException
public static LineageLink parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LineageLink
Exceptions
Type Description
InvalidProtocolBufferException
public static Parser<LineageLink> parser()
Returns
Type Description
Parser<LineageLink>

Methods

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides
public LineageLink getDefaultInstanceForType()
Returns
Type Description
LineageLink
public LineageLink.DependencyInfo getDependencyInfo(int index)

Describes how the target entity is dependent on the source entity.

repeated .google.cloud.datacatalog.lineage.v1.LineageLink.DependencyInfo dependency_info = 4;

Parameter
Name Description
index int
Returns
Type Description
LineageLink.DependencyInfo
public int getDependencyInfoCount()

Describes how the target entity is dependent on the source entity.

repeated .google.cloud.datacatalog.lineage.v1.LineageLink.DependencyInfo dependency_info = 4;

Returns
Type Description
int
public List<LineageLink.DependencyInfo> getDependencyInfoList()

Describes how the target entity is dependent on the source entity.

repeated .google.cloud.datacatalog.lineage.v1.LineageLink.DependencyInfo dependency_info = 4;

Returns
Type Description
List<DependencyInfo>
public LineageLink.DependencyInfoOrBuilder getDependencyInfoOrBuilder(int index)

Describes how the target entity is dependent on the source entity.

repeated .google.cloud.datacatalog.lineage.v1.LineageLink.DependencyInfo dependency_info = 4;

Parameter
Name Description
index int
Returns
Type Description
LineageLink.DependencyInfoOrBuilder
public List<? extends LineageLink.DependencyInfoOrBuilder> getDependencyInfoOrBuilderList()

Describes how the target entity is dependent on the source entity.

repeated .google.cloud.datacatalog.lineage.v1.LineageLink.DependencyInfo dependency_info = 4;

Returns
Type Description
List<? extends com.google.cloud.datacatalog.lineage.v1.LineageLink.DependencyInfoOrBuilder>
public int getDepth()

Depth of the current link in the graph starting from 1.

int32 depth = 5;

Returns
Type Description
int

The depth.

public String getLocation()

The location where the LineageEvent that created the link is stored.

string location = 7;

Returns
Type Description
String

The location.

public ByteString getLocationBytes()

The location where the LineageEvent that created the link is stored.

string location = 7;

Returns
Type Description
ByteString

The bytes for location.

public Parser<LineageLink> getParserForType()
Returns
Type Description
Parser<LineageLink>
Overrides
public LineageLink.LineageProcess getProcesses(int index)

Processes metadata associated with the link.

repeated .google.cloud.datacatalog.lineage.v1.LineageLink.LineageProcess processes = 3;

Parameter
Name Description
index int
Returns
Type Description
LineageLink.LineageProcess
public int getProcessesCount()

Processes metadata associated with the link.

repeated .google.cloud.datacatalog.lineage.v1.LineageLink.LineageProcess processes = 3;

Returns
Type Description
int
public List<LineageLink.LineageProcess> getProcessesList()

Processes metadata associated with the link.

repeated .google.cloud.datacatalog.lineage.v1.LineageLink.LineageProcess processes = 3;

Returns
Type Description
List<LineageProcess>
public LineageLink.LineageProcessOrBuilder getProcessesOrBuilder(int index)

Processes metadata associated with the link.

repeated .google.cloud.datacatalog.lineage.v1.LineageLink.LineageProcess processes = 3;

Parameter
Name Description
index int
Returns
Type Description
LineageLink.LineageProcessOrBuilder
public List<? extends LineageLink.LineageProcessOrBuilder> getProcessesOrBuilderList()

Processes metadata associated with the link.

repeated .google.cloud.datacatalog.lineage.v1.LineageLink.LineageProcess processes = 3;

Returns
Type Description
List<? extends com.google.cloud.datacatalog.lineage.v1.LineageLink.LineageProcessOrBuilder>
public int getSerializedSize()
Returns
Type Description
int
Overrides
public EntityReference getSource()

The entity that is the source of this link.

.google.cloud.datacatalog.lineage.v1.EntityReference source = 1;

Returns
Type Description
EntityReference

The source.

public EntityReferenceOrBuilder getSourceOrBuilder()

The entity that is the source of this link.

.google.cloud.datacatalog.lineage.v1.EntityReference source = 1;

Returns
Type Description
EntityReferenceOrBuilder
public EntityReference getTarget()

The entity that is the target of this link.

.google.cloud.datacatalog.lineage.v1.EntityReference target = 2;

Returns
Type Description
EntityReference

The target.

public EntityReferenceOrBuilder getTargetOrBuilder()

The entity that is the target of this link.

.google.cloud.datacatalog.lineage.v1.EntityReference target = 2;

Returns
Type Description
EntityReferenceOrBuilder
public boolean hasSource()

The entity that is the source of this link.

.google.cloud.datacatalog.lineage.v1.EntityReference source = 1;

Returns
Type Description
boolean

Whether the source field is set.

public boolean hasTarget()

The entity that is the target of this link.

.google.cloud.datacatalog.lineage.v1.EntityReference target = 2;

Returns
Type Description
boolean

Whether the target field is set.

public int hashCode()
Returns
Type Description
int
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
public LineageLink.Builder newBuilderForType()
Returns
Type Description
LineageLink.Builder
protected LineageLink.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
LineageLink.Builder
Overrides
public LineageLink.Builder toBuilder()
Returns
Type Description
LineageLink.Builder
public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException