@Generated
public interface EmbedContentRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAutoTruncate()
Optional.
|
Content |
getContent()
Required.
|
ContentOrBuilder |
getContentOrBuilder()
Required.
|
String |
getModel()
Required.
|
com.google.protobuf.ByteString |
getModelBytes()
Required.
|
int |
getOutputDimensionality()
Optional.
|
EmbedContentRequest.EmbeddingTaskType |
getTaskType()
Optional.
|
int |
getTaskTypeValue()
Optional.
|
String |
getTitle()
Optional.
|
com.google.protobuf.ByteString |
getTitleBytes()
Optional.
|
boolean |
hasAutoTruncate()
Optional.
|
boolean |
hasContent()
Required.
|
boolean |
hasModel()
Required.
|
boolean |
hasOutputDimensionality()
Optional.
|
boolean |
hasTaskType()
Optional.
|
boolean |
hasTitle()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean 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) = { ... }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) = { ... }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) = { ... }boolean hasContent()
Required. Input content to be embedded. Required.
optional .google.cloud.aiplatform.v1.Content content = 2;Content getContent()
Required. Input content to be embedded. Required.
optional .google.cloud.aiplatform.v1.Content content = 2;ContentOrBuilder getContentOrBuilder()
Required. Input content to be embedded. Required.
optional .google.cloud.aiplatform.v1.Content content = 2;boolean hasTitle()
Optional. An optional title for the text.
optional string title = 4 [(.google.api.field_behavior) = OPTIONAL];String getTitle()
Optional. An optional title for the text.
optional string title = 4 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getTitleBytes()
Optional. An optional title for the text.
optional string title = 4 [(.google.api.field_behavior) = OPTIONAL];boolean hasTaskType()
Optional. The task type of the embedding.
optional .google.cloud.aiplatform.v1.EmbedContentRequest.EmbeddingTaskType task_type = 5 [(.google.api.field_behavior) = OPTIONAL];
int getTaskTypeValue()
Optional. The task type of the embedding.
optional .google.cloud.aiplatform.v1.EmbedContentRequest.EmbeddingTaskType task_type = 5 [(.google.api.field_behavior) = OPTIONAL];
EmbedContentRequest.EmbeddingTaskType getTaskType()
Optional. The task type of the embedding.
optional .google.cloud.aiplatform.v1.EmbedContentRequest.EmbeddingTaskType task_type = 5 [(.google.api.field_behavior) = OPTIONAL];
boolean hasOutputDimensionality()
Optional. Optional reduced dimension for the output embedding. If set, excessive values in the output embedding are truncated from the end.
optional int32 output_dimensionality = 6 [(.google.api.field_behavior) = OPTIONAL];
int getOutputDimensionality()
Optional. Optional reduced dimension for the output embedding. If set, excessive values in the output embedding are truncated from the end.
optional int32 output_dimensionality = 6 [(.google.api.field_behavior) = OPTIONAL];
boolean hasAutoTruncate()
Optional. Whether to silently truncate the input content if it's longer than the maximum sequence length.
optional bool auto_truncate = 7 [(.google.api.field_behavior) = OPTIONAL];boolean getAutoTruncate()
Optional. Whether to silently truncate the input content if it's longer than the maximum sequence length.
optional bool auto_truncate = 7 [(.google.api.field_behavior) = OPTIONAL];Copyright © 2026 Google LLC. All rights reserved.