Class CustomCanaryDeployment.Builder (1.42.0)

public static final class CustomCanaryDeployment.Builder extends GeneratedMessageV3.Builder<CustomCanaryDeployment.Builder> implements CustomCanaryDeploymentOrBuilder

CustomCanaryDeployment represents the custom canary deployment configuration.

Protobuf type google.cloud.deploy.v1.CustomCanaryDeployment

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllPhaseConfigs(Iterable<? extends CustomCanaryDeployment.PhaseConfig> values)

public CustomCanaryDeployment.Builder addAllPhaseConfigs(Iterable<? extends CustomCanaryDeployment.PhaseConfig> values)

Required. Configuration for each phase in the canary deployment in the order executed.

repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig>
Returns
Type Description
CustomCanaryDeployment.Builder

addPhaseConfigs(CustomCanaryDeployment.PhaseConfig value)

public CustomCanaryDeployment.Builder addPhaseConfigs(CustomCanaryDeployment.PhaseConfig value)

Required. Configuration for each phase in the canary deployment in the order executed.

repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CustomCanaryDeployment.PhaseConfig
Returns
Type Description
CustomCanaryDeployment.Builder

addPhaseConfigs(CustomCanaryDeployment.PhaseConfig.Builder builderForValue)

public CustomCanaryDeployment.Builder addPhaseConfigs(CustomCanaryDeployment.PhaseConfig.Builder builderForValue)

Required. Configuration for each phase in the canary deployment in the order executed.

repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue CustomCanaryDeployment.PhaseConfig.Builder
Returns
Type Description
CustomCanaryDeployment.Builder

addPhaseConfigs(int index, CustomCanaryDeployment.PhaseConfig value)

public CustomCanaryDeployment.Builder addPhaseConfigs(int index, CustomCanaryDeployment.PhaseConfig value)

Required. Configuration for each phase in the canary deployment in the order executed.

repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value CustomCanaryDeployment.PhaseConfig
Returns
Type Description
CustomCanaryDeployment.Builder

addPhaseConfigs(int index, CustomCanaryDeployment.PhaseConfig.Builder builderForValue)

public CustomCanaryDeployment.Builder addPhaseConfigs(int index, CustomCanaryDeployment.PhaseConfig.Builder builderForValue)

Required. Configuration for each phase in the canary deployment in the order executed.

repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue CustomCanaryDeployment.PhaseConfig.Builder
Returns
Type Description
CustomCanaryDeployment.Builder

addPhaseConfigsBuilder()

public CustomCanaryDeployment.PhaseConfig.Builder addPhaseConfigsBuilder()

Required. Configuration for each phase in the canary deployment in the order executed.

repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomCanaryDeployment.PhaseConfig.Builder

addPhaseConfigsBuilder(int index)

public CustomCanaryDeployment.PhaseConfig.Builder addPhaseConfigsBuilder(int index)

Required. Configuration for each phase in the canary deployment in the order executed.

repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CustomCanaryDeployment.PhaseConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CustomCanaryDeployment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CustomCanaryDeployment.Builder
Overrides

build()

public CustomCanaryDeployment build()
Returns
Type Description
CustomCanaryDeployment

buildPartial()

public CustomCanaryDeployment buildPartial()
Returns
Type Description
CustomCanaryDeployment

clear()

public CustomCanaryDeployment.Builder clear()
Returns
Type Description
CustomCanaryDeployment.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CustomCanaryDeployment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CustomCanaryDeployment.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CustomCanaryDeployment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CustomCanaryDeployment.Builder
Overrides

clearPhaseConfigs()

public CustomCanaryDeployment.Builder clearPhaseConfigs()

Required. Configuration for each phase in the canary deployment in the order executed.

repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomCanaryDeployment.Builder

clone()

public CustomCanaryDeployment.Builder clone()
Returns
Type Description
CustomCanaryDeployment.Builder
Overrides

getDefaultInstanceForType()

public CustomCanaryDeployment getDefaultInstanceForType()
Returns
Type Description
CustomCanaryDeployment

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPhaseConfigs(int index)

public CustomCanaryDeployment.PhaseConfig getPhaseConfigs(int index)

Required. Configuration for each phase in the canary deployment in the order executed.

repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CustomCanaryDeployment.PhaseConfig

getPhaseConfigsBuilder(int index)

public CustomCanaryDeployment.PhaseConfig.Builder getPhaseConfigsBuilder(int index)

Required. Configuration for each phase in the canary deployment in the order executed.

repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CustomCanaryDeployment.PhaseConfig.Builder

getPhaseConfigsBuilderList()

public List<CustomCanaryDeployment.PhaseConfig.Builder> getPhaseConfigsBuilderList()

Required. Configuration for each phase in the canary deployment in the order executed.

repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getPhaseConfigsCount()

public int getPhaseConfigsCount()

Required. Configuration for each phase in the canary deployment in the order executed.

repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getPhaseConfigsList()

public List<CustomCanaryDeployment.PhaseConfig> getPhaseConfigsList()

Required. Configuration for each phase in the canary deployment in the order executed.

repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<PhaseConfig>

getPhaseConfigsOrBuilder(int index)

public CustomCanaryDeployment.PhaseConfigOrBuilder getPhaseConfigsOrBuilder(int index)

Required. Configuration for each phase in the canary deployment in the order executed.

repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CustomCanaryDeployment.PhaseConfigOrBuilder

getPhaseConfigsOrBuilderList()

public List<? extends CustomCanaryDeployment.PhaseConfigOrBuilder> getPhaseConfigsOrBuilderList()

Required. Configuration for each phase in the canary deployment in the order executed.

repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfigOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CustomCanaryDeployment other)

public CustomCanaryDeployment.Builder mergeFrom(CustomCanaryDeployment other)
Parameter
Name Description
other CustomCanaryDeployment
Returns
Type Description
CustomCanaryDeployment.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CustomCanaryDeployment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomCanaryDeployment.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CustomCanaryDeployment.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CustomCanaryDeployment.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CustomCanaryDeployment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CustomCanaryDeployment.Builder
Overrides

removePhaseConfigs(int index)

public CustomCanaryDeployment.Builder removePhaseConfigs(int index)

Required. Configuration for each phase in the canary deployment in the order executed.

repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CustomCanaryDeployment.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CustomCanaryDeployment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CustomCanaryDeployment.Builder
Overrides

setPhaseConfigs(int index, CustomCanaryDeployment.PhaseConfig value)

public CustomCanaryDeployment.Builder setPhaseConfigs(int index, CustomCanaryDeployment.PhaseConfig value)

Required. Configuration for each phase in the canary deployment in the order executed.

repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value CustomCanaryDeployment.PhaseConfig
Returns
Type Description
CustomCanaryDeployment.Builder

setPhaseConfigs(int index, CustomCanaryDeployment.PhaseConfig.Builder builderForValue)

public CustomCanaryDeployment.Builder setPhaseConfigs(int index, CustomCanaryDeployment.PhaseConfig.Builder builderForValue)

Required. Configuration for each phase in the canary deployment in the order executed.

repeated .google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig phase_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue CustomCanaryDeployment.PhaseConfig.Builder
Returns
Type Description
CustomCanaryDeployment.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CustomCanaryDeployment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CustomCanaryDeployment.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CustomCanaryDeployment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CustomCanaryDeployment.Builder
Overrides