- 1.86.0 (latest)
- 1.85.0
- 1.84.0
- 1.83.0
- 1.82.0
- 1.80.0
- 1.78.0
- 1.77.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.69.0
- 1.68.0
- 1.67.0
- 1.66.0
- 1.65.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class InstanceGroupManagerResizeRequest.Builder extends GeneratedMessageV3.Builder<InstanceGroupManagerResizeRequest.Builder> implements InstanceGroupManagerResizeRequestOrBuilderInstanceGroupManagerResizeRequest 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InstanceGroupManagerResizeRequest.BuilderImplements
InstanceGroupManagerResizeRequestOrBuilderStatic 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 |
|
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 |
|
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 |
|
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 |
|
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. This field cannot be used together with 'instances'.
optional int32 resize_by = 533735362;
| Returns | |
|---|---|
| Type | Description |
InstanceGroupManagerResizeRequest.Builder |
This builder for chaining. |
clearSelfLink()
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 |
|
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 |
|
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.