public final class LineageEvent extends GeneratedMessageV3 implements LineageEventOrBuilder
A lineage event represents an operation on assets. Within the operation, the
data flows from the source to the target defined in the links field.
Protobuf type google.cloud.datacatalog.lineage.v1.LineageEvent
Static Fields
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
Field Value
LINKS_FIELD_NUMBER
public static final int LINKS_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static LineageEvent getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static LineageEvent.Builder newBuilder()
Returns
newBuilder(LineageEvent prototype)
public static LineageEvent.Builder newBuilder(LineageEvent prototype)
Parameter
Returns
public static LineageEvent parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static LineageEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static LineageEvent parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LineageEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static LineageEvent parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LineageEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static LineageEvent parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static LineageEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static LineageEvent parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static LineageEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static LineageEvent parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LineageEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<LineageEvent> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public LineageEvent getDefaultInstanceForType()
Returns
getEndTime()
public Timestamp getEndTime()
Optional. The end of the transformation which resulted in this lineage
event. For streaming scenarios, it should be the end of the period from
which the lineage is being reported.
.google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
Optional. The end of the transformation which resulted in this lineage
event. For streaming scenarios, it should be the end of the period from
which the lineage is being reported.
.google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns
getLinks(int index)
public EventLink getLinks(int index)
Optional. List of source-target pairs. Can't contain more than 100 tuples.
repeated .google.cloud.datacatalog.lineage.v1.EventLink links = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
getLinksCount()
public int getLinksCount()
Optional. List of source-target pairs. Can't contain more than 100 tuples.
repeated .google.cloud.datacatalog.lineage.v1.EventLink links = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns
getLinksList()
public List<EventLink> getLinksList()
Optional. List of source-target pairs. Can't contain more than 100 tuples.
repeated .google.cloud.datacatalog.lineage.v1.EventLink links = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns
getLinksOrBuilder(int index)
public EventLinkOrBuilder getLinksOrBuilder(int index)
Optional. List of source-target pairs. Can't contain more than 100 tuples.
repeated .google.cloud.datacatalog.lineage.v1.EventLink links = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
getLinksOrBuilderList()
public List<? extends EventLinkOrBuilder> getLinksOrBuilderList()
Optional. List of source-target pairs. Can't contain more than 100 tuples.
repeated .google.cloud.datacatalog.lineage.v1.EventLink links = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
List<? extends com.google.cloud.datacatalog.lineage.v1.EventLinkOrBuilder> | |
getName()
Immutable. The resource name of the lineage event.
Format:
projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}
.
Can be specified or auto-assigned.
{lineage_event} must be not longer than 200 characters and only
contain characters in a set: a-zA-Z0-9_-:.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Immutable. The resource name of the lineage event.
Format:
projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}
.
Can be specified or auto-assigned.
{lineage_event} must be not longer than 200 characters and only
contain characters in a set: a-zA-Z0-9_-:.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns
getParserForType()
public Parser<LineageEvent> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getStartTime()
public Timestamp getStartTime()
Optional. The beginning of the transformation which resulted in this
lineage event. For streaming scenarios, it should be the beginning of the
period from which the lineage is being reported.
.google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Optional. The beginning of the transformation which resulted in this
lineage event. For streaming scenarios, it should be the beginning of the
period from which the lineage is being reported.
.google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasEndTime()
public boolean hasEndTime()
Optional. The end of the transformation which resulted in this lineage
event. For streaming scenarios, it should be the end of the period from
which the lineage is being reported.
.google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | Whether the endTime field is set.
|
hasStartTime()
public boolean hasStartTime()
Optional. The beginning of the transformation which resulted in this
lineage event. For streaming scenarios, it should be the beginning of the
period from which the lineage is being reported.
.google.protobuf.Timestamp start_time = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | Whether the startTime field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public LineageEvent.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LineageEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public LineageEvent.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions