Package com.google.cloud.aiplatform.v1
Interface NearestNeighborQuery.EmbeddingOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NearestNeighborQuery.Embedding,NearestNeighborQuery.Embedding.Builder
- Enclosing class:
- NearestNeighborQuery
public static interface NearestNeighborQuery.EmbeddingOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods 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
-
getValueList
Optional. Individual value in the embedding.
repeated float value = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the value.
-
getValueCount
int getValueCount()Optional. Individual value in the embedding.
repeated float value = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of value.
-
getValue
float getValue(int index) Optional. Individual value in the embedding.
repeated float value = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The value at the given index.
-