template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 585 of file fidling/gen/sdk/fidl/fuchsia.drm/fuchsia.drm/cpp/fidl/fuchsia.drm/cpp/wire_types.h

Public Methods

::fuchsia_drm::wire::PacketEncryptionProperties Build ()

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

bool has_is_encrypted ()
void clear_is_encrypted ()

Clears the is_encrypted field.

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

O(number_of_fields) complexity.

bool & is_encrypted ()

Indicates whether the packet is encrypted.

BuilderImpl & is_encrypted (bool elem)

Indicates whether the packet is encrypted.

bool has_key_id ()
void clear_key_id ()

Clears the key_id field.

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

O(number_of_fields) complexity.

::fidl::VectorView<uint8_t> & key_id ()

If specified, overrides the previous key id.

BuilderImpl & key_id (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView<uint8_t>>> elem)

If specified, overrides the previous key id.

bool has_init_vector ()
void clear_init_vector ()

Clears the init_vector field.

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

O(number_of_fields) complexity.

::fidl::VectorView<uint8_t> & init_vector ()

If specified, overrides the previous initialization vector.

BuilderImpl & init_vector (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView<uint8_t>>> elem)

If specified, overrides the previous initialization vector.

bool has_pattern ()
void clear_pattern ()

Clears the pattern field.

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

O(number_of_fields) complexity.

::fuchsia_drm::wire::EncryptionPattern & pattern ()

If specified, overrides the previous encryption pattern.

BuilderImpl & pattern (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_drm::wire::EncryptionPattern>> elem)

If specified, overrides the previous encryption pattern.

bool has_subsamples ()
void clear_subsamples ()

Clears the subsamples field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_drm::wire::EncryptionSubsampleEntry> & subsamples ()

Subsamples to decrypt. An absent or empty list indicates whole sample

decryption.

BuilderImpl & subsamples (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_drm::wire::EncryptionSubsampleEntry>>> elem)

Subsamples to decrypt. An absent or empty list indicates whole sample

decryption.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_drm::wire::PacketEncryptionProperties, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_drm::wire::PacketEncryptionProperties>> && frame)

Records