Package com.google.cloud.aiplatform.v1
Interface ComputeTokensResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ComputeTokensResponse,ComputeTokensResponse.Builder
@Generated
public interface ComputeTokensResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetTokensInfo(int index) Lists of tokens info from the input.intLists of tokens info from the input.Lists of tokens info from the input.getTokensInfoOrBuilder(int index) Lists of tokens info from the input.List<? extends TokensInfoOrBuilder>Lists of tokens info from the input.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTokensInfoList
List<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.aiplatform.v1.TokensInfo tokens_info = 1; -
getTokensInfo
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.aiplatform.v1.TokensInfo tokens_info = 1; -
getTokensInfoCount
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.aiplatform.v1.TokensInfo tokens_info = 1; -
getTokensInfoOrBuilderList
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.aiplatform.v1.TokensInfo tokens_info = 1; -
getTokensInfoOrBuilder
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.aiplatform.v1.TokensInfo tokens_info = 1;
-