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 Type
    Method
    Description
    getTokensInfo(int index)
    Lists of tokens info from the input.
    int
    Lists of tokens info from the input.
    Lists of tokens info from the input.
    Lists of tokens info from the input.
    Lists of tokens info from the input.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

      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.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

      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.aiplatform.v1.TokensInfo tokens_info = 1;