Class SerialPipeline.Builder

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

public static final class SerialPipeline.Builder extends com.google.protobuf.GeneratedMessage.Builder<SerialPipeline.Builder> implements SerialPipelineOrBuilder
 SerialPipeline defines a sequential set of stages for a `DeliveryPipeline`.
 
Protobuf type google.cloud.deploy.v1.SerialPipeline
  • 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<SerialPipeline.Builder>
    • clear

      public SerialPipeline.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<SerialPipeline.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<SerialPipeline.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public SerialPipeline.Builder mergeFrom(SerialPipeline other)
    • isInitialized

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

      public SerialPipeline.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<SerialPipeline.Builder>
      Throws:
      IOException
    • getStagesList

      public List<Stage> getStagesList()
       Optional. Each stage specifies configuration for a `Target`. The ordering
       of this list defines the promotion flow.
       
      repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStagesList in interface SerialPipelineOrBuilder
    • getStagesCount

      public int getStagesCount()
       Optional. Each stage specifies configuration for a `Target`. The ordering
       of this list defines the promotion flow.
       
      repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStagesCount in interface SerialPipelineOrBuilder
    • getStages

      public Stage getStages(int index)
       Optional. Each stage specifies configuration for a `Target`. The ordering
       of this list defines the promotion flow.
       
      repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStages in interface SerialPipelineOrBuilder
    • setStages

      public SerialPipeline.Builder setStages(int index, Stage value)
       Optional. Each stage specifies configuration for a `Target`. The ordering
       of this list defines the promotion flow.
       
      repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL];
    • setStages

      public SerialPipeline.Builder setStages(int index, Stage.Builder builderForValue)
       Optional. Each stage specifies configuration for a `Target`. The ordering
       of this list defines the promotion flow.
       
      repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addStages

      public SerialPipeline.Builder addStages(Stage value)
       Optional. Each stage specifies configuration for a `Target`. The ordering
       of this list defines the promotion flow.
       
      repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addStages

      public SerialPipeline.Builder addStages(int index, Stage value)
       Optional. Each stage specifies configuration for a `Target`. The ordering
       of this list defines the promotion flow.
       
      repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addStages

      public SerialPipeline.Builder addStages(Stage.Builder builderForValue)
       Optional. Each stage specifies configuration for a `Target`. The ordering
       of this list defines the promotion flow.
       
      repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addStages

      public SerialPipeline.Builder addStages(int index, Stage.Builder builderForValue)
       Optional. Each stage specifies configuration for a `Target`. The ordering
       of this list defines the promotion flow.
       
      repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addAllStages

      public SerialPipeline.Builder addAllStages(Iterable<? extends Stage> values)
       Optional. Each stage specifies configuration for a `Target`. The ordering
       of this list defines the promotion flow.
       
      repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL];
    • clearStages

      public SerialPipeline.Builder clearStages()
       Optional. Each stage specifies configuration for a `Target`. The ordering
       of this list defines the promotion flow.
       
      repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL];
    • removeStages

      public SerialPipeline.Builder removeStages(int index)
       Optional. Each stage specifies configuration for a `Target`. The ordering
       of this list defines the promotion flow.
       
      repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getStagesBuilder

      public Stage.Builder getStagesBuilder(int index)
       Optional. Each stage specifies configuration for a `Target`. The ordering
       of this list defines the promotion flow.
       
      repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getStagesOrBuilder

      public StageOrBuilder getStagesOrBuilder(int index)
       Optional. Each stage specifies configuration for a `Target`. The ordering
       of this list defines the promotion flow.
       
      repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStagesOrBuilder in interface SerialPipelineOrBuilder
    • getStagesOrBuilderList

      public List<? extends StageOrBuilder> getStagesOrBuilderList()
       Optional. Each stage specifies configuration for a `Target`. The ordering
       of this list defines the promotion flow.
       
      repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStagesOrBuilderList in interface SerialPipelineOrBuilder
    • addStagesBuilder

      public Stage.Builder addStagesBuilder()
       Optional. Each stage specifies configuration for a `Target`. The ordering
       of this list defines the promotion flow.
       
      repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addStagesBuilder

      public Stage.Builder addStagesBuilder(int index)
       Optional. Each stage specifies configuration for a `Target`. The ordering
       of this list defines the promotion flow.
       
      repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getStagesBuilderList

      public List<Stage.Builder> getStagesBuilderList()
       Optional. Each stage specifies configuration for a `Target`. The ordering
       of this list defines the promotion flow.
       
      repeated .google.cloud.deploy.v1.Stage stages = 1 [(.google.api.field_behavior) = OPTIONAL];