Class WeaviateProtoSearchGet.NearTextSearch
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.weaviate.client.grpc.protocol.v1.WeaviateProtoSearchGet.NearTextSearch
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,WeaviateProtoSearchGet.NearTextSearchOrBuilder,Serializable
- Enclosing class:
- WeaviateProtoSearchGet
public static final class WeaviateProtoSearchGet.NearTextSearch extends com.google.protobuf.GeneratedMessageV3 implements WeaviateProtoSearchGet.NearTextSearchOrBuilder
Protobuf typeweaviate.v1.NearTextSearch- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWeaviateProtoSearchGet.NearTextSearch.BuilderProtobuf typeweaviate.v1.NearTextSearchstatic classWeaviateProtoSearchGet.NearTextSearch.MoveProtobuf typeweaviate.v1.NearTextSearch.Movestatic interfaceWeaviateProtoSearchGet.NearTextSearch.MoveOrBuilder-
Nested 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
-
-
Field Summary
Fields Modifier and Type Field Description static intCERTAINTY_FIELD_NUMBERstatic intDISTANCE_FIELD_NUMBERstatic intMOVE_AWAY_FIELD_NUMBERstatic intMOVE_TO_FIELD_NUMBERstatic intQUERY_FIELD_NUMBERstatic intTARGET_VECTORS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)doublegetCertainty()optional double certainty = 2;static WeaviateProtoSearchGet.NearTextSearchgetDefaultInstance()WeaviateProtoSearchGet.NearTextSearchgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()doublegetDistance()optional double distance = 3;WeaviateProtoSearchGet.NearTextSearch.MovegetMoveAway()optional .weaviate.v1.NearTextSearch.Move move_away = 5;WeaviateProtoSearchGet.NearTextSearch.MoveOrBuildergetMoveAwayOrBuilder()optional .weaviate.v1.NearTextSearch.Move move_away = 5;WeaviateProtoSearchGet.NearTextSearch.MovegetMoveTo()optional .weaviate.v1.NearTextSearch.Move move_to = 4;WeaviateProtoSearchGet.NearTextSearch.MoveOrBuildergetMoveToOrBuilder()optional .weaviate.v1.NearTextSearch.Move move_to = 4;com.google.protobuf.Parser<WeaviateProtoSearchGet.NearTextSearch>getParserForType()StringgetQuery(int index)protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDcom.google.protobuf.ByteStringgetQueryBytes(int index)protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDintgetQueryCount()protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDcom.google.protobuf.ProtocolStringListgetQueryList()protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZEDintgetSerializedSize()StringgetTargetVectors(int index)repeated string target_vectors = 6;com.google.protobuf.ByteStringgetTargetVectorsBytes(int index)repeated string target_vectors = 6;intgetTargetVectorsCount()repeated string target_vectors = 6;com.google.protobuf.ProtocolStringListgetTargetVectorsList()repeated string target_vectors = 6;booleanhasCertainty()optional double certainty = 2;booleanhasDistance()optional double distance = 3;inthashCode()booleanhasMoveAway()optional .weaviate.v1.NearTextSearch.Move move_away = 5;booleanhasMoveTo()optional .weaviate.v1.NearTextSearch.Move move_to = 4;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static WeaviateProtoSearchGet.NearTextSearch.BuildernewBuilder()static WeaviateProtoSearchGet.NearTextSearch.BuildernewBuilder(WeaviateProtoSearchGet.NearTextSearch prototype)WeaviateProtoSearchGet.NearTextSearch.BuildernewBuilderForType()protected WeaviateProtoSearchGet.NearTextSearch.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static WeaviateProtoSearchGet.NearTextSearchparseDelimitedFrom(InputStream input)static WeaviateProtoSearchGet.NearTextSearchparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WeaviateProtoSearchGet.NearTextSearchparseFrom(byte[] data)static WeaviateProtoSearchGet.NearTextSearchparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WeaviateProtoSearchGet.NearTextSearchparseFrom(com.google.protobuf.ByteString data)static WeaviateProtoSearchGet.NearTextSearchparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WeaviateProtoSearchGet.NearTextSearchparseFrom(com.google.protobuf.CodedInputStream input)static WeaviateProtoSearchGet.NearTextSearchparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WeaviateProtoSearchGet.NearTextSearchparseFrom(InputStream input)static WeaviateProtoSearchGet.NearTextSearchparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WeaviateProtoSearchGet.NearTextSearchparseFrom(ByteBuffer data)static WeaviateProtoSearchGet.NearTextSearchparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<WeaviateProtoSearchGet.NearTextSearch>parser()WeaviateProtoSearchGet.NearTextSearch.BuildertoBuilder()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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
QUERY_FIELD_NUMBER
public static final int QUERY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CERTAINTY_FIELD_NUMBER
public static final int CERTAINTY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISTANCE_FIELD_NUMBER
public static final int DISTANCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MOVE_TO_FIELD_NUMBER
public static final int MOVE_TO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MOVE_AWAY_FIELD_NUMBER
public static final int MOVE_AWAY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TARGET_VECTORS_FIELD_NUMBER
public static final int TARGET_VECTORS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 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
-
getQueryList
public com.google.protobuf.ProtocolStringList getQueryList()
protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated string query = 1;- Specified by:
getQueryListin interfaceWeaviateProtoSearchGet.NearTextSearchOrBuilder- Returns:
- A list containing the query.
-
getQueryCount
public int getQueryCount()
protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated string query = 1;- Specified by:
getQueryCountin interfaceWeaviateProtoSearchGet.NearTextSearchOrBuilder- Returns:
- The count of query.
-
getQuery
public String getQuery(int index)
protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated string query = 1;- Specified by:
getQueryin interfaceWeaviateProtoSearchGet.NearTextSearchOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The query at the given index.
-
getQueryBytes
public com.google.protobuf.ByteString getQueryBytes(int index)
protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated string query = 1;- Specified by:
getQueryBytesin interfaceWeaviateProtoSearchGet.NearTextSearchOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the query at the given index.
-
hasCertainty
public boolean hasCertainty()
optional double certainty = 2;- Specified by:
hasCertaintyin interfaceWeaviateProtoSearchGet.NearTextSearchOrBuilder- Returns:
- Whether the certainty field is set.
-
getCertainty
public double getCertainty()
optional double certainty = 2;- Specified by:
getCertaintyin interfaceWeaviateProtoSearchGet.NearTextSearchOrBuilder- Returns:
- The certainty.
-
hasDistance
public boolean hasDistance()
optional double distance = 3;- Specified by:
hasDistancein interfaceWeaviateProtoSearchGet.NearTextSearchOrBuilder- Returns:
- Whether the distance field is set.
-
getDistance
public double getDistance()
optional double distance = 3;- Specified by:
getDistancein interfaceWeaviateProtoSearchGet.NearTextSearchOrBuilder- Returns:
- The distance.
-
hasMoveTo
public boolean hasMoveTo()
optional .weaviate.v1.NearTextSearch.Move move_to = 4;- Specified by:
hasMoveToin interfaceWeaviateProtoSearchGet.NearTextSearchOrBuilder- Returns:
- Whether the moveTo field is set.
-
getMoveTo
public WeaviateProtoSearchGet.NearTextSearch.Move getMoveTo()
optional .weaviate.v1.NearTextSearch.Move move_to = 4;- Specified by:
getMoveToin interfaceWeaviateProtoSearchGet.NearTextSearchOrBuilder- Returns:
- The moveTo.
-
getMoveToOrBuilder
public WeaviateProtoSearchGet.NearTextSearch.MoveOrBuilder getMoveToOrBuilder()
optional .weaviate.v1.NearTextSearch.Move move_to = 4;- Specified by:
getMoveToOrBuilderin interfaceWeaviateProtoSearchGet.NearTextSearchOrBuilder
-
hasMoveAway
public boolean hasMoveAway()
optional .weaviate.v1.NearTextSearch.Move move_away = 5;- Specified by:
hasMoveAwayin interfaceWeaviateProtoSearchGet.NearTextSearchOrBuilder- Returns:
- Whether the moveAway field is set.
-
getMoveAway
public WeaviateProtoSearchGet.NearTextSearch.Move getMoveAway()
optional .weaviate.v1.NearTextSearch.Move move_away = 5;- Specified by:
getMoveAwayin interfaceWeaviateProtoSearchGet.NearTextSearchOrBuilder- Returns:
- The moveAway.
-
getMoveAwayOrBuilder
public WeaviateProtoSearchGet.NearTextSearch.MoveOrBuilder getMoveAwayOrBuilder()
optional .weaviate.v1.NearTextSearch.Move move_away = 5;- Specified by:
getMoveAwayOrBuilderin interfaceWeaviateProtoSearchGet.NearTextSearchOrBuilder
-
getTargetVectorsList
public com.google.protobuf.ProtocolStringList getTargetVectorsList()
repeated string target_vectors = 6;- Specified by:
getTargetVectorsListin interfaceWeaviateProtoSearchGet.NearTextSearchOrBuilder- Returns:
- A list containing the targetVectors.
-
getTargetVectorsCount
public int getTargetVectorsCount()
repeated string target_vectors = 6;- Specified by:
getTargetVectorsCountin interfaceWeaviateProtoSearchGet.NearTextSearchOrBuilder- Returns:
- The count of targetVectors.
-
getTargetVectors
public String getTargetVectors(int index)
repeated string target_vectors = 6;- Specified by:
getTargetVectorsin interfaceWeaviateProtoSearchGet.NearTextSearchOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The targetVectors at the given index.
-
getTargetVectorsBytes
public com.google.protobuf.ByteString getTargetVectorsBytes(int index)
repeated string target_vectors = 6;- Specified by:
getTargetVectorsBytesin interfaceWeaviateProtoSearchGet.NearTextSearchOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the targetVectors at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 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
public boolean equals(Object obj)
- 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 WeaviateProtoSearchGet.NearTextSearch parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WeaviateProtoSearchGet.NearTextSearch parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WeaviateProtoSearchGet.NearTextSearch parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WeaviateProtoSearchGet.NearTextSearch parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WeaviateProtoSearchGet.NearTextSearch parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WeaviateProtoSearchGet.NearTextSearch parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WeaviateProtoSearchGet.NearTextSearch parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static WeaviateProtoSearchGet.NearTextSearch parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static WeaviateProtoSearchGet.NearTextSearch parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static WeaviateProtoSearchGet.NearTextSearch parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static WeaviateProtoSearchGet.NearTextSearch parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static WeaviateProtoSearchGet.NearTextSearch parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public WeaviateProtoSearchGet.NearTextSearch.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static WeaviateProtoSearchGet.NearTextSearch.Builder newBuilder()
-
newBuilder
public static WeaviateProtoSearchGet.NearTextSearch.Builder newBuilder(WeaviateProtoSearchGet.NearTextSearch prototype)
-
toBuilder
public WeaviateProtoSearchGet.NearTextSearch.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected WeaviateProtoSearchGet.NearTextSearch.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static WeaviateProtoSearchGet.NearTextSearch getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<WeaviateProtoSearchGet.NearTextSearch> parser()
-
getParserForType
public com.google.protobuf.Parser<WeaviateProtoSearchGet.NearTextSearch> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public WeaviateProtoSearchGet.NearTextSearch getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-