# Vision AI V1 API - Class Google::Cloud::VisionAI::V1::GstreamerBufferDescriptor (v1.5.0)

1.5.0 (latest) 1.4.1 1.3.1 1.2.0 1.1.1 1.0.1 0.4.0 0.3.0 0.2.0 0.1.0 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Protobuf-Timestamp)) --- DTS of the frame.

### #dts_time=

    def dts_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Protobuf-Timestamp)) --- DTS of the frame.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Protobuf-Timestamp)) --- DTS of the frame.

### #duration

    def duration() -> ::Google::Protobuf::Duration

**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Protobuf-Duration)) --- Duration of the frame.

### #duration=

    def duration=(value) -> ::Google::Protobuf::Duration

**Parameter**

- **value** ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Protobuf-Duration)) --- Duration of the frame.
**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Protobuf-Timestamp)) --- PTS of the frame.

### #pts_time=

    def pts_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Protobuf-Timestamp)) --- PTS of the frame.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Protobuf-Timestamp)) --- PTS of the frame.