Class SerialPipeline.Builder (1.42.0)

public static final class SerialPipeline.Builder extends GeneratedMessageV3.Builder<SerialPipeline.Builder> implements SerialPipelineOrBuilder

SerialPipeline defines a sequential set of stages for a DeliveryPipeline.

Protobuf type google.cloud.deploy.v1.SerialPipeline

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllStages(Iterable<? extends Stage> values)

public SerialPipeline.Builder addAllStages(Iterable<? extends Stage> values)

Each stage specifies configuration for a Target. The ordering of this list defines the promotion flow.

repeated .google.cloud.deploy.v1.Stage stages = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.deploy.v1.Stage>
Returns
Type Description
SerialPipeline.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SerialPipeline.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SerialPipeline.Builder
Overrides

addStages(Stage value)

public SerialPipeline.Builder addStages(Stage value)

Each stage specifies configuration for a Target. The ordering of this list defines the promotion flow.

repeated .google.cloud.deploy.v1.Stage stages = 1;

Parameter
Name Description
value Stage
Returns
Type Description
SerialPipeline.Builder

addStages(Stage.Builder builderForValue)

public SerialPipeline.Builder addStages(Stage.Builder builderForValue)

Each stage specifies configuration for a Target. The ordering of this list defines the promotion flow.

repeated .google.cloud.deploy.v1.Stage stages = 1;

Parameter
Name Description
builderForValue Stage.Builder
Returns
Type Description
SerialPipeline.Builder

addStages(int index, Stage value)

public SerialPipeline.Builder addStages(int index, Stage value)

Each stage specifies configuration for a Target. The ordering of this list defines the promotion flow.

repeated .google.cloud.deploy.v1.Stage stages = 1;

Parameters
Name Description
index int
value Stage
Returns
Type Description
SerialPipeline.Builder

addStages(int index, Stage.Builder builderForValue)

public SerialPipeline.Builder addStages(int index, Stage.Builder builderForValue)

Each stage specifies configuration for a Target. The ordering of this list defines the promotion flow.

repeated .google.cloud.deploy.v1.Stage stages = 1;

Parameters
Name Description
index int
builderForValue Stage.Builder
Returns
Type Description
SerialPipeline.Builder

addStagesBuilder()

public Stage.Builder addStagesBuilder()

Each stage specifies configuration for a Target. The ordering of this list defines the promotion flow.

repeated .google.cloud.deploy.v1.Stage stages = 1;

Returns
Type Description
Stage.Builder

addStagesBuilder(int index)

public Stage.Builder addStagesBuilder(int index)

Each stage specifies configuration for a Target. The ordering of this list defines the promotion flow.

repeated .google.cloud.deploy.v1.Stage stages = 1;

Parameter
Name Description
index int
Returns
Type Description
Stage.Builder

build()

public SerialPipeline build()
Returns
Type Description
SerialPipeline

buildPartial()

public SerialPipeline buildPartial()
Returns
Type Description
SerialPipeline

clear()

public SerialPipeline.Builder clear()
Returns
Type Description
SerialPipeline.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SerialPipeline.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SerialPipeline.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SerialPipeline.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SerialPipeline.Builder
Overrides

clearStages()

public SerialPipeline.Builder clearStages()

Each stage specifies configuration for a Target. The ordering of this list defines the promotion flow.

repeated .google.cloud.deploy.v1.Stage stages = 1;

Returns
Type Description
SerialPipeline.Builder

clone()

public SerialPipeline.Builder clone()
Returns
Type Description
SerialPipeline.Builder
Overrides

getDefaultInstanceForType()

public SerialPipeline getDefaultInstanceForType()
Returns
Type Description
SerialPipeline

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getStages(int index)

public Stage getStages(int index)

Each stage specifies configuration for a Target. The ordering of this list defines the promotion flow.

repeated .google.cloud.deploy.v1.Stage stages = 1;

Parameter
Name Description
index int
Returns
Type Description
Stage

getStagesBuilder(int index)

public Stage.Builder getStagesBuilder(int index)

Each stage specifies configuration for a Target. The ordering of this list defines the promotion flow.

repeated .google.cloud.deploy.v1.Stage stages = 1;

Parameter
Name Description
index int
Returns
Type Description
Stage.Builder

getStagesBuilderList()

public List<Stage.Builder> getStagesBuilderList()

Each stage specifies configuration for a Target. The ordering of this list defines the promotion flow.

repeated .google.cloud.deploy.v1.Stage stages = 1;

Returns
Type Description
List<Builder>

getStagesCount()

public int getStagesCount()

Each stage specifies configuration for a Target. The ordering of this list defines the promotion flow.

repeated .google.cloud.deploy.v1.Stage stages = 1;

Returns
Type Description
int

getStagesList()

public List<Stage> getStagesList()

Each stage specifies configuration for a Target. The ordering of this list defines the promotion flow.

repeated .google.cloud.deploy.v1.Stage stages = 1;

Returns
Type Description
List<Stage>

getStagesOrBuilder(int index)

public StageOrBuilder getStagesOrBuilder(int index)

Each stage specifies configuration for a Target. The ordering of this list defines the promotion flow.

repeated .google.cloud.deploy.v1.Stage stages = 1;

Parameter
Name Description
index int
Returns
Type Description
StageOrBuilder

getStagesOrBuilderList()

public List<? extends StageOrBuilder> getStagesOrBuilderList()

Each stage specifies configuration for a Target. The ordering of this list defines the promotion flow.

repeated .google.cloud.deploy.v1.Stage stages = 1;

Returns
Type Description
List<? extends com.google.cloud.deploy.v1.StageOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SerialPipeline other)

public SerialPipeline.Builder mergeFrom(SerialPipeline other)
Parameter
Name Description
other SerialPipeline
Returns
Type Description
SerialPipeline.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SerialPipeline.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SerialPipeline.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SerialPipeline.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SerialPipeline.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SerialPipeline.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SerialPipeline.Builder
Overrides

removeStages(int index)

public SerialPipeline.Builder removeStages(int index)

Each stage specifies configuration for a Target. The ordering of this list defines the promotion flow.

repeated .google.cloud.deploy.v1.Stage stages = 1;

Parameter
Name Description
index int
Returns
Type Description
SerialPipeline.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SerialPipeline.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SerialPipeline.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SerialPipeline.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SerialPipeline.Builder
Overrides

setStages(int index, Stage value)

public SerialPipeline.Builder setStages(int index, Stage value)

Each stage specifies configuration for a Target. The ordering of this list defines the promotion flow.

repeated .google.cloud.deploy.v1.Stage stages = 1;

Parameters
Name Description
index int
value Stage
Returns
Type Description
SerialPipeline.Builder

setStages(int index, Stage.Builder builderForValue)

public SerialPipeline.Builder setStages(int index, Stage.Builder builderForValue)

Each stage specifies configuration for a Target. The ordering of this list defines the promotion flow.

repeated .google.cloud.deploy.v1.Stage stages = 1;

Parameters
Name Description
index int
builderForValue Stage.Builder
Returns
Type Description
SerialPipeline.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final SerialPipeline.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SerialPipeline.Builder
Overrides