public static final class Api.TokenizeResp extends com.google.protobuf.GeneratedMessageV3 implements Api.TokenizeRespOrBuilder
api.TokenizeResp| Modifier and Type | Class and Description |
|---|---|
static class |
Api.TokenizeResp.Builder
Protobuf type
api.TokenizeResp |
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 |
ERROR_FIELD_NUMBER |
static int |
REQ_ID_FIELD_NUMBER |
static int |
TOKENS_FIELD_NUMBER |
static int |
TOTAL_TOKENS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Api.TokenizeResp |
getDefaultInstance() |
Api.TokenizeResp |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Api.Error |
getError()
Error if exists for the req
|
Api.ErrorOrBuilder |
getErrorOrBuilder()
Error if exists for the req
|
com.google.protobuf.Parser<Api.TokenizeResp> |
getParserForType() |
String |
getReqId()
Unified request id
|
com.google.protobuf.ByteString |
getReqIdBytes()
Unified request id
|
int |
getSerializedSize() |
String |
getTokens(int index)
repeated string tokens = 2; |
com.google.protobuf.ByteString |
getTokensBytes(int index)
repeated string tokens = 2; |
int |
getTokensCount()
repeated string tokens = 2; |
com.google.protobuf.ProtocolStringList |
getTokensList()
repeated string tokens = 2; |
long |
getTotalTokens()
int64 total_tokens = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasError()
Error if exists for the req
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Api.TokenizeResp.Builder |
newBuilder() |
static Api.TokenizeResp.Builder |
newBuilder(Api.TokenizeResp prototype) |
Api.TokenizeResp.Builder |
newBuilderForType() |
protected Api.TokenizeResp.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Api.TokenizeResp |
parseDelimitedFrom(InputStream input) |
static Api.TokenizeResp |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Api.TokenizeResp |
parseFrom(byte[] data) |
static Api.TokenizeResp |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Api.TokenizeResp |
parseFrom(ByteBuffer data) |
static Api.TokenizeResp |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Api.TokenizeResp |
parseFrom(com.google.protobuf.ByteString data) |
static Api.TokenizeResp |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Api.TokenizeResp |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Api.TokenizeResp |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Api.TokenizeResp |
parseFrom(InputStream input) |
static Api.TokenizeResp |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Api.TokenizeResp> |
parser() |
Api.TokenizeResp.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 TOTAL_TOKENS_FIELD_NUMBER
public static final int TOKENS_FIELD_NUMBER
public static final int REQ_ID_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 long getTotalTokens()
int64 total_tokens = 1;getTotalTokens in interface Api.TokenizeRespOrBuilderpublic com.google.protobuf.ProtocolStringList getTokensList()
repeated string tokens = 2;getTokensList in interface Api.TokenizeRespOrBuilderpublic int getTokensCount()
repeated string tokens = 2;getTokensCount in interface Api.TokenizeRespOrBuilderpublic String getTokens(int index)
repeated string tokens = 2;getTokens in interface Api.TokenizeRespOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getTokensBytes(int index)
repeated string tokens = 2;getTokensBytes in interface Api.TokenizeRespOrBuilderindex - The index of the value to return.public String getReqId()
Unified request id
string req_id = 3;getReqId in interface Api.TokenizeRespOrBuilderpublic com.google.protobuf.ByteString getReqIdBytes()
Unified request id
string req_id = 3;getReqIdBytes in interface Api.TokenizeRespOrBuilderpublic boolean hasError()
Error if exists for the req
.api.Error error = 4;hasError in interface Api.TokenizeRespOrBuilderpublic Api.Error getError()
Error if exists for the req
.api.Error error = 4;getError in interface Api.TokenizeRespOrBuilderpublic Api.ErrorOrBuilder getErrorOrBuilder()
Error if exists for the req
.api.Error error = 4;getErrorOrBuilder in interface Api.TokenizeRespOrBuilderpublic 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.TokenizeResp parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Api.TokenizeResp parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Api.TokenizeResp parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Api.TokenizeResp parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Api.TokenizeResp parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Api.TokenizeResp parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Api.TokenizeResp parseFrom(InputStream input) throws IOException
IOExceptionpublic static Api.TokenizeResp parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Api.TokenizeResp parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Api.TokenizeResp parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Api.TokenizeResp parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Api.TokenizeResp parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Api.TokenizeResp.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Api.TokenizeResp.Builder newBuilder()
public static Api.TokenizeResp.Builder newBuilder(Api.TokenizeResp prototype)
public Api.TokenizeResp.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Api.TokenizeResp.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Api.TokenizeResp getDefaultInstance()
public static com.google.protobuf.Parser<Api.TokenizeResp> parser()
public com.google.protobuf.Parser<Api.TokenizeResp> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Api.TokenizeResp getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025. All rights reserved.