Class Link.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Link.Builder>
com.google.cloud.datacatalog.lineage.v1.Link.Builder
- All Implemented Interfaces:
LinkOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Link
public static final class Link.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Link.Builder>
implements LinkOrBuilder
Links represent the data flow between **source** (upstream) and **target** (downstream) assets in transformation pipelines. Links are created when LineageEvents record data transformation between related assets.Protobuf type
google.cloud.datacatalog.lineage.v1.Link-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The end of the last event establishing this link.Output only.The pointer to the entity that is the **source** of this link.The start of the first event establishing this link.The pointer to the entity that is the **target** of this link.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampThe end of the last event establishing this link.com.google.protobuf.Timestamp.BuilderThe end of the last event establishing this link.com.google.protobuf.TimestampOrBuilderThe end of the last event establishing this link.getName()Output only.com.google.protobuf.ByteStringOutput only.The pointer to the entity that is the **source** of this link.The pointer to the entity that is the **source** of this link.The pointer to the entity that is the **source** of this link.com.google.protobuf.TimestampThe start of the first event establishing this link.com.google.protobuf.Timestamp.BuilderThe start of the first event establishing this link.com.google.protobuf.TimestampOrBuilderThe start of the first event establishing this link.The pointer to the entity that is the **target** of this link.The pointer to the entity that is the **target** of this link.The pointer to the entity that is the **target** of this link.booleanThe end of the last event establishing this link.booleanThe pointer to the entity that is the **source** of this link.booleanThe start of the first event establishing this link.booleanThe pointer to the entity that is the **target** of this link.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeEndTime(com.google.protobuf.Timestamp value) The end of the last event establishing this link.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeSource(EntityReference value) The pointer to the entity that is the **source** of this link.mergeStartTime(com.google.protobuf.Timestamp value) The start of the first event establishing this link.mergeTarget(EntityReference value) The pointer to the entity that is the **target** of this link.setEndTime(com.google.protobuf.Timestamp value) The end of the last event establishing this link.setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) The end of the last event establishing this link.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setSource(EntityReference value) The pointer to the entity that is the **source** of this link.setSource(EntityReference.Builder builderForValue) The pointer to the entity that is the **source** of this link.setStartTime(com.google.protobuf.Timestamp value) The start of the first event establishing this link.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) The start of the first event establishing this link.setTarget(EntityReference value) The pointer to the entity that is the **target** of this link.setTarget(EntityReference.Builder builderForValue) The pointer to the entity that is the **target** of this link.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<Link.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<Link.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<Link.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<Link.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Link.Builder>
-
mergeFrom
public Link.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<Link.Builder>- Throws:
IOException
-
getName
Output only. Immutable. The name of the link. Format: `projects/{project}/locations/{location}/links/{link}`.string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNamein interfaceLinkOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. Immutable. The name of the link. Format: `projects/{project}/locations/{location}/links/{link}`.string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNameBytesin interfaceLinkOrBuilder- Returns:
- The bytes for name.
-
setName
Output only. Immutable. The name of the link. Format: `projects/{project}/locations/{location}/links/{link}`.string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Output only. Immutable. The name of the link. Format: `projects/{project}/locations/{location}/links/{link}`.string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
setNameBytes
Output only. Immutable. The name of the link. Format: `projects/{project}/locations/{location}/links/{link}`.string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasSource
public boolean hasSource()The pointer to the entity that is the **source** of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference source = 2;- Specified by:
hasSourcein interfaceLinkOrBuilder- Returns:
- Whether the source field is set.
-
getSource
The pointer to the entity that is the **source** of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference source = 2;- Specified by:
getSourcein interfaceLinkOrBuilder- Returns:
- The source.
-
setSource
The pointer to the entity that is the **source** of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference source = 2; -
setSource
The pointer to the entity that is the **source** of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference source = 2; -
mergeSource
The pointer to the entity that is the **source** of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference source = 2; -
clearSource
The pointer to the entity that is the **source** of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference source = 2; -
getSourceBuilder
The pointer to the entity that is the **source** of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference source = 2; -
getSourceOrBuilder
The pointer to the entity that is the **source** of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference source = 2;- Specified by:
getSourceOrBuilderin interfaceLinkOrBuilder
-
hasTarget
public boolean hasTarget()The pointer to the entity that is the **target** of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference target = 3;- Specified by:
hasTargetin interfaceLinkOrBuilder- Returns:
- Whether the target field is set.
-
getTarget
The pointer to the entity that is the **target** of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference target = 3;- Specified by:
getTargetin interfaceLinkOrBuilder- Returns:
- The target.
-
setTarget
The pointer to the entity that is the **target** of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference target = 3; -
setTarget
The pointer to the entity that is the **target** of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference target = 3; -
mergeTarget
The pointer to the entity that is the **target** of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference target = 3; -
clearTarget
The pointer to the entity that is the **target** of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference target = 3; -
getTargetBuilder
The pointer to the entity that is the **target** of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference target = 3; -
getTargetOrBuilder
The pointer to the entity that is the **target** of this link.
.google.cloud.datacatalog.lineage.v1.EntityReference target = 3;- Specified by:
getTargetOrBuilderin interfaceLinkOrBuilder
-
hasStartTime
public boolean hasStartTime()The start of the first event establishing this link.
.google.protobuf.Timestamp start_time = 4;- Specified by:
hasStartTimein interfaceLinkOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()The start of the first event establishing this link.
.google.protobuf.Timestamp start_time = 4;- Specified by:
getStartTimein interfaceLinkOrBuilder- Returns:
- The startTime.
-
setStartTime
The start of the first event establishing this link.
.google.protobuf.Timestamp start_time = 4; -
setStartTime
The start of the first event establishing this link.
.google.protobuf.Timestamp start_time = 4; -
mergeStartTime
The start of the first event establishing this link.
.google.protobuf.Timestamp start_time = 4; -
clearStartTime
The start of the first event establishing this link.
.google.protobuf.Timestamp start_time = 4; -
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()The start of the first event establishing this link.
.google.protobuf.Timestamp start_time = 4; -
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()The start of the first event establishing this link.
.google.protobuf.Timestamp start_time = 4;- Specified by:
getStartTimeOrBuilderin interfaceLinkOrBuilder
-
hasEndTime
public boolean hasEndTime()The end of the last event establishing this link.
.google.protobuf.Timestamp end_time = 5;- Specified by:
hasEndTimein interfaceLinkOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.Timestamp getEndTime()The end of the last event establishing this link.
.google.protobuf.Timestamp end_time = 5;- Specified by:
getEndTimein interfaceLinkOrBuilder- Returns:
- The endTime.
-
setEndTime
The end of the last event establishing this link.
.google.protobuf.Timestamp end_time = 5; -
setEndTime
The end of the last event establishing this link.
.google.protobuf.Timestamp end_time = 5; -
mergeEndTime
The end of the last event establishing this link.
.google.protobuf.Timestamp end_time = 5; -
clearEndTime
The end of the last event establishing this link.
.google.protobuf.Timestamp end_time = 5; -
getEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()The end of the last event establishing this link.
.google.protobuf.Timestamp end_time = 5; -
getEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()The end of the last event establishing this link.
.google.protobuf.Timestamp end_time = 5;- Specified by:
getEndTimeOrBuilderin interfaceLinkOrBuilder
-