Interface WeaviateProtoGenerative.GenerativeGoogleMetadata.TokenMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WeaviateProtoGenerative.GenerativeGoogleMetadata.TokenMetadata,WeaviateProtoGenerative.GenerativeGoogleMetadata.TokenMetadata.Builder
- Enclosing class:
- WeaviateProtoGenerative.GenerativeGoogleMetadata
public static interface WeaviateProtoGenerative.GenerativeGoogleMetadata.TokenMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionoptional .weaviate.v1.GenerativeGoogleMetadata.TokenCount input_token_count = 1;optional .weaviate.v1.GenerativeGoogleMetadata.TokenCount input_token_count = 1;optional .weaviate.v1.GenerativeGoogleMetadata.TokenCount output_token_count = 2;optional .weaviate.v1.GenerativeGoogleMetadata.TokenCount output_token_count = 2;booleanoptional .weaviate.v1.GenerativeGoogleMetadata.TokenCount input_token_count = 1;booleanoptional .weaviate.v1.GenerativeGoogleMetadata.TokenCount output_token_count = 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
-
hasInputTokenCount
boolean hasInputTokenCount()optional .weaviate.v1.GenerativeGoogleMetadata.TokenCount input_token_count = 1;- Returns:
- Whether the inputTokenCount field is set.
-
getInputTokenCount
WeaviateProtoGenerative.GenerativeGoogleMetadata.TokenCount getInputTokenCount()optional .weaviate.v1.GenerativeGoogleMetadata.TokenCount input_token_count = 1;- Returns:
- The inputTokenCount.
-
getInputTokenCountOrBuilder
WeaviateProtoGenerative.GenerativeGoogleMetadata.TokenCountOrBuilder getInputTokenCountOrBuilder()optional .weaviate.v1.GenerativeGoogleMetadata.TokenCount input_token_count = 1; -
hasOutputTokenCount
boolean hasOutputTokenCount()optional .weaviate.v1.GenerativeGoogleMetadata.TokenCount output_token_count = 2;- Returns:
- Whether the outputTokenCount field is set.
-
getOutputTokenCount
WeaviateProtoGenerative.GenerativeGoogleMetadata.TokenCount getOutputTokenCount()optional .weaviate.v1.GenerativeGoogleMetadata.TokenCount output_token_count = 2;- Returns:
- The outputTokenCount.
-
getOutputTokenCountOrBuilder
WeaviateProtoGenerative.GenerativeGoogleMetadata.TokenCountOrBuilder getOutputTokenCountOrBuilder()optional .weaviate.v1.GenerativeGoogleMetadata.TokenCount output_token_count = 2;
-