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 Type
    Method
    Description
    optional string field = 1 [json_name = "field"];
    com.google.protobuf.ByteString
    optional string field = 1 [json_name = "field"];
    optional .org.opensearch.protobufs.RandomScoreFunctionSeed seed = 2 [json_name = "seed"];
    optional .org.opensearch.protobufs.RandomScoreFunctionSeed seed = 2 [json_name = "seed"];
    boolean
    optional string field = 1 [json_name = "field"];
    boolean
    optional .org.opensearch.protobufs.RandomScoreFunctionSeed seed = 2 [json_name = "seed"];

    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

    • 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

      optional .org.opensearch.protobufs.RandomScoreFunctionSeed seed = 2 [json_name = "seed"];
      Returns:
      The seed.
    • getSeedOrBuilder

      optional .org.opensearch.protobufs.RandomScoreFunctionSeed seed = 2 [json_name = "seed"];