template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 6182 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/wire_types.h
Public Methods
::fuchsia_media::wire::StreamBufferConstraints Build ()
Build and return the table. The builder should not be used after this.
bool has_buffer_constraints_version_ordinal ()
void clear_buffer_constraints_version_ordinal ()
Clears the buffer_constraints_version_ordinal field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint64_t & buffer_constraints_version_ordinal ()
This is a version number the server sets on the constraints to allow the
server to determine when the client has caught up with the latest
constraints sent by the server. The server won't emit output data until
the client has configured output settings and buffers with a
buffer_constraints_version_ordinal >= the latest
buffer_constraints_version_ordinal that had
buffer_constraints_action_required true. See
buffer_constraints_action_required comments for more.
A buffer_constraints_version_ordinal of 0 is not permitted, to simplify
initial state handling. Other than 0, both odd and even version ordinals
are allowed (in contrast to the stream_lifetime_ordinal, neither the
client nor server ever has a reason to consider the latest version to be
stale, so there would be no benefit to disallowing even values).
BuilderImpl & buffer_constraints_version_ordinal (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)
This is a version number the server sets on the constraints to allow the
server to determine when the client has caught up with the latest
constraints sent by the server. The server won't emit output data until
the client has configured output settings and buffers with a
buffer_constraints_version_ordinal >= the latest
buffer_constraints_version_ordinal that had
buffer_constraints_action_required true. See
buffer_constraints_action_required comments for more.
A buffer_constraints_version_ordinal of 0 is not permitted, to simplify
initial state handling. Other than 0, both odd and even version ordinals
are allowed (in contrast to the stream_lifetime_ordinal, neither the
client nor server ever has a reason to consider the latest version to be
stale, so there would be no benefit to disallowing even values).
bool has_default_settings ()
void clear_default_settings ()
Clears the default_settings field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_media::wire::StreamBufferSettings & default_settings ()
Getter for default_settings.
BuilderImpl & default_settings (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_media::wire::StreamBufferSettings>> elem)
Setter for default_settings.
bool has_per_packet_buffer_bytes_min ()
void clear_per_packet_buffer_bytes_min ()
Clears the per_packet_buffer_bytes_min field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & per_packet_buffer_bytes_min ()
Getter for per_packet_buffer_bytes_min.
BuilderImpl & per_packet_buffer_bytes_min (uint32_t elem)
Setter for per_packet_buffer_bytes_min.
bool has_per_packet_buffer_bytes_recommended ()
void clear_per_packet_buffer_bytes_recommended ()
Clears the per_packet_buffer_bytes_recommended field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & per_packet_buffer_bytes_recommended ()
Getter for per_packet_buffer_bytes_recommended.
BuilderImpl & per_packet_buffer_bytes_recommended (uint32_t elem)
Setter for per_packet_buffer_bytes_recommended.
bool has_per_packet_buffer_bytes_max ()
void clear_per_packet_buffer_bytes_max ()
Clears the per_packet_buffer_bytes_max field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & per_packet_buffer_bytes_max ()
Getter for per_packet_buffer_bytes_max.
BuilderImpl & per_packet_buffer_bytes_max (uint32_t elem)
Setter for per_packet_buffer_bytes_max.
bool has_packet_count_for_server_min ()
void clear_packet_count_for_server_min ()
Clears the packet_count_for_server_min field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & packet_count_for_server_min ()
Getter for packet_count_for_server_min.
BuilderImpl & packet_count_for_server_min (uint32_t elem)
Setter for packet_count_for_server_min.
bool has_packet_count_for_server_recommended ()
void clear_packet_count_for_server_recommended ()
Clears the packet_count_for_server_recommended field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & packet_count_for_server_recommended ()
Getter for packet_count_for_server_recommended.
BuilderImpl & packet_count_for_server_recommended (uint32_t elem)
Setter for packet_count_for_server_recommended.
bool has_packet_count_for_server_recommended_max ()
void clear_packet_count_for_server_recommended_max ()
Clears the packet_count_for_server_recommended_max field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & packet_count_for_server_recommended_max ()
Getter for packet_count_for_server_recommended_max.
BuilderImpl & packet_count_for_server_recommended_max (uint32_t elem)
Setter for packet_count_for_server_recommended_max.
bool has_packet_count_for_server_max ()
void clear_packet_count_for_server_max ()
Clears the packet_count_for_server_max field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & packet_count_for_server_max ()
Getter for packet_count_for_server_max.
BuilderImpl & packet_count_for_server_max (uint32_t elem)
Setter for packet_count_for_server_max.
bool has_packet_count_for_client_min ()
void clear_packet_count_for_client_min ()
Clears the packet_count_for_client_min field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & packet_count_for_client_min ()
Getter for packet_count_for_client_min.
BuilderImpl & packet_count_for_client_min (uint32_t elem)
Setter for packet_count_for_client_min.
bool has_packet_count_for_client_max ()
void clear_packet_count_for_client_max ()
Clears the packet_count_for_client_max field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & packet_count_for_client_max ()
Getter for packet_count_for_client_max.
BuilderImpl & packet_count_for_client_max (uint32_t elem)
Setter for packet_count_for_client_max.
bool has_single_buffer_mode_allowed ()
void clear_single_buffer_mode_allowed ()
Clears the single_buffer_mode_allowed field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
bool & single_buffer_mode_allowed ()
Getter for single_buffer_mode_allowed.
BuilderImpl & single_buffer_mode_allowed (bool elem)
Setter for single_buffer_mode_allowed.
bool has_is_physically_contiguous_required ()
void clear_is_physically_contiguous_required ()
Clears the is_physically_contiguous_required field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
bool & is_physically_contiguous_required ()
Getter for is_physically_contiguous_required.
BuilderImpl & is_physically_contiguous_required (bool elem)
Setter for is_physically_contiguous_required.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_media::wire::StreamBufferConstraints, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_media::wire::StreamBufferConstraints>> && frame)