Class SearchProtocol.SearchReply
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ai.vespa.searchlib.searchprotocol.protobuf.SearchProtocol.SearchReply
- All Implemented Interfaces:
SearchProtocol.SearchReplyOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- SearchProtocol
public static final class SearchProtocol.SearchReply
extends com.google.protobuf.GeneratedMessageV3
implements SearchProtocol.SearchReplyOrBuilder
Protobuf type
searchlib.searchprotocol.protobuf.SearchReply- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typesearchlib.searchprotocol.protobuf.SearchReplyNested 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 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 TypeMethodDescriptionbooleanlongint64 active_docs = 3;longint64 coverage_docs = 2;static SearchProtocol.SearchReplybooleanbool degraded_by_match_phase = 5;booleanbool degraded_by_soft_timeout = 6;static final com.google.protobuf.Descriptors.DescriptorgetErrors(int index) repeated .searchlib.searchprotocol.protobuf.Error errors = 10;intrepeated .searchlib.searchprotocol.protobuf.Error errors = 10;repeated .searchlib.searchprotocol.protobuf.Error errors = 10;getErrorsOrBuilder(int index) repeated .searchlib.searchprotocol.protobuf.Error errors = 10;List<? extends SearchProtocol.ErrorOrBuilder>repeated .searchlib.searchprotocol.protobuf.Error errors = 10;com.google.protobuf.ByteStringserialized opaquely like now, to be changed latergetHits(int index) repeated .searchlib.searchprotocol.protobuf.Hit hits = 7;intrepeated .searchlib.searchprotocol.protobuf.Hit hits = 7;repeated .searchlib.searchprotocol.protobuf.Hit hits = 7;getHitsOrBuilder(int index) repeated .searchlib.searchprotocol.protobuf.Hit hits = 7;List<? extends SearchProtocol.HitOrBuilder>repeated .searchlib.searchprotocol.protobuf.Hit hits = 7;getMatchFeatureNames(int index) repeated string match_feature_names = 11;com.google.protobuf.ByteStringgetMatchFeatureNamesBytes(int index) repeated string match_feature_names = 11;intrepeated string match_feature_names = 11;com.google.protobuf.ProtocolStringListrepeated string match_feature_names = 11;com.google.protobuf.Parser<SearchProtocol.SearchReply>intcom.google.protobuf.ByteStringbytes slime_trace = 9;longint64 target_active_docs = 4;longint64 total_hit_count = 1;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(SearchProtocol.SearchReply prototype) protected SearchProtocol.SearchReply.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static SearchProtocol.SearchReplyparseDelimitedFrom(InputStream input) static SearchProtocol.SearchReplyparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SearchProtocol.SearchReplyparseFrom(byte[] data) static SearchProtocol.SearchReplyparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SearchProtocol.SearchReplyparseFrom(com.google.protobuf.ByteString data) static SearchProtocol.SearchReplyparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SearchProtocol.SearchReplyparseFrom(com.google.protobuf.CodedInputStream input) static SearchProtocol.SearchReplyparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SearchProtocol.SearchReplyparseFrom(InputStream input) static SearchProtocol.SearchReplyparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SearchProtocol.SearchReplyparseFrom(ByteBuffer data) static SearchProtocol.SearchReplyparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SearchProtocol.SearchReply>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, 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
-
TOTAL_HIT_COUNT_FIELD_NUMBER
public static final int TOTAL_HIT_COUNT_FIELD_NUMBER- See Also:
-
COVERAGE_DOCS_FIELD_NUMBER
public static final int COVERAGE_DOCS_FIELD_NUMBER- See Also:
-
ACTIVE_DOCS_FIELD_NUMBER
public static final int ACTIVE_DOCS_FIELD_NUMBER- See Also:
-
TARGET_ACTIVE_DOCS_FIELD_NUMBER
public static final int TARGET_ACTIVE_DOCS_FIELD_NUMBER- See Also:
-
DEGRADED_BY_MATCH_PHASE_FIELD_NUMBER
public static final int DEGRADED_BY_MATCH_PHASE_FIELD_NUMBER- See Also:
-
DEGRADED_BY_SOFT_TIMEOUT_FIELD_NUMBER
public static final int DEGRADED_BY_SOFT_TIMEOUT_FIELD_NUMBER- See Also:
-
HITS_FIELD_NUMBER
public static final int HITS_FIELD_NUMBER- See Also:
-
GROUPING_BLOB_FIELD_NUMBER
public static final int GROUPING_BLOB_FIELD_NUMBER- See Also:
-
SLIME_TRACE_FIELD_NUMBER
public static final int SLIME_TRACE_FIELD_NUMBER- See Also:
-
ERRORS_FIELD_NUMBER
public static final int ERRORS_FIELD_NUMBER- See Also:
-
MATCH_FEATURE_NAMES_FIELD_NUMBER
public static final int MATCH_FEATURE_NAMES_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
-
getTotalHitCount
public long getTotalHitCount()int64 total_hit_count = 1;- Specified by:
getTotalHitCountin interfaceSearchProtocol.SearchReplyOrBuilder- Returns:
- The totalHitCount.
-
getCoverageDocs
public long getCoverageDocs()int64 coverage_docs = 2;- Specified by:
getCoverageDocsin interfaceSearchProtocol.SearchReplyOrBuilder- Returns:
- The coverageDocs.
-
getActiveDocs
public long getActiveDocs()int64 active_docs = 3;- Specified by:
getActiveDocsin interfaceSearchProtocol.SearchReplyOrBuilder- Returns:
- The activeDocs.
-
getTargetActiveDocs
public long getTargetActiveDocs()int64 target_active_docs = 4;- Specified by:
getTargetActiveDocsin interfaceSearchProtocol.SearchReplyOrBuilder- Returns:
- The targetActiveDocs.
-
getDegradedByMatchPhase
public boolean getDegradedByMatchPhase()bool degraded_by_match_phase = 5;- Specified by:
getDegradedByMatchPhasein interfaceSearchProtocol.SearchReplyOrBuilder- Returns:
- The degradedByMatchPhase.
-
getDegradedBySoftTimeout
public boolean getDegradedBySoftTimeout()bool degraded_by_soft_timeout = 6;- Specified by:
getDegradedBySoftTimeoutin interfaceSearchProtocol.SearchReplyOrBuilder- Returns:
- The degradedBySoftTimeout.
-
getHitsList
repeated .searchlib.searchprotocol.protobuf.Hit hits = 7;- Specified by:
getHitsListin interfaceSearchProtocol.SearchReplyOrBuilder
-
getHitsOrBuilderList
repeated .searchlib.searchprotocol.protobuf.Hit hits = 7;- Specified by:
getHitsOrBuilderListin interfaceSearchProtocol.SearchReplyOrBuilder
-
getHitsCount
public int getHitsCount()repeated .searchlib.searchprotocol.protobuf.Hit hits = 7;- Specified by:
getHitsCountin interfaceSearchProtocol.SearchReplyOrBuilder
-
getHits
repeated .searchlib.searchprotocol.protobuf.Hit hits = 7;- Specified by:
getHitsin interfaceSearchProtocol.SearchReplyOrBuilder
-
getHitsOrBuilder
repeated .searchlib.searchprotocol.protobuf.Hit hits = 7;- Specified by:
getHitsOrBuilderin interfaceSearchProtocol.SearchReplyOrBuilder
-
getGroupingBlob
public com.google.protobuf.ByteString getGroupingBlob()serialized opaquely like now, to be changed later
bytes grouping_blob = 8;- Specified by:
getGroupingBlobin interfaceSearchProtocol.SearchReplyOrBuilder- Returns:
- The groupingBlob.
-
getSlimeTrace
public com.google.protobuf.ByteString getSlimeTrace()bytes slime_trace = 9;- Specified by:
getSlimeTracein interfaceSearchProtocol.SearchReplyOrBuilder- Returns:
- The slimeTrace.
-
getErrorsList
repeated .searchlib.searchprotocol.protobuf.Error errors = 10;- Specified by:
getErrorsListin interfaceSearchProtocol.SearchReplyOrBuilder
-
getErrorsOrBuilderList
repeated .searchlib.searchprotocol.protobuf.Error errors = 10;- Specified by:
getErrorsOrBuilderListin interfaceSearchProtocol.SearchReplyOrBuilder
-
getErrorsCount
public int getErrorsCount()repeated .searchlib.searchprotocol.protobuf.Error errors = 10;- Specified by:
getErrorsCountin interfaceSearchProtocol.SearchReplyOrBuilder
-
getErrors
repeated .searchlib.searchprotocol.protobuf.Error errors = 10;- Specified by:
getErrorsin interfaceSearchProtocol.SearchReplyOrBuilder
-
getErrorsOrBuilder
repeated .searchlib.searchprotocol.protobuf.Error errors = 10;- Specified by:
getErrorsOrBuilderin interfaceSearchProtocol.SearchReplyOrBuilder
-
getMatchFeatureNamesList
public com.google.protobuf.ProtocolStringList getMatchFeatureNamesList()repeated string match_feature_names = 11;- Specified by:
getMatchFeatureNamesListin interfaceSearchProtocol.SearchReplyOrBuilder- Returns:
- A list containing the matchFeatureNames.
-
getMatchFeatureNamesCount
public int getMatchFeatureNamesCount()repeated string match_feature_names = 11;- Specified by:
getMatchFeatureNamesCountin interfaceSearchProtocol.SearchReplyOrBuilder- Returns:
- The count of matchFeatureNames.
-
getMatchFeatureNames
repeated string match_feature_names = 11;- Specified by:
getMatchFeatureNamesin interfaceSearchProtocol.SearchReplyOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The matchFeatureNames at the given index.
-
getMatchFeatureNamesBytes
public com.google.protobuf.ByteString getMatchFeatureNamesBytes(int index) repeated string match_feature_names = 11;- Specified by:
getMatchFeatureNamesBytesin interfaceSearchProtocol.SearchReplyOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the matchFeatureNames 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 SearchProtocol.SearchReply parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchProtocol.SearchReply parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchProtocol.SearchReply parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchProtocol.SearchReply parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchProtocol.SearchReply parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchProtocol.SearchReply parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SearchProtocol.SearchReply parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static SearchProtocol.SearchReply parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static SearchProtocol.SearchReply parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SearchProtocol.SearchReply 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 SearchProtocol.SearchReply.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
-