Class: Google::Cloud::VisionAI::V1::ReceivePacketsControlResponse

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/visionai/v1/streaming_service.rb

Overview

Control message for a ReceivePacketsResponse.

Instance Attribute Summary collapse

Instance Attribute Details

#heartbeat::Boolean

Returns A server heartbeat.

Returns:

  • (::Boolean)

    A server heartbeat.



315
316
317
318
# File 'proto_docs/google/cloud/visionai/v1/streaming_service.rb', line 315

class ReceivePacketsControlResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#writes_done_request::Boolean

Returns A request to the receiver to complete any final writes followed by a WritesDone; e.g. issue any final CommitRequests.

May be ignored if WritesDone has already been issued at any point prior to receiving this message.

If WritesDone does not get issued, then the server will forcefully cancel the connection, and the receiver will likely receive an uninformative after Read returns false and Finish is called.

Returns:

  • (::Boolean)

    A request to the receiver to complete any final writes followed by a WritesDone; e.g. issue any final CommitRequests.

    May be ignored if WritesDone has already been issued at any point prior to receiving this message.

    If WritesDone does not get issued, then the server will forcefully cancel the connection, and the receiver will likely receive an uninformative after Read returns false and Finish is called.



315
316
317
318
# File 'proto_docs/google/cloud/visionai/v1/streaming_service.rb', line 315

class ReceivePacketsControlResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end