Class PipelineTaskRerunConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PipelineTaskRerunConfig.Builder>
com.google.cloud.aiplatform.v1beta1.PipelineTaskRerunConfig.Builder
All Implemented Interfaces:
PipelineTaskRerunConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
PipelineTaskRerunConfig

public static final class PipelineTaskRerunConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<PipelineTaskRerunConfig.Builder> implements PipelineTaskRerunConfigOrBuilder
 User provided rerun config to submit a rerun pipelinejob. This includes
 1. Which task to rerun
 2. User override input parameters and artifacts.
 
Protobuf type google.cloud.aiplatform.v1beta1.PipelineTaskRerunConfig
  • 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<PipelineTaskRerunConfig.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<PipelineTaskRerunConfig.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<PipelineTaskRerunConfig.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public PipelineTaskRerunConfig.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<PipelineTaskRerunConfig.Builder>
      Throws:
      IOException
    • getTaskId

      public long getTaskId()
       Optional. The system generated ID of the task. Retrieved from original run.
       
      int64 task_id = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTaskId in interface PipelineTaskRerunConfigOrBuilder
      Returns:
      The taskId.
    • setTaskId

      public PipelineTaskRerunConfig.Builder setTaskId(long value)
       Optional. The system generated ID of the task. Retrieved from original run.
       
      int64 task_id = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The taskId to set.
      Returns:
      This builder for chaining.
    • clearTaskId

      public PipelineTaskRerunConfig.Builder clearTaskId()
       Optional. The system generated ID of the task. Retrieved from original run.
       
      int64 task_id = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getTaskName

      public String getTaskName()
       Optional. The name of the task.
       
      string task_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTaskName in interface PipelineTaskRerunConfigOrBuilder
      Returns:
      The taskName.
    • getTaskNameBytes

      public com.google.protobuf.ByteString getTaskNameBytes()
       Optional. The name of the task.
       
      string task_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTaskNameBytes in interface PipelineTaskRerunConfigOrBuilder
      Returns:
      The bytes for taskName.
    • setTaskName

      public PipelineTaskRerunConfig.Builder setTaskName(String value)
       Optional. The name of the task.
       
      string task_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The taskName to set.
      Returns:
      This builder for chaining.
    • clearTaskName

      public PipelineTaskRerunConfig.Builder clearTaskName()
       Optional. The name of the task.
       
      string task_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setTaskNameBytes

      public PipelineTaskRerunConfig.Builder setTaskNameBytes(com.google.protobuf.ByteString value)
       Optional. The name of the task.
       
      string task_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for taskName to set.
      Returns:
      This builder for chaining.
    • hasInputs

      public boolean hasInputs()
       Optional. The runtime input of the task overridden by the user.
       
      .google.cloud.aiplatform.v1beta1.PipelineTaskRerunConfig.Inputs inputs = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasInputs in interface PipelineTaskRerunConfigOrBuilder
      Returns:
      Whether the inputs field is set.
    • getInputs

      public PipelineTaskRerunConfig.Inputs getInputs()
       Optional. The runtime input of the task overridden by the user.
       
      .google.cloud.aiplatform.v1beta1.PipelineTaskRerunConfig.Inputs inputs = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInputs in interface PipelineTaskRerunConfigOrBuilder
      Returns:
      The inputs.
    • setInputs

       Optional. The runtime input of the task overridden by the user.
       
      .google.cloud.aiplatform.v1beta1.PipelineTaskRerunConfig.Inputs inputs = 3 [(.google.api.field_behavior) = OPTIONAL];
    • setInputs

       Optional. The runtime input of the task overridden by the user.
       
      .google.cloud.aiplatform.v1beta1.PipelineTaskRerunConfig.Inputs inputs = 3 [(.google.api.field_behavior) = OPTIONAL];
    • mergeInputs

       Optional. The runtime input of the task overridden by the user.
       
      .google.cloud.aiplatform.v1beta1.PipelineTaskRerunConfig.Inputs inputs = 3 [(.google.api.field_behavior) = OPTIONAL];
    • clearInputs

      public PipelineTaskRerunConfig.Builder clearInputs()
       Optional. The runtime input of the task overridden by the user.
       
      .google.cloud.aiplatform.v1beta1.PipelineTaskRerunConfig.Inputs inputs = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getInputsBuilder

      public PipelineTaskRerunConfig.Inputs.Builder getInputsBuilder()
       Optional. The runtime input of the task overridden by the user.
       
      .google.cloud.aiplatform.v1beta1.PipelineTaskRerunConfig.Inputs inputs = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getInputsOrBuilder

      public PipelineTaskRerunConfig.InputsOrBuilder getInputsOrBuilder()
       Optional. The runtime input of the task overridden by the user.
       
      .google.cloud.aiplatform.v1beta1.PipelineTaskRerunConfig.Inputs inputs = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInputsOrBuilder in interface PipelineTaskRerunConfigOrBuilder
    • getSkipTask

      public boolean getSkipTask()
       Optional. Whether to skip this task. Default value is False.
       
      bool skip_task = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSkipTask in interface PipelineTaskRerunConfigOrBuilder
      Returns:
      The skipTask.
    • setSkipTask

      public PipelineTaskRerunConfig.Builder setSkipTask(boolean value)
       Optional. Whether to skip this task. Default value is False.
       
      bool skip_task = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The skipTask to set.
      Returns:
      This builder for chaining.
    • clearSkipTask

      public PipelineTaskRerunConfig.Builder clearSkipTask()
       Optional. Whether to skip this task. Default value is False.
       
      bool skip_task = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getSkipDownstreamTasks

      public boolean getSkipDownstreamTasks()
       Optional. Whether to skip downstream tasks. Default value is False.
       
      bool skip_downstream_tasks = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSkipDownstreamTasks in interface PipelineTaskRerunConfigOrBuilder
      Returns:
      The skipDownstreamTasks.
    • setSkipDownstreamTasks

      public PipelineTaskRerunConfig.Builder setSkipDownstreamTasks(boolean value)
       Optional. Whether to skip downstream tasks. Default value is False.
       
      bool skip_downstream_tasks = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The skipDownstreamTasks to set.
      Returns:
      This builder for chaining.
    • clearSkipDownstreamTasks

      public PipelineTaskRerunConfig.Builder clearSkipDownstreamTasks()
       Optional. Whether to skip downstream tasks. Default value is False.
       
      bool skip_downstream_tasks = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.