Class InstanceGroupManagerResizeRequest.Builder (1.58.0)

public static final class InstanceGroupManagerResizeRequest.Builder extends GeneratedMessageV3.Builder<InstanceGroupManagerResizeRequest.Builder> implements InstanceGroupManagerResizeRequestOrBuilder

InstanceGroupManagerResizeRequest represents a request to create a number of VMs: either immediately or by queuing the request for the specified time. This resize request is nested under InstanceGroupManager and the VMs created by this request are added to the owning InstanceGroupManager.

Protobuf type google.cloud.compute.v1.InstanceGroupManagerResizeRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InstanceGroupManagerResizeRequest build()
Returns
Type Description
InstanceGroupManagerResizeRequest

buildPartial()

public InstanceGroupManagerResizeRequest buildPartial()
Returns
Type Description
InstanceGroupManagerResizeRequest

clear()

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

clearCreationTimestamp()

public InstanceGroupManagerResizeRequest.Builder clearCreationTimestamp()

[Output Only] The creation timestamp for this resize request in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

This builder for chaining.

clearDescription()

public InstanceGroupManagerResizeRequest.Builder clearDescription()

An optional description of this resource.

optional string description = 422937596;

Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearId()

public InstanceGroupManagerResizeRequest.Builder clearId()

[Output Only] A unique identifier for this resource type. The server generates this identifier.

optional uint64 id = 3355;

Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

This builder for chaining.

clearKind()

public InstanceGroupManagerResizeRequest.Builder clearKind()

[Output Only] The resource type, which is always compute#instanceGroupManagerResizeRequest for resize requests.

optional string kind = 3292052;

Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

This builder for chaining.

clearName()

public InstanceGroupManagerResizeRequest.Builder clearName()

The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.

optional string name = 3373707;

Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRequestedRunDuration()

public InstanceGroupManagerResizeRequest.Builder clearRequestedRunDuration()

Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted.

optional .google.cloud.compute.v1.Duration requested_run_duration = 232146425;

Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

clearResizeBy()

public InstanceGroupManagerResizeRequest.Builder clearResizeBy()

The number of instances to be created by this resize request. The group's target size will be increased by this number.

optional int32 resize_by = 533735362;

Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

This builder for chaining.

public InstanceGroupManagerResizeRequest.Builder clearSelfLink()

[Output Only] The URL for this resize request. The server defines this URL.

optional string self_link = 456214797;

Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

This builder for chaining.

clearSelfLinkWithId()

public InstanceGroupManagerResizeRequest.Builder clearSelfLinkWithId()

[Output Only] Server-defined URL for this resource with the resource id.

optional string self_link_with_id = 44520962;

Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

This builder for chaining.

clearState()

public InstanceGroupManagerResizeRequest.Builder clearState()

[Output only] Current state of the request. Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

This builder for chaining.

clearStatus()

public InstanceGroupManagerResizeRequest.Builder clearStatus()

[Output only] Status of the request.

optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus status = 181260274;

Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

clearZone()

public InstanceGroupManagerResizeRequest.Builder clearZone()

[Output Only] The URL of a zone where the resize request is located. Populated only for zonal resize requests.

optional string zone = 3744684;

Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

This builder for chaining.

clone()

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

getCreationTimestamp()

public String getCreationTimestamp()

[Output Only] The creation timestamp for this resize request in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
String

The creationTimestamp.

getCreationTimestampBytes()

public ByteString getCreationTimestampBytes()

[Output Only] The creation timestamp for this resize request in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
ByteString

The bytes for creationTimestamp.

getDefaultInstanceForType()

public InstanceGroupManagerResizeRequest getDefaultInstanceForType()
Returns
Type Description
InstanceGroupManagerResizeRequest

getDescription()

public String getDescription()

An optional description of this resource.

optional string description = 422937596;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

An optional description of this resource.

optional string description = 422937596;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getId()

public long getId()

[Output Only] A unique identifier for this resource type. The server generates this identifier.

optional uint64 id = 3355;

Returns
Type Description
long

The id.

getKind()

public String getKind()

[Output Only] The resource type, which is always compute#instanceGroupManagerResizeRequest for resize requests.

optional string kind = 3292052;

Returns
Type Description
String

The kind.

getKindBytes()

public ByteString getKindBytes()

[Output Only] The resource type, which is always compute#instanceGroupManagerResizeRequest for resize requests.

optional string kind = 3292052;

Returns
Type Description
ByteString

The bytes for kind.

getName()

public String getName()

The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.

optional string name = 3373707;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.

optional string name = 3373707;

Returns
Type Description
ByteString

The bytes for name.

getRequestedRunDuration()

public Duration getRequestedRunDuration()

Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted.

optional .google.cloud.compute.v1.Duration requested_run_duration = 232146425;

Returns
Type Description
Duration

The requestedRunDuration.

getRequestedRunDurationBuilder()

public Duration.Builder getRequestedRunDurationBuilder()

Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted.

optional .google.cloud.compute.v1.Duration requested_run_duration = 232146425;

Returns
Type Description
Duration.Builder

getRequestedRunDurationOrBuilder()

public DurationOrBuilder getRequestedRunDurationOrBuilder()

Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted.

optional .google.cloud.compute.v1.Duration requested_run_duration = 232146425;

Returns
Type Description
DurationOrBuilder

getResizeBy()

public int getResizeBy()

The number of instances to be created by this resize request. The group's target size will be increased by this number.

optional int32 resize_by = 533735362;

Returns
Type Description
int

The resizeBy.

public String getSelfLink()

[Output Only] The URL for this resize request. The server defines this URL.

optional string self_link = 456214797;

Returns
Type Description
String

The selfLink.

getSelfLinkBytes()

public ByteString getSelfLinkBytes()

[Output Only] The URL for this resize request. The server defines this URL.

optional string self_link = 456214797;

Returns
Type Description
ByteString

The bytes for selfLink.

getSelfLinkWithId()

public String getSelfLinkWithId()

[Output Only] Server-defined URL for this resource with the resource id.

optional string self_link_with_id = 44520962;

Returns
Type Description
String

The selfLinkWithId.

getSelfLinkWithIdBytes()

public ByteString getSelfLinkWithIdBytes()

[Output Only] Server-defined URL for this resource with the resource id.

optional string self_link_with_id = 44520962;

Returns
Type Description
ByteString

The bytes for selfLinkWithId.

getState()

public String getState()

[Output only] Current state of the request. 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] Current state of the request. Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
Type Description
ByteString

The bytes for state.

getStatus()

public InstanceGroupManagerResizeRequestStatus getStatus()

[Output only] Status of the request.

optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus status = 181260274;

Returns
Type Description
InstanceGroupManagerResizeRequestStatus

The status.

getStatusBuilder()

public InstanceGroupManagerResizeRequestStatus.Builder getStatusBuilder()

[Output only] Status of the request.

optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus status = 181260274;

Returns
Type Description
InstanceGroupManagerResizeRequestStatus.Builder

getStatusOrBuilder()

public InstanceGroupManagerResizeRequestStatusOrBuilder getStatusOrBuilder()

[Output only] Status of the request.

optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus status = 181260274;

Returns
Type Description
InstanceGroupManagerResizeRequestStatusOrBuilder

getZone()

public String getZone()

[Output Only] The URL of a zone where the resize request is located. Populated only for zonal resize requests.

optional string zone = 3744684;

Returns
Type Description
String

The zone.

getZoneBytes()

public ByteString getZoneBytes()

[Output Only] The URL of a zone where the resize request is located. Populated only for zonal resize requests.

optional string zone = 3744684;

Returns
Type Description
ByteString

The bytes for zone.

hasCreationTimestamp()

public boolean hasCreationTimestamp()

[Output Only] The creation timestamp for this resize request in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
boolean

Whether the creationTimestamp field is set.

hasDescription()

public boolean hasDescription()

An optional description of this resource.

optional string description = 422937596;

Returns
Type Description
boolean

Whether the description field is set.

hasId()

public boolean hasId()

[Output Only] A unique identifier for this resource type. The server generates this identifier.

optional uint64 id = 3355;

Returns
Type Description
boolean

Whether the id field is set.

hasKind()

public boolean hasKind()

[Output Only] The resource type, which is always compute#instanceGroupManagerResizeRequest for resize requests.

optional string kind = 3292052;

Returns
Type Description
boolean

Whether the kind field is set.

hasName()

public boolean hasName()

The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.

optional string name = 3373707;

Returns
Type Description
boolean

Whether the name field is set.

hasRequestedRunDuration()

public boolean hasRequestedRunDuration()

Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted.

optional .google.cloud.compute.v1.Duration requested_run_duration = 232146425;

Returns
Type Description
boolean

Whether the requestedRunDuration field is set.

hasResizeBy()

public boolean hasResizeBy()

The number of instances to be created by this resize request. The group's target size will be increased by this number.

optional int32 resize_by = 533735362;

Returns
Type Description
boolean

Whether the resizeBy field is set.

public boolean hasSelfLink()

[Output Only] The URL for this resize request. The server defines this URL.

optional string self_link = 456214797;

Returns
Type Description
boolean

Whether the selfLink field is set.

hasSelfLinkWithId()

public boolean hasSelfLinkWithId()

[Output Only] Server-defined URL for this resource with the 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] Current state of the request. Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
Type Description
boolean

Whether the state field is set.

hasStatus()

public boolean hasStatus()

[Output only] Status of the request.

optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus status = 181260274;

Returns
Type Description
boolean

Whether the status field is set.

hasZone()

public boolean hasZone()

[Output Only] The URL of a zone where the resize request is located. Populated only for zonal resize requests.

optional string zone = 3744684;

Returns
Type Description
boolean

Whether the zone field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InstanceGroupManagerResizeRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRequestedRunDuration(Duration value)

public InstanceGroupManagerResizeRequest.Builder mergeRequestedRunDuration(Duration value)

Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted.

optional .google.cloud.compute.v1.Duration requested_run_duration = 232146425;

Parameter
Name Description
value Duration
Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

mergeStatus(InstanceGroupManagerResizeRequestStatus value)

public InstanceGroupManagerResizeRequest.Builder mergeStatus(InstanceGroupManagerResizeRequestStatus value)

[Output only] Status of the request.

optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus status = 181260274;

Parameter
Name Description
value InstanceGroupManagerResizeRequestStatus
Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCreationTimestamp(String value)

public InstanceGroupManagerResizeRequest.Builder setCreationTimestamp(String value)

[Output Only] The creation timestamp for this resize request in RFC3339 text format.

optional string creation_timestamp = 30525366;

Parameter
Name Description
value String

The creationTimestamp to set.

Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

This builder for chaining.

setCreationTimestampBytes(ByteString value)

public InstanceGroupManagerResizeRequest.Builder setCreationTimestampBytes(ByteString value)

[Output Only] The creation timestamp for this resize request in RFC3339 text format.

optional string creation_timestamp = 30525366;

Parameter
Name Description
value ByteString

The bytes for creationTimestamp to set.

Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

This builder for chaining.

setDescription(String value)

public InstanceGroupManagerResizeRequest.Builder setDescription(String value)

An optional description of this resource.

optional string description = 422937596;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public InstanceGroupManagerResizeRequest.Builder setDescriptionBytes(ByteString value)

An optional description of this resource.

optional string description = 422937596;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setId(long value)

public InstanceGroupManagerResizeRequest.Builder setId(long value)

[Output Only] A unique identifier for this resource type. The server generates this identifier.

optional uint64 id = 3355;

Parameter
Name Description
value long

The id to set.

Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

This builder for chaining.

setKind(String value)

public InstanceGroupManagerResizeRequest.Builder setKind(String value)

[Output Only] The resource type, which is always compute#instanceGroupManagerResizeRequest for resize requests.

optional string kind = 3292052;

Parameter
Name Description
value String

The kind to set.

Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

This builder for chaining.

setKindBytes(ByteString value)

public InstanceGroupManagerResizeRequest.Builder setKindBytes(ByteString value)

[Output Only] The resource type, which is always compute#instanceGroupManagerResizeRequest for resize requests.

optional string kind = 3292052;

Parameter
Name Description
value ByteString

The bytes for kind to set.

Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

This builder for chaining.

setName(String value)

public InstanceGroupManagerResizeRequest.Builder setName(String value)

The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.

optional string name = 3373707;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public InstanceGroupManagerResizeRequest.Builder setNameBytes(ByteString value)

The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.

optional string name = 3373707;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

This builder for chaining.

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

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

setRequestedRunDuration(Duration value)

public InstanceGroupManagerResizeRequest.Builder setRequestedRunDuration(Duration value)

Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted.

optional .google.cloud.compute.v1.Duration requested_run_duration = 232146425;

Parameter
Name Description
value Duration
Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

setRequestedRunDuration(Duration.Builder builderForValue)

public InstanceGroupManagerResizeRequest.Builder setRequestedRunDuration(Duration.Builder builderForValue)

Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted.

optional .google.cloud.compute.v1.Duration requested_run_duration = 232146425;

Parameter
Name Description
builderForValue Duration.Builder
Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

setResizeBy(int value)

public InstanceGroupManagerResizeRequest.Builder setResizeBy(int value)

The number of instances to be created by this resize request. The group's target size will be increased by this number.

optional int32 resize_by = 533735362;

Parameter
Name Description
value int

The resizeBy to set.

Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

This builder for chaining.

public InstanceGroupManagerResizeRequest.Builder setSelfLink(String value)

[Output Only] The URL for this resize request. The server defines this URL.

optional string self_link = 456214797;

Parameter
Name Description
value String

The selfLink to set.

Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

This builder for chaining.

setSelfLinkBytes(ByteString value)

public InstanceGroupManagerResizeRequest.Builder setSelfLinkBytes(ByteString value)

[Output Only] The URL for this resize request. The server defines this URL.

optional string self_link = 456214797;

Parameter
Name Description
value ByteString

The bytes for selfLink to set.

Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

This builder for chaining.

setSelfLinkWithId(String value)

public InstanceGroupManagerResizeRequest.Builder setSelfLinkWithId(String value)

[Output Only] Server-defined URL for this resource with the resource id.

optional string self_link_with_id = 44520962;

Parameter
Name Description
value String

The selfLinkWithId to set.

Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

This builder for chaining.

setSelfLinkWithIdBytes(ByteString value)

public InstanceGroupManagerResizeRequest.Builder setSelfLinkWithIdBytes(ByteString value)

[Output Only] Server-defined URL for this resource with the resource id.

optional string self_link_with_id = 44520962;

Parameter
Name Description
value ByteString

The bytes for selfLinkWithId to set.

Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

This builder for chaining.

setState(String value)

public InstanceGroupManagerResizeRequest.Builder setState(String value)

[Output only] Current state of the request. 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
InstanceGroupManagerResizeRequest.Builder

This builder for chaining.

setStateBytes(ByteString value)

public InstanceGroupManagerResizeRequest.Builder setStateBytes(ByteString value)

[Output only] Current state of the request. 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
InstanceGroupManagerResizeRequest.Builder

This builder for chaining.

setStatus(InstanceGroupManagerResizeRequestStatus value)

public InstanceGroupManagerResizeRequest.Builder setStatus(InstanceGroupManagerResizeRequestStatus value)

[Output only] Status of the request.

optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus status = 181260274;

Parameter
Name Description
value InstanceGroupManagerResizeRequestStatus
Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

setStatus(InstanceGroupManagerResizeRequestStatus.Builder builderForValue)

public InstanceGroupManagerResizeRequest.Builder setStatus(InstanceGroupManagerResizeRequestStatus.Builder builderForValue)

[Output only] Status of the request.

optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus status = 181260274;

Parameter
Name Description
builderForValue InstanceGroupManagerResizeRequestStatus.Builder
Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setZone(String value)

public InstanceGroupManagerResizeRequest.Builder setZone(String value)

[Output Only] The URL of a zone where the resize request is located. Populated only for zonal resize requests.

optional string zone = 3744684;

Parameter
Name Description
value String

The zone to set.

Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

This builder for chaining.

setZoneBytes(ByteString value)

public InstanceGroupManagerResizeRequest.Builder setZoneBytes(ByteString value)

[Output Only] The URL of a zone where the resize request is located. Populated only for zonal resize requests.

optional string zone = 3744684;

Parameter
Name Description
value ByteString

The bytes for zone to set.

Returns
Type Description
InstanceGroupManagerResizeRequest.Builder

This builder for chaining.