Interface WeaviateProtoGenerative.GenerativeCohereMetadata.BilledUnitsOrBuilder

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

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

    Modifier and Type
    Method
    Description
    double
    optional double classifications = 4;
    double
    optional double input_tokens = 1;
    double
    optional double output_tokens = 2;
    double
    optional double search_units = 3;
    boolean
    optional double classifications = 4;
    boolean
    optional double input_tokens = 1;
    boolean
    optional double output_tokens = 2;
    boolean
    optional double search_units = 3;

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

      boolean hasSearchUnits()
      optional double search_units = 3;
      Returns:
      Whether the searchUnits field is set.
    • getSearchUnits

      double getSearchUnits()
      optional double search_units = 3;
      Returns:
      The searchUnits.
    • hasClassifications

      boolean hasClassifications()
      optional double classifications = 4;
      Returns:
      Whether the classifications field is set.
    • getClassifications

      double getClassifications()
      optional double classifications = 4;
      Returns:
      The classifications.