Interface SimilaritiesResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SimilaritiesResponse,SimilaritiesResponse.Builder
public interface SimilaritiesResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.StructImplementation-specific information can be encoded herecom.google.protobuf.StructOrBuilderImplementation-specific information can be encoded heredoublegetSimilarities(int index) List of similarities ordered just like the original `text_tuples`.intList of similarities ordered just like the original `text_tuples`.List of similarities ordered just like the original `text_tuples`.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
-
getSimilaritiesList
List of similarities ordered just like the original `text_tuples`.
repeated double similarities = 1 [json_name = "similarities"];- Returns:
- A list containing the similarities.
-
getSimilaritiesCount
int getSimilaritiesCount()List of similarities ordered just like the original `text_tuples`.
repeated double similarities = 1 [json_name = "similarities"];- Returns:
- The count of similarities.
-
getSimilarities
double getSimilarities(int index) List of similarities ordered just like the original `text_tuples`.
repeated double similarities = 1 [json_name = "similarities"];- Parameters:
index- The index of the element to return.- Returns:
- The similarities at the given index.
-
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"];
-