public static final class CustomCanaryDeployment.Builder extends GeneratedMessage.Builder<CustomCanaryDeployment.Builder> implements CustomCanaryDeploymentOrBuilder
CustomCanaryDeployment represents the custom canary deployment
configuration.
Protobuf type google.cloud.deploy.v1.CustomCanaryDeployment
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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];
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];
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];
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];
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];
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
|
build()
public CustomCanaryDeployment build()
buildPartial()
public CustomCanaryDeployment buildPartial()
clear()
public CustomCanaryDeployment.Builder clear()
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];
getDefaultInstanceForType()
public CustomCanaryDeployment getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
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];
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];
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
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CustomCanaryDeployment other)
public CustomCanaryDeployment.Builder mergeFrom(CustomCanaryDeployment other)
public CustomCanaryDeployment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CustomCanaryDeployment.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
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
|
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];
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];