template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 5004 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/wire_types.h

Public Methods

::fuchsia_web::wire::NavigationState Build ()

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

bool has_url ()
void clear_url ()

Clears the url field.

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

O(number_of_fields) complexity.

::fidl::StringView & url ()

The page's URL.

BuilderImpl & url (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)

The page's URL.

bool has_title ()
void clear_title ()

Clears the title field.

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

O(number_of_fields) complexity.

::fidl::StringView & title ()

The user-visible page title. While W3C style recommendation is that HTML

TITLE tags not exceed 64 characters in length, there is no actual limit.

BuilderImpl & title (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)

The user-visible page title. While W3C style recommendation is that HTML

TITLE tags not exceed 64 characters in length, there is no actual limit.

bool has_page_type ()
void clear_page_type ()

Clears the page_type field.

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

O(number_of_fields) complexity.

::fuchsia_web::wire::PageType & page_type ()

Indicates whether this was a navigation to an error page.

BuilderImpl & page_type (::fuchsia_web::wire::PageType elem)

Indicates whether this was a navigation to an error page.

bool has_can_go_forward ()
void clear_can_go_forward ()

Clears the can_go_forward field.

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

O(number_of_fields) complexity.

bool & can_go_forward ()

Indicates if there is a following navigation.

BuilderImpl & can_go_forward (bool elem)

Indicates if there is a following navigation.

bool has_can_go_back ()
void clear_can_go_back ()

Clears the can_go_back field.

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

O(number_of_fields) complexity.

bool & can_go_back ()

Indicates if there is a previous navigation.

BuilderImpl & can_go_back (bool elem)

Indicates if there is a previous navigation.

bool has_is_main_document_loaded ()
void clear_is_main_document_loaded ()

Clears the is_main_document_loaded field.

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

O(number_of_fields) complexity.

bool & is_main_document_loaded ()

Indicates that the main document's statically declared resources have been loaded.

BuilderImpl & is_main_document_loaded (bool elem)

Indicates that the main document's statically declared resources have been loaded.

bool has_favicon ()
void clear_favicon ()

Clears the favicon field.

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

O(number_of_fields) complexity.

::fuchsia_web::wire::Favicon & favicon ()

Current favicon for the page. The field is set only when the `FAVICON` flag is set for the

`NavigationEventListener` and the favicon has changed.

BuilderImpl & favicon (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_web::wire::Favicon>> elem)

Current favicon for the page. The field is set only when the `FAVICON` flag is set for the

`NavigationEventListener` and the favicon has changed.

bool has_error_detail ()
void clear_error_detail ()

Clears the error_detail field.

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

O(number_of_fields) complexity.

::fuchsia_web::wire::ErrorDetail & error_detail ()

Indicates type of the error when `page_type` is set to `ERROR`.

BuilderImpl & error_detail (::fuchsia_web::wire::ErrorDetail elem)

Indicates type of the error when `page_type` is set to `ERROR`.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_web::wire::NavigationState, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_web::wire::NavigationState>> && frame)

Records