Interface WeaviateProtoGenerative.GenerativeCohereMetadata.TokensOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
WeaviateProtoGenerative.GenerativeCohereMetadata.Tokens, WeaviateProtoGenerative.GenerativeCohereMetadata.Tokens.Builder
Enclosing class:
WeaviateProtoGenerative.GenerativeCohereMetadata

public static interface WeaviateProtoGenerative.GenerativeCohereMetadata.TokensOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    optional double input_tokens = 1;
    double
    optional double output_tokens = 2;
    boolean
    optional double input_tokens = 1;
    boolean
    optional double output_tokens = 2;

    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

    • hasInputTokens

      boolean hasInputTokens()
      optional double input_tokens = 1;
      Returns:
      Whether the inputTokens field is set.
    • getInputTokens

      double getInputTokens()
      optional double input_tokens = 1;
      Returns:
      The inputTokens.
    • hasOutputTokens

      boolean hasOutputTokens()
      optional double output_tokens = 2;
      Returns:
      Whether the outputTokens field is set.
    • getOutputTokens

      double getOutputTokens()
      optional double output_tokens = 2;
      Returns:
      The outputTokens.