Vision AI V1 API - Class Google::Cloud::VisionAI::V1::ReceivePacketsRequest (v0.4.0)

Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::ReceivePacketsRequest.

Request message for receiving packets.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#commit_request

def commit_request() -> ::Google::Cloud::VisionAI::V1::CommitRequest
Returns
  • (::Google::Cloud::VisionAI::V1::CommitRequest) — This request checkpoints the consumer's read progress.

    Note: The following fields are mutually exclusive: commit_request, setup_request. If a field in that set is populated, all other fields in the set will automatically be cleared.

#commit_request=

def commit_request=(value) -> ::Google::Cloud::VisionAI::V1::CommitRequest
Parameter
  • value (::Google::Cloud::VisionAI::V1::CommitRequest) — This request checkpoints the consumer's read progress.

    Note: The following fields are mutually exclusive: commit_request, setup_request. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::VisionAI::V1::CommitRequest) — This request checkpoints the consumer's read progress.

    Note: The following fields are mutually exclusive: commit_request, setup_request. If a field in that set is populated, all other fields in the set will automatically be cleared.

#setup_request

def setup_request() -> ::Google::Cloud::VisionAI::V1::ReceivePacketsRequest::SetupRequest
Returns
  • (::Google::Cloud::VisionAI::V1::ReceivePacketsRequest::SetupRequest) — The request to setup the initial state of session.

    The client must send and only send this as the first message.

    Note: The following fields are mutually exclusive: setup_request, commit_request. If a field in that set is populated, all other fields in the set will automatically be cleared.

#setup_request=

def setup_request=(value) -> ::Google::Cloud::VisionAI::V1::ReceivePacketsRequest::SetupRequest
Parameter
  • value (::Google::Cloud::VisionAI::V1::ReceivePacketsRequest::SetupRequest) — The request to setup the initial state of session.

    The client must send and only send this as the first message.

    Note: The following fields are mutually exclusive: setup_request, commit_request. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::VisionAI::V1::ReceivePacketsRequest::SetupRequest) — The request to setup the initial state of session.

    The client must send and only send this as the first message.

    Note: The following fields are mutually exclusive: setup_request, commit_request. If a field in that set is populated, all other fields in the set will automatically be cleared.