Package org.opensearch.protobufs
Class FunctionScoreContainer
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.opensearch.protobufs.FunctionScoreContainer
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,FunctionScoreContainerOrBuilder
public final class FunctionScoreContainer
extends com.google.protobuf.GeneratedMessageV3
implements FunctionScoreContainerOrBuilder
Protobuf type
org.opensearch.protobufs.FunctionScoreContainer- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeorg.opensearch.protobufs.FunctionScoreContainerstatic enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic FunctionScoreContainerstatic final com.google.protobuf.Descriptors.DescriptorgetExp().org.opensearch.protobufs.DecayFunction exp = 3 [json_name = "exp"];.org.opensearch.protobufs.DecayFunction exp = 3 [json_name = "exp"];.org.opensearch.protobufs.FieldValueFactorScoreFunction field_value_factor = 6 [json_name = "fieldValueFactor"];.org.opensearch.protobufs.FieldValueFactorScoreFunction field_value_factor = 6 [json_name = "fieldValueFactor"];optional .org.opensearch.protobufs.QueryContainer filter = 1 [json_name = "filter"];optional .org.opensearch.protobufs.QueryContainer filter = 1 [json_name = "filter"];getGauss().org.opensearch.protobufs.DecayFunction gauss = 4 [json_name = "gauss"];.org.opensearch.protobufs.DecayFunction gauss = 4 [json_name = "gauss"];.org.opensearch.protobufs.DecayFunction linear = 5 [json_name = "linear"];.org.opensearch.protobufs.DecayFunction linear = 5 [json_name = "linear"];com.google.protobuf.Parser<FunctionScoreContainer> .org.opensearch.protobufs.RandomScoreFunction random_score = 7 [json_name = "randomScore"];.org.opensearch.protobufs.RandomScoreFunction random_score = 7 [json_name = "randomScore"];.org.opensearch.protobufs.ScriptScoreFunction script_score = 8 [json_name = "scriptScore"];.org.opensearch.protobufs.ScriptScoreFunction script_score = 8 [json_name = "scriptScore"];intfloatoptional float weight = 2 [json_name = "weight"];booleanhasExp().org.opensearch.protobufs.DecayFunction exp = 3 [json_name = "exp"];boolean.org.opensearch.protobufs.FieldValueFactorScoreFunction field_value_factor = 6 [json_name = "fieldValueFactor"];booleanoptional .org.opensearch.protobufs.QueryContainer filter = 1 [json_name = "filter"];booleanhasGauss().org.opensearch.protobufs.DecayFunction gauss = 4 [json_name = "gauss"];inthashCode()boolean.org.opensearch.protobufs.DecayFunction linear = 5 [json_name = "linear"];boolean.org.opensearch.protobufs.RandomScoreFunction random_score = 7 [json_name = "randomScore"];boolean.org.opensearch.protobufs.ScriptScoreFunction script_score = 8 [json_name = "scriptScore"];booleanoptional float weight = 2 [json_name = "weight"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(FunctionScoreContainer prototype) protected FunctionScoreContainer.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static FunctionScoreContainerparseDelimitedFrom(InputStream input) static FunctionScoreContainerparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FunctionScoreContainerparseFrom(byte[] data) static FunctionScoreContainerparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FunctionScoreContainerparseFrom(com.google.protobuf.ByteString data) static FunctionScoreContainerparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FunctionScoreContainerparseFrom(com.google.protobuf.CodedInputStream input) static FunctionScoreContainerparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FunctionScoreContainerparseFrom(InputStream input) static FunctionScoreContainerparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FunctionScoreContainerparseFrom(ByteBuffer data) static FunctionScoreContainerparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<FunctionScoreContainer> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER- See Also:
-
WEIGHT_FIELD_NUMBER
public static final int WEIGHT_FIELD_NUMBER- See Also:
-
EXP_FIELD_NUMBER
public static final int EXP_FIELD_NUMBER- See Also:
-
GAUSS_FIELD_NUMBER
public static final int GAUSS_FIELD_NUMBER- See Also:
-
LINEAR_FIELD_NUMBER
public static final int LINEAR_FIELD_NUMBER- See Also:
-
FIELD_VALUE_FACTOR_FIELD_NUMBER
public static final int FIELD_VALUE_FACTOR_FIELD_NUMBER- See Also:
-
RANDOM_SCORE_FIELD_NUMBER
public static final int RANDOM_SCORE_FIELD_NUMBER- See Also:
-
SCRIPT_SCORE_FIELD_NUMBER
public static final int SCRIPT_SCORE_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getFunctionScoreContainerCase
- Specified by:
getFunctionScoreContainerCasein interfaceFunctionScoreContainerOrBuilder
-
hasFilter
public boolean hasFilter()optional .org.opensearch.protobufs.QueryContainer filter = 1 [json_name = "filter"];- Specified by:
hasFilterin interfaceFunctionScoreContainerOrBuilder- Returns:
- Whether the filter field is set.
-
getFilter
optional .org.opensearch.protobufs.QueryContainer filter = 1 [json_name = "filter"];- Specified by:
getFilterin interfaceFunctionScoreContainerOrBuilder- Returns:
- The filter.
-
getFilterOrBuilder
optional .org.opensearch.protobufs.QueryContainer filter = 1 [json_name = "filter"];- Specified by:
getFilterOrBuilderin interfaceFunctionScoreContainerOrBuilder
-
hasWeight
public boolean hasWeight()optional float weight = 2 [json_name = "weight"];- Specified by:
hasWeightin interfaceFunctionScoreContainerOrBuilder- Returns:
- Whether the weight field is set.
-
getWeight
public float getWeight()optional float weight = 2 [json_name = "weight"];- Specified by:
getWeightin interfaceFunctionScoreContainerOrBuilder- Returns:
- The weight.
-
hasExp
public boolean hasExp().org.opensearch.protobufs.DecayFunction exp = 3 [json_name = "exp"];- Specified by:
hasExpin interfaceFunctionScoreContainerOrBuilder- Returns:
- Whether the exp field is set.
-
getExp
.org.opensearch.protobufs.DecayFunction exp = 3 [json_name = "exp"];- Specified by:
getExpin interfaceFunctionScoreContainerOrBuilder- Returns:
- The exp.
-
getExpOrBuilder
.org.opensearch.protobufs.DecayFunction exp = 3 [json_name = "exp"];- Specified by:
getExpOrBuilderin interfaceFunctionScoreContainerOrBuilder
-
hasGauss
public boolean hasGauss().org.opensearch.protobufs.DecayFunction gauss = 4 [json_name = "gauss"];- Specified by:
hasGaussin interfaceFunctionScoreContainerOrBuilder- Returns:
- Whether the gauss field is set.
-
getGauss
.org.opensearch.protobufs.DecayFunction gauss = 4 [json_name = "gauss"];- Specified by:
getGaussin interfaceFunctionScoreContainerOrBuilder- Returns:
- The gauss.
-
getGaussOrBuilder
.org.opensearch.protobufs.DecayFunction gauss = 4 [json_name = "gauss"];- Specified by:
getGaussOrBuilderin interfaceFunctionScoreContainerOrBuilder
-
hasLinear
public boolean hasLinear().org.opensearch.protobufs.DecayFunction linear = 5 [json_name = "linear"];- Specified by:
hasLinearin interfaceFunctionScoreContainerOrBuilder- Returns:
- Whether the linear field is set.
-
getLinear
.org.opensearch.protobufs.DecayFunction linear = 5 [json_name = "linear"];- Specified by:
getLinearin interfaceFunctionScoreContainerOrBuilder- Returns:
- The linear.
-
getLinearOrBuilder
.org.opensearch.protobufs.DecayFunction linear = 5 [json_name = "linear"];- Specified by:
getLinearOrBuilderin interfaceFunctionScoreContainerOrBuilder
-
hasFieldValueFactor
public boolean hasFieldValueFactor().org.opensearch.protobufs.FieldValueFactorScoreFunction field_value_factor = 6 [json_name = "fieldValueFactor"];- Specified by:
hasFieldValueFactorin interfaceFunctionScoreContainerOrBuilder- Returns:
- Whether the fieldValueFactor field is set.
-
getFieldValueFactor
.org.opensearch.protobufs.FieldValueFactorScoreFunction field_value_factor = 6 [json_name = "fieldValueFactor"];- Specified by:
getFieldValueFactorin interfaceFunctionScoreContainerOrBuilder- Returns:
- The fieldValueFactor.
-
getFieldValueFactorOrBuilder
.org.opensearch.protobufs.FieldValueFactorScoreFunction field_value_factor = 6 [json_name = "fieldValueFactor"];- Specified by:
getFieldValueFactorOrBuilderin interfaceFunctionScoreContainerOrBuilder
-
hasRandomScore
public boolean hasRandomScore().org.opensearch.protobufs.RandomScoreFunction random_score = 7 [json_name = "randomScore"];- Specified by:
hasRandomScorein interfaceFunctionScoreContainerOrBuilder- Returns:
- Whether the randomScore field is set.
-
getRandomScore
.org.opensearch.protobufs.RandomScoreFunction random_score = 7 [json_name = "randomScore"];- Specified by:
getRandomScorein interfaceFunctionScoreContainerOrBuilder- Returns:
- The randomScore.
-
getRandomScoreOrBuilder
.org.opensearch.protobufs.RandomScoreFunction random_score = 7 [json_name = "randomScore"];- Specified by:
getRandomScoreOrBuilderin interfaceFunctionScoreContainerOrBuilder
-
hasScriptScore
public boolean hasScriptScore().org.opensearch.protobufs.ScriptScoreFunction script_score = 8 [json_name = "scriptScore"];- Specified by:
hasScriptScorein interfaceFunctionScoreContainerOrBuilder- Returns:
- Whether the scriptScore field is set.
-
getScriptScore
.org.opensearch.protobufs.ScriptScoreFunction script_score = 8 [json_name = "scriptScore"];- Specified by:
getScriptScorein interfaceFunctionScoreContainerOrBuilder- Returns:
- The scriptScore.
-
getScriptScoreOrBuilder
.org.opensearch.protobufs.ScriptScoreFunction script_score = 8 [json_name = "scriptScore"];- Specified by:
getScriptScoreOrBuilderin interfaceFunctionScoreContainerOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static FunctionScoreContainer parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FunctionScoreContainer parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FunctionScoreContainer parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FunctionScoreContainer parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FunctionScoreContainer parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FunctionScoreContainer parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static FunctionScoreContainer parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static FunctionScoreContainer parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static FunctionScoreContainer parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static FunctionScoreContainer parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected FunctionScoreContainer.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-