Class ErrorLocation.Builder

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

    public static final class ErrorLocation.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
    implements ErrorLocationOrBuilder
     Holds information about where the error is located.
     
    Protobuf type google.cloud.bigquery.migration.v2alpha.ErrorLocation
    • 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<ErrorLocation.Builder>
      • clear

        public ErrorLocation.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<ErrorLocation.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<ErrorLocation.Builder>
      • getDefaultInstanceForType

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

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

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

        public ErrorLocation.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<ErrorLocation.Builder>
      • setField

        public ErrorLocation.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<ErrorLocation.Builder>
      • clearField

        public ErrorLocation.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<ErrorLocation.Builder>
      • clearOneof

        public ErrorLocation.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<ErrorLocation.Builder>
      • setRepeatedField

        public ErrorLocation.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<ErrorLocation.Builder>
      • addRepeatedField

        public ErrorLocation.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<ErrorLocation.Builder>
      • mergeFrom

        public ErrorLocation.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<ErrorLocation.Builder>
      • isInitialized

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

        public ErrorLocation.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<ErrorLocation.Builder>
        Throws:
        IOException
      • getLine

        public int getLine()
         Optional. If applicable, denotes the line where the error occurred. A zero value
         means that there is no line information.
         
        int32 line = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLine in interface ErrorLocationOrBuilder
        Returns:
        The line.
      • setLine

        public ErrorLocation.Builder setLine​(int value)
         Optional. If applicable, denotes the line where the error occurred. A zero value
         means that there is no line information.
         
        int32 line = 1 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The line to set.
        Returns:
        This builder for chaining.
      • clearLine

        public ErrorLocation.Builder clearLine()
         Optional. If applicable, denotes the line where the error occurred. A zero value
         means that there is no line information.
         
        int32 line = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • getColumn

        public int getColumn()
         Optional. If applicable, denotes the column where the error occurred. A zero value
         means that there is no columns information.
         
        int32 column = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getColumn in interface ErrorLocationOrBuilder
        Returns:
        The column.
      • setColumn

        public ErrorLocation.Builder setColumn​(int value)
         Optional. If applicable, denotes the column where the error occurred. A zero value
         means that there is no columns information.
         
        int32 column = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The column to set.
        Returns:
        This builder for chaining.
      • clearColumn

        public ErrorLocation.Builder clearColumn()
         Optional. If applicable, denotes the column where the error occurred. A zero value
         means that there is no columns information.
         
        int32 column = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ErrorLocation.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<ErrorLocation.Builder>
      • mergeUnknownFields

        public final ErrorLocation.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<ErrorLocation.Builder>