Interface WeaviateProtoGenerative.GenerativeGoogleMetadata.TokenCountOrBuilder

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

public static interface WeaviateProtoGenerative.GenerativeGoogleMetadata.TokenCountOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    optional int64 total_billable_characters = 1;
    long
    optional int64 total_tokens = 2;
    boolean
    optional int64 total_billable_characters = 1;
    boolean
    optional int64 total_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

    • hasTotalBillableCharacters

      boolean hasTotalBillableCharacters()
      optional int64 total_billable_characters = 1;
      Returns:
      Whether the totalBillableCharacters field is set.
    • getTotalBillableCharacters

      long getTotalBillableCharacters()
      optional int64 total_billable_characters = 1;
      Returns:
      The totalBillableCharacters.
    • hasTotalTokens

      boolean hasTotalTokens()
      optional int64 total_tokens = 2;
      Returns:
      Whether the totalTokens field is set.
    • getTotalTokens

      long getTotalTokens()
      optional int64 total_tokens = 2;
      Returns:
      The totalTokens.