Package org.opensearch.protobufs
Class HighlightField
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.opensearch.protobufs.HighlightField
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,HighlightFieldOrBuilder
public final class HighlightField
extends com.google.protobuf.GeneratedMessageV3
implements HighlightFieldOrBuilder
Protobuf type
org.opensearch.protobufs.HighlightField- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeorg.opensearch.protobufs.HighlightFieldNested 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 intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic 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 TypeMethodDescriptionbooleanoptional string boundary_chars = 2 [json_name = "boundaryChars"];com.google.protobuf.ByteStringoptional string boundary_chars = 2 [json_name = "boundaryChars"];intoptional int32 boundary_max_scan = 3 [json_name = "boundaryMaxScan"];optional .org.opensearch.protobufs.BoundaryScanner boundary_scanner = 4 [json_name = "boundaryScanner"];optional string boundary_scanner_locale = 5 [json_name = "boundaryScannerLocale"];com.google.protobuf.ByteStringoptional string boundary_scanner_locale = 5 [json_name = "boundaryScannerLocale"];intoptional .org.opensearch.protobufs.BoundaryScanner boundary_scanner = 4 [json_name = "boundaryScanner"];static HighlightFieldstatic final com.google.protobuf.Descriptors.Descriptorbooleanoptional bool force_source = 6 [json_name = "forceSource"];optional .org.opensearch.protobufs.HighlighterFragmenter fragmenter = 7 [json_name = "fragmenter"];intoptional .org.opensearch.protobufs.HighlighterFragmenter fragmenter = 7 [json_name = "fragmenter"];intoptional int32 fragment_offset = 22 [json_name = "fragmentOffset"];intoptional int32 fragment_size = 8 [json_name = "fragmentSize"];booleanoptional bool highlight_filter = 9 [json_name = "highlightFilter"];optional .org.opensearch.protobufs.QueryContainer highlight_query = 10 [json_name = "highlightQuery"];optional .org.opensearch.protobufs.QueryContainer highlight_query = 10 [json_name = "highlightQuery"];getMatchedFields(int index) repeated string matched_fields = 23 [json_name = "matchedFields"];com.google.protobuf.ByteStringgetMatchedFieldsBytes(int index) repeated string matched_fields = 23 [json_name = "matchedFields"];intrepeated string matched_fields = 23 [json_name = "matchedFields"];com.google.protobuf.ProtocolStringListrepeated string matched_fields = 23 [json_name = "matchedFields"];intoptional int32 max_analyzer_offset = 12 [json_name = "maxAnalyzerOffset"];intoptional int32 max_fragment_length = 11 [json_name = "maxFragmentLength"];intoptional int32 no_match_size = 13 [json_name = "noMatchSize"];intoptional int32 number_of_fragments = 14 [json_name = "numberOfFragments"];optional .org.opensearch.protobufs.ObjectMap options = 15 [json_name = "options"];optional .org.opensearch.protobufs.ObjectMap options = 15 [json_name = "options"];getOrder()optional .org.opensearch.protobufs.HighlighterOrder order = 16 [json_name = "order"];intoptional .org.opensearch.protobufs.HighlighterOrder order = 16 [json_name = "order"];com.google.protobuf.Parser<HighlightField> intoptional int32 phrase_limit = 17 [json_name = "phraseLimit"];getPostTags(int index) repeated string post_tags = 18 [json_name = "postTags"];com.google.protobuf.ByteStringgetPostTagsBytes(int index) repeated string post_tags = 18 [json_name = "postTags"];intrepeated string post_tags = 18 [json_name = "postTags"];com.google.protobuf.ProtocolStringListrepeated string post_tags = 18 [json_name = "postTags"];getPreTags(int index) repeated string pre_tags = 19 [json_name = "preTags"];com.google.protobuf.ByteStringgetPreTagsBytes(int index) repeated string pre_tags = 19 [json_name = "preTags"];intrepeated string pre_tags = 19 [json_name = "preTags"];com.google.protobuf.ProtocolStringListrepeated string pre_tags = 19 [json_name = "preTags"];booleanoptional bool require_field_match = 20 [json_name = "requireFieldMatch"];intoptional .org.opensearch.protobufs.HighlighterTagsSchema tags_schema = 21 [json_name = "tagsSchema"];intoptional .org.opensearch.protobufs.HighlighterTagsSchema tags_schema = 21 [json_name = "tagsSchema"];getType()optional .org.opensearch.protobufs.HighlighterType type = 1 [json_name = "type"];optional .org.opensearch.protobufs.HighlighterType type = 1 [json_name = "type"];booleanoptional string boundary_chars = 2 [json_name = "boundaryChars"];booleanoptional int32 boundary_max_scan = 3 [json_name = "boundaryMaxScan"];booleanoptional .org.opensearch.protobufs.BoundaryScanner boundary_scanner = 4 [json_name = "boundaryScanner"];booleanoptional string boundary_scanner_locale = 5 [json_name = "boundaryScannerLocale"];booleanoptional bool force_source = 6 [json_name = "forceSource"];booleanoptional .org.opensearch.protobufs.HighlighterFragmenter fragmenter = 7 [json_name = "fragmenter"];booleanoptional int32 fragment_offset = 22 [json_name = "fragmentOffset"];booleanoptional int32 fragment_size = 8 [json_name = "fragmentSize"];inthashCode()booleanoptional bool highlight_filter = 9 [json_name = "highlightFilter"];booleanoptional .org.opensearch.protobufs.QueryContainer highlight_query = 10 [json_name = "highlightQuery"];booleanoptional int32 max_analyzer_offset = 12 [json_name = "maxAnalyzerOffset"];booleanoptional int32 max_fragment_length = 11 [json_name = "maxFragmentLength"];booleanoptional int32 no_match_size = 13 [json_name = "noMatchSize"];booleanoptional int32 number_of_fragments = 14 [json_name = "numberOfFragments"];booleanoptional .org.opensearch.protobufs.ObjectMap options = 15 [json_name = "options"];booleanhasOrder()optional .org.opensearch.protobufs.HighlighterOrder order = 16 [json_name = "order"];booleanoptional int32 phrase_limit = 17 [json_name = "phraseLimit"];booleanoptional bool require_field_match = 20 [json_name = "requireFieldMatch"];booleanoptional .org.opensearch.protobufs.HighlighterTagsSchema tags_schema = 21 [json_name = "tagsSchema"];booleanhasType()optional .org.opensearch.protobufs.HighlighterType type = 1 [json_name = "type"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic HighlightField.Builderstatic HighlightField.BuildernewBuilder(HighlightField prototype) protected HighlightField.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static HighlightFieldparseDelimitedFrom(InputStream input) static HighlightFieldparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HighlightFieldparseFrom(byte[] data) static HighlightFieldparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HighlightFieldparseFrom(com.google.protobuf.ByteString data) static HighlightFieldparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HighlightFieldparseFrom(com.google.protobuf.CodedInputStream input) static HighlightFieldparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HighlightFieldparseFrom(InputStream input) static HighlightFieldparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HighlightFieldparseFrom(ByteBuffer data) static HighlightFieldparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<HighlightField> 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
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
BOUNDARY_CHARS_FIELD_NUMBER
public static final int BOUNDARY_CHARS_FIELD_NUMBER- See Also:
-
BOUNDARY_MAX_SCAN_FIELD_NUMBER
public static final int BOUNDARY_MAX_SCAN_FIELD_NUMBER- See Also:
-
BOUNDARY_SCANNER_FIELD_NUMBER
public static final int BOUNDARY_SCANNER_FIELD_NUMBER- See Also:
-
BOUNDARY_SCANNER_LOCALE_FIELD_NUMBER
public static final int BOUNDARY_SCANNER_LOCALE_FIELD_NUMBER- See Also:
-
FORCE_SOURCE_FIELD_NUMBER
public static final int FORCE_SOURCE_FIELD_NUMBER- See Also:
-
FRAGMENTER_FIELD_NUMBER
public static final int FRAGMENTER_FIELD_NUMBER- See Also:
-
FRAGMENT_SIZE_FIELD_NUMBER
public static final int FRAGMENT_SIZE_FIELD_NUMBER- See Also:
-
HIGHLIGHT_FILTER_FIELD_NUMBER
public static final int HIGHLIGHT_FILTER_FIELD_NUMBER- See Also:
-
HIGHLIGHT_QUERY_FIELD_NUMBER
public static final int HIGHLIGHT_QUERY_FIELD_NUMBER- See Also:
-
MAX_FRAGMENT_LENGTH_FIELD_NUMBER
public static final int MAX_FRAGMENT_LENGTH_FIELD_NUMBER- See Also:
-
MAX_ANALYZER_OFFSET_FIELD_NUMBER
public static final int MAX_ANALYZER_OFFSET_FIELD_NUMBER- See Also:
-
NO_MATCH_SIZE_FIELD_NUMBER
public static final int NO_MATCH_SIZE_FIELD_NUMBER- See Also:
-
NUMBER_OF_FRAGMENTS_FIELD_NUMBER
public static final int NUMBER_OF_FRAGMENTS_FIELD_NUMBER- See Also:
-
OPTIONS_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER- See Also:
-
ORDER_FIELD_NUMBER
public static final int ORDER_FIELD_NUMBER- See Also:
-
PHRASE_LIMIT_FIELD_NUMBER
public static final int PHRASE_LIMIT_FIELD_NUMBER- See Also:
-
POST_TAGS_FIELD_NUMBER
public static final int POST_TAGS_FIELD_NUMBER- See Also:
-
PRE_TAGS_FIELD_NUMBER
public static final int PRE_TAGS_FIELD_NUMBER- See Also:
-
REQUIRE_FIELD_MATCH_FIELD_NUMBER
public static final int REQUIRE_FIELD_MATCH_FIELD_NUMBER- See Also:
-
TAGS_SCHEMA_FIELD_NUMBER
public static final int TAGS_SCHEMA_FIELD_NUMBER- See Also:
-
FRAGMENT_OFFSET_FIELD_NUMBER
public static final int FRAGMENT_OFFSET_FIELD_NUMBER- See Also:
-
MATCHED_FIELDS_FIELD_NUMBER
public static final int MATCHED_FIELDS_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
-
hasType
public boolean hasType()optional .org.opensearch.protobufs.HighlighterType type = 1 [json_name = "type"];- Specified by:
hasTypein interfaceHighlightFieldOrBuilder- Returns:
- Whether the type field is set.
-
getType
optional .org.opensearch.protobufs.HighlighterType type = 1 [json_name = "type"];- Specified by:
getTypein interfaceHighlightFieldOrBuilder- Returns:
- The type.
-
getTypeOrBuilder
optional .org.opensearch.protobufs.HighlighterType type = 1 [json_name = "type"];- Specified by:
getTypeOrBuilderin interfaceHighlightFieldOrBuilder
-
hasBoundaryChars
public boolean hasBoundaryChars()optional string boundary_chars = 2 [json_name = "boundaryChars"];- Specified by:
hasBoundaryCharsin interfaceHighlightFieldOrBuilder- Returns:
- Whether the boundaryChars field is set.
-
getBoundaryChars
optional string boundary_chars = 2 [json_name = "boundaryChars"];- Specified by:
getBoundaryCharsin interfaceHighlightFieldOrBuilder- Returns:
- The boundaryChars.
-
getBoundaryCharsBytes
public com.google.protobuf.ByteString getBoundaryCharsBytes()optional string boundary_chars = 2 [json_name = "boundaryChars"];- Specified by:
getBoundaryCharsBytesin interfaceHighlightFieldOrBuilder- Returns:
- The bytes for boundaryChars.
-
hasBoundaryMaxScan
public boolean hasBoundaryMaxScan()optional int32 boundary_max_scan = 3 [json_name = "boundaryMaxScan"];- Specified by:
hasBoundaryMaxScanin interfaceHighlightFieldOrBuilder- Returns:
- Whether the boundaryMaxScan field is set.
-
getBoundaryMaxScan
public int getBoundaryMaxScan()optional int32 boundary_max_scan = 3 [json_name = "boundaryMaxScan"];- Specified by:
getBoundaryMaxScanin interfaceHighlightFieldOrBuilder- Returns:
- The boundaryMaxScan.
-
hasBoundaryScanner
public boolean hasBoundaryScanner()optional .org.opensearch.protobufs.BoundaryScanner boundary_scanner = 4 [json_name = "boundaryScanner"];- Specified by:
hasBoundaryScannerin interfaceHighlightFieldOrBuilder- Returns:
- Whether the boundaryScanner field is set.
-
getBoundaryScannerValue
public int getBoundaryScannerValue()optional .org.opensearch.protobufs.BoundaryScanner boundary_scanner = 4 [json_name = "boundaryScanner"];- Specified by:
getBoundaryScannerValuein interfaceHighlightFieldOrBuilder- Returns:
- The enum numeric value on the wire for boundaryScanner.
-
getBoundaryScanner
optional .org.opensearch.protobufs.BoundaryScanner boundary_scanner = 4 [json_name = "boundaryScanner"];- Specified by:
getBoundaryScannerin interfaceHighlightFieldOrBuilder- Returns:
- The boundaryScanner.
-
hasBoundaryScannerLocale
public boolean hasBoundaryScannerLocale()optional string boundary_scanner_locale = 5 [json_name = "boundaryScannerLocale"];- Specified by:
hasBoundaryScannerLocalein interfaceHighlightFieldOrBuilder- Returns:
- Whether the boundaryScannerLocale field is set.
-
getBoundaryScannerLocale
optional string boundary_scanner_locale = 5 [json_name = "boundaryScannerLocale"];- Specified by:
getBoundaryScannerLocalein interfaceHighlightFieldOrBuilder- Returns:
- The boundaryScannerLocale.
-
getBoundaryScannerLocaleBytes
public com.google.protobuf.ByteString getBoundaryScannerLocaleBytes()optional string boundary_scanner_locale = 5 [json_name = "boundaryScannerLocale"];- Specified by:
getBoundaryScannerLocaleBytesin interfaceHighlightFieldOrBuilder- Returns:
- The bytes for boundaryScannerLocale.
-
hasForceSource
public boolean hasForceSource()optional bool force_source = 6 [json_name = "forceSource"];- Specified by:
hasForceSourcein interfaceHighlightFieldOrBuilder- Returns:
- Whether the forceSource field is set.
-
getForceSource
public boolean getForceSource()optional bool force_source = 6 [json_name = "forceSource"];- Specified by:
getForceSourcein interfaceHighlightFieldOrBuilder- Returns:
- The forceSource.
-
hasFragmenter
public boolean hasFragmenter()optional .org.opensearch.protobufs.HighlighterFragmenter fragmenter = 7 [json_name = "fragmenter"];- Specified by:
hasFragmenterin interfaceHighlightFieldOrBuilder- Returns:
- Whether the fragmenter field is set.
-
getFragmenterValue
public int getFragmenterValue()optional .org.opensearch.protobufs.HighlighterFragmenter fragmenter = 7 [json_name = "fragmenter"];- Specified by:
getFragmenterValuein interfaceHighlightFieldOrBuilder- Returns:
- The enum numeric value on the wire for fragmenter.
-
getFragmenter
optional .org.opensearch.protobufs.HighlighterFragmenter fragmenter = 7 [json_name = "fragmenter"];- Specified by:
getFragmenterin interfaceHighlightFieldOrBuilder- Returns:
- The fragmenter.
-
hasFragmentSize
public boolean hasFragmentSize()optional int32 fragment_size = 8 [json_name = "fragmentSize"];- Specified by:
hasFragmentSizein interfaceHighlightFieldOrBuilder- Returns:
- Whether the fragmentSize field is set.
-
getFragmentSize
public int getFragmentSize()optional int32 fragment_size = 8 [json_name = "fragmentSize"];- Specified by:
getFragmentSizein interfaceHighlightFieldOrBuilder- Returns:
- The fragmentSize.
-
hasHighlightFilter
public boolean hasHighlightFilter()optional bool highlight_filter = 9 [json_name = "highlightFilter"];- Specified by:
hasHighlightFilterin interfaceHighlightFieldOrBuilder- Returns:
- Whether the highlightFilter field is set.
-
getHighlightFilter
public boolean getHighlightFilter()optional bool highlight_filter = 9 [json_name = "highlightFilter"];- Specified by:
getHighlightFilterin interfaceHighlightFieldOrBuilder- Returns:
- The highlightFilter.
-
hasHighlightQuery
public boolean hasHighlightQuery()optional .org.opensearch.protobufs.QueryContainer highlight_query = 10 [json_name = "highlightQuery"];- Specified by:
hasHighlightQueryin interfaceHighlightFieldOrBuilder- Returns:
- Whether the highlightQuery field is set.
-
getHighlightQuery
optional .org.opensearch.protobufs.QueryContainer highlight_query = 10 [json_name = "highlightQuery"];- Specified by:
getHighlightQueryin interfaceHighlightFieldOrBuilder- Returns:
- The highlightQuery.
-
getHighlightQueryOrBuilder
optional .org.opensearch.protobufs.QueryContainer highlight_query = 10 [json_name = "highlightQuery"];- Specified by:
getHighlightQueryOrBuilderin interfaceHighlightFieldOrBuilder
-
hasMaxFragmentLength
public boolean hasMaxFragmentLength()optional int32 max_fragment_length = 11 [json_name = "maxFragmentLength"];- Specified by:
hasMaxFragmentLengthin interfaceHighlightFieldOrBuilder- Returns:
- Whether the maxFragmentLength field is set.
-
getMaxFragmentLength
public int getMaxFragmentLength()optional int32 max_fragment_length = 11 [json_name = "maxFragmentLength"];- Specified by:
getMaxFragmentLengthin interfaceHighlightFieldOrBuilder- Returns:
- The maxFragmentLength.
-
hasMaxAnalyzerOffset
public boolean hasMaxAnalyzerOffset()optional int32 max_analyzer_offset = 12 [json_name = "maxAnalyzerOffset"];- Specified by:
hasMaxAnalyzerOffsetin interfaceHighlightFieldOrBuilder- Returns:
- Whether the maxAnalyzerOffset field is set.
-
getMaxAnalyzerOffset
public int getMaxAnalyzerOffset()optional int32 max_analyzer_offset = 12 [json_name = "maxAnalyzerOffset"];- Specified by:
getMaxAnalyzerOffsetin interfaceHighlightFieldOrBuilder- Returns:
- The maxAnalyzerOffset.
-
hasNoMatchSize
public boolean hasNoMatchSize()optional int32 no_match_size = 13 [json_name = "noMatchSize"];- Specified by:
hasNoMatchSizein interfaceHighlightFieldOrBuilder- Returns:
- Whether the noMatchSize field is set.
-
getNoMatchSize
public int getNoMatchSize()optional int32 no_match_size = 13 [json_name = "noMatchSize"];- Specified by:
getNoMatchSizein interfaceHighlightFieldOrBuilder- Returns:
- The noMatchSize.
-
hasNumberOfFragments
public boolean hasNumberOfFragments()optional int32 number_of_fragments = 14 [json_name = "numberOfFragments"];- Specified by:
hasNumberOfFragmentsin interfaceHighlightFieldOrBuilder- Returns:
- Whether the numberOfFragments field is set.
-
getNumberOfFragments
public int getNumberOfFragments()optional int32 number_of_fragments = 14 [json_name = "numberOfFragments"];- Specified by:
getNumberOfFragmentsin interfaceHighlightFieldOrBuilder- Returns:
- The numberOfFragments.
-
hasOptions
public boolean hasOptions()optional .org.opensearch.protobufs.ObjectMap options = 15 [json_name = "options"];- Specified by:
hasOptionsin interfaceHighlightFieldOrBuilder- Returns:
- Whether the options field is set.
-
getOptions
optional .org.opensearch.protobufs.ObjectMap options = 15 [json_name = "options"];- Specified by:
getOptionsin interfaceHighlightFieldOrBuilder- Returns:
- The options.
-
getOptionsOrBuilder
optional .org.opensearch.protobufs.ObjectMap options = 15 [json_name = "options"];- Specified by:
getOptionsOrBuilderin interfaceHighlightFieldOrBuilder
-
hasOrder
public boolean hasOrder()optional .org.opensearch.protobufs.HighlighterOrder order = 16 [json_name = "order"];- Specified by:
hasOrderin interfaceHighlightFieldOrBuilder- Returns:
- Whether the order field is set.
-
getOrderValue
public int getOrderValue()optional .org.opensearch.protobufs.HighlighterOrder order = 16 [json_name = "order"];- Specified by:
getOrderValuein interfaceHighlightFieldOrBuilder- Returns:
- The enum numeric value on the wire for order.
-
getOrder
optional .org.opensearch.protobufs.HighlighterOrder order = 16 [json_name = "order"];- Specified by:
getOrderin interfaceHighlightFieldOrBuilder- Returns:
- The order.
-
hasPhraseLimit
public boolean hasPhraseLimit()optional int32 phrase_limit = 17 [json_name = "phraseLimit"];- Specified by:
hasPhraseLimitin interfaceHighlightFieldOrBuilder- Returns:
- Whether the phraseLimit field is set.
-
getPhraseLimit
public int getPhraseLimit()optional int32 phrase_limit = 17 [json_name = "phraseLimit"];- Specified by:
getPhraseLimitin interfaceHighlightFieldOrBuilder- Returns:
- The phraseLimit.
-
getPostTagsList
public com.google.protobuf.ProtocolStringList getPostTagsList()repeated string post_tags = 18 [json_name = "postTags"];- Specified by:
getPostTagsListin interfaceHighlightFieldOrBuilder- Returns:
- A list containing the postTags.
-
getPostTagsCount
public int getPostTagsCount()repeated string post_tags = 18 [json_name = "postTags"];- Specified by:
getPostTagsCountin interfaceHighlightFieldOrBuilder- Returns:
- The count of postTags.
-
getPostTags
repeated string post_tags = 18 [json_name = "postTags"];- Specified by:
getPostTagsin interfaceHighlightFieldOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The postTags at the given index.
-
getPostTagsBytes
public com.google.protobuf.ByteString getPostTagsBytes(int index) repeated string post_tags = 18 [json_name = "postTags"];- Specified by:
getPostTagsBytesin interfaceHighlightFieldOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the postTags at the given index.
-
getPreTagsList
public com.google.protobuf.ProtocolStringList getPreTagsList()repeated string pre_tags = 19 [json_name = "preTags"];- Specified by:
getPreTagsListin interfaceHighlightFieldOrBuilder- Returns:
- A list containing the preTags.
-
getPreTagsCount
public int getPreTagsCount()repeated string pre_tags = 19 [json_name = "preTags"];- Specified by:
getPreTagsCountin interfaceHighlightFieldOrBuilder- Returns:
- The count of preTags.
-
getPreTags
repeated string pre_tags = 19 [json_name = "preTags"];- Specified by:
getPreTagsin interfaceHighlightFieldOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The preTags at the given index.
-
getPreTagsBytes
public com.google.protobuf.ByteString getPreTagsBytes(int index) repeated string pre_tags = 19 [json_name = "preTags"];- Specified by:
getPreTagsBytesin interfaceHighlightFieldOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the preTags at the given index.
-
hasRequireFieldMatch
public boolean hasRequireFieldMatch()optional bool require_field_match = 20 [json_name = "requireFieldMatch"];- Specified by:
hasRequireFieldMatchin interfaceHighlightFieldOrBuilder- Returns:
- Whether the requireFieldMatch field is set.
-
getRequireFieldMatch
public boolean getRequireFieldMatch()optional bool require_field_match = 20 [json_name = "requireFieldMatch"];- Specified by:
getRequireFieldMatchin interfaceHighlightFieldOrBuilder- Returns:
- The requireFieldMatch.
-
hasTagsSchema
public boolean hasTagsSchema()optional .org.opensearch.protobufs.HighlighterTagsSchema tags_schema = 21 [json_name = "tagsSchema"];- Specified by:
hasTagsSchemain interfaceHighlightFieldOrBuilder- Returns:
- Whether the tagsSchema field is set.
-
getTagsSchemaValue
public int getTagsSchemaValue()optional .org.opensearch.protobufs.HighlighterTagsSchema tags_schema = 21 [json_name = "tagsSchema"];- Specified by:
getTagsSchemaValuein interfaceHighlightFieldOrBuilder- Returns:
- The enum numeric value on the wire for tagsSchema.
-
getTagsSchema
optional .org.opensearch.protobufs.HighlighterTagsSchema tags_schema = 21 [json_name = "tagsSchema"];- Specified by:
getTagsSchemain interfaceHighlightFieldOrBuilder- Returns:
- The tagsSchema.
-
hasFragmentOffset
public boolean hasFragmentOffset()optional int32 fragment_offset = 22 [json_name = "fragmentOffset"];- Specified by:
hasFragmentOffsetin interfaceHighlightFieldOrBuilder- Returns:
- Whether the fragmentOffset field is set.
-
getFragmentOffset
public int getFragmentOffset()optional int32 fragment_offset = 22 [json_name = "fragmentOffset"];- Specified by:
getFragmentOffsetin interfaceHighlightFieldOrBuilder- Returns:
- The fragmentOffset.
-
getMatchedFieldsList
public com.google.protobuf.ProtocolStringList getMatchedFieldsList()repeated string matched_fields = 23 [json_name = "matchedFields"];- Specified by:
getMatchedFieldsListin interfaceHighlightFieldOrBuilder- Returns:
- A list containing the matchedFields.
-
getMatchedFieldsCount
public int getMatchedFieldsCount()repeated string matched_fields = 23 [json_name = "matchedFields"];- Specified by:
getMatchedFieldsCountin interfaceHighlightFieldOrBuilder- Returns:
- The count of matchedFields.
-
getMatchedFields
repeated string matched_fields = 23 [json_name = "matchedFields"];- Specified by:
getMatchedFieldsin interfaceHighlightFieldOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The matchedFields at the given index.
-
getMatchedFieldsBytes
public com.google.protobuf.ByteString getMatchedFieldsBytes(int index) repeated string matched_fields = 23 [json_name = "matchedFields"];- Specified by:
getMatchedFieldsBytesin interfaceHighlightFieldOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the matchedFields at the given index.
-
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 HighlightField parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HighlightField parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HighlightField parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HighlightField parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HighlightField parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HighlightField parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static HighlightField parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static HighlightField parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static HighlightField parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static HighlightField 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 HighlightField.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
-