class GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata extends Model (View source)

Properties

int $candidatesTokenCount
int $promptTokenCount
int $totalTokenCount

Methods

setCandidatesTokenCount($candidatesTokenCount)

No description

int
getCandidatesTokenCount()

No description

setPromptTokenCount($promptTokenCount)

No description

int
getPromptTokenCount()

No description

setTotalTokenCount($totalTokenCount)

No description

int
getTotalTokenCount()

No description

Details

setCandidatesTokenCount($candidatesTokenCount)

No description

Parameters

$candidatesTokenCount

int getCandidatesTokenCount()

No description

Return Value

int

setPromptTokenCount($promptTokenCount)

No description

Parameters

$promptTokenCount

int getPromptTokenCount()

No description

Return Value

int

setTotalTokenCount($totalTokenCount)

No description

Parameters

$totalTokenCount

int getTotalTokenCount()

No description

Return Value

int