Package org.opensearch.protobufs
Interface KnnQueryRescoreOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
KnnQueryRescore,KnnQueryRescore.Builder
public interface KnnQueryRescoreOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.org.opensearch.protobufs.RescoreContext context = 2 [json_name = "context"];.org.opensearch.protobufs.RescoreContext context = 2 [json_name = "context"];booleanbool enable = 1 [json_name = "enable"];boolean.org.opensearch.protobufs.RescoreContext context = 2 [json_name = "context"];booleanbool enable = 1 [json_name = "enable"];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
-
hasEnable
boolean hasEnable()bool enable = 1 [json_name = "enable"];- Returns:
- Whether the enable field is set.
-
getEnable
boolean getEnable()bool enable = 1 [json_name = "enable"];- Returns:
- The enable.
-
hasContext
boolean hasContext().org.opensearch.protobufs.RescoreContext context = 2 [json_name = "context"];- Returns:
- Whether the context field is set.
-
getContext
RescoreContext getContext().org.opensearch.protobufs.RescoreContext context = 2 [json_name = "context"];- Returns:
- The context.
-
getContextOrBuilder
RescoreContextOrBuilder getContextOrBuilder().org.opensearch.protobufs.RescoreContext context = 2 [json_name = "context"]; -
getKnnQueryRescoreCase
KnnQueryRescore.KnnQueryRescoreCase getKnnQueryRescoreCase()
-