public static interface Api.ClassificationRespOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsLabelLogprobos(String key)
map<string, .api.LabelLogprobosValue> label_logprobos = 2; |
Api.Error |
getError()
Error if exists for the req
.api.Error error = 5; |
Api.ErrorOrBuilder |
getErrorOrBuilder()
Error if exists for the req
.api.Error error = 5; |
String |
getLabel()
string label = 1; |
com.google.protobuf.ByteString |
getLabelBytes()
string label = 1; |
Map<String,Api.LabelLogprobosValue> |
getLabelLogprobos()
已过时。
|
int |
getLabelLogprobosCount()
map<string, .api.LabelLogprobosValue> label_logprobos = 2; |
Map<String,Api.LabelLogprobosValue> |
getLabelLogprobosMap()
map<string, .api.LabelLogprobosValue> label_logprobos = 2; |
Api.LabelLogprobosValue |
getLabelLogprobosOrDefault(String key,
Api.LabelLogprobosValue defaultValue)
map<string, .api.LabelLogprobosValue> label_logprobos = 2; |
Api.LabelLogprobosValue |
getLabelLogprobosOrThrow(String key)
map<string, .api.LabelLogprobosValue> label_logprobos = 2; |
String |
getReqId()
Unified request id
string req_id = 4; |
com.google.protobuf.ByteString |
getReqIdBytes()
Unified request id
string req_id = 4; |
Api.Usage |
getUsage()
The tokens usage
.api.Usage usage = 3; |
Api.UsageOrBuilder |
getUsageOrBuilder()
The tokens usage
.api.Usage usage = 3; |
boolean |
hasError()
Error if exists for the req
.api.Error error = 5; |
boolean |
hasUsage()
The tokens usage
.api.Usage usage = 3; |
String getLabel()
string label = 1;com.google.protobuf.ByteString getLabelBytes()
string label = 1;int getLabelLogprobosCount()
map<string, .api.LabelLogprobosValue> label_logprobos = 2;boolean containsLabelLogprobos(String key)
map<string, .api.LabelLogprobosValue> label_logprobos = 2;@Deprecated Map<String,Api.LabelLogprobosValue> getLabelLogprobos()
getLabelLogprobosMap() instead.Map<String,Api.LabelLogprobosValue> getLabelLogprobosMap()
map<string, .api.LabelLogprobosValue> label_logprobos = 2;Api.LabelLogprobosValue getLabelLogprobosOrDefault(String key, Api.LabelLogprobosValue defaultValue)
map<string, .api.LabelLogprobosValue> label_logprobos = 2;Api.LabelLogprobosValue getLabelLogprobosOrThrow(String key)
map<string, .api.LabelLogprobosValue> label_logprobos = 2;boolean hasUsage()
The tokens usage
.api.Usage usage = 3;Api.Usage getUsage()
The tokens usage
.api.Usage usage = 3;Api.UsageOrBuilder getUsageOrBuilder()
The tokens usage
.api.Usage usage = 3;String getReqId()
Unified request id
string req_id = 4;com.google.protobuf.ByteString getReqIdBytes()
Unified request id
string req_id = 4;boolean hasError()
Error if exists for the req
.api.Error error = 5;Api.Error getError()
Error if exists for the req
.api.Error error = 5;Api.ErrorOrBuilder getErrorOrBuilder()
Error if exists for the req
.api.Error error = 5;Copyright © 2024. All rights reserved.