Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::GstreamerBufferDescriptor.
The descriptor for a gstreamer buffer payload.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#caps_string
def caps_string() -> ::String
Returns
- (::String) — The caps string of the payload.
#caps_string=
def caps_string=(value) -> ::String
Parameter
- value (::String) — The caps string of the payload.
Returns
- (::String) — The caps string of the payload.
#dts_time
def dts_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — DTS of the frame.
#dts_time=
def dts_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — DTS of the frame.
Returns
- (::Google::Protobuf::Timestamp) — DTS of the frame.
#duration
def duration() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — Duration of the frame.
#duration=
def duration=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — Duration of the frame.
Returns
- (::Google::Protobuf::Duration) — Duration of the frame.
#is_key_frame
def is_key_frame() -> ::Boolean
Returns
- (::Boolean) — Whether the buffer is a key frame.
#is_key_frame=
def is_key_frame=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether the buffer is a key frame.
Returns
- (::Boolean) — Whether the buffer is a key frame.
#pts_time
def pts_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — PTS of the frame.
#pts_time=
def pts_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — PTS of the frame.
Returns
- (::Google::Protobuf::Timestamp) — PTS of the frame.