public static interface Api.ChatRespOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
Api.Choice |
getChoice()
The generated result
.api.Choice choice = 3; |
Api.ChoiceOrBuilder |
getChoiceOrBuilder()
The generated result
.api.Choice choice = 3; |
Api.Error |
getError()
Error if exists for the req
.api.Error error = 2; |
Api.ErrorOrBuilder |
getErrorOrBuilder()
Error if exists for the req
.api.Error error = 2; |
String |
getReqId()
Unified request id
string req_id = 1; |
com.google.protobuf.ByteString |
getReqIdBytes()
Unified request id
string req_id = 1; |
Api.Usage |
getUsage()
The tokens usage
.api.Usage usage = 4; |
Api.UsageOrBuilder |
getUsageOrBuilder()
The tokens usage
.api.Usage usage = 4; |
boolean |
hasChoice()
The generated result
.api.Choice choice = 3; |
boolean |
hasError()
Error if exists for the req
.api.Error error = 2; |
boolean |
hasUsage()
The tokens usage
.api.Usage usage = 4; |
String getReqId()
Unified request id
string req_id = 1;com.google.protobuf.ByteString getReqIdBytes()
Unified request id
string req_id = 1;boolean hasError()
Error if exists for the req
.api.Error error = 2;Api.Error getError()
Error if exists for the req
.api.Error error = 2;Api.ErrorOrBuilder getErrorOrBuilder()
Error if exists for the req
.api.Error error = 2;boolean hasChoice()
The generated result
.api.Choice choice = 3;Api.Choice getChoice()
The generated result
.api.Choice choice = 3;Api.ChoiceOrBuilder getChoiceOrBuilder()
The generated result
.api.Choice choice = 3;boolean hasUsage()
The tokens usage
.api.Usage usage = 4;Api.Usage getUsage()
The tokens usage
.api.Usage usage = 4;Api.UsageOrBuilder getUsageOrBuilder()
The tokens usage
.api.Usage usage = 4;Copyright © 2023. All rights reserved.