Class TemplateValue.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public TemplateValue.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<TemplateValue.Builder>
        Throws:
        IOException
      • hasBoolVal

        public boolean hasBoolVal()
        bool bool_val = 1;
        Specified by:
        hasBoolVal in interface TemplateValueOrBuilder
        Returns:
        Whether the boolVal field is set.
      • setBoolVal

        public TemplateValue.Builder setBoolVal​(boolean value)
        bool bool_val = 1;
        Parameters:
        value - The boolVal to set.
        Returns:
        This builder for chaining.
      • clearBoolVal

        public TemplateValue.Builder clearBoolVal()
        bool bool_val = 1;
        Returns:
        This builder for chaining.
      • hasInt64Val

        public boolean hasInt64Val()
        int64 int64_val = 2;
        Specified by:
        hasInt64Val in interface TemplateValueOrBuilder
        Returns:
        Whether the int64Val field is set.
      • setInt64Val

        public TemplateValue.Builder setInt64Val​(long value)
        int64 int64_val = 2;
        Parameters:
        value - The int64Val to set.
        Returns:
        This builder for chaining.
      • clearInt64Val

        public TemplateValue.Builder clearInt64Val()
        int64 int64_val = 2;
        Returns:
        This builder for chaining.
      • hasFloatVal

        public boolean hasFloatVal()
        double float_val = 3;
        Specified by:
        hasFloatVal in interface TemplateValueOrBuilder
        Returns:
        Whether the floatVal field is set.
      • setFloatVal

        public TemplateValue.Builder setFloatVal​(double value)
        double float_val = 3;
        Parameters:
        value - The floatVal to set.
        Returns:
        This builder for chaining.
      • clearFloatVal

        public TemplateValue.Builder clearFloatVal()
        double float_val = 3;
        Returns:
        This builder for chaining.
      • hasStringVal

        public boolean hasStringVal()
        string string_val = 4;
        Specified by:
        hasStringVal in interface TemplateValueOrBuilder
        Returns:
        Whether the stringVal field is set.
      • getStringValBytes

        public com.google.protobuf.ByteString getStringValBytes()
        string string_val = 4;
        Specified by:
        getStringValBytes in interface TemplateValueOrBuilder
        Returns:
        The bytes for stringVal.
      • setStringVal

        public TemplateValue.Builder setStringVal​(String value)
        string string_val = 4;
        Parameters:
        value - The stringVal to set.
        Returns:
        This builder for chaining.
      • clearStringVal

        public TemplateValue.Builder clearStringVal()
        string string_val = 4;
        Returns:
        This builder for chaining.
      • setStringValBytes

        public TemplateValue.Builder setStringValBytes​(com.google.protobuf.ByteString value)
        string string_val = 4;
        Parameters:
        value - The bytes for stringVal to set.
        Returns:
        This builder for chaining.
      • hasArrayVal

        public boolean hasArrayVal()
        .milvus.proto.schema.TemplateArrayValue array_val = 5;
        Specified by:
        hasArrayVal in interface TemplateValueOrBuilder
        Returns:
        Whether the arrayVal field is set.
      • clearArrayVal

        public TemplateValue.Builder clearArrayVal()
        .milvus.proto.schema.TemplateArrayValue array_val = 5;
      • getArrayValBuilder

        public TemplateArrayValue.Builder getArrayValBuilder()
        .milvus.proto.schema.TemplateArrayValue array_val = 5;
      • setUnknownFields

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

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