public static final class Api.ChatResp extends com.google.protobuf.GeneratedMessageV3 implements Api.ChatRespOrBuilder
api.ChatResp
限定符和类型 | 类和说明 |
---|---|
static class |
Api.ChatResp.Builder
Protobuf type
api.ChatResp |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
限定符和类型 | 字段和说明 |
---|---|
static int |
CHOICE_FIELD_NUMBER |
static int |
ERROR_FIELD_NUMBER |
static int |
EXTRA_FIELD_NUMBER |
static int |
REQ_ID_FIELD_NUMBER |
static int |
USAGE_FIELD_NUMBER |
限定符和类型 | 方法和说明 |
---|---|
boolean |
containsExtra(String key)
extra info
map<string, string> extra = 100; |
boolean |
equals(Object obj) |
Api.Choice |
getChoice()
The generated result
.api.Choice choice = 3; |
Api.ChoiceOrBuilder |
getChoiceOrBuilder()
The generated result
.api.Choice choice = 3; |
static Api.ChatResp |
getDefaultInstance() |
Api.ChatResp |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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; |
Map<String,String> |
getExtra()
已过时。
|
int |
getExtraCount()
extra info
map<string, string> extra = 100; |
Map<String,String> |
getExtraMap()
extra info
map<string, string> extra = 100; |
String |
getExtraOrDefault(String key,
String defaultValue)
extra info
map<string, string> extra = 100; |
String |
getExtraOrThrow(String key)
extra info
map<string, string> extra = 100; |
com.google.protobuf.Parser<Api.ChatResp> |
getParserForType() |
String |
getReqId()
Unified request id
string req_id = 1; |
com.google.protobuf.ByteString |
getReqIdBytes()
Unified request id
string req_id = 1; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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; |
int |
hashCode() |
boolean |
hasUsage()
The tokens usage
.api.Usage usage = 4; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Api.ChatResp.Builder |
newBuilder() |
static Api.ChatResp.Builder |
newBuilder(Api.ChatResp prototype) |
Api.ChatResp.Builder |
newBuilderForType() |
protected Api.ChatResp.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Api.ChatResp |
parseDelimitedFrom(InputStream input) |
static Api.ChatResp |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Api.ChatResp |
parseFrom(byte[] data) |
static Api.ChatResp |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Api.ChatResp |
parseFrom(ByteBuffer data) |
static Api.ChatResp |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Api.ChatResp |
parseFrom(com.google.protobuf.ByteString data) |
static Api.ChatResp |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Api.ChatResp |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Api.ChatResp |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Api.ChatResp |
parseFrom(InputStream input) |
static Api.ChatResp |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Api.ChatResp> |
parser() |
Api.ChatResp.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int REQ_ID_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
public static final int CHOICE_FIELD_NUMBER
public static final int USAGE_FIELD_NUMBER
public static final int EXTRA_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
在类中 com.google.protobuf.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
在接口中 com.google.protobuf.MessageOrBuilder
getUnknownFields
在类中 com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
在类中 com.google.protobuf.GeneratedMessageV3
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
在类中 com.google.protobuf.GeneratedMessageV3
public String getReqId()
Unified request id
string req_id = 1;
getReqId
在接口中 Api.ChatRespOrBuilder
public com.google.protobuf.ByteString getReqIdBytes()
Unified request id
string req_id = 1;
getReqIdBytes
在接口中 Api.ChatRespOrBuilder
public boolean hasError()
Error if exists for the req
.api.Error error = 2;
hasError
在接口中 Api.ChatRespOrBuilder
public Api.Error getError()
Error if exists for the req
.api.Error error = 2;
getError
在接口中 Api.ChatRespOrBuilder
public Api.ErrorOrBuilder getErrorOrBuilder()
Error if exists for the req
.api.Error error = 2;
getErrorOrBuilder
在接口中 Api.ChatRespOrBuilder
public boolean hasChoice()
The generated result
.api.Choice choice = 3;
hasChoice
在接口中 Api.ChatRespOrBuilder
public Api.Choice getChoice()
The generated result
.api.Choice choice = 3;
getChoice
在接口中 Api.ChatRespOrBuilder
public Api.ChoiceOrBuilder getChoiceOrBuilder()
The generated result
.api.Choice choice = 3;
getChoiceOrBuilder
在接口中 Api.ChatRespOrBuilder
public boolean hasUsage()
The tokens usage
.api.Usage usage = 4;
hasUsage
在接口中 Api.ChatRespOrBuilder
public Api.Usage getUsage()
The tokens usage
.api.Usage usage = 4;
getUsage
在接口中 Api.ChatRespOrBuilder
public Api.UsageOrBuilder getUsageOrBuilder()
The tokens usage
.api.Usage usage = 4;
getUsageOrBuilder
在接口中 Api.ChatRespOrBuilder
public int getExtraCount()
Api.ChatRespOrBuilder
extra info
map<string, string> extra = 100;
getExtraCount
在接口中 Api.ChatRespOrBuilder
public boolean containsExtra(String key)
extra info
map<string, string> extra = 100;
containsExtra
在接口中 Api.ChatRespOrBuilder
@Deprecated public Map<String,String> getExtra()
getExtraMap()
instead.getExtra
在接口中 Api.ChatRespOrBuilder
public Map<String,String> getExtraMap()
extra info
map<string, string> extra = 100;
getExtraMap
在接口中 Api.ChatRespOrBuilder
public String getExtraOrDefault(String key, String defaultValue)
extra info
map<string, string> extra = 100;
getExtraOrDefault
在接口中 Api.ChatRespOrBuilder
public String getExtraOrThrow(String key)
extra info
map<string, string> extra = 100;
getExtraOrThrow
在接口中 Api.ChatRespOrBuilder
public final boolean isInitialized()
isInitialized
在接口中 com.google.protobuf.MessageLiteOrBuilder
isInitialized
在类中 com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
在接口中 com.google.protobuf.MessageLite
writeTo
在类中 com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
在接口中 com.google.protobuf.MessageLite
getSerializedSize
在类中 com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
在接口中 com.google.protobuf.Message
equals
在类中 com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
在接口中 com.google.protobuf.Message
hashCode
在类中 com.google.protobuf.AbstractMessage
public static Api.ChatResp parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Api.ChatResp parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Api.ChatResp parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Api.ChatResp parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Api.ChatResp parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Api.ChatResp parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Api.ChatResp parseFrom(InputStream input) throws IOException
IOException
public static Api.ChatResp parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Api.ChatResp parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Api.ChatResp parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Api.ChatResp parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Api.ChatResp parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Api.ChatResp.Builder newBuilderForType()
newBuilderForType
在接口中 com.google.protobuf.Message
newBuilderForType
在接口中 com.google.protobuf.MessageLite
public static Api.ChatResp.Builder newBuilder()
public static Api.ChatResp.Builder newBuilder(Api.ChatResp prototype)
public Api.ChatResp.Builder toBuilder()
toBuilder
在接口中 com.google.protobuf.Message
toBuilder
在接口中 com.google.protobuf.MessageLite
protected Api.ChatResp.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
在类中 com.google.protobuf.GeneratedMessageV3
public static Api.ChatResp getDefaultInstance()
public static com.google.protobuf.Parser<Api.ChatResp> parser()
public com.google.protobuf.Parser<Api.ChatResp> getParserForType()
getParserForType
在接口中 com.google.protobuf.Message
getParserForType
在接口中 com.google.protobuf.MessageLite
getParserForType
在类中 com.google.protobuf.GeneratedMessageV3
public Api.ChatResp getDefaultInstanceForType()
getDefaultInstanceForType
在接口中 com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
在接口中 com.google.protobuf.MessageOrBuilder
Copyright © 2024. All rights reserved.