Class Msg.ImportFile.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Msg.ImportFileOrBuilder
    Enclosing class:
    Msg.ImportFile

    public static final class Msg.ImportFile.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Msg.ImportFile.Builder>
    implements Msg.ImportFileOrBuilder
    Protobuf type milvus.proto.msg.ImportFile
    • 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<Msg.ImportFile.Builder>
      • clear

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

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

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

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

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

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

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

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

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

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

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

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

        public Msg.ImportFile.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<Msg.ImportFile.Builder>
        Throws:
        IOException
      • setId

        public Msg.ImportFile.Builder setId​(long value)
        int64 id = 1;
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • getPathsList

        public com.google.protobuf.ProtocolStringList getPathsList()
         A singular row-based file or multiple column-based files.
         
        repeated string paths = 2;
        Specified by:
        getPathsList in interface Msg.ImportFileOrBuilder
        Returns:
        A list containing the paths.
      • getPathsCount

        public int getPathsCount()
         A singular row-based file or multiple column-based files.
         
        repeated string paths = 2;
        Specified by:
        getPathsCount in interface Msg.ImportFileOrBuilder
        Returns:
        The count of paths.
      • getPaths

        public String getPaths​(int index)
         A singular row-based file or multiple column-based files.
         
        repeated string paths = 2;
        Specified by:
        getPaths in interface Msg.ImportFileOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The paths at the given index.
      • getPathsBytes

        public com.google.protobuf.ByteString getPathsBytes​(int index)
         A singular row-based file or multiple column-based files.
         
        repeated string paths = 2;
        Specified by:
        getPathsBytes in interface Msg.ImportFileOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the paths at the given index.
      • setPaths

        public Msg.ImportFile.Builder setPaths​(int index,
                                               String value)
         A singular row-based file or multiple column-based files.
         
        repeated string paths = 2;
        Parameters:
        index - The index to set the value at.
        value - The paths to set.
        Returns:
        This builder for chaining.
      • addPaths

        public Msg.ImportFile.Builder addPaths​(String value)
         A singular row-based file or multiple column-based files.
         
        repeated string paths = 2;
        Parameters:
        value - The paths to add.
        Returns:
        This builder for chaining.
      • addAllPaths

        public Msg.ImportFile.Builder addAllPaths​(Iterable<String> values)
         A singular row-based file or multiple column-based files.
         
        repeated string paths = 2;
        Parameters:
        values - The paths to add.
        Returns:
        This builder for chaining.
      • clearPaths

        public Msg.ImportFile.Builder clearPaths()
         A singular row-based file or multiple column-based files.
         
        repeated string paths = 2;
        Returns:
        This builder for chaining.
      • addPathsBytes

        public Msg.ImportFile.Builder addPathsBytes​(com.google.protobuf.ByteString value)
         A singular row-based file or multiple column-based files.
         
        repeated string paths = 2;
        Parameters:
        value - The bytes of the paths to add.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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