Class ManagedInstanceLastAttempt.Builder (1.54.0)

public static final class ManagedInstanceLastAttempt.Builder extends GeneratedMessageV3.Builder<ManagedInstanceLastAttempt.Builder> implements ManagedInstanceLastAttemptOrBuilder

Protobuf type google.cloud.compute.v1.ManagedInstanceLastAttempt

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ManagedInstanceLastAttempt build()
Returns
Type Description
ManagedInstanceLastAttempt

buildPartial()

public ManagedInstanceLastAttempt buildPartial()
Returns
Type Description
ManagedInstanceLastAttempt

clear()

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

clearErrors()

public ManagedInstanceLastAttempt.Builder clearErrors()

[Output Only] Encountered errors during the last attempt to create or delete the instance.

optional .google.cloud.compute.v1.Errors errors = 315977579;

Returns
Type Description
ManagedInstanceLastAttempt.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ManagedInstanceLastAttempt getDefaultInstanceForType()
Returns
Type Description
ManagedInstanceLastAttempt

getDescriptorForType()

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

getErrors()

public Errors getErrors()

[Output Only] Encountered errors during the last attempt to create or delete the instance.

optional .google.cloud.compute.v1.Errors errors = 315977579;

Returns
Type Description
Errors

The errors.

getErrorsBuilder()

public Errors.Builder getErrorsBuilder()

[Output Only] Encountered errors during the last attempt to create or delete the instance.

optional .google.cloud.compute.v1.Errors errors = 315977579;

Returns
Type Description
Errors.Builder

getErrorsOrBuilder()

public ErrorsOrBuilder getErrorsOrBuilder()

[Output Only] Encountered errors during the last attempt to create or delete the instance.

optional .google.cloud.compute.v1.Errors errors = 315977579;

Returns
Type Description
ErrorsOrBuilder

hasErrors()

public boolean hasErrors()

[Output Only] Encountered errors during the last attempt to create or delete the instance.

optional .google.cloud.compute.v1.Errors errors = 315977579;

Returns
Type Description
boolean

Whether the errors field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeErrors(Errors value)

public ManagedInstanceLastAttempt.Builder mergeErrors(Errors value)

[Output Only] Encountered errors during the last attempt to create or delete the instance.

optional .google.cloud.compute.v1.Errors errors = 315977579;

Parameter
Name Description
value Errors
Returns
Type Description
ManagedInstanceLastAttempt.Builder

mergeFrom(ManagedInstanceLastAttempt other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setErrors(Errors value)

public ManagedInstanceLastAttempt.Builder setErrors(Errors value)

[Output Only] Encountered errors during the last attempt to create or delete the instance.

optional .google.cloud.compute.v1.Errors errors = 315977579;

Parameter
Name Description
value Errors
Returns
Type Description
ManagedInstanceLastAttempt.Builder

setErrors(Errors.Builder builderForValue)

public ManagedInstanceLastAttempt.Builder setErrors(Errors.Builder builderForValue)

[Output Only] Encountered errors during the last attempt to create or delete the instance.

optional .google.cloud.compute.v1.Errors errors = 315977579;

Parameter
Name Description
builderForValue Errors.Builder
Returns
Type Description
ManagedInstanceLastAttempt.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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