Interface EmbedContentResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
EmbedContentResponse, EmbedContentResponse.Builder

@Generated public interface EmbedContentResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasEmbedding

      boolean hasEmbedding()
       The embedding generated from the input content.
       
      .google.cloud.aiplatform.v1.EmbedContentResponse.Embedding embedding = 1;
      Returns:
      Whether the embedding field is set.
    • getEmbedding

       The embedding generated from the input content.
       
      .google.cloud.aiplatform.v1.EmbedContentResponse.Embedding embedding = 1;
      Returns:
      The embedding.
    • getEmbeddingOrBuilder

       The embedding generated from the input content.
       
      .google.cloud.aiplatform.v1.EmbedContentResponse.Embedding embedding = 1;
    • hasUsageMetadata

      boolean hasUsageMetadata()
       Usage metadata about the response(s).
       
      .google.cloud.aiplatform.v1.UsageMetadata usage_metadata = 2;
      Returns:
      Whether the usageMetadata field is set.
    • getUsageMetadata

      UsageMetadata getUsageMetadata()
       Usage metadata about the response(s).
       
      .google.cloud.aiplatform.v1.UsageMetadata usage_metadata = 2;
      Returns:
      The usageMetadata.
    • getUsageMetadataOrBuilder

      UsageMetadataOrBuilder getUsageMetadataOrBuilder()
       Usage metadata about the response(s).
       
      .google.cloud.aiplatform.v1.UsageMetadata usage_metadata = 2;
    • getTruncated

      boolean getTruncated()
       Whether the input content was truncated before generating the embedding.
       
      bool truncated = 4;
      Returns:
      The truncated.