public static interface Api.ChatRespOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Api.Choice |
getChoice()
The generated result
|
Api.ChoiceOrBuilder |
getChoiceOrBuilder()
The generated result
|
Api.Error |
getError()
Error if exists for the req
|
Api.ErrorOrBuilder |
getErrorOrBuilder()
Error if exists for the req
|
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 |
hasChoice()
The generated result
|
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 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.