Interface Public.Embedding.TokenArrayOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getTokens​(int index)
      repeated string tokens = 1;
      com.google.protobuf.ByteString getTokensBytes​(int index)
      repeated string tokens = 1;
      int getTokensCount()
      repeated string tokens = 1;
      List<String> getTokensList()
      repeated string tokens = 1;
      • 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 Detail

      • getTokensList

        List<String> getTokensList()
        repeated string tokens = 1;
        Returns:
        A list containing the tokens.
      • getTokensCount

        int getTokensCount()
        repeated string tokens = 1;
        Returns:
        The count of tokens.
      • getTokens

        String getTokens​(int index)
        repeated string tokens = 1;
        Parameters:
        index - The index of the element to return.
        Returns:
        The tokens at the given index.
      • getTokensBytes

        com.google.protobuf.ByteString getTokensBytes​(int index)
        repeated string tokens = 1;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the tokens at the given index.