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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CustomCanaryDeployment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CustomCanaryDeployment build()
buildPartial()
public CustomCanaryDeployment buildPartial()
clear()
public CustomCanaryDeployment.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CustomCanaryDeployment.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CustomCanaryDeployment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public CustomCanaryDeployment.Builder clone()
Overrides
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 GeneratedMessageV3.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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CustomCanaryDeployment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public CustomCanaryDeployment.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CustomCanaryDeployment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CustomCanaryDeployment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides