Package org.opensearch.protobufs
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 TypeMethodDescriptionfloatoptional float factor = 2 [json_name = "factor"];getField()string field = 1 [json_name = "field"];com.google.protobuf.ByteStringstring field = 1 [json_name = "field"];doubleoptional double missing = 3 [json_name = "missing"];optional .org.opensearch.protobufs.FieldValueFactorModifier modifier = 4 [json_name = "modifier"];intoptional .org.opensearch.protobufs.FieldValueFactorModifier modifier = 4 [json_name = "modifier"];booleanoptional float factor = 2 [json_name = "factor"];booleanoptional double missing = 3 [json_name = "missing"];booleanoptional .org.opensearch.protobufs.FieldValueFactorModifier modifier = 4 [json_name = "modifier"];Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
FieldValueFactorModifier getModifier()optional .org.opensearch.protobufs.FieldValueFactorModifier modifier = 4 [json_name = "modifier"];- Returns:
- The modifier.
-