Class EventLink (0.38.0)

public final class EventLink extends GeneratedMessageV3 implements EventLinkOrBuilder

A lineage between source and target entities.

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

Implements

EventLinkOrBuilder

Static Fields

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

Methods

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides
public EventLink getDefaultInstanceForType()
Returns
Type Description
EventLink
public Parser<EventLink> getParserForType()
Returns
Type Description
Parser<EventLink>
Overrides
public int getSerializedSize()
Returns
Type Description
int
Overrides
public EntityReference getSource()

Required. Reference to the source entity

.google.cloud.datacatalog.lineage.v1.EntityReference source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EntityReference

The source.

public EntityReferenceOrBuilder getSourceOrBuilder()

Required. Reference to the source entity

.google.cloud.datacatalog.lineage.v1.EntityReference source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EntityReferenceOrBuilder
public EntityReference getTarget()

Required. Reference to the target entity

.google.cloud.datacatalog.lineage.v1.EntityReference target = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EntityReference

The target.

public EntityReferenceOrBuilder getTargetOrBuilder()

Required. Reference to the target entity

.google.cloud.datacatalog.lineage.v1.EntityReference target = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EntityReferenceOrBuilder
public boolean hasSource()

Required. Reference to the source entity

.google.cloud.datacatalog.lineage.v1.EntityReference source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the source field is set.

public boolean hasTarget()

Required. Reference to the target entity

.google.cloud.datacatalog.lineage.v1.EntityReference target = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the target field is set.

public int hashCode()
Returns
Type Description
int
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
public EventLink.Builder newBuilderForType()
Returns
Type Description
EventLink.Builder
protected EventLink.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EventLink.Builder
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides
public EventLink.Builder toBuilder()
Returns
Type Description
EventLink.Builder
public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException