Interface VectorResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VectorResponse,VectorResponse.Builder
public interface VectorResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOne vector for the whole string.One vector for the whole string.com.google.protobuf.StructImplementation-specific information can be encoded herecom.google.protobuf.StructOrBuilderImplementation-specific information can be encoded heregetSentences(int index) Vectors for all sentences found in the string.intVectors for all sentences found in the string.Vectors for all sentences found in the string.getSentencesOrBuilder(int index) Vectors for all sentences found in the string.List<? extends VectorOrBuilder>Vectors for all sentences found in the string.getTokens(int index) Vectors for all tokens in the string.intVectors for all tokens in the string.Vectors for all tokens in the string.getTokensOrBuilder(int index) Vectors for all tokens in the string.List<? extends VectorOrBuilder>Vectors for all tokens in the string.booleanOne vector for the whole string.booleanImplementation-specific information can be encoded hereMethods 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
-
hasDocument
boolean hasDocument()One vector for the whole string.
.arg_services.nlp.v1.Vector document = 1 [json_name = "document"];- Returns:
- Whether the document field is set.
-
getDocument
Vector getDocument()One vector for the whole string.
.arg_services.nlp.v1.Vector document = 1 [json_name = "document"];- Returns:
- The document.
-
getDocumentOrBuilder
VectorOrBuilder getDocumentOrBuilder()One vector for the whole string.
.arg_services.nlp.v1.Vector document = 1 [json_name = "document"]; -
getTokensList
Vectors for all tokens in the string.
repeated .arg_services.nlp.v1.Vector tokens = 2 [json_name = "tokens"]; -
getTokens
Vectors for all tokens in the string.
repeated .arg_services.nlp.v1.Vector tokens = 2 [json_name = "tokens"]; -
getTokensCount
int getTokensCount()Vectors for all tokens in the string.
repeated .arg_services.nlp.v1.Vector tokens = 2 [json_name = "tokens"]; -
getTokensOrBuilderList
List<? extends VectorOrBuilder> getTokensOrBuilderList()Vectors for all tokens in the string.
repeated .arg_services.nlp.v1.Vector tokens = 2 [json_name = "tokens"]; -
getTokensOrBuilder
Vectors for all tokens in the string.
repeated .arg_services.nlp.v1.Vector tokens = 2 [json_name = "tokens"]; -
getSentencesList
Vectors for all sentences found in the string.
repeated .arg_services.nlp.v1.Vector sentences = 3 [json_name = "sentences"]; -
getSentences
Vectors for all sentences found in the string.
repeated .arg_services.nlp.v1.Vector sentences = 3 [json_name = "sentences"]; -
getSentencesCount
int getSentencesCount()Vectors for all sentences found in the string.
repeated .arg_services.nlp.v1.Vector sentences = 3 [json_name = "sentences"]; -
getSentencesOrBuilderList
List<? extends VectorOrBuilder> getSentencesOrBuilderList()Vectors for all sentences found in the string.
repeated .arg_services.nlp.v1.Vector sentences = 3 [json_name = "sentences"]; -
getSentencesOrBuilder
Vectors for all sentences found in the string.
repeated .arg_services.nlp.v1.Vector sentences = 3 [json_name = "sentences"]; -
hasExtras
boolean hasExtras()Implementation-specific information can be encoded here
.google.protobuf.Struct extras = 15 [json_name = "extras"];- Returns:
- Whether the extras field is set.
-
getExtras
com.google.protobuf.Struct getExtras()Implementation-specific information can be encoded here
.google.protobuf.Struct extras = 15 [json_name = "extras"];- Returns:
- The extras.
-
getExtrasOrBuilder
com.google.protobuf.StructOrBuilder getExtrasOrBuilder()Implementation-specific information can be encoded here
.google.protobuf.Struct extras = 15 [json_name = "extras"];
-