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
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SerialPipeline.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
Returns
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
Returns
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
Returns
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
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
Returns
build()
public SerialPipeline build()
Returns
buildPartial()
public SerialPipeline buildPartial()
Returns
clear()
public SerialPipeline.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SerialPipeline.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SerialPipeline.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public SerialPipeline.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SerialPipeline getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
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
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
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
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
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SerialPipeline other)
public SerialPipeline.Builder mergeFrom(SerialPipeline other)
Parameter
Returns
public SerialPipeline.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SerialPipeline.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SerialPipeline.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public SerialPipeline.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SerialPipeline.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final SerialPipeline.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides