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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SerialPipeline.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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
|
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;
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
|
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;
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;
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
|
build()
public SerialPipeline build()
buildPartial()
public SerialPipeline buildPartial()
clear()
public SerialPipeline.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SerialPipeline.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SerialPipeline.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public SerialPipeline.Builder clone()
Overrides
getDefaultInstanceForType()
public SerialPipeline getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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;
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;
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SerialPipeline other)
public SerialPipeline.Builder mergeFrom(SerialPipeline other)
public SerialPipeline.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SerialPipeline.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SerialPipeline.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public SerialPipeline.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SerialPipeline.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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
|
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final SerialPipeline.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides