Package com.google.cloud.deploy.v1
Interface StageOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Stage
,Stage.Builder
public interface StageOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeployParameters
getDeployParameters(int index)
Optional.int
getDeployParametersCount()
Optional.List<DeployParameters>
getDeployParametersList()
Optional.DeployParametersOrBuilder
getDeployParametersOrBuilder(int index)
Optional.List<? extends DeployParametersOrBuilder>
getDeployParametersOrBuilderList()
Optional.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`.List<String>
getProfilesList()
Skaffold profiles to use when rendering the manifest for this stage's `Target`.Strategy
getStrategy()
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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTargetId
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;
- Returns:
- The targetId.
-
getTargetIdBytes
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;
- Returns:
- The bytes for targetId.
-
getProfilesList
List<String> getProfilesList()
Skaffold profiles to use when rendering the manifest for this stage's `Target`.
repeated string profiles = 2;
- Returns:
- A list containing the profiles.
-
getProfilesCount
int getProfilesCount()
Skaffold profiles to use when rendering the manifest for this stage's `Target`.
repeated string profiles = 2;
- Returns:
- The count of profiles.
-
getProfiles
String getProfiles(int index)
Skaffold profiles to use when rendering the manifest for this stage's `Target`.
repeated string profiles = 2;
- Parameters:
index
- The index of the element to return.- Returns:
- The profiles at the given index.
-
getProfilesBytes
com.google.protobuf.ByteString getProfilesBytes(int index)
Skaffold profiles to use when rendering the manifest for this stage's `Target`.
repeated string profiles = 2;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the profiles at the given index.
-
hasStrategy
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];
- Returns:
- Whether the strategy field is set.
-
getStrategy
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];
- Returns:
- The strategy.
-
getStrategyOrBuilder
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];
-
getDeployParametersList
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];
-
getDeployParameters
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];
-
getDeployParametersCount
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];
-
getDeployParametersOrBuilderList
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];
-
getDeployParametersOrBuilder
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];
-
-