Class PipelineTaskExecutorDetail.CustomJobDetail.Builder

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

public static final class PipelineTaskExecutorDetail.CustomJobDetail.Builder extends com.google.protobuf.GeneratedMessage.Builder<PipelineTaskExecutorDetail.CustomJobDetail.Builder> implements PipelineTaskExecutorDetail.CustomJobDetailOrBuilder
 The detailed info for a custom job executor.
 
Protobuf type google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail
  • 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<PipelineTaskExecutorDetail.CustomJobDetail.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<PipelineTaskExecutorDetail.CustomJobDetail.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<PipelineTaskExecutorDetail.CustomJobDetail.Builder>
    • getDefaultInstanceForType

      public PipelineTaskExecutorDetail.CustomJobDetail 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

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

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

      public PipelineTaskExecutorDetail.CustomJobDetail.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<PipelineTaskExecutorDetail.CustomJobDetail.Builder>
      Throws:
      IOException
    • getJob

      public String getJob()
       Output only. The name of the
       [CustomJob][google.cloud.aiplatform.v1.CustomJob].
       
      string job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getJob in interface PipelineTaskExecutorDetail.CustomJobDetailOrBuilder
      Returns:
      The job.
    • getJobBytes

      public com.google.protobuf.ByteString getJobBytes()
       Output only. The name of the
       [CustomJob][google.cloud.aiplatform.v1.CustomJob].
       
      string job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getJobBytes in interface PipelineTaskExecutorDetail.CustomJobDetailOrBuilder
      Returns:
      The bytes for job.
    • setJob

       Output only. The name of the
       [CustomJob][google.cloud.aiplatform.v1.CustomJob].
       
      string job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The job to set.
      Returns:
      This builder for chaining.
    • clearJob

       Output only. The name of the
       [CustomJob][google.cloud.aiplatform.v1.CustomJob].
       
      string job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setJobBytes

      public PipelineTaskExecutorDetail.CustomJobDetail.Builder setJobBytes(com.google.protobuf.ByteString value)
       Output only. The name of the
       [CustomJob][google.cloud.aiplatform.v1.CustomJob].
       
      string job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for job to set.
      Returns:
      This builder for chaining.
    • getFailedJobsList

      public com.google.protobuf.ProtocolStringList getFailedJobsList()
       Output only. The names of the previously failed
       [CustomJob][google.cloud.aiplatform.v1.CustomJob]. The list includes the
       all attempts in chronological order.
       
      repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getFailedJobsList in interface PipelineTaskExecutorDetail.CustomJobDetailOrBuilder
      Returns:
      A list containing the failedJobs.
    • getFailedJobsCount

      public int getFailedJobsCount()
       Output only. The names of the previously failed
       [CustomJob][google.cloud.aiplatform.v1.CustomJob]. The list includes the
       all attempts in chronological order.
       
      repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getFailedJobsCount in interface PipelineTaskExecutorDetail.CustomJobDetailOrBuilder
      Returns:
      The count of failedJobs.
    • getFailedJobs

      public String getFailedJobs(int index)
       Output only. The names of the previously failed
       [CustomJob][google.cloud.aiplatform.v1.CustomJob]. The list includes the
       all attempts in chronological order.
       
      repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getFailedJobs in interface PipelineTaskExecutorDetail.CustomJobDetailOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The failedJobs at the given index.
    • getFailedJobsBytes

      public com.google.protobuf.ByteString getFailedJobsBytes(int index)
       Output only. The names of the previously failed
       [CustomJob][google.cloud.aiplatform.v1.CustomJob]. The list includes the
       all attempts in chronological order.
       
      repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getFailedJobsBytes in interface PipelineTaskExecutorDetail.CustomJobDetailOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the failedJobs at the given index.
    • setFailedJobs

      public PipelineTaskExecutorDetail.CustomJobDetail.Builder setFailedJobs(int index, String value)
       Output only. The names of the previously failed
       [CustomJob][google.cloud.aiplatform.v1.CustomJob]. The list includes the
       all attempts in chronological order.
       
      repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      index - The index to set the value at.
      value - The failedJobs to set.
      Returns:
      This builder for chaining.
    • addFailedJobs

       Output only. The names of the previously failed
       [CustomJob][google.cloud.aiplatform.v1.CustomJob]. The list includes the
       all attempts in chronological order.
       
      repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The failedJobs to add.
      Returns:
      This builder for chaining.
    • addAllFailedJobs

       Output only. The names of the previously failed
       [CustomJob][google.cloud.aiplatform.v1.CustomJob]. The list includes the
       all attempts in chronological order.
       
      repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      values - The failedJobs to add.
      Returns:
      This builder for chaining.
    • clearFailedJobs

       Output only. The names of the previously failed
       [CustomJob][google.cloud.aiplatform.v1.CustomJob]. The list includes the
       all attempts in chronological order.
       
      repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • addFailedJobsBytes

      public PipelineTaskExecutorDetail.CustomJobDetail.Builder addFailedJobsBytes(com.google.protobuf.ByteString value)
       Output only. The names of the previously failed
       [CustomJob][google.cloud.aiplatform.v1.CustomJob]. The list includes the
       all attempts in chronological order.
       
      repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes of the failedJobs to add.
      Returns:
      This builder for chaining.