Class LineageEvent.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<LineageEvent.Builder>
com.google.cloud.datacatalog.lineage.v1.LineageEvent.Builder
- All Implemented Interfaces:
LineageEventOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- LineageEvent
public static final class LineageEvent.Builder
extends com.google.protobuf.GeneratedMessage.Builder<LineageEvent.Builder>
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-
Method Summary
Modifier and TypeMethodDescriptionaddAllLinks(Iterable<? extends EventLink> values) Optional.Optional.addLinks(int index, EventLink.Builder builderForValue) Optional.Optional.addLinks(EventLink.Builder builderForValue) Optional.Optional.addLinksBuilder(int index) Optional.build()clear()Optional.Optional.Immutable.Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampOptional.com.google.protobuf.Timestamp.BuilderOptional.com.google.protobuf.TimestampOrBuilderOptional.getLinks(int index) Optional.getLinksBuilder(int index) Optional.Optional.intOptional.Optional.getLinksOrBuilder(int index) Optional.List<? extends EventLinkOrBuilder>Optional.getName()Immutable.com.google.protobuf.ByteStringImmutable.com.google.protobuf.TimestampRequired.com.google.protobuf.Timestamp.BuilderRequired.com.google.protobuf.TimestampOrBuilderRequired.booleanOptional.booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeEndTime(com.google.protobuf.Timestamp value) Optional.mergeFrom(LineageEvent other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStartTime(com.google.protobuf.Timestamp value) Required.removeLinks(int index) Optional.setEndTime(com.google.protobuf.Timestamp value) Optional.setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) Optional.Optional.setLinks(int index, EventLink.Builder builderForValue) Optional.Immutable.setNameBytes(com.google.protobuf.ByteString value) Immutable.setStartTime(com.google.protobuf.Timestamp value) Required.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<LineageEvent.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<LineageEvent.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<LineageEvent.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LineageEvent.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<LineageEvent.Builder>
-
mergeFrom
public LineageEvent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LineageEvent.Builder>- Throws:
IOException
-
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];- Specified by:
getNamein interfaceLineageEventOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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];- Specified by:
getNameBytesin interfaceLineageEventOrBuilder- Returns:
- The bytes for name.
-
setName
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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
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:
- This builder for chaining.
-
setNameBytes
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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getLinksListin interfaceLineageEventOrBuilder
-
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];- Specified by:
getLinksCountin interfaceLineageEventOrBuilder
-
getLinks
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];- Specified by:
getLinksin interfaceLineageEventOrBuilder
-
setLinks
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]; -
setLinks
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]; -
addLinks
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]; -
addLinks
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]; -
addLinks
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]; -
addLinks
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]; -
addAllLinks
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]; -
clearLinks
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]; -
removeLinks
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]; -
getLinksBuilder
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
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];- Specified by:
getLinksOrBuilderin interfaceLineageEventOrBuilder
-
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];- Specified by:
getLinksOrBuilderListin interfaceLineageEventOrBuilder
-
addLinksBuilder
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]; -
addLinksBuilder
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]; -
getLinksBuilderList
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]; -
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];- Specified by:
hasStartTimein interfaceLineageEventOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.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];- Specified by:
getStartTimein interfaceLineageEventOrBuilder- Returns:
- The startTime.
-
setStartTime
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]; -
setStartTime
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]; -
mergeStartTime
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]; -
clearStartTime
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]; -
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()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]; -
getStartTimeOrBuilder
public com.google.protobuf.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];- Specified by:
getStartTimeOrBuilderin interfaceLineageEventOrBuilder
-
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];- Specified by:
hasEndTimein interfaceLineageEventOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.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];- Specified by:
getEndTimein interfaceLineageEventOrBuilder- Returns:
- The endTime.
-
setEndTime
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]; -
setEndTime
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]; -
mergeEndTime
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]; -
clearEndTime
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]; -
getEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()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]; -
getEndTimeOrBuilder
public com.google.protobuf.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];- Specified by:
getEndTimeOrBuilderin interfaceLineageEventOrBuilder
-