template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 1576 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/cpp/fidl/fuchsia.fonts/cpp/wire_types.h
Public Methods
::fuchsia_fonts::wire::TypefaceRequest Build ()
Build and return the table. The builder should not be used after this.
bool has_query ()
void clear_query ()
Clears the query field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_fonts::wire::TypefaceQuery & query ()
Parameters for looking up a typeface.
BuilderImpl & query (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_fonts::wire::TypefaceQuery>> elem)
Parameters for looking up a typeface.
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_fonts::wire::TypefaceRequestFlags & flags ()
Flags for how to process the request, such as which kinds of substitutions are permitted.
BuilderImpl & flags (::fuchsia_fonts::wire::TypefaceRequestFlags elem)
Flags for how to process the request, such as which kinds of substitutions are permitted.
bool has_cache_miss_policy ()
void clear_cache_miss_policy ()
Clears the cache_miss_policy field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_fonts::wire::CacheMissPolicy & cache_miss_policy ()
Setting for what to do if the requested typeface exists but is not cached, and therefore
cannot be served immediately.
If this field is empty, the default policy is
[`fuchsia.fonts/CacheMissPolicy.BLOCK_UNTIL_DOWNLOADED`].
If the client needs an immediate response, it can choose one of the non-blocking policies.
In this case, clients can also register to be notified when new fonts have been added to the
cache by calling [`fuchsia.fonts/Provider.RegisterFontSetEventListener`].
BuilderImpl & cache_miss_policy (::fuchsia_fonts::wire::CacheMissPolicy elem)
Setting for what to do if the requested typeface exists but is not cached, and therefore
cannot be served immediately.
If this field is empty, the default policy is
[`fuchsia.fonts/CacheMissPolicy.BLOCK_UNTIL_DOWNLOADED`].
If the client needs an immediate response, it can choose one of the non-blocking policies.
In this case, clients can also register to be notified when new fonts have been added to the
cache by calling [`fuchsia.fonts/Provider.RegisterFontSetEventListener`].
Protected Methods
void WireTableBaseBuilder< ::fuchsia_fonts::wire::TypefaceRequest, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_fonts::wire::TypefaceRequest>> && frame)