public static final class Api.EmbeddingsResp extends com.google.protobuf.GeneratedMessageV3 implements Api.EmbeddingsRespOrBuilder
api.EmbeddingsResp| Modifier and Type | Class and Description |
|---|---|
static class |
Api.EmbeddingsResp.Builder
Protobuf type
api.EmbeddingsResp |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DATA_FIELD_NUMBER |
static int |
ERROR_FIELD_NUMBER |
static int |
MODEL_FIELD_NUMBER |
static int |
OBJECT_FIELD_NUMBER |
static int |
REQ_ID_FIELD_NUMBER |
static int |
USAGE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Api.Embedding |
getData(int index)
repeated .api.Embedding data = 3; |
int |
getDataCount()
repeated .api.Embedding data = 3; |
List<Api.Embedding> |
getDataList()
repeated .api.Embedding data = 3; |
Api.EmbeddingOrBuilder |
getDataOrBuilder(int index)
repeated .api.Embedding data = 3; |
List<? extends Api.EmbeddingOrBuilder> |
getDataOrBuilderList()
repeated .api.Embedding data = 3; |
static Api.EmbeddingsResp |
getDefaultInstance() |
Api.EmbeddingsResp |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Api.Error |
getError()
.api.Error error = 6; |
Api.ErrorOrBuilder |
getErrorOrBuilder()
.api.Error error = 6; |
Api.Model |
getModel()
.api.Model model = 4; |
Api.ModelOrBuilder |
getModelOrBuilder()
.api.Model model = 4; |
String |
getObject()
string object = 2; |
com.google.protobuf.ByteString |
getObjectBytes()
string object = 2; |
com.google.protobuf.Parser<Api.EmbeddingsResp> |
getParserForType() |
String |
getReqId()
string req_id = 1; |
com.google.protobuf.ByteString |
getReqIdBytes()
string req_id = 1; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
Api.Usage |
getUsage()
.api.Usage usage = 5; |
Api.UsageOrBuilder |
getUsageOrBuilder()
.api.Usage usage = 5; |
boolean |
hasError()
.api.Error error = 6; |
int |
hashCode() |
boolean |
hasModel()
.api.Model model = 4; |
boolean |
hasUsage()
.api.Usage usage = 5; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Api.EmbeddingsResp.Builder |
newBuilder() |
static Api.EmbeddingsResp.Builder |
newBuilder(Api.EmbeddingsResp prototype) |
Api.EmbeddingsResp.Builder |
newBuilderForType() |
protected Api.EmbeddingsResp.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Api.EmbeddingsResp |
parseDelimitedFrom(InputStream input) |
static Api.EmbeddingsResp |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Api.EmbeddingsResp |
parseFrom(byte[] data) |
static Api.EmbeddingsResp |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Api.EmbeddingsResp |
parseFrom(ByteBuffer data) |
static Api.EmbeddingsResp |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Api.EmbeddingsResp |
parseFrom(com.google.protobuf.ByteString data) |
static Api.EmbeddingsResp |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Api.EmbeddingsResp |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Api.EmbeddingsResp |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Api.EmbeddingsResp |
parseFrom(InputStream input) |
static Api.EmbeddingsResp |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Api.EmbeddingsResp> |
parser() |
Api.EmbeddingsResp.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int REQ_ID_FIELD_NUMBER
public static final int OBJECT_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER
public static final int MODEL_FIELD_NUMBER
public static final int USAGE_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getReqId()
string req_id = 1;getReqId in interface Api.EmbeddingsRespOrBuilderpublic com.google.protobuf.ByteString getReqIdBytes()
string req_id = 1;getReqIdBytes in interface Api.EmbeddingsRespOrBuilderpublic String getObject()
string object = 2;getObject in interface Api.EmbeddingsRespOrBuilderpublic com.google.protobuf.ByteString getObjectBytes()
string object = 2;getObjectBytes in interface Api.EmbeddingsRespOrBuilderpublic List<Api.Embedding> getDataList()
repeated .api.Embedding data = 3;getDataList in interface Api.EmbeddingsRespOrBuilderpublic List<? extends Api.EmbeddingOrBuilder> getDataOrBuilderList()
repeated .api.Embedding data = 3;getDataOrBuilderList in interface Api.EmbeddingsRespOrBuilderpublic int getDataCount()
repeated .api.Embedding data = 3;getDataCount in interface Api.EmbeddingsRespOrBuilderpublic Api.Embedding getData(int index)
repeated .api.Embedding data = 3;getData in interface Api.EmbeddingsRespOrBuilderpublic Api.EmbeddingOrBuilder getDataOrBuilder(int index)
repeated .api.Embedding data = 3;getDataOrBuilder in interface Api.EmbeddingsRespOrBuilderpublic boolean hasModel()
.api.Model model = 4;hasModel in interface Api.EmbeddingsRespOrBuilderpublic Api.Model getModel()
.api.Model model = 4;getModel in interface Api.EmbeddingsRespOrBuilderpublic Api.ModelOrBuilder getModelOrBuilder()
.api.Model model = 4;getModelOrBuilder in interface Api.EmbeddingsRespOrBuilderpublic boolean hasUsage()
.api.Usage usage = 5;hasUsage in interface Api.EmbeddingsRespOrBuilderpublic Api.Usage getUsage()
.api.Usage usage = 5;getUsage in interface Api.EmbeddingsRespOrBuilderpublic Api.UsageOrBuilder getUsageOrBuilder()
.api.Usage usage = 5;getUsageOrBuilder in interface Api.EmbeddingsRespOrBuilderpublic boolean hasError()
.api.Error error = 6;hasError in interface Api.EmbeddingsRespOrBuilderpublic Api.Error getError()
.api.Error error = 6;getError in interface Api.EmbeddingsRespOrBuilderpublic Api.ErrorOrBuilder getErrorOrBuilder()
.api.Error error = 6;getErrorOrBuilder in interface Api.EmbeddingsRespOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public 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 Api.EmbeddingsResp parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Api.EmbeddingsResp parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Api.EmbeddingsResp parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Api.EmbeddingsResp parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Api.EmbeddingsResp parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Api.EmbeddingsResp parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Api.EmbeddingsResp parseFrom(InputStream input) throws IOException
IOExceptionpublic static Api.EmbeddingsResp parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Api.EmbeddingsResp parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Api.EmbeddingsResp parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Api.EmbeddingsResp parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Api.EmbeddingsResp parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Api.EmbeddingsResp.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Api.EmbeddingsResp.Builder newBuilder()
public static Api.EmbeddingsResp.Builder newBuilder(Api.EmbeddingsResp prototype)
public Api.EmbeddingsResp.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Api.EmbeddingsResp.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Api.EmbeddingsResp getDefaultInstance()
public static com.google.protobuf.Parser<Api.EmbeddingsResp> parser()
public com.google.protobuf.Parser<Api.EmbeddingsResp> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Api.EmbeddingsResp getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025. All rights reserved.