StreamData

ข้อมูลสำหรับสตรีม

การแสดง JSON
{
  "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.
}
ช่อง
streamId

integer

รหัสที่ไม่ซ้ำกันของสตรีมนี้ ซึ่งกำหนดโดยไคลเอ็นต์

ช่องการรวม contents ข้อมูลของสตรีม ไม่ว่าจะเป็นไบต์หรือ "ปิด" ซึ่งบ่งชี้ว่าสตรีมเสร็จสมบูรณ์แล้ว contents ต้องเป็นค่าใดค่าหนึ่งต่อไปนี้
data

string (bytes format)

ข้อมูลในสตรีม

สตริงที่เข้ารหัสฐาน 64

close

object (Close)

สตรีมกำลังจะจบลง EOF

ปิด

ประเภทนี้ไม่มีช่อง

ข้อความแสดงให้เห็นว่าสตรีมปิดแล้ว