@Generated public final class EmbedContentResponse extends com.google.protobuf.GeneratedMessage implements EmbedContentResponseOrBuilder
Response message for [PredictionService.EmbedContent][google.cloud.aiplatform.v1.PredictionService.EmbedContent].Protobuf type
google.cloud.aiplatform.v1.EmbedContentResponse| Modifier and Type | Class and Description |
|---|---|
static class |
EmbedContentResponse.Builder
Response message for
[PredictionService.EmbedContent][google.cloud.aiplatform.v1.PredictionService.EmbedContent].
|
static class |
EmbedContentResponse.Embedding
A list of floats representing an embedding.
|
static interface |
EmbedContentResponse.EmbeddingOrBuilder |
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
EMBEDDING_FIELD_NUMBER |
static int |
TRUNCATED_FIELD_NUMBER |
static int |
USAGE_METADATA_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static EmbedContentResponse |
getDefaultInstance() |
EmbedContentResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
EmbedContentResponse.Embedding |
getEmbedding()
The embedding generated from the input content.
|
EmbedContentResponse.EmbeddingOrBuilder |
getEmbeddingOrBuilder()
The embedding generated from the input content.
|
com.google.protobuf.Parser<EmbedContentResponse> |
getParserForType() |
int |
getSerializedSize() |
boolean |
getTruncated()
Whether the input content was truncated before generating the embedding.
|
UsageMetadata |
getUsageMetadata()
Metadata about the response(s).
|
UsageMetadataOrBuilder |
getUsageMetadataOrBuilder()
Metadata about the response(s).
|
boolean |
hasEmbedding()
The embedding generated from the input content.
|
int |
hashCode() |
boolean |
hasUsageMetadata()
Metadata about the response(s).
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static EmbedContentResponse.Builder |
newBuilder() |
static EmbedContentResponse.Builder |
newBuilder(EmbedContentResponse prototype) |
EmbedContentResponse.Builder |
newBuilderForType() |
protected EmbedContentResponse.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static EmbedContentResponse |
parseDelimitedFrom(InputStream input) |
static EmbedContentResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EmbedContentResponse |
parseFrom(byte[] data) |
static EmbedContentResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EmbedContentResponse |
parseFrom(ByteBuffer data) |
static EmbedContentResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EmbedContentResponse |
parseFrom(com.google.protobuf.ByteString data) |
static EmbedContentResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EmbedContentResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static EmbedContentResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EmbedContentResponse |
parseFrom(InputStream input) |
static EmbedContentResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<EmbedContentResponse> |
parser() |
EmbedContentResponse.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int EMBEDDING_FIELD_NUMBER
public static final int USAGE_METADATA_FIELD_NUMBER
public static final int TRUNCATED_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic boolean hasEmbedding()
The embedding generated from the input content.
.google.cloud.aiplatform.v1.EmbedContentResponse.Embedding embedding = 1;hasEmbedding in interface EmbedContentResponseOrBuilderpublic EmbedContentResponse.Embedding getEmbedding()
The embedding generated from the input content.
.google.cloud.aiplatform.v1.EmbedContentResponse.Embedding embedding = 1;getEmbedding in interface EmbedContentResponseOrBuilderpublic EmbedContentResponse.EmbeddingOrBuilder getEmbeddingOrBuilder()
The embedding generated from the input content.
.google.cloud.aiplatform.v1.EmbedContentResponse.Embedding embedding = 1;getEmbeddingOrBuilder in interface EmbedContentResponseOrBuilderpublic boolean hasUsageMetadata()
Metadata about the response(s).
.google.cloud.aiplatform.v1.UsageMetadata usage_metadata = 2;hasUsageMetadata in interface EmbedContentResponseOrBuilderpublic UsageMetadata getUsageMetadata()
Metadata about the response(s).
.google.cloud.aiplatform.v1.UsageMetadata usage_metadata = 2;getUsageMetadata in interface EmbedContentResponseOrBuilderpublic UsageMetadataOrBuilder getUsageMetadataOrBuilder()
Metadata about the response(s).
.google.cloud.aiplatform.v1.UsageMetadata usage_metadata = 2;getUsageMetadataOrBuilder in interface EmbedContentResponseOrBuilderpublic boolean getTruncated()
Whether the input content was truncated before generating the embedding.
bool truncated = 4;getTruncated in interface EmbedContentResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static EmbedContentResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EmbedContentResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EmbedContentResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EmbedContentResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EmbedContentResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EmbedContentResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EmbedContentResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static EmbedContentResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static EmbedContentResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static EmbedContentResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static EmbedContentResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static EmbedContentResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic EmbedContentResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static EmbedContentResponse.Builder newBuilder()
public static EmbedContentResponse.Builder newBuilder(EmbedContentResponse prototype)
public EmbedContentResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected EmbedContentResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static EmbedContentResponse getDefaultInstance()
public static com.google.protobuf.Parser<EmbedContentResponse> parser()
public com.google.protobuf.Parser<EmbedContentResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic EmbedContentResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2026 Google LLC. All rights reserved.