public interface ComputeTokensResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
TokensInfo |
getTokensInfo(int index)
Lists of tokens info from the input.
|
int |
getTokensInfoCount()
Lists of tokens info from the input.
|
List<TokensInfo> |
getTokensInfoList()
Lists of tokens info from the input.
|
TokensInfoOrBuilder |
getTokensInfoOrBuilder(int index)
Lists of tokens info from the input.
|
List<? extends TokensInfoOrBuilder> |
getTokensInfoOrBuilderList()
Lists of tokens info from the input.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofList<TokensInfo> getTokensInfoList()
Lists of tokens info from the input. A ComputeTokensRequest could have multiple instances with a prompt in each instance. We also need to return lists of tokens info for the request with multiple instances.
repeated .google.cloud.vertexai.v1.TokensInfo tokens_info = 1;TokensInfo getTokensInfo(int index)
Lists of tokens info from the input. A ComputeTokensRequest could have multiple instances with a prompt in each instance. We also need to return lists of tokens info for the request with multiple instances.
repeated .google.cloud.vertexai.v1.TokensInfo tokens_info = 1;int getTokensInfoCount()
Lists of tokens info from the input. A ComputeTokensRequest could have multiple instances with a prompt in each instance. We also need to return lists of tokens info for the request with multiple instances.
repeated .google.cloud.vertexai.v1.TokensInfo tokens_info = 1;List<? extends TokensInfoOrBuilder> getTokensInfoOrBuilderList()
Lists of tokens info from the input. A ComputeTokensRequest could have multiple instances with a prompt in each instance. We also need to return lists of tokens info for the request with multiple instances.
repeated .google.cloud.vertexai.v1.TokensInfo tokens_info = 1;TokensInfoOrBuilder getTokensInfoOrBuilder(int index)
Lists of tokens info from the input. A ComputeTokensRequest could have multiple instances with a prompt in each instance. We also need to return lists of tokens info for the request with multiple instances.
repeated .google.cloud.vertexai.v1.TokensInfo tokens_info = 1;Copyright © 2024 Google LLC. All rights reserved.