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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LINKS_FIELD_NUMBER
public static final int LINKS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static LineageEvent getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static LineageEvent.Builder newBuilder()
newBuilder(LineageEvent prototype)
public static LineageEvent.Builder newBuilder(LineageEvent prototype)
public static LineageEvent parseDelimitedFrom(InputStream input)
public static LineageEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static LineageEvent parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LineageEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static LineageEvent parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LineageEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LineageEvent parseFrom(CodedInputStream input)
public static LineageEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LineageEvent parseFrom(InputStream input)
public static LineageEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static LineageEvent parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LineageEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<LineageEvent> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public LineageEvent getDefaultInstanceForType()
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 |
Type |
Description |
Timestamp |
The endTime.
|
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];
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 |
Name |
Description |
index |
int
|
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 |
Type |
Description |
int |
|
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];
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 |
Name |
Description |
index |
int
|
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 |
Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<LineageEvent> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getStartTime()
public Timestamp getStartTime()
Required. 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) = REQUIRED];
Returns |
Type |
Description |
Timestamp |
The startTime.
|
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Required. 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) = REQUIRED];
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()
Required. 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) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the startTime field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public LineageEvent.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LineageEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public LineageEvent.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides