Class AdvanceRolloutOperation.Builder (1.53.0)

public static final class AdvanceRolloutOperation.Builder extends GeneratedMessageV3.Builder<AdvanceRolloutOperation.Builder> implements AdvanceRolloutOperationOrBuilder

Contains the information of an automated advance-rollout operation.

Protobuf type google.cloud.deploy.v1.AdvanceRolloutOperation

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AdvanceRolloutOperation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AdvanceRolloutOperation.Builder
Overrides

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
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public AdvanceRolloutOperation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AdvanceRolloutOperation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AdvanceRolloutOperation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AdvanceRolloutOperation.Builder
Overrides

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

clone()

public AdvanceRolloutOperation.Builder clone()
Returns
Type Description
AdvanceRolloutOperation.Builder
Overrides

getDefaultInstanceForType()

public AdvanceRolloutOperation getDefaultInstanceForType()
Returns
Type Description
AdvanceRolloutOperation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AdvanceRolloutOperation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AdvanceRolloutOperation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AdvanceRolloutOperation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AdvanceRolloutOperation.Builder
Overrides

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 String

The 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 ByteString

The bytes for destinationPhase to set.

Returns
Type Description
AdvanceRolloutOperation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AdvanceRolloutOperation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AdvanceRolloutOperation.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AdvanceRolloutOperation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AdvanceRolloutOperation.Builder
Overrides

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 String

The 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 ByteString

The 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 String

The 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 ByteString

The bytes for sourcePhase to set.

Returns
Type Description
AdvanceRolloutOperation.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AdvanceRolloutOperation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AdvanceRolloutOperation.Builder
Overrides

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