Class: Google::Cloud::VisionAI::V1::ServerMetadata

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

Overview

The message that represents server metadata.

Instance Attribute Summary collapse

Instance Attribute Details

#ingest_time::Google::Protobuf::Timestamp

Returns The timestamp at which the stream server receives this packet. This is based on the local clock of on the server side. It is guaranteed to be monotonically increasing for the packets within each session; however this timestamp is not comparable across packets sent to the same stream different sessions. Session here refers to one individual gRPC streaming request to the stream server.

Returns:

  • (::Google::Protobuf::Timestamp)

    The timestamp at which the stream server receives this packet. This is based on the local clock of on the server side. It is guaranteed to be monotonically increasing for the packets within each session; however this timestamp is not comparable across packets sent to the same stream different sessions. Session here refers to one individual gRPC streaming request to the stream server.



113
114
115
116
# File 'proto_docs/google/cloud/visionai/v1/streaming_resources.rb', line 113

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

#offset::Integer

Returns The offset position for the packet in its stream.

Returns:

  • (::Integer)

    The offset position for the packet in its stream.



113
114
115
116
# File 'proto_docs/google/cloud/visionai/v1/streaming_resources.rb', line 113

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