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 TypeMethodDescriptiondoubleoptional double classifications = 4;doubleoptional double input_tokens = 1;doubleoptional double output_tokens = 2;doubleoptional double search_units = 3;booleanoptional double classifications = 4;booleanoptional double input_tokens = 1;booleanoptional double output_tokens = 2;booleanoptional double search_units = 3;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
-
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.
-