public static final class RollbackTargetConfig.Builder extends GeneratedMessageV3.Builder<RollbackTargetConfig.Builder> implements RollbackTargetConfigOrBuilder
Configs for the Rollback rollout.
Protobuf type google.cloud.deploy.v1.RollbackTargetConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 RollbackTargetConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RollbackTargetConfig build()
buildPartial()
public RollbackTargetConfig buildPartial()
clear()
public RollbackTargetConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public RollbackTargetConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RollbackTargetConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRollout()
public RollbackTargetConfig.Builder clearRollout()
Optional. The rollback Rollout
to create.
.google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL];
clearStartingPhaseId()
public RollbackTargetConfig.Builder clearStartingPhaseId()
Optional. The starting phase ID for the Rollout
. If unspecified, the
Rollout
will start in the stable phase.
string starting_phase_id = 2 [(.google.api.field_behavior) = OPTIONAL];
clone()
public RollbackTargetConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public RollbackTargetConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getRollout()
public Rollout getRollout()
Optional. The rollback Rollout
to create.
.google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
Rollout | The rollout.
|
getRolloutBuilder()
public Rollout.Builder getRolloutBuilder()
Optional. The rollback Rollout
to create.
.google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL];
getRolloutOrBuilder()
public RolloutOrBuilder getRolloutOrBuilder()
Optional. The rollback Rollout
to create.
.google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL];
getStartingPhaseId()
public String getStartingPhaseId()
Optional. The starting phase ID for the Rollout
. If unspecified, the
Rollout
will start in the stable phase.
string starting_phase_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
String | The startingPhaseId.
|
getStartingPhaseIdBytes()
public ByteString getStartingPhaseIdBytes()
Optional. The starting phase ID for the Rollout
. If unspecified, the
Rollout
will start in the stable phase.
string starting_phase_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
ByteString | The bytes for startingPhaseId.
|
hasRollout()
public boolean hasRollout()
Optional. The rollback Rollout
to create.
.google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
boolean | Whether the rollout field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RollbackTargetConfig other)
public RollbackTargetConfig.Builder mergeFrom(RollbackTargetConfig other)
public RollbackTargetConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RollbackTargetConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeRollout(Rollout value)
public RollbackTargetConfig.Builder mergeRollout(Rollout value)
Optional. The rollback Rollout
to create.
.google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
value | Rollout
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RollbackTargetConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RollbackTargetConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RollbackTargetConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRollout(Rollout value)
public RollbackTargetConfig.Builder setRollout(Rollout value)
Optional. The rollback Rollout
to create.
.google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
value | Rollout
|
setRollout(Rollout.Builder builderForValue)
public RollbackTargetConfig.Builder setRollout(Rollout.Builder builderForValue)
Optional. The rollback Rollout
to create.
.google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL];
setStartingPhaseId(String value)
public RollbackTargetConfig.Builder setStartingPhaseId(String value)
Optional. The starting phase ID for the Rollout
. If unspecified, the
Rollout
will start in the stable phase.
string starting_phase_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
value | String
The startingPhaseId to set.
|
setStartingPhaseIdBytes(ByteString value)
public RollbackTargetConfig.Builder setStartingPhaseIdBytes(ByteString value)
Optional. The starting phase ID for the Rollout
. If unspecified, the
Rollout
will start in the stable phase.
string starting_phase_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for startingPhaseId to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final RollbackTargetConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides