Class InstanceGroupManagerResizeRequestStatus.Builder (1.93.0)

public static final class InstanceGroupManagerResizeRequestStatus.Builder extends GeneratedMessage.Builder<InstanceGroupManagerResizeRequestStatus.Builder> implements InstanceGroupManagerResizeRequestStatusOrBuilder

Protobuf type google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatus

Static Methods

getDescriptor()

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

Methods

build()

public InstanceGroupManagerResizeRequestStatus build()
Returns
Type Description
InstanceGroupManagerResizeRequestStatus

buildPartial()

public InstanceGroupManagerResizeRequestStatus buildPartial()
Returns
Type Description
InstanceGroupManagerResizeRequestStatus

clear()

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

clearError()

public InstanceGroupManagerResizeRequestStatus.Builder clearError()

Output only. [Output only] Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the last_attempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry.

optional .google.cloud.compute.v1.Error error = 96784904;

Returns
Type Description
InstanceGroupManagerResizeRequestStatus.Builder

clearLastAttempt()

public InstanceGroupManagerResizeRequestStatus.Builder clearLastAttempt()

Output only. [Output only] Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only.

optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt last_attempt = 434771492;

Returns
Type Description
InstanceGroupManagerResizeRequestStatus.Builder

getDefaultInstanceForType()

public InstanceGroupManagerResizeRequestStatus getDefaultInstanceForType()
Returns
Type Description
InstanceGroupManagerResizeRequestStatus

getDescriptorForType()

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

getError()

public Error getError()

Output only. [Output only] Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the last_attempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry.

optional .google.cloud.compute.v1.Error error = 96784904;

Returns
Type Description
Error

The error.

getErrorBuilder()

public Error.Builder getErrorBuilder()

Output only. [Output only] Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the last_attempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry.

optional .google.cloud.compute.v1.Error error = 96784904;

Returns
Type Description
Error.Builder

getErrorOrBuilder()

public ErrorOrBuilder getErrorOrBuilder()

Output only. [Output only] Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the last_attempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry.

optional .google.cloud.compute.v1.Error error = 96784904;

Returns
Type Description
ErrorOrBuilder

getLastAttempt()

public InstanceGroupManagerResizeRequestStatusLastAttempt getLastAttempt()

Output only. [Output only] Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only.

optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt last_attempt = 434771492;

Returns
Type Description
InstanceGroupManagerResizeRequestStatusLastAttempt

The lastAttempt.

getLastAttemptBuilder()

public InstanceGroupManagerResizeRequestStatusLastAttempt.Builder getLastAttemptBuilder()

Output only. [Output only] Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only.

optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt last_attempt = 434771492;

Returns
Type Description
InstanceGroupManagerResizeRequestStatusLastAttempt.Builder

getLastAttemptOrBuilder()

public InstanceGroupManagerResizeRequestStatusLastAttemptOrBuilder getLastAttemptOrBuilder()

Output only. [Output only] Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only.

optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt last_attempt = 434771492;

Returns
Type Description
InstanceGroupManagerResizeRequestStatusLastAttemptOrBuilder

hasError()

public boolean hasError()

Output only. [Output only] Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the last_attempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry.

optional .google.cloud.compute.v1.Error error = 96784904;

Returns
Type Description
boolean

Whether the error field is set.

hasLastAttempt()

public boolean hasLastAttempt()

Output only. [Output only] Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only.

optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt last_attempt = 434771492;

Returns
Type Description
boolean

Whether the lastAttempt field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeError(Error value)

public InstanceGroupManagerResizeRequestStatus.Builder mergeError(Error value)

Output only. [Output only] Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the last_attempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry.

optional .google.cloud.compute.v1.Error error = 96784904;

Parameter
Name Description
value Error
Returns
Type Description
InstanceGroupManagerResizeRequestStatus.Builder

mergeFrom(InstanceGroupManagerResizeRequestStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeLastAttempt(InstanceGroupManagerResizeRequestStatusLastAttempt value)

public InstanceGroupManagerResizeRequestStatus.Builder mergeLastAttempt(InstanceGroupManagerResizeRequestStatusLastAttempt value)

Output only. [Output only] Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only.

optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt last_attempt = 434771492;

Parameter
Name Description
value InstanceGroupManagerResizeRequestStatusLastAttempt
Returns
Type Description
InstanceGroupManagerResizeRequestStatus.Builder

setError(Error value)

public InstanceGroupManagerResizeRequestStatus.Builder setError(Error value)

Output only. [Output only] Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the last_attempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry.

optional .google.cloud.compute.v1.Error error = 96784904;

Parameter
Name Description
value Error
Returns
Type Description
InstanceGroupManagerResizeRequestStatus.Builder

setError(Error.Builder builderForValue)

public InstanceGroupManagerResizeRequestStatus.Builder setError(Error.Builder builderForValue)

Output only. [Output only] Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the last_attempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry.

optional .google.cloud.compute.v1.Error error = 96784904;

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

setLastAttempt(InstanceGroupManagerResizeRequestStatusLastAttempt value)

public InstanceGroupManagerResizeRequestStatus.Builder setLastAttempt(InstanceGroupManagerResizeRequestStatusLastAttempt value)

Output only. [Output only] Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only.

optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt last_attempt = 434771492;

Parameter
Name Description
value InstanceGroupManagerResizeRequestStatusLastAttempt
Returns
Type Description
InstanceGroupManagerResizeRequestStatus.Builder

setLastAttempt(InstanceGroupManagerResizeRequestStatusLastAttempt.Builder builderForValue)

public InstanceGroupManagerResizeRequestStatus.Builder setLastAttempt(InstanceGroupManagerResizeRequestStatusLastAttempt.Builder builderForValue)

Output only. [Output only] Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only.

optional .google.cloud.compute.v1.InstanceGroupManagerResizeRequestStatusLastAttempt last_attempt = 434771492;

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