Interface FieldValueFactorScoreFunctionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
FieldValueFactorScoreFunction, FieldValueFactorScoreFunction.Builder

public interface FieldValueFactorScoreFunctionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    optional float factor = 2 [json_name = "factor"];
    string field = 1 [json_name = "field"];
    com.google.protobuf.ByteString
    string field = 1 [json_name = "field"];
    double
    optional double missing = 3 [json_name = "missing"];
    optional .org.opensearch.protobufs.FieldValueFactorModifier modifier = 4 [json_name = "modifier"];
    int
    optional .org.opensearch.protobufs.FieldValueFactorModifier modifier = 4 [json_name = "modifier"];
    boolean
    optional float factor = 2 [json_name = "factor"];
    boolean
    optional double missing = 3 [json_name = "missing"];
    boolean
    optional .org.opensearch.protobufs.FieldValueFactorModifier modifier = 4 [json_name = "modifier"];

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getField

      String getField()
      string field = 1 [json_name = "field"];
      Returns:
      The field.
    • getFieldBytes

      com.google.protobuf.ByteString getFieldBytes()
      string field = 1 [json_name = "field"];
      Returns:
      The bytes for field.
    • hasFactor

      boolean hasFactor()
      optional float factor = 2 [json_name = "factor"];
      Returns:
      Whether the factor field is set.
    • getFactor

      float getFactor()
      optional float factor = 2 [json_name = "factor"];
      Returns:
      The factor.
    • hasMissing

      boolean hasMissing()
      optional double missing = 3 [json_name = "missing"];
      Returns:
      Whether the missing field is set.
    • getMissing

      double getMissing()
      optional double missing = 3 [json_name = "missing"];
      Returns:
      The missing.
    • hasModifier

      boolean hasModifier()
      optional .org.opensearch.protobufs.FieldValueFactorModifier modifier = 4 [json_name = "modifier"];
      Returns:
      Whether the modifier field is set.
    • getModifierValue

      int getModifierValue()
      optional .org.opensearch.protobufs.FieldValueFactorModifier modifier = 4 [json_name = "modifier"];
      Returns:
      The enum numeric value on the wire for modifier.
    • getModifier

      optional .org.opensearch.protobufs.FieldValueFactorModifier modifier = 4 [json_name = "modifier"];
      Returns:
      The modifier.