StreamData Stay organized with collections Save and categorize content based on your preferences.
Data for a stream.
| JSON representation |
|---|
{"streamId":integer,// Union field |
| Fields | |
|---|---|
streamId |
The unique ID of this stream, assigned by the client. |
Union fieldcontents. The data of the stream, either bytes or "Close", indicating that the stream is done.contents can be only one of the following: | |
data |
Data in the stream. A base64-encoded string. |
close |
The stream is closing. EOF. |
Close
This type has no fields.
Message signifying that the stream closed.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-25 UTC.