Send feedback
Class Error.Builder (1.12.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.12.0 keyboard_arrow_down
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
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
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
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Error . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public Error buildPartial ()
Returns
clear()
public Error . Builder clear ()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public Error . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Error . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public Error . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public Error getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
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
Returns
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
Returns
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
getErrorsCount()
public int getErrorsCount ()
[Output Only] The array of errors encountered while processing this operation.
repeated .google.cloud.compute.v1.Errors errors = 315977579;
Returns
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
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
Returns
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
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(Error other)
public Error . Builder mergeFrom ( Error other )
Parameter
Name Description other Error
Returns
public Error . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Error . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Error . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Error . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Error . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Error . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]