Interface EmbedContentRequestOrBuilder

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

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

    • hasModel

      boolean hasModel()
       Required. The name of the publisher model requested to serve the
       prediction. Format:
       `projects/{project}/locations/{location}/publishers/*/models/*`
       
      optional string model = 1 [(.google.api.resource_reference) = { ... }
      Returns:
      Whether the model field is set.
    • getModel

      String getModel()
       Required. The name of the publisher model requested to serve the
       prediction. Format:
       `projects/{project}/locations/{location}/publishers/*/models/*`
       
      optional string model = 1 [(.google.api.resource_reference) = { ... }
      Returns:
      The model.
    • getModelBytes

      com.google.protobuf.ByteString getModelBytes()
       Required. The name of the publisher model requested to serve the
       prediction. Format:
       `projects/{project}/locations/{location}/publishers/*/models/*`
       
      optional string model = 1 [(.google.api.resource_reference) = { ... }
      Returns:
      The bytes for model.
    • hasContent

      boolean hasContent()
       Required. Input content to be embedded.
       
      optional .google.cloud.aiplatform.v1.Content content = 2;
      Returns:
      Whether the content field is set.
    • getContent

      Content getContent()
       Required. Input content to be embedded.
       
      optional .google.cloud.aiplatform.v1.Content content = 2;
      Returns:
      The content.
    • getContentOrBuilder

      ContentOrBuilder getContentOrBuilder()
       Required. Input content to be embedded.
       
      optional .google.cloud.aiplatform.v1.Content content = 2;
    • hasTitle

      @Deprecated boolean hasTitle()
      Deprecated.
      google.cloud.aiplatform.v1.EmbedContentRequest.title is deprecated. See google/cloud/aiplatform/v1/prediction_service.proto;l=968
       Optional. Deprecated: Please use EmbedContentConfig.title instead.
       The title for the text.
       
      optional string title = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the title field is set.
    • getTitle

      @Deprecated String getTitle()
      Deprecated.
      google.cloud.aiplatform.v1.EmbedContentRequest.title is deprecated. See google/cloud/aiplatform/v1/prediction_service.proto;l=968
       Optional. Deprecated: Please use EmbedContentConfig.title instead.
       The title for the text.
       
      optional string title = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The title.
    • getTitleBytes

      @Deprecated com.google.protobuf.ByteString getTitleBytes()
      Deprecated.
      google.cloud.aiplatform.v1.EmbedContentRequest.title is deprecated. See google/cloud/aiplatform/v1/prediction_service.proto;l=968
       Optional. Deprecated: Please use EmbedContentConfig.title instead.
       The title for the text.
       
      optional string title = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for title.
    • hasTaskType

      @Deprecated boolean hasTaskType()
      Deprecated.
      google.cloud.aiplatform.v1.EmbedContentRequest.task_type is deprecated. See google/cloud/aiplatform/v1/prediction_service.proto;l=973
       Optional. Deprecated: Please use EmbedContentConfig.task_type instead.
       The task type of the embedding.
       
      optional .google.cloud.aiplatform.v1.EmbedContentRequest.EmbeddingTaskType task_type = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the taskType field is set.
    • getTaskTypeValue

      @Deprecated int getTaskTypeValue()
      Deprecated.
      google.cloud.aiplatform.v1.EmbedContentRequest.task_type is deprecated. See google/cloud/aiplatform/v1/prediction_service.proto;l=973
       Optional. Deprecated: Please use EmbedContentConfig.task_type instead.
       The task type of the embedding.
       
      optional .google.cloud.aiplatform.v1.EmbedContentRequest.EmbeddingTaskType task_type = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for taskType.
    • getTaskType

      Deprecated.
      google.cloud.aiplatform.v1.EmbedContentRequest.task_type is deprecated. See google/cloud/aiplatform/v1/prediction_service.proto;l=973
       Optional. Deprecated: Please use EmbedContentConfig.task_type instead.
       The task type of the embedding.
       
      optional .google.cloud.aiplatform.v1.EmbedContentRequest.EmbeddingTaskType task_type = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The taskType.
    • hasOutputDimensionality

      @Deprecated boolean hasOutputDimensionality()
      Deprecated.
      google.cloud.aiplatform.v1.EmbedContentRequest.output_dimensionality is deprecated. See google/cloud/aiplatform/v1/prediction_service.proto;l=979
       Optional. Deprecated: Please use EmbedContentConfig.output_dimensionality
       instead. Reduced dimension for the output embedding. If set, excessive
       values in the output embedding are truncated from the end.
       
      optional int32 output_dimensionality = 6 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the outputDimensionality field is set.
    • getOutputDimensionality

      @Deprecated int getOutputDimensionality()
      Deprecated.
      google.cloud.aiplatform.v1.EmbedContentRequest.output_dimensionality is deprecated. See google/cloud/aiplatform/v1/prediction_service.proto;l=979
       Optional. Deprecated: Please use EmbedContentConfig.output_dimensionality
       instead. Reduced dimension for the output embedding. If set, excessive
       values in the output embedding are truncated from the end.
       
      optional int32 output_dimensionality = 6 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The outputDimensionality.
    • hasAutoTruncate

      @Deprecated boolean hasAutoTruncate()
      Deprecated.
      google.cloud.aiplatform.v1.EmbedContentRequest.auto_truncate is deprecated. See google/cloud/aiplatform/v1/prediction_service.proto;l=985
       Optional. Deprecated: Please use EmbedContentConfig.auto_truncate instead.
       Whether to silently truncate the input content if it's longer
       than the maximum sequence length.
       
      optional bool auto_truncate = 7 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the autoTruncate field is set.
    • getAutoTruncate

      @Deprecated boolean getAutoTruncate()
      Deprecated.
      google.cloud.aiplatform.v1.EmbedContentRequest.auto_truncate is deprecated. See google/cloud/aiplatform/v1/prediction_service.proto;l=985
       Optional. Deprecated: Please use EmbedContentConfig.auto_truncate instead.
       Whether to silently truncate the input content if it's longer
       than the maximum sequence length.
       
      optional bool auto_truncate = 7 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The autoTruncate.
    • hasEmbedContentConfig

      boolean hasEmbedContentConfig()
       Optional. Configuration for the EmbedContent request.
       
      optional .google.cloud.aiplatform.v1.EmbedContentRequest.EmbedContentConfig embed_content_config = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the embedContentConfig field is set.
    • getEmbedContentConfig

       Optional. Configuration for the EmbedContent request.
       
      optional .google.cloud.aiplatform.v1.EmbedContentRequest.EmbedContentConfig embed_content_config = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The embedContentConfig.
    • getEmbedContentConfigOrBuilder

      EmbedContentRequest.EmbedContentConfigOrBuilder getEmbedContentConfigOrBuilder()
       Optional. Configuration for the EmbedContent request.
       
      optional .google.cloud.aiplatform.v1.EmbedContentRequest.EmbedContentConfig embed_content_config = 8 [(.google.api.field_behavior) = OPTIONAL];