Class Error.Builder

  • All Implemented Interfaces:
    ErrorOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Error

    public static final class Error.Builder
    extends com.google.protobuf.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
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Error.Builder>
      • clear

        public Error.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Error.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Error.Builder>
      • getDefaultInstanceForType

        public Error getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Error build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Error buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Error.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Error.Builder>
      • setField

        public Error.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                      Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Error.Builder>
      • clearField

        public Error.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Error.Builder>
      • clearOneof

        public Error.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Error.Builder>
      • setRepeatedField

        public Error.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                              int index,
                                              Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Error.Builder>
      • addRepeatedField

        public Error.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                              Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Error.Builder>
      • mergeFrom

        public Error.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Error.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Error.Builder>
      • mergeFrom

        public Error.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Error.Builder>
        Throws:
        IOException
      • getErrorsList

        public List<Errors> getErrorsList()
         [Output Only] The array of errors encountered while processing this operation.
         
        repeated .google.cloud.compute.v1.Errors errors = 315977579;
        Specified by:
        getErrorsList in interface ErrorOrBuilder
      • getErrorsCount

        public int getErrorsCount()
         [Output Only] The array of errors encountered while processing this operation.
         
        repeated .google.cloud.compute.v1.Errors errors = 315977579;
        Specified by:
        getErrorsCount in interface ErrorOrBuilder
      • getErrors

        public Errors getErrors​(int index)
         [Output Only] The array of errors encountered while processing this operation.
         
        repeated .google.cloud.compute.v1.Errors errors = 315977579;
        Specified by:
        getErrors in interface ErrorOrBuilder
      • setErrors

        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;
      • setErrors

        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;
      • addErrors

        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;
      • addErrors

        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;
      • addErrors

        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;
      • addErrors

        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;
      • addAllErrors

        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;
      • clearErrors

        public Error.Builder clearErrors()
         [Output Only] The array of errors encountered while processing this operation.
         
        repeated .google.cloud.compute.v1.Errors errors = 315977579;
      • removeErrors

        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;
      • getErrorsBuilder

        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;
      • getErrorsOrBuilder

        public ErrorsOrBuilder getErrorsOrBuilder​(int index)
         [Output Only] The array of errors encountered while processing this operation.
         
        repeated .google.cloud.compute.v1.Errors errors = 315977579;
        Specified by:
        getErrorsOrBuilder in interface ErrorOrBuilder
      • 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;
        Specified by:
        getErrorsOrBuilderList in interface ErrorOrBuilder
      • addErrorsBuilder

        public Errors.Builder addErrorsBuilder()
         [Output Only] The array of errors encountered while processing this operation.
         
        repeated .google.cloud.compute.v1.Errors errors = 315977579;
      • addErrorsBuilder

        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;
      • 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;
      • setUnknownFields

        public final Error.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Error.Builder>
      • mergeUnknownFields

        public final Error.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Error.Builder>