Class ManagedInstanceLastAttempt.Builder (1.19.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ManagedInstanceLastAttempt.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ManagedInstanceLastAttempt.Builder
Overrides

build()

public ManagedInstanceLastAttempt build()
Returns
TypeDescription
ManagedInstanceLastAttempt

buildPartial()

public ManagedInstanceLastAttempt buildPartial()
Returns
TypeDescription
ManagedInstanceLastAttempt

clear()

public ManagedInstanceLastAttempt.Builder clear()
Returns
TypeDescription
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
TypeDescription
ManagedInstanceLastAttempt.Builder

clearField(Descriptors.FieldDescriptor field)

public ManagedInstanceLastAttempt.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ManagedInstanceLastAttempt.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ManagedInstanceLastAttempt.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ManagedInstanceLastAttempt.Builder
Overrides

clone()

public ManagedInstanceLastAttempt.Builder clone()
Returns
TypeDescription
ManagedInstanceLastAttempt.Builder
Overrides

getDefaultInstanceForType()

public ManagedInstanceLastAttempt getDefaultInstanceForType()
Returns
TypeDescription
ManagedInstanceLastAttempt

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the errors field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueErrors
Returns
TypeDescription
ManagedInstanceLastAttempt.Builder

mergeFrom(ManagedInstanceLastAttempt other)

public ManagedInstanceLastAttempt.Builder mergeFrom(ManagedInstanceLastAttempt other)
Parameter
NameDescription
otherManagedInstanceLastAttempt
Returns
TypeDescription
ManagedInstanceLastAttempt.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ManagedInstanceLastAttempt.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ManagedInstanceLastAttempt.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ManagedInstanceLastAttempt.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ManagedInstanceLastAttempt.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ManagedInstanceLastAttempt.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueErrors
Returns
TypeDescription
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
NameDescription
builderForValueErrors.Builder
Returns
TypeDescription
ManagedInstanceLastAttempt.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ManagedInstanceLastAttempt.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ManagedInstanceLastAttempt.Builder
Overrides

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

public ManagedInstanceLastAttempt.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ManagedInstanceLastAttempt.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ManagedInstanceLastAttempt.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ManagedInstanceLastAttempt.Builder
Overrides