public interface CountTokensResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
ModalityTokenCount |
getPromptTokensDetails(int index)
Output only.
|
int |
getPromptTokensDetailsCount()
Output only.
|
List<ModalityTokenCount> |
getPromptTokensDetailsList()
Output only.
|
ModalityTokenCountOrBuilder |
getPromptTokensDetailsOrBuilder(int index)
Output only.
|
List<? extends ModalityTokenCountOrBuilder> |
getPromptTokensDetailsOrBuilderList()
Output only.
|
int |
getTotalBillableCharacters()
The total number of billable characters counted across all instances from
the request.
|
int |
getTotalTokens()
The total number of tokens counted across all instances from the request.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getTotalTokens()
The total number of tokens counted across all instances from the request.
int32 total_tokens = 1;int getTotalBillableCharacters()
The total number of billable characters counted across all instances from the request.
int32 total_billable_characters = 2;List<ModalityTokenCount> getPromptTokensDetailsList()
Output only. List of modalities that were processed in the request input.
repeated .google.cloud.aiplatform.v1.ModalityTokenCount prompt_tokens_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
ModalityTokenCount getPromptTokensDetails(int index)
Output only. List of modalities that were processed in the request input.
repeated .google.cloud.aiplatform.v1.ModalityTokenCount prompt_tokens_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
int getPromptTokensDetailsCount()
Output only. List of modalities that were processed in the request input.
repeated .google.cloud.aiplatform.v1.ModalityTokenCount prompt_tokens_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
List<? extends ModalityTokenCountOrBuilder> getPromptTokensDetailsOrBuilderList()
Output only. List of modalities that were processed in the request input.
repeated .google.cloud.aiplatform.v1.ModalityTokenCount prompt_tokens_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
ModalityTokenCountOrBuilder getPromptTokensDetailsOrBuilder(int index)
Output only. List of modalities that were processed in the request input.
repeated .google.cloud.aiplatform.v1.ModalityTokenCount prompt_tokens_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Copyright © 2025 Google LLC. All rights reserved.