# Class ReceivePacketsRequest (0.5.1)

0.5.1 (latest) 0.5.0 0.4.0 0.3.0 0.2.0 0.1.10

    ReceivePacketsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for receiving packets.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `setup_request` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1alpha1.types.ReceivePacketsRequest.SetupRequest` The request to setup the initial state of session. The client must send and only send this as the first message. This field is a member of `oneof`_ `request`. |
| `commit_request` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1alpha1.types.CommitRequest` This request checkpoints the consumer's read progress. This field is a member of `oneof`_ `request`. |

## Classes

### SetupRequest

    SetupRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The message specifying the initial settings for the
ReceivePackets session.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>