public static interface Api.TokenizeRespOrBuilder
extends com.google.protobuf.MessageOrBuilder
限定符和类型 | 方法和说明 |
---|---|
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; |
String |
getReqId()
Unified request id
string req_id = 3; |
com.google.protobuf.ByteString |
getReqIdBytes()
Unified request id
string req_id = 3; |
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; |
List<String> |
getTokensList()
repeated string tokens = 2; |
long |
getTotalTokens()
int64 total_tokens = 1; |
boolean |
hasError()
Error if exists for the req
.api.Error error = 4; |
long getTotalTokens()
int64 total_tokens = 1;
List<String> getTokensList()
repeated string tokens = 2;
int getTokensCount()
repeated string tokens = 2;
String getTokens(int index)
repeated string tokens = 2;
index
- The index of the element to return.com.google.protobuf.ByteString getTokensBytes(int index)
repeated string tokens = 2;
index
- The index of the value to return.String getReqId()
Unified request id
string req_id = 3;
com.google.protobuf.ByteString getReqIdBytes()
Unified request id
string req_id = 3;
boolean hasError()
Error if exists for the req
.api.Error error = 4;
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;
Copyright © 2024. All rights reserved.