Class SerialPipeline.Builder (1.34.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.deploy.v1.Stage>
Returns
TypeDescription
SerialPipeline.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SerialPipeline.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueStage
Returns
TypeDescription
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
NameDescription
builderForValueStage.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueStage
Returns
TypeDescription
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
NameDescription
indexint
builderForValueStage.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Stage.Builder

build()

public SerialPipeline build()
Returns
TypeDescription
SerialPipeline

buildPartial()

public SerialPipeline buildPartial()
Returns
TypeDescription
SerialPipeline

clear()

public SerialPipeline.Builder clear()
Returns
TypeDescription
SerialPipeline.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SerialPipeline.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SerialPipeline.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SerialPipeline.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
SerialPipeline.Builder

clone()

public SerialPipeline.Builder clone()
Returns
TypeDescription
SerialPipeline.Builder
Overrides

getDefaultInstanceForType()

public SerialPipeline getDefaultInstanceForType()
Returns
TypeDescription
SerialPipeline

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.deploy.v1.StageOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SerialPipeline other)

public SerialPipeline.Builder mergeFrom(SerialPipeline other)
Parameter
NameDescription
otherSerialPipeline
Returns
TypeDescription
SerialPipeline.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SerialPipeline.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SerialPipeline.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SerialPipeline.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SerialPipeline.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SerialPipeline.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
SerialPipeline.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SerialPipeline.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SerialPipeline.Builder
Overrides

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

public SerialPipeline.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueStage
Returns
TypeDescription
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
NameDescription
indexint
builderForValueStage.Builder
Returns
TypeDescription
SerialPipeline.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final SerialPipeline.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SerialPipeline.Builder
Overrides