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

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

Request message for sending packets.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#metadata

def metadata() -> ::Google::Cloud::VisionAI::V1::RequestMetadata
Returns
  • (::Google::Cloud::VisionAI::V1::RequestMetadata) — The first message of the streaming rpc including the request metadata.

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

#metadata=

def metadata=(value) -> ::Google::Cloud::VisionAI::V1::RequestMetadata
Parameter
  • value (::Google::Cloud::VisionAI::V1::RequestMetadata) — The first message of the streaming rpc including the request metadata.

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

Returns
  • (::Google::Cloud::VisionAI::V1::RequestMetadata) — The first message of the streaming rpc including the request metadata.

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

#packet

def packet() -> ::Google::Cloud::VisionAI::V1::Packet
Returns
  • (::Google::Cloud::VisionAI::V1::Packet) — Packets sent over the streaming rpc.

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

#packet=

def packet=(value) -> ::Google::Cloud::VisionAI::V1::Packet
Parameter
  • value (::Google::Cloud::VisionAI::V1::Packet) — Packets sent over the streaming rpc.

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

Returns
  • (::Google::Cloud::VisionAI::V1::Packet) — Packets sent over the streaming rpc.

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