Class ProcessOpenLineageRunEventResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ProcessOpenLineageRunEventResponse.Builder>
com.google.cloud.datacatalog.lineage.v1.ProcessOpenLineageRunEventResponse.Builder
All Implemented Interfaces:
ProcessOpenLineageRunEventResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ProcessOpenLineageRunEventResponse

public static final class ProcessOpenLineageRunEventResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ProcessOpenLineageRunEventResponse.Builder> implements ProcessOpenLineageRunEventResponseOrBuilder
 Response message for
 [ProcessOpenLineageRunEvent][google.cloud.datacatalog.lineage.v1.ProcessOpenLineageRunEvent].
 
Protobuf type google.cloud.datacatalog.lineage.v1.ProcessOpenLineageRunEventResponse
  • 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<ProcessOpenLineageRunEventResponse.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<ProcessOpenLineageRunEventResponse.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<ProcessOpenLineageRunEventResponse.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public ProcessOpenLineageRunEventResponse.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<ProcessOpenLineageRunEventResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ProcessOpenLineageRunEventResponse.Builder>
    • mergeFrom

      public ProcessOpenLineageRunEventResponse.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<ProcessOpenLineageRunEventResponse.Builder>
      Throws:
      IOException
    • getProcess

      public String getProcess()
       Created process name.
       Format: `projects/{project}/locations/{location}/processes/{process}`.
       
      string process = 1 [(.google.api.resource_reference) = { ... }
      Specified by:
      getProcess in interface ProcessOpenLineageRunEventResponseOrBuilder
      Returns:
      The process.
    • getProcessBytes

      public com.google.protobuf.ByteString getProcessBytes()
       Created process name.
       Format: `projects/{project}/locations/{location}/processes/{process}`.
       
      string process = 1 [(.google.api.resource_reference) = { ... }
      Specified by:
      getProcessBytes in interface ProcessOpenLineageRunEventResponseOrBuilder
      Returns:
      The bytes for process.
    • setProcess

       Created process name.
       Format: `projects/{project}/locations/{location}/processes/{process}`.
       
      string process = 1 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The process to set.
      Returns:
      This builder for chaining.
    • clearProcess

       Created process name.
       Format: `projects/{project}/locations/{location}/processes/{process}`.
       
      string process = 1 [(.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setProcessBytes

      public ProcessOpenLineageRunEventResponse.Builder setProcessBytes(com.google.protobuf.ByteString value)
       Created process name.
       Format: `projects/{project}/locations/{location}/processes/{process}`.
       
      string process = 1 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for process to set.
      Returns:
      This builder for chaining.
    • getRun

      public String getRun()
       Created run name.
       Format:
       `projects/{project}/locations/{location}/processes/{process}/runs/{run}`.
       
      string run = 2 [(.google.api.resource_reference) = { ... }
      Specified by:
      getRun in interface ProcessOpenLineageRunEventResponseOrBuilder
      Returns:
      The run.
    • getRunBytes

      public com.google.protobuf.ByteString getRunBytes()
       Created run name.
       Format:
       `projects/{project}/locations/{location}/processes/{process}/runs/{run}`.
       
      string run = 2 [(.google.api.resource_reference) = { ... }
      Specified by:
      getRunBytes in interface ProcessOpenLineageRunEventResponseOrBuilder
      Returns:
      The bytes for run.
    • setRun

       Created run name.
       Format:
       `projects/{project}/locations/{location}/processes/{process}/runs/{run}`.
       
      string run = 2 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The run to set.
      Returns:
      This builder for chaining.
    • clearRun

       Created run name.
       Format:
       `projects/{project}/locations/{location}/processes/{process}/runs/{run}`.
       
      string run = 2 [(.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setRunBytes

      public ProcessOpenLineageRunEventResponse.Builder setRunBytes(com.google.protobuf.ByteString value)
       Created run name.
       Format:
       `projects/{project}/locations/{location}/processes/{process}/runs/{run}`.
       
      string run = 2 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for run to set.
      Returns:
      This builder for chaining.
    • getLineageEventsList

      public com.google.protobuf.ProtocolStringList getLineageEventsList()
       Created lineage event names.
       Format:
       `projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}`.
       
      repeated string lineage_events = 3 [(.google.api.resource_reference) = { ... }
      Specified by:
      getLineageEventsList in interface ProcessOpenLineageRunEventResponseOrBuilder
      Returns:
      A list containing the lineageEvents.
    • getLineageEventsCount

      public int getLineageEventsCount()
       Created lineage event names.
       Format:
       `projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}`.
       
      repeated string lineage_events = 3 [(.google.api.resource_reference) = { ... }
      Specified by:
      getLineageEventsCount in interface ProcessOpenLineageRunEventResponseOrBuilder
      Returns:
      The count of lineageEvents.
    • getLineageEvents

      public String getLineageEvents(int index)
       Created lineage event names.
       Format:
       `projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}`.
       
      repeated string lineage_events = 3 [(.google.api.resource_reference) = { ... }
      Specified by:
      getLineageEvents in interface ProcessOpenLineageRunEventResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The lineageEvents at the given index.
    • getLineageEventsBytes

      public com.google.protobuf.ByteString getLineageEventsBytes(int index)
       Created lineage event names.
       Format:
       `projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}`.
       
      repeated string lineage_events = 3 [(.google.api.resource_reference) = { ... }
      Specified by:
      getLineageEventsBytes in interface ProcessOpenLineageRunEventResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the lineageEvents at the given index.
    • setLineageEvents

      public ProcessOpenLineageRunEventResponse.Builder setLineageEvents(int index, String value)
       Created lineage event names.
       Format:
       `projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}`.
       
      repeated string lineage_events = 3 [(.google.api.resource_reference) = { ... }
      Parameters:
      index - The index to set the value at.
      value - The lineageEvents to set.
      Returns:
      This builder for chaining.
    • addLineageEvents

      public ProcessOpenLineageRunEventResponse.Builder addLineageEvents(String value)
       Created lineage event names.
       Format:
       `projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}`.
       
      repeated string lineage_events = 3 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The lineageEvents to add.
      Returns:
      This builder for chaining.
    • addAllLineageEvents

      public ProcessOpenLineageRunEventResponse.Builder addAllLineageEvents(Iterable<String> values)
       Created lineage event names.
       Format:
       `projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}`.
       
      repeated string lineage_events = 3 [(.google.api.resource_reference) = { ... }
      Parameters:
      values - The lineageEvents to add.
      Returns:
      This builder for chaining.
    • clearLineageEvents

      public ProcessOpenLineageRunEventResponse.Builder clearLineageEvents()
       Created lineage event names.
       Format:
       `projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}`.
       
      repeated string lineage_events = 3 [(.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • addLineageEventsBytes

      public ProcessOpenLineageRunEventResponse.Builder addLineageEventsBytes(com.google.protobuf.ByteString value)
       Created lineage event names.
       Format:
       `projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}`.
       
      repeated string lineage_events = 3 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes of the lineageEvents to add.
      Returns:
      This builder for chaining.