Class AdvanceRolloutOperation.Builder (1.33.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AdvanceRolloutOperation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AdvanceRolloutOperation.Builder
Overrides

build()

public AdvanceRolloutOperation build()
Returns
TypeDescription
AdvanceRolloutOperation

buildPartial()

public AdvanceRolloutOperation buildPartial()
Returns
TypeDescription
AdvanceRolloutOperation

clear()

public AdvanceRolloutOperation.Builder clear()
Returns
TypeDescription
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
TypeDescription
AdvanceRolloutOperation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AdvanceRolloutOperation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AdvanceRolloutOperation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AdvanceRolloutOperation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AdvanceRolloutOperation.Builder

clone()

public AdvanceRolloutOperation.Builder clone()
Returns
TypeDescription
AdvanceRolloutOperation.Builder
Overrides

getDefaultInstanceForType()

public AdvanceRolloutOperation getDefaultInstanceForType()
Returns
TypeDescription
AdvanceRolloutOperation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the wait field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AdvanceRolloutOperation other)

public AdvanceRolloutOperation.Builder mergeFrom(AdvanceRolloutOperation other)
Parameter
NameDescription
otherAdvanceRolloutOperation
Returns
TypeDescription
AdvanceRolloutOperation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AdvanceRolloutOperation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AdvanceRolloutOperation.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AdvanceRolloutOperation.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AdvanceRolloutOperation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AdvanceRolloutOperation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
valueString

The destinationPhase to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for destinationPhase to set.

Returns
TypeDescription
AdvanceRolloutOperation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AdvanceRolloutOperation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AdvanceRolloutOperation.Builder
Overrides

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

public AdvanceRolloutOperation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The rollout to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for rollout to set.

Returns
TypeDescription
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
NameDescription
valueString

The sourcePhase to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for sourcePhase to set.

Returns
TypeDescription
AdvanceRolloutOperation.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AdvanceRolloutOperation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
AdvanceRolloutOperation.Builder