template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 3096 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/wire_types.h

Public Methods

::fuchsia_audio::wire::Packet Build ()

Build and return the table. The builder should not be used after this.

bool has_payload ()
void clear_payload ()

Clears the payload field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_media2::wire::PayloadRange & payload ()

Location of the payload for this packet. This field is required.

BuilderImpl & payload (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_media2::wire::PayloadRange>> elem)

Location of the payload for this packet. This field is required.

bool has_timestamp ()
void clear_timestamp ()

Clears the timestamp field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_audio::wire::Timestamp & timestamp ()

Timestamp indicating when this packet should be presented. Omitting this field implies an

`unspecified_best_effort` timestamp.

BuilderImpl & timestamp (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_audio::wire::Timestamp>> elem)

Timestamp indicating when this packet should be presented. Omitting this field implies an

`unspecified_best_effort` timestamp.

bool has_capture_timestamp ()
void clear_capture_timestamp ()

Clears the capture_timestamp field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

int64_t & capture_timestamp ()

Capture time for this packet as a system monotonic time value. This field is optional and

may be set by capturers to indicate when this packet was captured.

BuilderImpl & capture_timestamp (Wrapper_Ignore_Me_< ::fidl::ObjectView<int64_t>> elem)

Capture time for this packet as a system monotonic time value. This field is optional and

may be set by capturers to indicate when this packet was captured.

bool has_flags ()
void clear_flags ()

Clears the flags field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_audio::wire::PacketFlags & flags ()

Flags describing the packet. Omitting this field implies all flags are clear.

BuilderImpl & flags (::fuchsia_audio::wire::PacketFlags elem)

Flags describing the packet. Omitting this field implies all flags are clear.

bool has_front_frames_to_drop ()
void clear_front_frames_to_drop ()

Clears the front_frames_to_drop field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

uint32_t & front_frames_to_drop ()

Indicates how many frames should be dropped from the front of the output packet produced by

a decoder from this input packet. This value should only be provided for compressed streams.

If this field is omitted, no front frames should be dropped.

BuilderImpl & front_frames_to_drop (uint32_t elem)

Indicates how many frames should be dropped from the front of the output packet produced by

a decoder from this input packet. This value should only be provided for compressed streams.

If this field is omitted, no front frames should be dropped.

bool has_back_frames_to_drop ()
void clear_back_frames_to_drop ()

Clears the back_frames_to_drop field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

uint32_t & back_frames_to_drop ()

Indicates how many frames should be dropped from the back of the output packet produced by

a decoder from this input packet. This value should only be provided for compressed streams.

If this field is omitted, no back frames should be dropped.

BuilderImpl & back_frames_to_drop (uint32_t elem)

Indicates how many frames should be dropped from the back of the output packet produced by

a decoder from this input packet. This value should only be provided for compressed streams.

If this field is omitted, no back frames should be dropped.

bool has_encryption_properties ()
void clear_encryption_properties ()

Clears the encryption_properties field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_drm::wire::PacketEncryptionProperties & encryption_properties ()

Describes the encryption applied to this packet. Omitting this field implies the packet is

not encrypted.

BuilderImpl & encryption_properties (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_drm::wire::PacketEncryptionProperties>> elem)

Describes the encryption applied to this packet. Omitting this field implies the packet is

not encrypted.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_audio::wire::Packet, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_audio::wire::Packet>> && frame)

Records