Set instead of cloudevent, and only on a call that asked for
accept_batches: an encoded io.cloudevents.v1.CloudEventBatch holding the
topic's events of one stream entry, in order. Bytes rather than the message
type, so that neither the gateway nor a client's stub parses the events it
only passes on; parse it with CloudEventBatch where the events are needed.
Generated
from field: bytes batch = 4;
Optionalcloudevent?: CloudEvent
Generated
from field: io.cloudevents.v1.CloudEvent cloudevent = 2;
live: boolean
Set only on the first response of a call that asked for announce_live: the
subscription is live. Carries no topic and no event.
Set instead of
cloudevent, and only on a call that asked for accept_batches: an encoded io.cloudevents.v1.CloudEventBatch holding the topic's events of one stream entry, in order. Bytes rather than the message type, so that neither the gateway nor a client's stub parses the events it only passes on; parse it with CloudEventBatch where the events are needed.