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 TypeMethodDescriptionlongoptional int64 total_billable_characters = 1;longoptional int64 total_tokens = 2;booleanoptional int64 total_billable_characters = 1;booleanoptional int64 total_tokens = 2;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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.
-