Class Error.Builder (1.65.0)

public static final class Error.Builder extends GeneratedMessageV3.Builder<Error.Builder> implements ErrorOrBuilder

Errors that prevented the ResizeRequest to be fulfilled.

Protobuf type google.cloud.compute.v1.Error

Implements

ErrorOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllErrors(Iterable<? extends Errors> values)

public Error.Builder addAllErrors(Iterable<? extends Errors> values)

[Output Only] The array of errors encountered while processing this operation.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.compute.v1.Errors>
Returns
Type Description
Error.Builder

addErrors(Errors value)

public Error.Builder addErrors(Errors value)

[Output Only] The array of errors encountered while processing this operation.

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

Parameter
Name Description
value Errors
Returns
Type Description
Error.Builder

addErrors(Errors.Builder builderForValue)

public Error.Builder addErrors(Errors.Builder builderForValue)

[Output Only] The array of errors encountered while processing this operation.

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

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

addErrors(int index, Errors value)

public Error.Builder addErrors(int index, Errors value)

[Output Only] The array of errors encountered while processing this operation.

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

Parameters
Name Description
index int
value Errors
Returns
Type Description
Error.Builder

addErrors(int index, Errors.Builder builderForValue)

public Error.Builder addErrors(int index, Errors.Builder builderForValue)

[Output Only] The array of errors encountered while processing this operation.

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

Parameters
Name Description
index int
builderForValue Errors.Builder
Returns
Type Description
Error.Builder

addErrorsBuilder()

public Errors.Builder addErrorsBuilder()

[Output Only] The array of errors encountered while processing this operation.

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

Returns
Type Description
Errors.Builder

addErrorsBuilder(int index)

public Errors.Builder addErrorsBuilder(int index)

[Output Only] The array of errors encountered while processing this operation.

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

Parameter
Name Description
index int
Returns
Type Description
Errors.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Error build()
Returns
Type Description
Error

buildPartial()

public Error buildPartial()
Returns
Type Description
Error

clear()

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

clearErrors()

public Error.Builder clearErrors()

[Output Only] The array of errors encountered while processing this operation.

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

Returns
Type Description
Error.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public Error getDefaultInstanceForType()
Returns
Type Description
Error

getDescriptorForType()

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

getErrors(int index)

public Errors getErrors(int index)

[Output Only] The array of errors encountered while processing this operation.

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

Parameter
Name Description
index int
Returns
Type Description
Errors

getErrorsBuilder(int index)

public Errors.Builder getErrorsBuilder(int index)

[Output Only] The array of errors encountered while processing this operation.

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

Parameter
Name Description
index int
Returns
Type Description
Errors.Builder

getErrorsBuilderList()

public List<Errors.Builder> getErrorsBuilderList()

[Output Only] The array of errors encountered while processing this operation.

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

Returns
Type Description
List<Builder>

getErrorsCount()

public int getErrorsCount()

[Output Only] The array of errors encountered while processing this operation.

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

Returns
Type Description
int

getErrorsList()

public List<Errors> getErrorsList()

[Output Only] The array of errors encountered while processing this operation.

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

Returns
Type Description
List<Errors>

getErrorsOrBuilder(int index)

public ErrorsOrBuilder getErrorsOrBuilder(int index)

[Output Only] The array of errors encountered while processing this operation.

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

Parameter
Name Description
index int
Returns
Type Description
ErrorsOrBuilder

getErrorsOrBuilderList()

public List<? extends ErrorsOrBuilder> getErrorsOrBuilderList()

[Output Only] The array of errors encountered while processing this operation.

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

Returns
Type Description
List<? extends com.google.cloud.compute.v1.ErrorsOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Error other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeErrors(int index)

public Error.Builder removeErrors(int index)

[Output Only] The array of errors encountered while processing this operation.

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

Parameter
Name Description
index int
Returns
Type Description
Error.Builder

setErrors(int index, Errors value)

public Error.Builder setErrors(int index, Errors value)

[Output Only] The array of errors encountered while processing this operation.

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

Parameters
Name Description
index int
value Errors
Returns
Type Description
Error.Builder

setErrors(int index, Errors.Builder builderForValue)

public Error.Builder setErrors(int index, Errors.Builder builderForValue)

[Output Only] The array of errors encountered while processing this operation.

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

Parameters
Name Description
index int
builderForValue Errors.Builder
Returns
Type Description
Error.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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