You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/google-api-services-firebaseml/v2beta/2.0.0/com/google/api/services/firebaseml/v2beta/model/GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata.java
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,8 @@ public final class GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetad
37
37
privatejava.lang.IntegercandidatesTokenCount;
38
38
39
39
/**
40
-
* Number of tokens in the request.
40
+
* Number of tokens in the request. When `cached_content` is set, this is still the total
41
+
* effective prompt size meaning this includes the number of tokens in the cached content.
41
42
* The value may be {@code null}.
42
43
*/
43
44
@com.google.api.client.util.Key
@@ -67,15 +68,17 @@ public GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata setCandi
67
68
}
68
69
69
70
/**
70
-
* Number of tokens in the request.
71
+
* Number of tokens in the request. When `cached_content` is set, this is still the total
72
+
* effective prompt size meaning this includes the number of tokens in the cached content.
71
73
* @return value or {@code null} for none
72
74
*/
73
75
publicjava.lang.IntegergetPromptTokenCount() {
74
76
returnpromptTokenCount;
75
77
}
76
78
77
79
/**
78
-
* Number of tokens in the request.
80
+
* Number of tokens in the request. When `cached_content` is set, this is still the total
81
+
* effective prompt size meaning this includes the number of tokens in the cached content.
79
82
* @param promptTokenCount promptTokenCount or {@code null} for none
0 commit comments