public static final class SerialPipeline.Builder extends GeneratedMessage.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.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllStages(Iterable<? extends Stage> values)
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];
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.deploy.v1.Stage>
|
addStages(Stage value)
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];
| Parameter |
| Name |
Description |
value |
Stage
|
addStages(Stage.Builder builderForValue)
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(int index, Stage value)
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];
| Parameters |
| Name |
Description |
index |
int
|
value |
Stage
|
addStages(int index, Stage.Builder builderForValue)
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];
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(int index)
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];
| Parameter |
| Name |
Description |
index |
int
|
build()
public SerialPipeline build()
buildPartial()
public SerialPipeline buildPartial()
clear()
public SerialPipeline.Builder clear()
Overrides
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];
getDefaultInstanceForType()
public SerialPipeline getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getStages(int index)
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];
| Parameter |
| Name |
Description |
index |
int
|
| Returns |
| Type |
Description |
Stage |
|
getStagesBuilder(int index)
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];
| Parameter |
| Name |
Description |
index |
int
|
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];
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];
| Returns |
| Type |
Description |
int |
|
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];
getStagesOrBuilder(int index)
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];
| Parameter |
| Name |
Description |
index |
int
|
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];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.deploy.v1.StageOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.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
removeStages(int index)
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];
| Parameter |
| Name |
Description |
index |
int
|
setStages(int index, Stage value)
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];
| Parameters |
| Name |
Description |
index |
int
|
value |
Stage
|
setStages(int index, Stage.Builder builderForValue)
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];