Class EventLink (0.4.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
TypeDescription
int
public static final int TARGET_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

public static EventLink getDefaultInstance()
Returns
TypeDescription
EventLink
public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor
public static EventLink.Builder newBuilder()
Returns
TypeDescription
EventLink.Builder
public static EventLink.Builder newBuilder(EventLink prototype)
Parameter
NameDescription
prototypeEventLink
Returns
TypeDescription
EventLink.Builder
public static EventLink parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EventLink
Exceptions
TypeDescription
IOException
public static EventLink parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventLink
Exceptions
TypeDescription
IOException
public static EventLink parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
EventLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static EventLink parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static EventLink parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EventLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static EventLink parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static EventLink parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EventLink
Exceptions
TypeDescription
IOException
public static EventLink parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventLink
Exceptions
TypeDescription
IOException
public static EventLink parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EventLink
Exceptions
TypeDescription
IOException
public static EventLink parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventLink
Exceptions
TypeDescription
IOException
public static EventLink parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EventLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static EventLink parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static Parser<EventLink> parser()
Returns
TypeDescription
Parser<EventLink>

Methods

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides
public EventLink getDefaultInstanceForType()
Returns
TypeDescription
EventLink
public Parser<EventLink> getParserForType()
Returns
TypeDescription
Parser<EventLink>
Overrides
public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
EntityReferenceOrBuilder
public EntityReference getTarget()

Required. Reference to the target entity

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

Returns
TypeDescription
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
TypeDescription
EntityReferenceOrBuilder
public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides
public boolean hasSource()

Required. Reference to the source entity

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the target field is set.

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