public static final class Api.Logprobs extends com.google.protobuf.GeneratedMessageV3 implements Api.LogprobsOrBuilder
api.Logprobs| Modifier and Type | Class and Description |
|---|---|
static class |
Api.Logprobs.Builder
Protobuf type
api.Logprobs |
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 |
TEXT_OFFSET_FIELD_NUMBER |
static int |
TOKEN_LOGPROBS_FIELD_NUMBER |
static int |
TOKENS_FIELD_NUMBER |
static int |
TOP_LOGPROBS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Api.Logprobs |
getDefaultInstance() |
Api.Logprobs |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<Api.Logprobs> |
getParserForType() |
int |
getSerializedSize() |
long |
getTextOffset(int index)
repeated int64 text_offset = 1; |
int |
getTextOffsetCount()
repeated int64 text_offset = 1; |
List<Long> |
getTextOffsetList()
repeated int64 text_offset = 1; |
double |
getTokenLogprobs(int index)
repeated double token_logprobs = 2; |
int |
getTokenLogprobsCount()
repeated double token_logprobs = 2; |
List<Double> |
getTokenLogprobsList()
repeated double token_logprobs = 2; |
String |
getTokens(int index)
repeated string tokens = 3; |
com.google.protobuf.ByteString |
getTokensBytes(int index)
repeated string tokens = 3; |
int |
getTokensCount()
repeated string tokens = 3; |
com.google.protobuf.ProtocolStringList |
getTokensList()
repeated string tokens = 3; |
com.google.protobuf.ListValue |
getTopLogprobs()
.google.protobuf.ListValue top_logprobs = 4; |
com.google.protobuf.ListValueOrBuilder |
getTopLogprobsOrBuilder()
.google.protobuf.ListValue top_logprobs = 4; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasTopLogprobs()
.google.protobuf.ListValue top_logprobs = 4; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Api.Logprobs.Builder |
newBuilder() |
static Api.Logprobs.Builder |
newBuilder(Api.Logprobs prototype) |
Api.Logprobs.Builder |
newBuilderForType() |
protected Api.Logprobs.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Api.Logprobs |
parseDelimitedFrom(InputStream input) |
static Api.Logprobs |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Api.Logprobs |
parseFrom(byte[] data) |
static Api.Logprobs |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Api.Logprobs |
parseFrom(ByteBuffer data) |
static Api.Logprobs |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Api.Logprobs |
parseFrom(com.google.protobuf.ByteString data) |
static Api.Logprobs |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Api.Logprobs |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Api.Logprobs |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Api.Logprobs |
parseFrom(InputStream input) |
static Api.Logprobs |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Api.Logprobs> |
parser() |
Api.Logprobs.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 TEXT_OFFSET_FIELD_NUMBER
public static final int TOKEN_LOGPROBS_FIELD_NUMBER
public static final int TOKENS_FIELD_NUMBER
public static final int TOP_LOGPROBS_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 List<Long> getTextOffsetList()
repeated int64 text_offset = 1;getTextOffsetList in interface Api.LogprobsOrBuilderpublic int getTextOffsetCount()
repeated int64 text_offset = 1;getTextOffsetCount in interface Api.LogprobsOrBuilderpublic long getTextOffset(int index)
repeated int64 text_offset = 1;getTextOffset in interface Api.LogprobsOrBuilderindex - The index of the element to return.public List<Double> getTokenLogprobsList()
repeated double token_logprobs = 2;getTokenLogprobsList in interface Api.LogprobsOrBuilderpublic int getTokenLogprobsCount()
repeated double token_logprobs = 2;getTokenLogprobsCount in interface Api.LogprobsOrBuilderpublic double getTokenLogprobs(int index)
repeated double token_logprobs = 2;getTokenLogprobs in interface Api.LogprobsOrBuilderindex - The index of the element to return.public com.google.protobuf.ProtocolStringList getTokensList()
repeated string tokens = 3;getTokensList in interface Api.LogprobsOrBuilderpublic int getTokensCount()
repeated string tokens = 3;getTokensCount in interface Api.LogprobsOrBuilderpublic String getTokens(int index)
repeated string tokens = 3;getTokens in interface Api.LogprobsOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getTokensBytes(int index)
repeated string tokens = 3;getTokensBytes in interface Api.LogprobsOrBuilderindex - The index of the value to return.public boolean hasTopLogprobs()
.google.protobuf.ListValue top_logprobs = 4;hasTopLogprobs in interface Api.LogprobsOrBuilderpublic com.google.protobuf.ListValue getTopLogprobs()
.google.protobuf.ListValue top_logprobs = 4;getTopLogprobs in interface Api.LogprobsOrBuilderpublic com.google.protobuf.ListValueOrBuilder getTopLogprobsOrBuilder()
.google.protobuf.ListValue top_logprobs = 4;getTopLogprobsOrBuilder in interface Api.LogprobsOrBuilderpublic 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.Logprobs parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Api.Logprobs parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Api.Logprobs parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Api.Logprobs parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Api.Logprobs parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Api.Logprobs parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Api.Logprobs parseFrom(InputStream input) throws IOException
IOExceptionpublic static Api.Logprobs parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Api.Logprobs parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Api.Logprobs parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Api.Logprobs parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Api.Logprobs parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Api.Logprobs.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Api.Logprobs.Builder newBuilder()
public static Api.Logprobs.Builder newBuilder(Api.Logprobs prototype)
public Api.Logprobs.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Api.Logprobs.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Api.Logprobs getDefaultInstance()
public static com.google.protobuf.Parser<Api.Logprobs> parser()
public com.google.protobuf.Parser<Api.Logprobs> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Api.Logprobs getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025. All rights reserved.