- 1.51.0 (latest)
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.8
- 1.0.2
public static final class CustomCanaryDeployment.PhaseConfig.Builder extends GeneratedMessageV3.Builder<CustomCanaryDeployment.PhaseConfig.Builder> implements CustomCanaryDeployment.PhaseConfigOrBuilder
PhaseConfig represents the configuration for a phase in the custom canary deployment.
Protobuf type google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CustomCanaryDeployment.PhaseConfig.BuilderImplements
CustomCanaryDeployment.PhaseConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllProfiles(Iterable<String> values)
public CustomCanaryDeployment.PhaseConfig.Builder addAllProfiles(Iterable<String> values)
Skaffold profiles to use when rendering the manifest for this phase.
These are in addition to the profiles list specified in the
DeliveryPipeline
stage.
repeated string profiles = 3;
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The profiles to add. |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig.Builder | This builder for chaining. |
addProfiles(String value)
public CustomCanaryDeployment.PhaseConfig.Builder addProfiles(String value)
Skaffold profiles to use when rendering the manifest for this phase.
These are in addition to the profiles list specified in the
DeliveryPipeline
stage.
repeated string profiles = 3;
Parameter | |
---|---|
Name | Description |
value | String The profiles to add. |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig.Builder | This builder for chaining. |
addProfilesBytes(ByteString value)
public CustomCanaryDeployment.PhaseConfig.Builder addProfilesBytes(ByteString value)
Skaffold profiles to use when rendering the manifest for this phase.
These are in addition to the profiles list specified in the
DeliveryPipeline
stage.
repeated string profiles = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the profiles to add. |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CustomCanaryDeployment.PhaseConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig.Builder |
build()
public CustomCanaryDeployment.PhaseConfig build()
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig |
buildPartial()
public CustomCanaryDeployment.PhaseConfig buildPartial()
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig |
clear()
public CustomCanaryDeployment.PhaseConfig.Builder clear()
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public CustomCanaryDeployment.PhaseConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CustomCanaryDeployment.PhaseConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig.Builder |
clearPercentage()
public CustomCanaryDeployment.PhaseConfig.Builder clearPercentage()
Required. Percentage deployment for the phase.
int32 percentage = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig.Builder | This builder for chaining. |
clearPhaseId()
public CustomCanaryDeployment.PhaseConfig.Builder clearPhaseId()
Required. The ID to assign to the Rollout
phase.
This value must consist of lower-case letters, numbers, and hyphens,
start with a letter and end with a letter or a number, and have a max
length of 63 characters. In other words, it must match the following
regex: ^a-z?$
.
string phase_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig.Builder | This builder for chaining. |
clearPostdeploy()
public CustomCanaryDeployment.PhaseConfig.Builder clearPostdeploy()
Optional. Configuration for the postdeploy job of this phase. If this is not configured, there will be no postdeploy job for this phase.
.google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig.Builder |
clearPredeploy()
public CustomCanaryDeployment.PhaseConfig.Builder clearPredeploy()
Optional. Configuration for the predeploy job of this phase. If this is not configured, there will be no predeploy job for this phase.
.google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig.Builder |
clearProfiles()
public CustomCanaryDeployment.PhaseConfig.Builder clearProfiles()
Skaffold profiles to use when rendering the manifest for this phase.
These are in addition to the profiles list specified in the
DeliveryPipeline
stage.
repeated string profiles = 3;
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig.Builder | This builder for chaining. |
clearVerify()
public CustomCanaryDeployment.PhaseConfig.Builder clearVerify()
Whether to run verify tests after the deployment.
bool verify = 4;
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig.Builder | This builder for chaining. |
clone()
public CustomCanaryDeployment.PhaseConfig.Builder clone()
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig.Builder |
getDefaultInstanceForType()
public CustomCanaryDeployment.PhaseConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPercentage()
public int getPercentage()
Required. Percentage deployment for the phase.
int32 percentage = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int | The percentage. |
getPhaseId()
public String getPhaseId()
Required. The ID to assign to the Rollout
phase.
This value must consist of lower-case letters, numbers, and hyphens,
start with a letter and end with a letter or a number, and have a max
length of 63 characters. In other words, it must match the following
regex: ^a-z?$
.
string phase_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String | The phaseId. |
getPhaseIdBytes()
public ByteString getPhaseIdBytes()
Required. The ID to assign to the Rollout
phase.
This value must consist of lower-case letters, numbers, and hyphens,
start with a letter and end with a letter or a number, and have a max
length of 63 characters. In other words, it must match the following
regex: ^a-z?$
.
string phase_id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for phaseId. |
getPostdeploy()
public Postdeploy getPostdeploy()
Optional. Configuration for the postdeploy job of this phase. If this is not configured, there will be no postdeploy job for this phase.
.google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Postdeploy | The postdeploy. |
getPostdeployBuilder()
public Postdeploy.Builder getPostdeployBuilder()
Optional. Configuration for the postdeploy job of this phase. If this is not configured, there will be no postdeploy job for this phase.
.google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Postdeploy.Builder |
getPostdeployOrBuilder()
public PostdeployOrBuilder getPostdeployOrBuilder()
Optional. Configuration for the postdeploy job of this phase. If this is not configured, there will be no postdeploy job for this phase.
.google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
PostdeployOrBuilder |
getPredeploy()
public Predeploy getPredeploy()
Optional. Configuration for the predeploy job of this phase. If this is not configured, there will be no predeploy job for this phase.
.google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Predeploy | The predeploy. |
getPredeployBuilder()
public Predeploy.Builder getPredeployBuilder()
Optional. Configuration for the predeploy job of this phase. If this is not configured, there will be no predeploy job for this phase.
.google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Predeploy.Builder |
getPredeployOrBuilder()
public PredeployOrBuilder getPredeployOrBuilder()
Optional. Configuration for the predeploy job of this phase. If this is not configured, there will be no predeploy job for this phase.
.google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
PredeployOrBuilder |
getProfiles(int index)
public String getProfiles(int index)
Skaffold profiles to use when rendering the manifest for this phase.
These are in addition to the profiles list specified in the
DeliveryPipeline
stage.
repeated string profiles = 3;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The profiles at the given index. |
getProfilesBytes(int index)
public ByteString getProfilesBytes(int index)
Skaffold profiles to use when rendering the manifest for this phase.
These are in addition to the profiles list specified in the
DeliveryPipeline
stage.
repeated string profiles = 3;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the profiles at the given index. |
getProfilesCount()
public int getProfilesCount()
Skaffold profiles to use when rendering the manifest for this phase.
These are in addition to the profiles list specified in the
DeliveryPipeline
stage.
repeated string profiles = 3;
Returns | |
---|---|
Type | Description |
int | The count of profiles. |
getProfilesList()
public ProtocolStringList getProfilesList()
Skaffold profiles to use when rendering the manifest for this phase.
These are in addition to the profiles list specified in the
DeliveryPipeline
stage.
repeated string profiles = 3;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the profiles. |
getVerify()
public boolean getVerify()
Whether to run verify tests after the deployment.
bool verify = 4;
Returns | |
---|---|
Type | Description |
boolean | The verify. |
hasPostdeploy()
public boolean hasPostdeploy()
Optional. Configuration for the postdeploy job of this phase. If this is not configured, there will be no postdeploy job for this phase.
.google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the postdeploy field is set. |
hasPredeploy()
public boolean hasPredeploy()
Optional. Configuration for the predeploy job of this phase. If this is not configured, there will be no predeploy job for this phase.
.google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the predeploy field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CustomCanaryDeployment.PhaseConfig other)
public CustomCanaryDeployment.PhaseConfig.Builder mergeFrom(CustomCanaryDeployment.PhaseConfig other)
Parameter | |
---|---|
Name | Description |
other | CustomCanaryDeployment.PhaseConfig |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CustomCanaryDeployment.PhaseConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CustomCanaryDeployment.PhaseConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig.Builder |
mergePostdeploy(Postdeploy value)
public CustomCanaryDeployment.PhaseConfig.Builder mergePostdeploy(Postdeploy value)
Optional. Configuration for the postdeploy job of this phase. If this is not configured, there will be no postdeploy job for this phase.
.google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | Postdeploy |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig.Builder |
mergePredeploy(Predeploy value)
public CustomCanaryDeployment.PhaseConfig.Builder mergePredeploy(Predeploy value)
Optional. Configuration for the predeploy job of this phase. If this is not configured, there will be no predeploy job for this phase.
.google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | Predeploy |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CustomCanaryDeployment.PhaseConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CustomCanaryDeployment.PhaseConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig.Builder |
setPercentage(int value)
public CustomCanaryDeployment.PhaseConfig.Builder setPercentage(int value)
Required. Percentage deployment for the phase.
int32 percentage = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | int The percentage to set. |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig.Builder | This builder for chaining. |
setPhaseId(String value)
public CustomCanaryDeployment.PhaseConfig.Builder setPhaseId(String value)
Required. The ID to assign to the Rollout
phase.
This value must consist of lower-case letters, numbers, and hyphens,
start with a letter and end with a letter or a number, and have a max
length of 63 characters. In other words, it must match the following
regex: ^a-z?$
.
string phase_id = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | String The phaseId to set. |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig.Builder | This builder for chaining. |
setPhaseIdBytes(ByteString value)
public CustomCanaryDeployment.PhaseConfig.Builder setPhaseIdBytes(ByteString value)
Required. The ID to assign to the Rollout
phase.
This value must consist of lower-case letters, numbers, and hyphens,
start with a letter and end with a letter or a number, and have a max
length of 63 characters. In other words, it must match the following
regex: ^a-z?$
.
string phase_id = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for phaseId to set. |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig.Builder | This builder for chaining. |
setPostdeploy(Postdeploy value)
public CustomCanaryDeployment.PhaseConfig.Builder setPostdeploy(Postdeploy value)
Optional. Configuration for the postdeploy job of this phase. If this is not configured, there will be no postdeploy job for this phase.
.google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | Postdeploy |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig.Builder |
setPostdeploy(Postdeploy.Builder builderForValue)
public CustomCanaryDeployment.PhaseConfig.Builder setPostdeploy(Postdeploy.Builder builderForValue)
Optional. Configuration for the postdeploy job of this phase. If this is not configured, there will be no postdeploy job for this phase.
.google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue | Postdeploy.Builder |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig.Builder |
setPredeploy(Predeploy value)
public CustomCanaryDeployment.PhaseConfig.Builder setPredeploy(Predeploy value)
Optional. Configuration for the predeploy job of this phase. If this is not configured, there will be no predeploy job for this phase.
.google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | Predeploy |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig.Builder |
setPredeploy(Predeploy.Builder builderForValue)
public CustomCanaryDeployment.PhaseConfig.Builder setPredeploy(Predeploy.Builder builderForValue)
Optional. Configuration for the predeploy job of this phase. If this is not configured, there will be no predeploy job for this phase.
.google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue | Predeploy.Builder |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig.Builder |
setProfiles(int index, String value)
public CustomCanaryDeployment.PhaseConfig.Builder setProfiles(int index, String value)
Skaffold profiles to use when rendering the manifest for this phase.
These are in addition to the profiles list specified in the
DeliveryPipeline
stage.
repeated string profiles = 3;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The profiles to set. |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CustomCanaryDeployment.PhaseConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CustomCanaryDeployment.PhaseConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig.Builder |
setVerify(boolean value)
public CustomCanaryDeployment.PhaseConfig.Builder setVerify(boolean value)
Whether to run verify tests after the deployment.
bool verify = 4;
Parameter | |
---|---|
Name | Description |
value | boolean The verify to set. |
Returns | |
---|---|
Type | Description |
CustomCanaryDeployment.PhaseConfig.Builder | This builder for chaining. |