StreamData
Stay organized with collections
Save and categorize content based on your preferences.
JSON representation |
{
"streamId": integer,
// Union field contents can be only one of the following:
"data": string,
"close": {
object (Close )
}
// End of list of possible types for union field contents .
} |
Fields |
streamId |
integer
The unique ID of this stream, assigned by the client.
|
Union field contents . The data of the stream, either bytes or "Close", indicating that the stream is done. contents can be only one of the following: |
data |
string (bytes format)
Data in the stream. A base64-encoded string.
|
close |
object (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 the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-25 UTC.
[null,null,["Last updated 2024-07-25 UTC."],[],[],null,["- [JSON representation](#SCHEMA_REPRESENTATION)\n- [Close](#Close)\n\nData for a stream.\n\nClose\n\nThis type has no fields.\nMessage signifying that the stream closed."]]