Class Rollout.Builder (1.105.0)

public static final class Rollout.Builder extends GeneratedMessage.Builder<Rollout.Builder> implements RolloutOrBuilder

Rollout resource.

A Rollout is a specific instance of a RolloutPlan. It represents a single execution of a strategy to roll out a specific resource. It also provides APIs to interact with the rollout.

Protobuf type google.cloud.compute.v1.Rollout

Implements

RolloutOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllWaveDetails(Iterable<? extends RolloutWaveDetails> values)

public Rollout.Builder addAllWaveDetails(Iterable<? extends RolloutWaveDetails> values)

Output only. Details about each wave of the rollout.

repeated .google.cloud.compute.v1.RolloutWaveDetails wave_details = 8266492;

Parameter
Name Description
values Iterable<? extends com.google.cloud.compute.v1.RolloutWaveDetails>
Returns
Type Description
Rollout.Builder

addWaveDetails(RolloutWaveDetails value)

public Rollout.Builder addWaveDetails(RolloutWaveDetails value)

Output only. Details about each wave of the rollout.

repeated .google.cloud.compute.v1.RolloutWaveDetails wave_details = 8266492;

Parameter
Name Description
value RolloutWaveDetails
Returns
Type Description
Rollout.Builder

addWaveDetails(RolloutWaveDetails.Builder builderForValue)

public Rollout.Builder addWaveDetails(RolloutWaveDetails.Builder builderForValue)

Output only. Details about each wave of the rollout.

repeated .google.cloud.compute.v1.RolloutWaveDetails wave_details = 8266492;

Parameter
Name Description
builderForValue RolloutWaveDetails.Builder
Returns
Type Description
Rollout.Builder

addWaveDetails(int index, RolloutWaveDetails value)

public Rollout.Builder addWaveDetails(int index, RolloutWaveDetails value)

Output only. Details about each wave of the rollout.

repeated .google.cloud.compute.v1.RolloutWaveDetails wave_details = 8266492;

Parameters
Name Description
index int
value RolloutWaveDetails
Returns
Type Description
Rollout.Builder

addWaveDetails(int index, RolloutWaveDetails.Builder builderForValue)

public Rollout.Builder addWaveDetails(int index, RolloutWaveDetails.Builder builderForValue)

Output only. Details about each wave of the rollout.

repeated .google.cloud.compute.v1.RolloutWaveDetails wave_details = 8266492;

Parameters
Name Description
index int
builderForValue RolloutWaveDetails.Builder
Returns
Type Description
Rollout.Builder

addWaveDetailsBuilder()

public RolloutWaveDetails.Builder addWaveDetailsBuilder()

Output only. Details about each wave of the rollout.

repeated .google.cloud.compute.v1.RolloutWaveDetails wave_details = 8266492;

Returns
Type Description
RolloutWaveDetails.Builder

addWaveDetailsBuilder(int index)

public RolloutWaveDetails.Builder addWaveDetailsBuilder(int index)

Output only. Details about each wave of the rollout.

repeated .google.cloud.compute.v1.RolloutWaveDetails wave_details = 8266492;

Parameter
Name Description
index int
Returns
Type Description
RolloutWaveDetails.Builder

build()

public Rollout build()
Returns
Type Description
Rollout

buildPartial()

public Rollout buildPartial()
Returns
Type Description
Rollout

clear()

public Rollout.Builder clear()
Returns
Type Description
Rollout.Builder
Overrides

clearCancellationTime()

public Rollout.Builder clearCancellationTime()

Output only. The timestamp at which the Rollout was cancelled.

optional string cancellation_time = 323792009;

Returns
Type Description
Rollout.Builder

This builder for chaining.

clearCompletionTime()

public Rollout.Builder clearCompletionTime()

Output only. The timestamp at which the Rollout was completed.

optional string completion_time = 122892624;

Returns
Type Description
Rollout.Builder

This builder for chaining.

clearCreationTimestamp()

public Rollout.Builder clearCreationTimestamp()

Output only. [Output Only] Creation timestamp inRFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
Rollout.Builder

This builder for chaining.

clearCurrentWaveNumber()

public Rollout.Builder clearCurrentWaveNumber()

Output only. The number of the currently running wave. Ex. 1

optional int64 current_wave_number = 178280841;

Returns
Type Description
Rollout.Builder

This builder for chaining.

clearDescription()

public Rollout.Builder clearDescription()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
Type Description
Rollout.Builder

This builder for chaining.

clearEtag()

public Rollout.Builder clearEtag()

Output only. etag of the Rollout Ex. abc1234

optional string etag = 3123477;

Returns
Type Description
Rollout.Builder

This builder for chaining.

clearId()

public Rollout.Builder clearId()

Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.

optional uint64 id = 3355;

Returns
Type Description
Rollout.Builder

This builder for chaining.

clearKind()

public Rollout.Builder clearKind()

Output only. [Output Only] Type of the resource. Always compute#rollout for rollouts.

optional string kind = 3292052;

Returns
Type Description
Rollout.Builder

This builder for chaining.

clearName()

public Rollout.Builder clearName()

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
Type Description
Rollout.Builder

This builder for chaining.

clearPauseTime()

public Rollout.Builder clearPauseTime()

Output only. The timestamp at which the Rollout was paused.

optional string pause_time = 489697142;

Returns
Type Description
Rollout.Builder

This builder for chaining.

clearResumeTime()

public Rollout.Builder clearResumeTime()

Output only. The timestamp at which the Rollout was resumed.

optional string resume_time = 457856927;

Returns
Type Description
Rollout.Builder

This builder for chaining.

clearRolloutEntity()

public Rollout.Builder clearRolloutEntity()

Required. The resource being rolled out.

optional .google.cloud.compute.v1.RolloutRolloutEntity rollout_entity = 70633009;

Returns
Type Description
Rollout.Builder

clearRolloutPlan()

public Rollout.Builder clearRolloutPlan()

Required. Rollout Plan used to model the Rollout. Ex. compute.googleapis.com/v1/projects/1234/rolloutPlans/rp1

optional string rollout_plan = 459057399;

Returns
Type Description
Rollout.Builder

This builder for chaining.

public Rollout.Builder clearSelfLink()

Output only. [Output Only] Server-defined fully-qualified URL for this resource.

optional string self_link = 456214797;

Returns
Type Description
Rollout.Builder

This builder for chaining.

clearSelfLinkWithId()

public Rollout.Builder clearSelfLinkWithId()

Output only. [Output Only] Server-defined URL for this resource's resource id.

optional string self_link_with_id = 44520962;

Returns
Type Description
Rollout.Builder

This builder for chaining.

clearState()

public Rollout.Builder clearState()

Output only. The current state of the Rollout. Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
Type Description
Rollout.Builder

This builder for chaining.

clearWaveDetails()

public Rollout.Builder clearWaveDetails()

Output only. Details about each wave of the rollout.

repeated .google.cloud.compute.v1.RolloutWaveDetails wave_details = 8266492;

Returns
Type Description
Rollout.Builder

getCancellationTime()

public String getCancellationTime()

Output only. The timestamp at which the Rollout was cancelled.

optional string cancellation_time = 323792009;

Returns
Type Description
String

The cancellationTime.

getCancellationTimeBytes()

public ByteString getCancellationTimeBytes()

Output only. The timestamp at which the Rollout was cancelled.

optional string cancellation_time = 323792009;

Returns
Type Description
ByteString

The bytes for cancellationTime.

getCompletionTime()

public String getCompletionTime()

Output only. The timestamp at which the Rollout was completed.

optional string completion_time = 122892624;

Returns
Type Description
String

The completionTime.

getCompletionTimeBytes()

public ByteString getCompletionTimeBytes()

Output only. The timestamp at which the Rollout was completed.

optional string completion_time = 122892624;

Returns
Type Description
ByteString

The bytes for completionTime.

getCreationTimestamp()

public String getCreationTimestamp()

Output only. [Output Only] Creation timestamp inRFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
String

The creationTimestamp.

getCreationTimestampBytes()

public ByteString getCreationTimestampBytes()

Output only. [Output Only] Creation timestamp inRFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
ByteString

The bytes for creationTimestamp.

getCurrentWaveNumber()

public long getCurrentWaveNumber()

Output only. The number of the currently running wave. Ex. 1

optional int64 current_wave_number = 178280841;

Returns
Type Description
long

The currentWaveNumber.

getDefaultInstanceForType()

public Rollout getDefaultInstanceForType()
Returns
Type Description
Rollout

getDescription()

public String getDescription()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getEtag()

public String getEtag()

Output only. etag of the Rollout Ex. abc1234

optional string etag = 3123477;

Returns
Type Description
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

Output only. etag of the Rollout Ex. abc1234

optional string etag = 3123477;

Returns
Type Description
ByteString

The bytes for etag.

getId()

public long getId()

Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.

optional uint64 id = 3355;

Returns
Type Description
long

The id.

getKind()

public String getKind()

Output only. [Output Only] Type of the resource. Always compute#rollout for rollouts.

optional string kind = 3292052;

Returns
Type Description
String

The kind.

getKindBytes()

public ByteString getKindBytes()

Output only. [Output Only] Type of the resource. Always compute#rollout for rollouts.

optional string kind = 3292052;

Returns
Type Description
ByteString

The bytes for kind.

getName()

public String getName()

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
Type Description
ByteString

The bytes for name.

getPauseTime()

public String getPauseTime()

Output only. The timestamp at which the Rollout was paused.

optional string pause_time = 489697142;

Returns
Type Description
String

The pauseTime.

getPauseTimeBytes()

public ByteString getPauseTimeBytes()

Output only. The timestamp at which the Rollout was paused.

optional string pause_time = 489697142;

Returns
Type Description
ByteString

The bytes for pauseTime.

getResumeTime()

public String getResumeTime()

Output only. The timestamp at which the Rollout was resumed.

optional string resume_time = 457856927;

Returns
Type Description
String

The resumeTime.

getResumeTimeBytes()

public ByteString getResumeTimeBytes()

Output only. The timestamp at which the Rollout was resumed.

optional string resume_time = 457856927;

Returns
Type Description
ByteString

The bytes for resumeTime.

getRolloutEntity()

public RolloutRolloutEntity getRolloutEntity()

Required. The resource being rolled out.

optional .google.cloud.compute.v1.RolloutRolloutEntity rollout_entity = 70633009;

Returns
Type Description
RolloutRolloutEntity

The rolloutEntity.

getRolloutEntityBuilder()

public RolloutRolloutEntity.Builder getRolloutEntityBuilder()

Required. The resource being rolled out.

optional .google.cloud.compute.v1.RolloutRolloutEntity rollout_entity = 70633009;

Returns
Type Description
RolloutRolloutEntity.Builder

getRolloutEntityOrBuilder()

public RolloutRolloutEntityOrBuilder getRolloutEntityOrBuilder()

Required. The resource being rolled out.

optional .google.cloud.compute.v1.RolloutRolloutEntity rollout_entity = 70633009;

Returns
Type Description
RolloutRolloutEntityOrBuilder

getRolloutPlan()

public String getRolloutPlan()

Required. Rollout Plan used to model the Rollout. Ex. compute.googleapis.com/v1/projects/1234/rolloutPlans/rp1

optional string rollout_plan = 459057399;

Returns
Type Description
String

The rolloutPlan.

getRolloutPlanBytes()

public ByteString getRolloutPlanBytes()

Required. Rollout Plan used to model the Rollout. Ex. compute.googleapis.com/v1/projects/1234/rolloutPlans/rp1

optional string rollout_plan = 459057399;

Returns
Type Description
ByteString

The bytes for rolloutPlan.

public String getSelfLink()

Output only. [Output Only] Server-defined fully-qualified URL for this resource.

optional string self_link = 456214797;

Returns
Type Description
String

The selfLink.

getSelfLinkBytes()

public ByteString getSelfLinkBytes()

Output only. [Output Only] Server-defined fully-qualified URL for this resource.

optional string self_link = 456214797;

Returns
Type Description
ByteString

The bytes for selfLink.

getSelfLinkWithId()

public String getSelfLinkWithId()

Output only. [Output Only] Server-defined URL for this resource's resource id.

optional string self_link_with_id = 44520962;

Returns
Type Description
String

The selfLinkWithId.

getSelfLinkWithIdBytes()

public ByteString getSelfLinkWithIdBytes()

Output only. [Output Only] Server-defined URL for this resource's resource id.

optional string self_link_with_id = 44520962;

Returns
Type Description
ByteString

The bytes for selfLinkWithId.

getState()

public String getState()

Output only. The current state of the Rollout. Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
Type Description
String

The state.

getStateBytes()

public ByteString getStateBytes()

Output only. The current state of the Rollout. Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
Type Description
ByteString

The bytes for state.

getWaveDetails(int index)

public RolloutWaveDetails getWaveDetails(int index)

Output only. Details about each wave of the rollout.

repeated .google.cloud.compute.v1.RolloutWaveDetails wave_details = 8266492;

Parameter
Name Description
index int
Returns
Type Description
RolloutWaveDetails

getWaveDetailsBuilder(int index)

public RolloutWaveDetails.Builder getWaveDetailsBuilder(int index)

Output only. Details about each wave of the rollout.

repeated .google.cloud.compute.v1.RolloutWaveDetails wave_details = 8266492;

Parameter
Name Description
index int
Returns
Type Description
RolloutWaveDetails.Builder

getWaveDetailsBuilderList()

public List<RolloutWaveDetails.Builder> getWaveDetailsBuilderList()

Output only. Details about each wave of the rollout.

repeated .google.cloud.compute.v1.RolloutWaveDetails wave_details = 8266492;

Returns
Type Description
List<Builder>

getWaveDetailsCount()

public int getWaveDetailsCount()

Output only. Details about each wave of the rollout.

repeated .google.cloud.compute.v1.RolloutWaveDetails wave_details = 8266492;

Returns
Type Description
int

getWaveDetailsList()

public List<RolloutWaveDetails> getWaveDetailsList()

Output only. Details about each wave of the rollout.

repeated .google.cloud.compute.v1.RolloutWaveDetails wave_details = 8266492;

Returns
Type Description
List<RolloutWaveDetails>

getWaveDetailsOrBuilder(int index)

public RolloutWaveDetailsOrBuilder getWaveDetailsOrBuilder(int index)

Output only. Details about each wave of the rollout.

repeated .google.cloud.compute.v1.RolloutWaveDetails wave_details = 8266492;

Parameter
Name Description
index int
Returns
Type Description
RolloutWaveDetailsOrBuilder

getWaveDetailsOrBuilderList()

public List<? extends RolloutWaveDetailsOrBuilder> getWaveDetailsOrBuilderList()

Output only. Details about each wave of the rollout.

repeated .google.cloud.compute.v1.RolloutWaveDetails wave_details = 8266492;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.RolloutWaveDetailsOrBuilder>

hasCancellationTime()

public boolean hasCancellationTime()

Output only. The timestamp at which the Rollout was cancelled.

optional string cancellation_time = 323792009;

Returns
Type Description
boolean

Whether the cancellationTime field is set.

hasCompletionTime()

public boolean hasCompletionTime()

Output only. The timestamp at which the Rollout was completed.

optional string completion_time = 122892624;

Returns
Type Description
boolean

Whether the completionTime field is set.

hasCreationTimestamp()

public boolean hasCreationTimestamp()

Output only. [Output Only] Creation timestamp inRFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
boolean

Whether the creationTimestamp field is set.

hasCurrentWaveNumber()

public boolean hasCurrentWaveNumber()

Output only. The number of the currently running wave. Ex. 1

optional int64 current_wave_number = 178280841;

Returns
Type Description
boolean

Whether the currentWaveNumber field is set.

hasDescription()

public boolean hasDescription()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
Type Description
boolean

Whether the description field is set.

hasEtag()

public boolean hasEtag()

Output only. etag of the Rollout Ex. abc1234

optional string etag = 3123477;

Returns
Type Description
boolean

Whether the etag field is set.

hasId()

public boolean hasId()

Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.

optional uint64 id = 3355;

Returns
Type Description
boolean

Whether the id field is set.

hasKind()

public boolean hasKind()

Output only. [Output Only] Type of the resource. Always compute#rollout for rollouts.

optional string kind = 3292052;

Returns
Type Description
boolean

Whether the kind field is set.

hasName()

public boolean hasName()

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
Type Description
boolean

Whether the name field is set.

hasPauseTime()

public boolean hasPauseTime()

Output only. The timestamp at which the Rollout was paused.

optional string pause_time = 489697142;

Returns
Type Description
boolean

Whether the pauseTime field is set.

hasResumeTime()

public boolean hasResumeTime()

Output only. The timestamp at which the Rollout was resumed.

optional string resume_time = 457856927;

Returns
Type Description
boolean

Whether the resumeTime field is set.

hasRolloutEntity()

public boolean hasRolloutEntity()

Required. The resource being rolled out.

optional .google.cloud.compute.v1.RolloutRolloutEntity rollout_entity = 70633009;

Returns
Type Description
boolean

Whether the rolloutEntity field is set.

hasRolloutPlan()

public boolean hasRolloutPlan()

Required. Rollout Plan used to model the Rollout. Ex. compute.googleapis.com/v1/projects/1234/rolloutPlans/rp1

optional string rollout_plan = 459057399;

Returns
Type Description
boolean

Whether the rolloutPlan field is set.

public boolean hasSelfLink()

Output only. [Output Only] Server-defined fully-qualified URL for this resource.

optional string self_link = 456214797;

Returns
Type Description
boolean

Whether the selfLink field is set.

hasSelfLinkWithId()

public boolean hasSelfLinkWithId()

Output only. [Output Only] Server-defined URL for this resource's resource id.

optional string self_link_with_id = 44520962;

Returns
Type Description
boolean

Whether the selfLinkWithId field is set.

hasState()

public boolean hasState()

Output only. The current state of the Rollout. Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
Type Description
boolean

Whether the state field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Rollout other)

public Rollout.Builder mergeFrom(Rollout other)
Parameter
Name Description
other Rollout
Returns
Type Description
Rollout.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Rollout.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Rollout.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeRolloutEntity(RolloutRolloutEntity value)

public Rollout.Builder mergeRolloutEntity(RolloutRolloutEntity value)

Required. The resource being rolled out.

optional .google.cloud.compute.v1.RolloutRolloutEntity rollout_entity = 70633009;

Parameter
Name Description
value RolloutRolloutEntity
Returns
Type Description
Rollout.Builder

removeWaveDetails(int index)

public Rollout.Builder removeWaveDetails(int index)

Output only. Details about each wave of the rollout.

repeated .google.cloud.compute.v1.RolloutWaveDetails wave_details = 8266492;

Parameter
Name Description
index int
Returns
Type Description
Rollout.Builder

setCancellationTime(String value)

public Rollout.Builder setCancellationTime(String value)

Output only. The timestamp at which the Rollout was cancelled.

optional string cancellation_time = 323792009;

Parameter
Name Description
value String

The cancellationTime to set.

Returns
Type Description
Rollout.Builder

This builder for chaining.

setCancellationTimeBytes(ByteString value)

public Rollout.Builder setCancellationTimeBytes(ByteString value)

Output only. The timestamp at which the Rollout was cancelled.

optional string cancellation_time = 323792009;

Parameter
Name Description
value ByteString

The bytes for cancellationTime to set.

Returns
Type Description
Rollout.Builder

This builder for chaining.

setCompletionTime(String value)

public Rollout.Builder setCompletionTime(String value)

Output only. The timestamp at which the Rollout was completed.

optional string completion_time = 122892624;

Parameter
Name Description
value String

The completionTime to set.

Returns
Type Description
Rollout.Builder

This builder for chaining.

setCompletionTimeBytes(ByteString value)

public Rollout.Builder setCompletionTimeBytes(ByteString value)

Output only. The timestamp at which the Rollout was completed.

optional string completion_time = 122892624;

Parameter
Name Description
value ByteString

The bytes for completionTime to set.

Returns
Type Description
Rollout.Builder

This builder for chaining.

setCreationTimestamp(String value)

public Rollout.Builder setCreationTimestamp(String value)

Output only. [Output Only] Creation timestamp inRFC3339 text format.

optional string creation_timestamp = 30525366;

Parameter
Name Description
value String

The creationTimestamp to set.

Returns
Type Description
Rollout.Builder

This builder for chaining.

setCreationTimestampBytes(ByteString value)

public Rollout.Builder setCreationTimestampBytes(ByteString value)

Output only. [Output Only] Creation timestamp inRFC3339 text format.

optional string creation_timestamp = 30525366;

Parameter
Name Description
value ByteString

The bytes for creationTimestamp to set.

Returns
Type Description
Rollout.Builder

This builder for chaining.

setCurrentWaveNumber(long value)

public Rollout.Builder setCurrentWaveNumber(long value)

Output only. The number of the currently running wave. Ex. 1

optional int64 current_wave_number = 178280841;

Parameter
Name Description
value long

The currentWaveNumber to set.

Returns
Type Description
Rollout.Builder

This builder for chaining.

setDescription(String value)

public Rollout.Builder setDescription(String value)

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
Rollout.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Rollout.Builder setDescriptionBytes(ByteString value)

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
Rollout.Builder

This builder for chaining.

setEtag(String value)

public Rollout.Builder setEtag(String value)

Output only. etag of the Rollout Ex. abc1234

optional string etag = 3123477;

Parameter
Name Description
value String

The etag to set.

Returns
Type Description
Rollout.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public Rollout.Builder setEtagBytes(ByteString value)

Output only. etag of the Rollout Ex. abc1234

optional string etag = 3123477;

Parameter
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
Rollout.Builder

This builder for chaining.

setId(long value)

public Rollout.Builder setId(long value)

Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.

optional uint64 id = 3355;

Parameter
Name Description
value long

The id to set.

Returns
Type Description
Rollout.Builder

This builder for chaining.

setKind(String value)

public Rollout.Builder setKind(String value)

Output only. [Output Only] Type of the resource. Always compute#rollout for rollouts.

optional string kind = 3292052;

Parameter
Name Description
value String

The kind to set.

Returns
Type Description
Rollout.Builder

This builder for chaining.

setKindBytes(ByteString value)

public Rollout.Builder setKindBytes(ByteString value)

Output only. [Output Only] Type of the resource. Always compute#rollout for rollouts.

optional string kind = 3292052;

Parameter
Name Description
value ByteString

The bytes for kind to set.

Returns
Type Description
Rollout.Builder

This builder for chaining.

setName(String value)

public Rollout.Builder setName(String value)

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Rollout.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Rollout.Builder setNameBytes(ByteString value)

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Rollout.Builder

This builder for chaining.

setPauseTime(String value)

public Rollout.Builder setPauseTime(String value)

Output only. The timestamp at which the Rollout was paused.

optional string pause_time = 489697142;

Parameter
Name Description
value String

The pauseTime to set.

Returns
Type Description
Rollout.Builder

This builder for chaining.

setPauseTimeBytes(ByteString value)

public Rollout.Builder setPauseTimeBytes(ByteString value)

Output only. The timestamp at which the Rollout was paused.

optional string pause_time = 489697142;

Parameter
Name Description
value ByteString

The bytes for pauseTime to set.

Returns
Type Description
Rollout.Builder

This builder for chaining.

setResumeTime(String value)

public Rollout.Builder setResumeTime(String value)

Output only. The timestamp at which the Rollout was resumed.

optional string resume_time = 457856927;

Parameter
Name Description
value String

The resumeTime to set.

Returns
Type Description
Rollout.Builder

This builder for chaining.

setResumeTimeBytes(ByteString value)

public Rollout.Builder setResumeTimeBytes(ByteString value)

Output only. The timestamp at which the Rollout was resumed.

optional string resume_time = 457856927;

Parameter
Name Description
value ByteString

The bytes for resumeTime to set.

Returns
Type Description
Rollout.Builder

This builder for chaining.

setRolloutEntity(RolloutRolloutEntity value)

public Rollout.Builder setRolloutEntity(RolloutRolloutEntity value)

Required. The resource being rolled out.

optional .google.cloud.compute.v1.RolloutRolloutEntity rollout_entity = 70633009;

Parameter
Name Description
value RolloutRolloutEntity
Returns
Type Description
Rollout.Builder

setRolloutEntity(RolloutRolloutEntity.Builder builderForValue)

public Rollout.Builder setRolloutEntity(RolloutRolloutEntity.Builder builderForValue)

Required. The resource being rolled out.

optional .google.cloud.compute.v1.RolloutRolloutEntity rollout_entity = 70633009;

Parameter
Name Description
builderForValue RolloutRolloutEntity.Builder
Returns
Type Description
Rollout.Builder

setRolloutPlan(String value)

public Rollout.Builder setRolloutPlan(String value)

Required. Rollout Plan used to model the Rollout. Ex. compute.googleapis.com/v1/projects/1234/rolloutPlans/rp1

optional string rollout_plan = 459057399;

Parameter
Name Description
value String

The rolloutPlan to set.

Returns
Type Description
Rollout.Builder

This builder for chaining.

setRolloutPlanBytes(ByteString value)

public Rollout.Builder setRolloutPlanBytes(ByteString value)

Required. Rollout Plan used to model the Rollout. Ex. compute.googleapis.com/v1/projects/1234/rolloutPlans/rp1

optional string rollout_plan = 459057399;

Parameter
Name Description
value ByteString

The bytes for rolloutPlan to set.

Returns
Type Description
Rollout.Builder

This builder for chaining.

public Rollout.Builder setSelfLink(String value)

Output only. [Output Only] Server-defined fully-qualified URL for this resource.

optional string self_link = 456214797;

Parameter
Name Description
value String

The selfLink to set.

Returns
Type Description
Rollout.Builder

This builder for chaining.

setSelfLinkBytes(ByteString value)

public Rollout.Builder setSelfLinkBytes(ByteString value)

Output only. [Output Only] Server-defined fully-qualified URL for this resource.

optional string self_link = 456214797;

Parameter
Name Description
value ByteString

The bytes for selfLink to set.

Returns
Type Description
Rollout.Builder

This builder for chaining.

setSelfLinkWithId(String value)

public Rollout.Builder setSelfLinkWithId(String value)

Output only. [Output Only] Server-defined URL for this resource's resource id.

optional string self_link_with_id = 44520962;

Parameter
Name Description
value String

The selfLinkWithId to set.

Returns
Type Description
Rollout.Builder

This builder for chaining.

setSelfLinkWithIdBytes(ByteString value)

public Rollout.Builder setSelfLinkWithIdBytes(ByteString value)

Output only. [Output Only] Server-defined URL for this resource's resource id.

optional string self_link_with_id = 44520962;

Parameter
Name Description
value ByteString

The bytes for selfLinkWithId to set.

Returns
Type Description
Rollout.Builder

This builder for chaining.

setState(String value)

public Rollout.Builder setState(String value)

Output only. The current state of the Rollout. Check the State enum for the list of possible values.

optional string state = 109757585;

Parameter
Name Description
value String

The state to set.

Returns
Type Description
Rollout.Builder

This builder for chaining.

setStateBytes(ByteString value)

public Rollout.Builder setStateBytes(ByteString value)

Output only. The current state of the Rollout. Check the State enum for the list of possible values.

optional string state = 109757585;

Parameter
Name Description
value ByteString

The bytes for state to set.

Returns
Type Description
Rollout.Builder

This builder for chaining.

setWaveDetails(int index, RolloutWaveDetails value)

public Rollout.Builder setWaveDetails(int index, RolloutWaveDetails value)

Output only. Details about each wave of the rollout.

repeated .google.cloud.compute.v1.RolloutWaveDetails wave_details = 8266492;

Parameters
Name Description
index int
value RolloutWaveDetails
Returns
Type Description
Rollout.Builder

setWaveDetails(int index, RolloutWaveDetails.Builder builderForValue)

public Rollout.Builder setWaveDetails(int index, RolloutWaveDetails.Builder builderForValue)

Output only. Details about each wave of the rollout.

repeated .google.cloud.compute.v1.RolloutWaveDetails wave_details = 8266492;

Parameters
Name Description
index int
builderForValue RolloutWaveDetails.Builder
Returns
Type Description
Rollout.Builder