StreamData

Data for a stream.

JSON representation
{"streamId":integer,// Union fieldcontents can be only one of the following:"data":string,"close":{object (Close)}// End of list of possible types for union fieldcontents.}
Fields
streamId

integer

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

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 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.