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 Type
    Method
    Description
     
     
     
    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.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Timestamp
    The end of the last event establishing this link.
    com.google.protobuf.Timestamp.Builder
    The end of the last event establishing this link.
    com.google.protobuf.TimestampOrBuilder
    The end of the last event establishing this link.
    Output only.
    com.google.protobuf.ByteString
    Output 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.Timestamp
    The start of the first event establishing this link.
    com.google.protobuf.Timestamp.Builder
    The start of the first event establishing this link.
    com.google.protobuf.TimestampOrBuilder
    The 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.
    boolean
    The end of the last event establishing this link.
    boolean
    The pointer to the entity that is the **source** of this link.
    boolean
    The start of the first event establishing this link.
    boolean
    The pointer to the entity that is the **target** of this link.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeEndTime(com.google.protobuf.Timestamp value)
    The end of the last event establishing this link.
    mergeFrom(Link other)
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    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.
    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.
    setName(String value)
    Output only.
    setNameBytes(com.google.protobuf.ByteString value)
    Output 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.
    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.
    The pointer to the entity that is the **target** of this link.
    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, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Link.Builder>
    • clear

      public Link.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Link.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Link.Builder>
    • getDefaultInstanceForType

      public Link getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Link build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Link buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Link.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Link.Builder>
    • mergeFrom

      public Link.Builder mergeFrom(Link other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Link.Builder>
      Throws:
      IOException
    • getName

      public String 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:
      getName in interface LinkOrBuilder
      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:
      getNameBytes in interface LinkOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Link.Builder setName(String value)
       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

      public Link.Builder 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

      public Link.Builder setNameBytes(com.google.protobuf.ByteString value)
       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:
      hasSource in interface LinkOrBuilder
      Returns:
      Whether the source field is set.
    • getSource

      public EntityReference getSource()
       The pointer to the entity that is the **source** of this link.
       
      .google.cloud.datacatalog.lineage.v1.EntityReference source = 2;
      Specified by:
      getSource in interface LinkOrBuilder
      Returns:
      The source.
    • setSource

      public Link.Builder setSource(EntityReference value)
       The pointer to the entity that is the **source** of this link.
       
      .google.cloud.datacatalog.lineage.v1.EntityReference source = 2;
    • setSource

      public Link.Builder setSource(EntityReference.Builder builderForValue)
       The pointer to the entity that is the **source** of this link.
       
      .google.cloud.datacatalog.lineage.v1.EntityReference source = 2;
    • mergeSource

      public Link.Builder mergeSource(EntityReference value)
       The pointer to the entity that is the **source** of this link.
       
      .google.cloud.datacatalog.lineage.v1.EntityReference source = 2;
    • clearSource

      public Link.Builder clearSource()
       The pointer to the entity that is the **source** of this link.
       
      .google.cloud.datacatalog.lineage.v1.EntityReference source = 2;
    • getSourceBuilder

      public EntityReference.Builder getSourceBuilder()
       The pointer to the entity that is the **source** of this link.
       
      .google.cloud.datacatalog.lineage.v1.EntityReference source = 2;
    • getSourceOrBuilder

      public EntityReferenceOrBuilder getSourceOrBuilder()
       The pointer to the entity that is the **source** of this link.
       
      .google.cloud.datacatalog.lineage.v1.EntityReference source = 2;
      Specified by:
      getSourceOrBuilder in interface LinkOrBuilder
    • 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:
      hasTarget in interface LinkOrBuilder
      Returns:
      Whether the target field is set.
    • getTarget

      public EntityReference getTarget()
       The pointer to the entity that is the **target** of this link.
       
      .google.cloud.datacatalog.lineage.v1.EntityReference target = 3;
      Specified by:
      getTarget in interface LinkOrBuilder
      Returns:
      The target.
    • setTarget

      public Link.Builder setTarget(EntityReference value)
       The pointer to the entity that is the **target** of this link.
       
      .google.cloud.datacatalog.lineage.v1.EntityReference target = 3;
    • setTarget

      public Link.Builder setTarget(EntityReference.Builder builderForValue)
       The pointer to the entity that is the **target** of this link.
       
      .google.cloud.datacatalog.lineage.v1.EntityReference target = 3;
    • mergeTarget

      public Link.Builder mergeTarget(EntityReference value)
       The pointer to the entity that is the **target** of this link.
       
      .google.cloud.datacatalog.lineage.v1.EntityReference target = 3;
    • clearTarget

      public Link.Builder clearTarget()
       The pointer to the entity that is the **target** of this link.
       
      .google.cloud.datacatalog.lineage.v1.EntityReference target = 3;
    • getTargetBuilder

      public EntityReference.Builder getTargetBuilder()
       The pointer to the entity that is the **target** of this link.
       
      .google.cloud.datacatalog.lineage.v1.EntityReference target = 3;
    • getTargetOrBuilder

      public EntityReferenceOrBuilder getTargetOrBuilder()
       The pointer to the entity that is the **target** of this link.
       
      .google.cloud.datacatalog.lineage.v1.EntityReference target = 3;
      Specified by:
      getTargetOrBuilder in interface LinkOrBuilder
    • hasStartTime

      public boolean hasStartTime()
       The start of the first event establishing this link.
       
      .google.protobuf.Timestamp start_time = 4;
      Specified by:
      hasStartTime in interface LinkOrBuilder
      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:
      getStartTime in interface LinkOrBuilder
      Returns:
      The startTime.
    • setStartTime

      public Link.Builder setStartTime(com.google.protobuf.Timestamp value)
       The start of the first event establishing this link.
       
      .google.protobuf.Timestamp start_time = 4;
    • setStartTime

      public Link.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The start of the first event establishing this link.
       
      .google.protobuf.Timestamp start_time = 4;
    • mergeStartTime

      public Link.Builder mergeStartTime(com.google.protobuf.Timestamp value)
       The start of the first event establishing this link.
       
      .google.protobuf.Timestamp start_time = 4;
    • clearStartTime

      public Link.Builder 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:
      getStartTimeOrBuilder in interface LinkOrBuilder
    • hasEndTime

      public boolean hasEndTime()
       The end of the last event establishing this link.
       
      .google.protobuf.Timestamp end_time = 5;
      Specified by:
      hasEndTime in interface LinkOrBuilder
      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:
      getEndTime in interface LinkOrBuilder
      Returns:
      The endTime.
    • setEndTime

      public Link.Builder setEndTime(com.google.protobuf.Timestamp value)
       The end of the last event establishing this link.
       
      .google.protobuf.Timestamp end_time = 5;
    • setEndTime

      public Link.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The end of the last event establishing this link.
       
      .google.protobuf.Timestamp end_time = 5;
    • mergeEndTime

      public Link.Builder mergeEndTime(com.google.protobuf.Timestamp value)
       The end of the last event establishing this link.
       
      .google.protobuf.Timestamp end_time = 5;
    • clearEndTime

      public Link.Builder 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:
      getEndTimeOrBuilder in interface LinkOrBuilder