Class FunctionScore.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<FunctionScore.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<FunctionScore.Builder>
io.milvus.grpc.FunctionScore.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, FunctionScoreOrBuilder, Cloneable
Enclosing class:
FunctionScore

public static final class FunctionScore.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FunctionScore.Builder> implements FunctionScoreOrBuilder
Protobuf type milvus.proto.schema.FunctionScore
  • Method Details

    • 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<FunctionScore.Builder>
    • clear

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

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

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

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

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

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

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

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

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

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

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

      public FunctionScore.Builder mergeFrom(FunctionScore other)
    • isInitialized

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

      public FunctionScore.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<FunctionScore.Builder>
      Throws:
      IOException
    • getFunctionsList

      public List<FunctionSchema> getFunctionsList()
       Currently only a single function is supported, and multiple functions
       
      repeated .milvus.proto.schema.FunctionSchema functions = 1;
      Specified by:
      getFunctionsList in interface FunctionScoreOrBuilder
    • getFunctionsCount

      public int getFunctionsCount()
       Currently only a single function is supported, and multiple functions
       
      repeated .milvus.proto.schema.FunctionSchema functions = 1;
      Specified by:
      getFunctionsCount in interface FunctionScoreOrBuilder
    • getFunctions

      public FunctionSchema getFunctions(int index)
       Currently only a single function is supported, and multiple functions
       
      repeated .milvus.proto.schema.FunctionSchema functions = 1;
      Specified by:
      getFunctions in interface FunctionScoreOrBuilder
    • setFunctions

      public FunctionScore.Builder setFunctions(int index, FunctionSchema value)
       Currently only a single function is supported, and multiple functions
       
      repeated .milvus.proto.schema.FunctionSchema functions = 1;
    • setFunctions

      public FunctionScore.Builder setFunctions(int index, FunctionSchema.Builder builderForValue)
       Currently only a single function is supported, and multiple functions
       
      repeated .milvus.proto.schema.FunctionSchema functions = 1;
    • addFunctions

      public FunctionScore.Builder addFunctions(FunctionSchema value)
       Currently only a single function is supported, and multiple functions
       
      repeated .milvus.proto.schema.FunctionSchema functions = 1;
    • addFunctions

      public FunctionScore.Builder addFunctions(int index, FunctionSchema value)
       Currently only a single function is supported, and multiple functions
       
      repeated .milvus.proto.schema.FunctionSchema functions = 1;
    • addFunctions

      public FunctionScore.Builder addFunctions(FunctionSchema.Builder builderForValue)
       Currently only a single function is supported, and multiple functions
       
      repeated .milvus.proto.schema.FunctionSchema functions = 1;
    • addFunctions

      public FunctionScore.Builder addFunctions(int index, FunctionSchema.Builder builderForValue)
       Currently only a single function is supported, and multiple functions
       
      repeated .milvus.proto.schema.FunctionSchema functions = 1;
    • addAllFunctions

      public FunctionScore.Builder addAllFunctions(Iterable<? extends FunctionSchema> values)
       Currently only a single function is supported, and multiple functions
       
      repeated .milvus.proto.schema.FunctionSchema functions = 1;
    • clearFunctions

      public FunctionScore.Builder clearFunctions()
       Currently only a single function is supported, and multiple functions
       
      repeated .milvus.proto.schema.FunctionSchema functions = 1;
    • removeFunctions

      public FunctionScore.Builder removeFunctions(int index)
       Currently only a single function is supported, and multiple functions
       
      repeated .milvus.proto.schema.FunctionSchema functions = 1;
    • getFunctionsBuilder

      public FunctionSchema.Builder getFunctionsBuilder(int index)
       Currently only a single function is supported, and multiple functions
       
      repeated .milvus.proto.schema.FunctionSchema functions = 1;
    • getFunctionsOrBuilder

      public FunctionSchemaOrBuilder getFunctionsOrBuilder(int index)
       Currently only a single function is supported, and multiple functions
       
      repeated .milvus.proto.schema.FunctionSchema functions = 1;
      Specified by:
      getFunctionsOrBuilder in interface FunctionScoreOrBuilder
    • getFunctionsOrBuilderList

      public List<? extends FunctionSchemaOrBuilder> getFunctionsOrBuilderList()
       Currently only a single function is supported, and multiple functions
       
      repeated .milvus.proto.schema.FunctionSchema functions = 1;
      Specified by:
      getFunctionsOrBuilderList in interface FunctionScoreOrBuilder
    • addFunctionsBuilder

      public FunctionSchema.Builder addFunctionsBuilder()
       Currently only a single function is supported, and multiple functions
       
      repeated .milvus.proto.schema.FunctionSchema functions = 1;
    • addFunctionsBuilder

      public FunctionSchema.Builder addFunctionsBuilder(int index)
       Currently only a single function is supported, and multiple functions
       
      repeated .milvus.proto.schema.FunctionSchema functions = 1;
    • getFunctionsBuilderList

      public List<FunctionSchema.Builder> getFunctionsBuilderList()
       Currently only a single function is supported, and multiple functions
       
      repeated .milvus.proto.schema.FunctionSchema functions = 1;
    • getParamsList

      public List<KeyValuePair> getParamsList()
       may be supported in the future, so repeated is used here.
       
      repeated .milvus.proto.common.KeyValuePair params = 2;
      Specified by:
      getParamsList in interface FunctionScoreOrBuilder
    • getParamsCount

      public int getParamsCount()
       may be supported in the future, so repeated is used here.
       
      repeated .milvus.proto.common.KeyValuePair params = 2;
      Specified by:
      getParamsCount in interface FunctionScoreOrBuilder
    • getParams

      public KeyValuePair getParams(int index)
       may be supported in the future, so repeated is used here.
       
      repeated .milvus.proto.common.KeyValuePair params = 2;
      Specified by:
      getParams in interface FunctionScoreOrBuilder
    • setParams

      public FunctionScore.Builder setParams(int index, KeyValuePair value)
       may be supported in the future, so repeated is used here.
       
      repeated .milvus.proto.common.KeyValuePair params = 2;
    • setParams

      public FunctionScore.Builder setParams(int index, KeyValuePair.Builder builderForValue)
       may be supported in the future, so repeated is used here.
       
      repeated .milvus.proto.common.KeyValuePair params = 2;
    • addParams

      public FunctionScore.Builder addParams(KeyValuePair value)
       may be supported in the future, so repeated is used here.
       
      repeated .milvus.proto.common.KeyValuePair params = 2;
    • addParams

      public FunctionScore.Builder addParams(int index, KeyValuePair value)
       may be supported in the future, so repeated is used here.
       
      repeated .milvus.proto.common.KeyValuePair params = 2;
    • addParams

      public FunctionScore.Builder addParams(KeyValuePair.Builder builderForValue)
       may be supported in the future, so repeated is used here.
       
      repeated .milvus.proto.common.KeyValuePair params = 2;
    • addParams

      public FunctionScore.Builder addParams(int index, KeyValuePair.Builder builderForValue)
       may be supported in the future, so repeated is used here.
       
      repeated .milvus.proto.common.KeyValuePair params = 2;
    • addAllParams

      public FunctionScore.Builder addAllParams(Iterable<? extends KeyValuePair> values)
       may be supported in the future, so repeated is used here.
       
      repeated .milvus.proto.common.KeyValuePair params = 2;
    • clearParams

      public FunctionScore.Builder clearParams()
       may be supported in the future, so repeated is used here.
       
      repeated .milvus.proto.common.KeyValuePair params = 2;
    • removeParams

      public FunctionScore.Builder removeParams(int index)
       may be supported in the future, so repeated is used here.
       
      repeated .milvus.proto.common.KeyValuePair params = 2;
    • getParamsBuilder

      public KeyValuePair.Builder getParamsBuilder(int index)
       may be supported in the future, so repeated is used here.
       
      repeated .milvus.proto.common.KeyValuePair params = 2;
    • getParamsOrBuilder

      public KeyValuePairOrBuilder getParamsOrBuilder(int index)
       may be supported in the future, so repeated is used here.
       
      repeated .milvus.proto.common.KeyValuePair params = 2;
      Specified by:
      getParamsOrBuilder in interface FunctionScoreOrBuilder
    • getParamsOrBuilderList

      public List<? extends KeyValuePairOrBuilder> getParamsOrBuilderList()
       may be supported in the future, so repeated is used here.
       
      repeated .milvus.proto.common.KeyValuePair params = 2;
      Specified by:
      getParamsOrBuilderList in interface FunctionScoreOrBuilder
    • addParamsBuilder

      public KeyValuePair.Builder addParamsBuilder()
       may be supported in the future, so repeated is used here.
       
      repeated .milvus.proto.common.KeyValuePair params = 2;
    • addParamsBuilder

      public KeyValuePair.Builder addParamsBuilder(int index)
       may be supported in the future, so repeated is used here.
       
      repeated .milvus.proto.common.KeyValuePair params = 2;
    • getParamsBuilderList

      public List<KeyValuePair.Builder> getParamsBuilderList()
       may be supported in the future, so repeated is used here.
       
      repeated .milvus.proto.common.KeyValuePair params = 2;
    • setUnknownFields

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

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