Class ScalarField.Builder

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

    public static final class ScalarField.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ScalarField.Builder>
    implements ScalarFieldOrBuilder
    Protobuf type milvus.proto.schema.ScalarField
    • 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<ScalarField.Builder>
      • clear

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

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

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

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

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

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

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

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

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

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

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

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

        public ScalarField.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<ScalarField.Builder>
        Throws:
        IOException
      • hasBoolData

        public boolean hasBoolData()
        .milvus.proto.schema.BoolArray bool_data = 1;
        Specified by:
        hasBoolData in interface ScalarFieldOrBuilder
        Returns:
        Whether the boolData field is set.
      • clearBoolData

        public ScalarField.Builder clearBoolData()
        .milvus.proto.schema.BoolArray bool_data = 1;
      • getBoolDataBuilder

        public BoolArray.Builder getBoolDataBuilder()
        .milvus.proto.schema.BoolArray bool_data = 1;
      • hasIntData

        public boolean hasIntData()
        .milvus.proto.schema.IntArray int_data = 2;
        Specified by:
        hasIntData in interface ScalarFieldOrBuilder
        Returns:
        Whether the intData field is set.
      • clearIntData

        public ScalarField.Builder clearIntData()
        .milvus.proto.schema.IntArray int_data = 2;
      • getIntDataBuilder

        public IntArray.Builder getIntDataBuilder()
        .milvus.proto.schema.IntArray int_data = 2;
      • hasLongData

        public boolean hasLongData()
        .milvus.proto.schema.LongArray long_data = 3;
        Specified by:
        hasLongData in interface ScalarFieldOrBuilder
        Returns:
        Whether the longData field is set.
      • clearLongData

        public ScalarField.Builder clearLongData()
        .milvus.proto.schema.LongArray long_data = 3;
      • getLongDataBuilder

        public LongArray.Builder getLongDataBuilder()
        .milvus.proto.schema.LongArray long_data = 3;
      • hasFloatData

        public boolean hasFloatData()
        .milvus.proto.schema.FloatArray float_data = 4;
        Specified by:
        hasFloatData in interface ScalarFieldOrBuilder
        Returns:
        Whether the floatData field is set.
      • clearFloatData

        public ScalarField.Builder clearFloatData()
        .milvus.proto.schema.FloatArray float_data = 4;
      • getFloatDataBuilder

        public FloatArray.Builder getFloatDataBuilder()
        .milvus.proto.schema.FloatArray float_data = 4;
      • hasDoubleData

        public boolean hasDoubleData()
        .milvus.proto.schema.DoubleArray double_data = 5;
        Specified by:
        hasDoubleData in interface ScalarFieldOrBuilder
        Returns:
        Whether the doubleData field is set.
      • clearDoubleData

        public ScalarField.Builder clearDoubleData()
        .milvus.proto.schema.DoubleArray double_data = 5;
      • getDoubleDataBuilder

        public DoubleArray.Builder getDoubleDataBuilder()
        .milvus.proto.schema.DoubleArray double_data = 5;
      • hasStringData

        public boolean hasStringData()
        .milvus.proto.schema.StringArray string_data = 6;
        Specified by:
        hasStringData in interface ScalarFieldOrBuilder
        Returns:
        Whether the stringData field is set.
      • clearStringData

        public ScalarField.Builder clearStringData()
        .milvus.proto.schema.StringArray string_data = 6;
      • getStringDataBuilder

        public StringArray.Builder getStringDataBuilder()
        .milvus.proto.schema.StringArray string_data = 6;
      • hasBytesData

        public boolean hasBytesData()
        .milvus.proto.schema.BytesArray bytes_data = 7;
        Specified by:
        hasBytesData in interface ScalarFieldOrBuilder
        Returns:
        Whether the bytesData field is set.
      • clearBytesData

        public ScalarField.Builder clearBytesData()
        .milvus.proto.schema.BytesArray bytes_data = 7;
      • getBytesDataBuilder

        public BytesArray.Builder getBytesDataBuilder()
        .milvus.proto.schema.BytesArray bytes_data = 7;
      • hasArrayData

        public boolean hasArrayData()
        .milvus.proto.schema.ArrayArray array_data = 8;
        Specified by:
        hasArrayData in interface ScalarFieldOrBuilder
        Returns:
        Whether the arrayData field is set.
      • clearArrayData

        public ScalarField.Builder clearArrayData()
        .milvus.proto.schema.ArrayArray array_data = 8;
      • getArrayDataBuilder

        public ArrayArray.Builder getArrayDataBuilder()
        .milvus.proto.schema.ArrayArray array_data = 8;
      • hasJsonData

        public boolean hasJsonData()
        .milvus.proto.schema.JSONArray json_data = 9;
        Specified by:
        hasJsonData in interface ScalarFieldOrBuilder
        Returns:
        Whether the jsonData field is set.
      • clearJsonData

        public ScalarField.Builder clearJsonData()
        .milvus.proto.schema.JSONArray json_data = 9;
      • getJsonDataBuilder

        public JSONArray.Builder getJsonDataBuilder()
        .milvus.proto.schema.JSONArray json_data = 9;
      • setUnknownFields

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

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