public static final class Stage.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Stage.Builder> implements StageOrBuilder
Stage specifies a location to which to deploy.Protobuf type
google.cloud.deploy.v1.Stage| Modifier and Type | Method and Description |
|---|---|
Stage.Builder |
addAllDeployParameters(Iterable<? extends DeployParameters> values)
Optional.
|
Stage.Builder |
addAllProfiles(Iterable<String> values)
Skaffold profiles to use when rendering the manifest for this stage's
`Target`.
|
Stage.Builder |
addDeployParameters(DeployParameters.Builder builderForValue)
Optional.
|
Stage.Builder |
addDeployParameters(DeployParameters value)
Optional.
|
Stage.Builder |
addDeployParameters(int index,
DeployParameters.Builder builderForValue)
Optional.
|
Stage.Builder |
addDeployParameters(int index,
DeployParameters value)
Optional.
|
DeployParameters.Builder |
addDeployParametersBuilder()
Optional.
|
DeployParameters.Builder |
addDeployParametersBuilder(int index)
Optional.
|
Stage.Builder |
addProfiles(String value)
Skaffold profiles to use when rendering the manifest for this stage's
`Target`.
|
Stage.Builder |
addProfilesBytes(com.google.protobuf.ByteString value)
Skaffold profiles to use when rendering the manifest for this stage's
`Target`.
|
Stage.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Stage |
build() |
Stage |
buildPartial() |
Stage.Builder |
clear() |
Stage.Builder |
clearDeployParameters()
Optional.
|
Stage.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Stage.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Stage.Builder |
clearProfiles()
Skaffold profiles to use when rendering the manifest for this stage's
`Target`.
|
Stage.Builder |
clearStrategy()
Optional.
|
Stage.Builder |
clearTargetId()
The target_id to which this stage points.
|
Stage.Builder |
clone() |
Stage |
getDefaultInstanceForType() |
DeployParameters |
getDeployParameters(int index)
Optional.
|
DeployParameters.Builder |
getDeployParametersBuilder(int index)
Optional.
|
List<DeployParameters.Builder> |
getDeployParametersBuilderList()
Optional.
|
int |
getDeployParametersCount()
Optional.
|
List<DeployParameters> |
getDeployParametersList()
Optional.
|
DeployParametersOrBuilder |
getDeployParametersOrBuilder(int index)
Optional.
|
List<? extends DeployParametersOrBuilder> |
getDeployParametersOrBuilderList()
Optional.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getProfiles(int index)
Skaffold profiles to use when rendering the manifest for this stage's
`Target`.
|
com.google.protobuf.ByteString |
getProfilesBytes(int index)
Skaffold profiles to use when rendering the manifest for this stage's
`Target`.
|
int |
getProfilesCount()
Skaffold profiles to use when rendering the manifest for this stage's
`Target`.
|
com.google.protobuf.ProtocolStringList |
getProfilesList()
Skaffold profiles to use when rendering the manifest for this stage's
`Target`.
|
Strategy |
getStrategy()
Optional.
|
Strategy.Builder |
getStrategyBuilder()
Optional.
|
StrategyOrBuilder |
getStrategyOrBuilder()
Optional.
|
String |
getTargetId()
The target_id to which this stage points.
|
com.google.protobuf.ByteString |
getTargetIdBytes()
The target_id to which this stage points.
|
boolean |
hasStrategy()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Stage.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Stage.Builder |
mergeFrom(com.google.protobuf.Message other) |
Stage.Builder |
mergeFrom(Stage other) |
Stage.Builder |
mergeStrategy(Strategy value)
Optional.
|
Stage.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Stage.Builder |
removeDeployParameters(int index)
Optional.
|
Stage.Builder |
setDeployParameters(int index,
DeployParameters.Builder builderForValue)
Optional.
|
Stage.Builder |
setDeployParameters(int index,
DeployParameters value)
Optional.
|
Stage.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Stage.Builder |
setProfiles(int index,
String value)
Skaffold profiles to use when rendering the manifest for this stage's
`Target`.
|
Stage.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Stage.Builder |
setStrategy(Strategy.Builder builderForValue)
Optional.
|
Stage.Builder |
setStrategy(Strategy value)
Optional.
|
Stage.Builder |
setTargetId(String value)
The target_id to which this stage points.
|
Stage.Builder |
setTargetIdBytes(com.google.protobuf.ByteString value)
The target_id to which this stage points.
|
Stage.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Stage.Builder>public Stage.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Stage.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Stage.Builder>public Stage getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Stage build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Stage buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Stage.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Stage.Builder>public Stage.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Stage.Builder>public Stage.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Stage.Builder>public Stage.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Stage.Builder>public Stage.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Stage.Builder>public Stage.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Stage.Builder>public Stage.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Stage.Builder>public Stage.Builder mergeFrom(Stage other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Stage.Builder>public Stage.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Stage.Builder>IOExceptionpublic String getTargetId()
The target_id to which this stage points. This field refers exclusively to the last segment of a target name. For example, this field would just be `my-target` (rather than `projects/project/locations/location/targets/my-target`). The location of the `Target` is inferred to be the same as the location of the `DeliveryPipeline` that contains this `Stage`.
string target_id = 1;getTargetId in interface StageOrBuilderpublic com.google.protobuf.ByteString getTargetIdBytes()
The target_id to which this stage points. This field refers exclusively to the last segment of a target name. For example, this field would just be `my-target` (rather than `projects/project/locations/location/targets/my-target`). The location of the `Target` is inferred to be the same as the location of the `DeliveryPipeline` that contains this `Stage`.
string target_id = 1;getTargetIdBytes in interface StageOrBuilderpublic Stage.Builder setTargetId(String value)
The target_id to which this stage points. This field refers exclusively to the last segment of a target name. For example, this field would just be `my-target` (rather than `projects/project/locations/location/targets/my-target`). The location of the `Target` is inferred to be the same as the location of the `DeliveryPipeline` that contains this `Stage`.
string target_id = 1;value - The targetId to set.public Stage.Builder clearTargetId()
The target_id to which this stage points. This field refers exclusively to the last segment of a target name. For example, this field would just be `my-target` (rather than `projects/project/locations/location/targets/my-target`). The location of the `Target` is inferred to be the same as the location of the `DeliveryPipeline` that contains this `Stage`.
string target_id = 1;public Stage.Builder setTargetIdBytes(com.google.protobuf.ByteString value)
The target_id to which this stage points. This field refers exclusively to the last segment of a target name. For example, this field would just be `my-target` (rather than `projects/project/locations/location/targets/my-target`). The location of the `Target` is inferred to be the same as the location of the `DeliveryPipeline` that contains this `Stage`.
string target_id = 1;value - The bytes for targetId to set.public com.google.protobuf.ProtocolStringList getProfilesList()
Skaffold profiles to use when rendering the manifest for this stage's `Target`.
repeated string profiles = 2;getProfilesList in interface StageOrBuilderpublic int getProfilesCount()
Skaffold profiles to use when rendering the manifest for this stage's `Target`.
repeated string profiles = 2;getProfilesCount in interface StageOrBuilderpublic String getProfiles(int index)
Skaffold profiles to use when rendering the manifest for this stage's `Target`.
repeated string profiles = 2;getProfiles in interface StageOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getProfilesBytes(int index)
Skaffold profiles to use when rendering the manifest for this stage's `Target`.
repeated string profiles = 2;getProfilesBytes in interface StageOrBuilderindex - The index of the value to return.public Stage.Builder setProfiles(int index, String value)
Skaffold profiles to use when rendering the manifest for this stage's `Target`.
repeated string profiles = 2;index - The index to set the value at.value - The profiles to set.public Stage.Builder addProfiles(String value)
Skaffold profiles to use when rendering the manifest for this stage's `Target`.
repeated string profiles = 2;value - The profiles to add.public Stage.Builder addAllProfiles(Iterable<String> values)
Skaffold profiles to use when rendering the manifest for this stage's `Target`.
repeated string profiles = 2;values - The profiles to add.public Stage.Builder clearProfiles()
Skaffold profiles to use when rendering the manifest for this stage's `Target`.
repeated string profiles = 2;public Stage.Builder addProfilesBytes(com.google.protobuf.ByteString value)
Skaffold profiles to use when rendering the manifest for this stage's `Target`.
repeated string profiles = 2;value - The bytes of the profiles to add.public boolean hasStrategy()
Optional. The strategy to use for a `Rollout` to this stage.
.google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL];
hasStrategy in interface StageOrBuilderpublic Strategy getStrategy()
Optional. The strategy to use for a `Rollout` to this stage.
.google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL];
getStrategy in interface StageOrBuilderpublic Stage.Builder setStrategy(Strategy value)
Optional. The strategy to use for a `Rollout` to this stage.
.google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL];
public Stage.Builder setStrategy(Strategy.Builder builderForValue)
Optional. The strategy to use for a `Rollout` to this stage.
.google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL];
public Stage.Builder mergeStrategy(Strategy value)
Optional. The strategy to use for a `Rollout` to this stage.
.google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL];
public Stage.Builder clearStrategy()
Optional. The strategy to use for a `Rollout` to this stage.
.google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL];
public Strategy.Builder getStrategyBuilder()
Optional. The strategy to use for a `Rollout` to this stage.
.google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL];
public StrategyOrBuilder getStrategyOrBuilder()
Optional. The strategy to use for a `Rollout` to this stage.
.google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL];
getStrategyOrBuilder in interface StageOrBuilderpublic List<DeployParameters> getDeployParametersList()
Optional. The deploy parameters to use for the target in this stage.
repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
getDeployParametersList in interface StageOrBuilderpublic int getDeployParametersCount()
Optional. The deploy parameters to use for the target in this stage.
repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
getDeployParametersCount in interface StageOrBuilderpublic DeployParameters getDeployParameters(int index)
Optional. The deploy parameters to use for the target in this stage.
repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
getDeployParameters in interface StageOrBuilderpublic Stage.Builder setDeployParameters(int index, DeployParameters value)
Optional. The deploy parameters to use for the target in this stage.
repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
public Stage.Builder setDeployParameters(int index, DeployParameters.Builder builderForValue)
Optional. The deploy parameters to use for the target in this stage.
repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
public Stage.Builder addDeployParameters(DeployParameters value)
Optional. The deploy parameters to use for the target in this stage.
repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
public Stage.Builder addDeployParameters(int index, DeployParameters value)
Optional. The deploy parameters to use for the target in this stage.
repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
public Stage.Builder addDeployParameters(DeployParameters.Builder builderForValue)
Optional. The deploy parameters to use for the target in this stage.
repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
public Stage.Builder addDeployParameters(int index, DeployParameters.Builder builderForValue)
Optional. The deploy parameters to use for the target in this stage.
repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
public Stage.Builder addAllDeployParameters(Iterable<? extends DeployParameters> values)
Optional. The deploy parameters to use for the target in this stage.
repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
public Stage.Builder clearDeployParameters()
Optional. The deploy parameters to use for the target in this stage.
repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
public Stage.Builder removeDeployParameters(int index)
Optional. The deploy parameters to use for the target in this stage.
repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
public DeployParameters.Builder getDeployParametersBuilder(int index)
Optional. The deploy parameters to use for the target in this stage.
repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
public DeployParametersOrBuilder getDeployParametersOrBuilder(int index)
Optional. The deploy parameters to use for the target in this stage.
repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
getDeployParametersOrBuilder in interface StageOrBuilderpublic List<? extends DeployParametersOrBuilder> getDeployParametersOrBuilderList()
Optional. The deploy parameters to use for the target in this stage.
repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
getDeployParametersOrBuilderList in interface StageOrBuilderpublic DeployParameters.Builder addDeployParametersBuilder()
Optional. The deploy parameters to use for the target in this stage.
repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
public DeployParameters.Builder addDeployParametersBuilder(int index)
Optional. The deploy parameters to use for the target in this stage.
repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
public List<DeployParameters.Builder> getDeployParametersBuilderList()
Optional. The deploy parameters to use for the target in this stage.
repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
public final Stage.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Stage.Builder>public final Stage.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Stage.Builder>Copyright © 2024 Google LLC. All rights reserved.