public static final class AdvanceRolloutOperation.Builder extends GeneratedMessage.Builder<AdvanceRolloutOperation.Builder> implements AdvanceRolloutOperationOrBuilderContains the information of an automated advance-rollout operation.
Protobuf type google.cloud.deploy.v1.AdvanceRolloutOperation
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AdvanceRolloutOperation.BuilderImplements
AdvanceRolloutOperationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AdvanceRolloutOperation build()| Returns | |
|---|---|
| Type | Description |
AdvanceRolloutOperation |
|
buildPartial()
public AdvanceRolloutOperation buildPartial()| Returns | |
|---|---|
| Type | Description |
AdvanceRolloutOperation |
|
clear()
public AdvanceRolloutOperation.Builder clear()| Returns | |
|---|---|
| Type | Description |
AdvanceRolloutOperation.Builder |
|
clearDestinationPhase()
public AdvanceRolloutOperation.Builder clearDestinationPhase()Output only. The phase the rollout will be advanced to.
string destination_phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AdvanceRolloutOperation.Builder |
This builder for chaining. |
clearRollout()
public AdvanceRolloutOperation.Builder clearRollout() Output only. The name of the rollout that initiates the AutomationRun.
string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AdvanceRolloutOperation.Builder |
This builder for chaining. |
clearSourcePhase()
public AdvanceRolloutOperation.Builder clearSourcePhase()Output only. The phase of a deployment that initiated the operation.
string source_phase = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AdvanceRolloutOperation.Builder |
This builder for chaining. |
clearWait()
public AdvanceRolloutOperation.Builder clearWait()Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AdvanceRolloutOperation.Builder |
|
getDefaultInstanceForType()
public AdvanceRolloutOperation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AdvanceRolloutOperation |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDestinationPhase()
public String getDestinationPhase()Output only. The phase the rollout will be advanced to.
string destination_phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The destinationPhase. |
getDestinationPhaseBytes()
public ByteString getDestinationPhaseBytes()Output only. The phase the rollout will be advanced to.
string destination_phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for destinationPhase. |
getRollout()
public String getRollout() Output only. The name of the rollout that initiates the AutomationRun.
string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The rollout. |
getRolloutBytes()
public ByteString getRolloutBytes() Output only. The name of the rollout that initiates the AutomationRun.
string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for rollout. |
getSourcePhase()
public String getSourcePhase()Output only. The phase of a deployment that initiated the operation.
string source_phase = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The sourcePhase. |
getSourcePhaseBytes()
public ByteString getSourcePhaseBytes()Output only. The phase of a deployment that initiated the operation.
string source_phase = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sourcePhase. |
getWait()
public Duration getWait()Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Duration |
The wait. |
getWaitBuilder()
public Duration.Builder getWaitBuilder()Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getWaitOrBuilder()
public DurationOrBuilder getWaitOrBuilder()Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
hasWait()
public boolean hasWait()Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the wait field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AdvanceRolloutOperation other)
public AdvanceRolloutOperation.Builder mergeFrom(AdvanceRolloutOperation other)| Parameter | |
|---|---|
| Name | Description |
other |
AdvanceRolloutOperation |
| Returns | |
|---|---|
| Type | Description |
AdvanceRolloutOperation.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AdvanceRolloutOperation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AdvanceRolloutOperation.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AdvanceRolloutOperation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AdvanceRolloutOperation.Builder |
|
mergeWait(Duration value)
public AdvanceRolloutOperation.Builder mergeWait(Duration value)Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
AdvanceRolloutOperation.Builder |
|
setDestinationPhase(String value)
public AdvanceRolloutOperation.Builder setDestinationPhase(String value)Output only. The phase the rollout will be advanced to.
string destination_phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe destinationPhase to set. |
| Returns | |
|---|---|
| Type | Description |
AdvanceRolloutOperation.Builder |
This builder for chaining. |
setDestinationPhaseBytes(ByteString value)
public AdvanceRolloutOperation.Builder setDestinationPhaseBytes(ByteString value)Output only. The phase the rollout will be advanced to.
string destination_phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for destinationPhase to set. |
| Returns | |
|---|---|
| Type | Description |
AdvanceRolloutOperation.Builder |
This builder for chaining. |
setRollout(String value)
public AdvanceRolloutOperation.Builder setRollout(String value) Output only. The name of the rollout that initiates the AutomationRun.
string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe rollout to set. |
| Returns | |
|---|---|
| Type | Description |
AdvanceRolloutOperation.Builder |
This builder for chaining. |
setRolloutBytes(ByteString value)
public AdvanceRolloutOperation.Builder setRolloutBytes(ByteString value) Output only. The name of the rollout that initiates the AutomationRun.
string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for rollout to set. |
| Returns | |
|---|---|
| Type | Description |
AdvanceRolloutOperation.Builder |
This builder for chaining. |
setSourcePhase(String value)
public AdvanceRolloutOperation.Builder setSourcePhase(String value)Output only. The phase of a deployment that initiated the operation.
string source_phase = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sourcePhase to set. |
| Returns | |
|---|---|
| Type | Description |
AdvanceRolloutOperation.Builder |
This builder for chaining. |
setSourcePhaseBytes(ByteString value)
public AdvanceRolloutOperation.Builder setSourcePhaseBytes(ByteString value)Output only. The phase of a deployment that initiated the operation.
string source_phase = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sourcePhase to set. |
| Returns | |
|---|---|
| Type | Description |
AdvanceRolloutOperation.Builder |
This builder for chaining. |
setWait(Duration value)
public AdvanceRolloutOperation.Builder setWait(Duration value)Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
AdvanceRolloutOperation.Builder |
|
setWait(Duration.Builder builderForValue)
public AdvanceRolloutOperation.Builder setWait(Duration.Builder builderForValue)Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
AdvanceRolloutOperation.Builder |
|