Class protos.google.cloud.datacatalog.lineage.v1.LineageLink (2.2.0)

Represents a LineageLink.

Package

@google-cloud/lineage

Constructors

constructor(properties?: google.cloud.datacatalog.lineage.v1.ILineageLink);

Constructs a new LineageLink.

Parameter
Name Description
properties ILineageLink

Properties to set

Properties

public dependencyInfo: google.cloud.datacatalog.lineage.v1.LineageLink.IDependencyInfo[];

LineageLink dependencyInfo.

public depth: number;

LineageLink depth.

public location: string;

LineageLink location.

public processes: google.cloud.datacatalog.lineage.v1.LineageLink.ILineageProcess[];

LineageLink processes.

public source?: (google.cloud.datacatalog.lineage.v1.IEntityReference|null);

LineageLink source.

public target?: (google.cloud.datacatalog.lineage.v1.IEntityReference|null);

LineageLink target.

Methods

public static create(properties?: google.cloud.datacatalog.lineage.v1.ILineageLink): google.cloud.datacatalog.lineage.v1.LineageLink;

Creates a new LineageLink instance using the specified properties.

Parameter
Name Description
properties ILineageLink

Properties to set

Returns
Type Description
LineageLink

LineageLink instance

public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.datacatalog.lineage.v1.LineageLink;

Decodes a LineageLink message from the specified reader or buffer.

Parameters
Name Description
reader (Reader|Uint8Array)

Reader or buffer to decode from

length number

Message length if known beforehand

Returns
Type Description
LineageLink

LineageLink

public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.datacatalog.lineage.v1.LineageLink;

Decodes a LineageLink message from the specified reader or buffer, length delimited.

Parameter
Name Description
reader (Reader|Uint8Array)

Reader or buffer to decode from

Returns
Type Description
LineageLink

LineageLink

public static encode(message: google.cloud.datacatalog.lineage.v1.ILineageLink, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified LineageLink message. Does not implicitly messages.

Parameters
Name Description
message ILineageLink

LineageLink message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
Type Description
$protobuf.Writer

Writer

public static encodeDelimited(message: google.cloud.datacatalog.lineage.v1.ILineageLink, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified LineageLink message, length delimited. Does not implicitly messages.

Parameters
Name Description
message ILineageLink

LineageLink message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
Type Description
$protobuf.Writer

Writer

public static fromObject(object: { [k: string]: any }): google.cloud.datacatalog.lineage.v1.LineageLink;

Creates a LineageLink message from a plain object. Also converts values to their respective internal types.

Parameter
Name Description
object { [k: string]: any }

Plain object

Returns
Type Description
LineageLink

LineageLink

public static getTypeUrl(typeUrlPrefix?: string): string;

Gets the default type url for LineageLink

Parameter
Name Description
typeUrlPrefix string

your custom typeUrlPrefix(default "type.googleapis.com")

Returns
Type Description
string

The default type url

public toJSON(): { [k: string]: any };

Converts this LineageLink to JSON.

Returns
Type Description
{ [k: string]: any }

JSON object

public static toObject(message: google.cloud.datacatalog.lineage.v1.LineageLink, options?: $protobuf.IConversionOptions): { [k: string]: any };

Creates a plain object from a LineageLink message. Also converts values to other types if specified.

Parameters
Name Description
message LineageLink

LineageLink

options $protobuf.IConversionOptions

Conversion options

Returns
Type Description
{ [k: string]: any }

Plain object

public static verify(message: { [k: string]: any }): (string|null);

Verifies a LineageLink message.

Parameter
Name Description
message { [k: string]: any }

Plain object to verify

Returns
Type Description
(string|null)

null if valid, otherwise the reason why it is not