public static interface Api.ClassificationRespOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabelLogprobos(String key)
map<string, .api.LabelLogprobosValue> label_logprobos = 2; |
Api.Error |
getError()
Error if exists for the req
|
Api.ErrorOrBuilder |
getErrorOrBuilder()
Error if exists for the req
|
String |
getLabel()
string label = 1; |
com.google.protobuf.ByteString |
getLabelBytes()
string label = 1; |
Map<String,Api.LabelLogprobosValue> |
getLabelLogprobos()
Deprecated.
|
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
|
com.google.protobuf.ByteString |
getReqIdBytes()
Unified request id
|
Api.Usage |
getUsage()
The tokens usage
|
Api.UsageOrBuilder |
getUsageOrBuilder()
The tokens usage
|
boolean |
hasError()
Error if exists for the req
|
boolean |
hasUsage()
The tokens usage
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString 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 © 2025. All rights reserved.