public class GenerationStreamCall extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
GenerationStreamCall.GetTimeTool |
static class |
GenerationStreamCall.GetWeatherTool |
| 构造器和说明 |
|---|
GenerationStreamCall() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
main(String[] args) |
static void |
streamCall() |
static void |
streamCallWithCallback() |
static void |
streamCallWithReasoningContent() |
static void |
streamCallWithSearchOptions() |
static void |
streamCallWithToolCalls() |
public static void streamCall()
throws NoApiKeyException,
ApiException,
InputRequiredException
public static void streamCallWithCallback()
throws NoApiKeyException,
ApiException,
InputRequiredException,
InterruptedException
public static void streamCallWithReasoningContent()
throws NoApiKeyException,
ApiException,
InputRequiredException
public static void streamCallWithSearchOptions()
throws NoApiKeyException,
ApiException,
InputRequiredException
public static void streamCallWithToolCalls()
throws NoApiKeyException,
ApiException,
InputRequiredException
public static void main(String[] args)
Copyright © 2026. All rights reserved.