public static final class RollbackTargetConfig.Builder extends GeneratedMessage.Builder<RollbackTargetConfig.Builder> implements RollbackTargetConfigOrBuilderConfigs for the Rollback rollout.
Protobuf type google.cloud.deploy.v1.RollbackTargetConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RollbackTargetConfig.BuilderImplements
RollbackTargetConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RollbackTargetConfig build()| Returns | |
|---|---|
| Type | Description |
RollbackTargetConfig |
|
buildPartial()
public RollbackTargetConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
RollbackTargetConfig |
|
clear()
public RollbackTargetConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
RollbackTargetConfig.Builder |
|
clearRollout()
public RollbackTargetConfig.Builder clearRollout() Optional. The rollback Rollout to create.
.google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RollbackTargetConfig.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
RollbackTargetConfig.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public RollbackTargetConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RollbackTargetConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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];
| Returns | |
|---|---|
| Type | Description |
Rollout.Builder |
|
getRolloutOrBuilder()
public RolloutOrBuilder getRolloutOrBuilder() Optional. The rollback Rollout to create.
.google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RolloutOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RollbackTargetConfig other)
public RollbackTargetConfig.Builder mergeFrom(RollbackTargetConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
RollbackTargetConfig |
| Returns | |
|---|---|
| Type | Description |
RollbackTargetConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RollbackTargetConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RollbackTargetConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RollbackTargetConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RollbackTargetConfig.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
RollbackTargetConfig.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
RollbackTargetConfig.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Rollout.Builder |
| Returns | |
|---|---|
| Type | Description |
RollbackTargetConfig.Builder |
|
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 |
StringThe startingPhaseId to set. |
| Returns | |
|---|---|
| Type | Description |
RollbackTargetConfig.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for startingPhaseId to set. |
| Returns | |
|---|---|
| Type | Description |
RollbackTargetConfig.Builder |
This builder for chaining. |