Class Error.Builder (1.43.0)

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

[Output Only] If errors are generated during processing of the operation, this field will be populated.

Protobuf type google.cloud.compute.v1.Error

Implements

ErrorOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.Errors>
Returns
TypeDescription
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
NameDescription
valueErrors
Returns
TypeDescription
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
NameDescription
builderForValueErrors.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueErrors
Returns
TypeDescription
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
NameDescription
indexint
builderForValueErrors.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Errors.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Error build()
Returns
TypeDescription
Error

buildPartial()

public Error buildPartial()
Returns
TypeDescription
Error

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public Error getDefaultInstanceForType()
Returns
TypeDescription
Error

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.compute.v1.ErrorsOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Error other)

public Error.Builder mergeFrom(Error other)
Parameter
NameDescription
otherError
Returns
TypeDescription
Error.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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