Package com.google.cloud.aiplatform.v1
Interface EmbedContentResponse.EmbeddingOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
EmbedContentResponse.Embedding,EmbedContentResponse.Embedding.Builder
- Enclosing class:
- EmbedContentResponse
public static interface EmbedContentResponse.EmbeddingOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionfloatgetValues(int index) Embedding vector values.intEmbedding vector values.Embedding vector values.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
-
getValuesList
Embedding vector values.
repeated float values = 1;- Returns:
- A list containing the values.
-
getValuesCount
int getValuesCount()Embedding vector values.
repeated float values = 1;- Returns:
- The count of values.
-
getValues
float getValues(int index) Embedding vector values.
repeated float values = 1;- Parameters:
index- The index of the element to return.- Returns:
- The values at the given index.
-