public static final class RepairPhaseConfig.Builder extends GeneratedMessageV3.Builder<RepairPhaseConfig.Builder> implements RepairPhaseConfigOrBuilder
Configuration of the repair phase.
Protobuf type google.cloud.deploy.v1.RepairPhaseConfig
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RepairPhaseConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RepairPhaseConfig build()
buildPartial()
public RepairPhaseConfig buildPartial()
clear()
public RepairPhaseConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public RepairPhaseConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RepairPhaseConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRepairPhase()
public RepairPhaseConfig.Builder clearRepairPhase()
clearRetry()
public RepairPhaseConfig.Builder clearRetry()
Optional. Retries a failed job.
.google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL];
clearRollback()
public RepairPhaseConfig.Builder clearRollback()
Optional. Rolls back a Rollout
.
.google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL];
clone()
public RepairPhaseConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public RepairPhaseConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getRepairPhaseCase()
public RepairPhaseConfig.RepairPhaseCase getRepairPhaseCase()
getRetry()
Optional. Retries a failed job.
.google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
Retry |
The retry.
|
getRetryBuilder()
public Retry.Builder getRetryBuilder()
Optional. Retries a failed job.
.google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL];
getRetryOrBuilder()
public RetryOrBuilder getRetryOrBuilder()
Optional. Retries a failed job.
.google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL];
getRollback()
public Rollback getRollback()
Optional. Rolls back a Rollout
.
.google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
Rollback |
The rollback.
|
getRollbackBuilder()
public Rollback.Builder getRollbackBuilder()
Optional. Rolls back a Rollout
.
.google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL];
getRollbackOrBuilder()
public RollbackOrBuilder getRollbackOrBuilder()
Optional. Rolls back a Rollout
.
.google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL];
hasRetry()
public boolean hasRetry()
Optional. Retries a failed job.
.google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the retry field is set.
|
hasRollback()
public boolean hasRollback()
Optional. Rolls back a Rollout
.
.google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the rollback field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RepairPhaseConfig other)
public RepairPhaseConfig.Builder mergeFrom(RepairPhaseConfig other)
public RepairPhaseConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RepairPhaseConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeRetry(Retry value)
public RepairPhaseConfig.Builder mergeRetry(Retry value)
Optional. Retries a failed job.
.google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
Retry
|
mergeRollback(Rollback value)
public RepairPhaseConfig.Builder mergeRollback(Rollback value)
Optional. Rolls back a Rollout
.
.google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
Rollback
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RepairPhaseConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RepairPhaseConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RepairPhaseConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRetry(Retry value)
public RepairPhaseConfig.Builder setRetry(Retry value)
Optional. Retries a failed job.
.google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
Retry
|
setRetry(Retry.Builder builderForValue)
public RepairPhaseConfig.Builder setRetry(Retry.Builder builderForValue)
Optional. Retries a failed job.
.google.cloud.deploy.v1.Retry retry = 1 [(.google.api.field_behavior) = OPTIONAL];
setRollback(Rollback value)
public RepairPhaseConfig.Builder setRollback(Rollback value)
Optional. Rolls back a Rollout
.
.google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
Rollback
|
setRollback(Rollback.Builder builderForValue)
public RepairPhaseConfig.Builder setRollback(Rollback.Builder builderForValue)
Optional. Rolls back a Rollout
.
.google.cloud.deploy.v1.Rollback rollback = 2 [(.google.api.field_behavior) = OPTIONAL];
setUnknownFields(UnknownFieldSet unknownFields)
public final RepairPhaseConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides