Class CustomCanaryDeployment.Builder (1.29.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfig>
Returns
TypeDescription
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
NameDescription
valueCustomCanaryDeployment.PhaseConfig
Returns
TypeDescription
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
NameDescription
builderForValueCustomCanaryDeployment.PhaseConfig.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueCustomCanaryDeployment.PhaseConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCustomCanaryDeployment.PhaseConfig.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
CustomCanaryDeployment.PhaseConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CustomCanaryDeployment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CustomCanaryDeployment.Builder
Overrides

build()

public CustomCanaryDeployment build()
Returns
TypeDescription
CustomCanaryDeployment

buildPartial()

public CustomCanaryDeployment buildPartial()
Returns
TypeDescription
CustomCanaryDeployment

clear()

public CustomCanaryDeployment.Builder clear()
Returns
TypeDescription
CustomCanaryDeployment.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CustomCanaryDeployment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CustomCanaryDeployment.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CustomCanaryDeployment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CustomCanaryDeployment.Builder

clone()

public CustomCanaryDeployment.Builder clone()
Returns
TypeDescription
CustomCanaryDeployment.Builder
Overrides

getDefaultInstanceForType()

public CustomCanaryDeployment getDefaultInstanceForType()
Returns
TypeDescription
CustomCanaryDeployment

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.deploy.v1.CustomCanaryDeployment.PhaseConfigOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CustomCanaryDeployment other)

public CustomCanaryDeployment.Builder mergeFrom(CustomCanaryDeployment other)
Parameter
NameDescription
otherCustomCanaryDeployment
Returns
TypeDescription
CustomCanaryDeployment.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CustomCanaryDeployment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomCanaryDeployment.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CustomCanaryDeployment.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CustomCanaryDeployment.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CustomCanaryDeployment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
CustomCanaryDeployment.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CustomCanaryDeployment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueCustomCanaryDeployment.PhaseConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCustomCanaryDeployment.PhaseConfig.Builder
Returns
TypeDescription
CustomCanaryDeployment.Builder

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

public CustomCanaryDeployment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CustomCanaryDeployment.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CustomCanaryDeployment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CustomCanaryDeployment.Builder
Overrides