Package org.opensearch.protobufs
Interface RandomScoreFunctionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RandomScoreFunction,RandomScoreFunction.Builder
public interface RandomScoreFunctionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetField()optional string field = 1 [json_name = "field"];com.google.protobuf.ByteStringoptional string field = 1 [json_name = "field"];getSeed()optional .org.opensearch.protobufs.RandomScoreFunctionSeed seed = 2 [json_name = "seed"];optional .org.opensearch.protobufs.RandomScoreFunctionSeed seed = 2 [json_name = "seed"];booleanhasField()optional string field = 1 [json_name = "field"];booleanhasSeed()optional .org.opensearch.protobufs.RandomScoreFunctionSeed seed = 2 [json_name = "seed"];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
-
hasField
boolean hasField()optional string field = 1 [json_name = "field"];- Returns:
- Whether the field field is set.
-
getField
String getField()optional string field = 1 [json_name = "field"];- Returns:
- The field.
-
getFieldBytes
com.google.protobuf.ByteString getFieldBytes()optional string field = 1 [json_name = "field"];- Returns:
- The bytes for field.
-
hasSeed
boolean hasSeed()optional .org.opensearch.protobufs.RandomScoreFunctionSeed seed = 2 [json_name = "seed"];- Returns:
- Whether the seed field is set.
-
getSeed
RandomScoreFunctionSeed getSeed()optional .org.opensearch.protobufs.RandomScoreFunctionSeed seed = 2 [json_name = "seed"];- Returns:
- The seed.
-
getSeedOrBuilder
RandomScoreFunctionSeedOrBuilder getSeedOrBuilder()optional .org.opensearch.protobufs.RandomScoreFunctionSeed seed = 2 [json_name = "seed"];
-