public static final class Api.TokenizeResp extends com.google.protobuf.GeneratedMessageV3 implements Api.TokenizeRespOrBuilder
api.TokenizeResp| 限定符和类型 | 类和说明 |
|---|---|
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| 限定符和类型 | 字段和说明 |
|---|---|
static int |
ERROR_FIELD_NUMBER |
static int |
REQ_ID_FIELD_NUMBER |
static int |
TOKENS_FIELD_NUMBER |
static int |
TOTAL_TOKENS_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
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.Error error = 4; |
Api.ErrorOrBuilder |
getErrorOrBuilder()
Error if exists for the req
.api.Error error = 4; |
com.google.protobuf.Parser<Api.TokenizeResp> |
getParserForType() |
String |
getReqId()
Unified request id
string req_id = 3; |
com.google.protobuf.ByteString |
getReqIdBytes()
Unified request id
string req_id = 3; |
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
.api.Error error = 4; |
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, writeTopublic 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 在类中 com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public long getTotalTokens()
int64 total_tokens = 1;getTotalTokens 在接口中 Api.TokenizeRespOrBuilderpublic com.google.protobuf.ProtocolStringList getTokensList()
repeated string tokens = 2;getTokensList 在接口中 Api.TokenizeRespOrBuilderpublic int getTokensCount()
repeated string tokens = 2;getTokensCount 在接口中 Api.TokenizeRespOrBuilderpublic String getTokens(int index)
repeated string tokens = 2;getTokens 在接口中 Api.TokenizeRespOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getTokensBytes(int index)
repeated string tokens = 2;getTokensBytes 在接口中 Api.TokenizeRespOrBuilderindex - The index of the value to return.public String getReqId()
Unified request id
string req_id = 3;getReqId 在接口中 Api.TokenizeRespOrBuilderpublic com.google.protobuf.ByteString getReqIdBytes()
Unified request id
string req_id = 3;getReqIdBytes 在接口中 Api.TokenizeRespOrBuilderpublic boolean hasError()
Error if exists for the req
.api.Error error = 4;hasError 在接口中 Api.TokenizeRespOrBuilderpublic Api.Error getError()
Error if exists for the req
.api.Error error = 4;getError 在接口中 Api.TokenizeRespOrBuilderpublic Api.ErrorOrBuilder getErrorOrBuilder()
Error if exists for the req
.api.Error error = 4;getErrorOrBuilder 在接口中 Api.TokenizeRespOrBuilderpublic final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 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 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static Api.TokenizeResp.Builder newBuilder()
public static Api.TokenizeResp.Builder newBuilder(Api.TokenizeResp prototype)
public Api.TokenizeResp.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected Api.TokenizeResp.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 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 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public Api.TokenizeResp getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2024. All rights reserved.