template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 4375 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/wire_types.h
Public Methods
::fuchsia_web::wire::RequestedNavigation Build ()
Build and return the table. The builder should not be used after this.
bool has_id ()
void clear_id ()
Clears the id field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint64_t & id ()
Unique ID of the navigation.
BuilderImpl & id (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)
Unique ID of the navigation.
bool has_phase ()
void clear_phase ()
Clears the phase field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_web::wire::NavigationPhase & phase ()
Current navigation phase. Exactly one bit will be set.
BuilderImpl & phase (::fuchsia_web::wire::NavigationPhase elem)
Current navigation phase. Exactly one bit will be set.
bool has_is_main_frame ()
void clear_is_main_frame ()
Clears the is_main_frame field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
bool & is_main_frame ()
Whether the navigation is taking place in the main frame versus in a subframe.
BuilderImpl & is_main_frame (bool elem)
Whether the navigation is taking place in the main frame versus in a subframe.
bool has_is_same_document ()
void clear_is_same_document ()
Clears the is_same_document field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
bool & is_same_document ()
Whether the navigation happened without changing the document.
BuilderImpl & is_same_document (bool elem)
Whether the navigation happened without changing the document.
bool has_is_http_post ()
void clear_is_http_post ()
Clears the is_http_post field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
bool & is_http_post ()
Whether the navigation is a POST request.
BuilderImpl & is_http_post (bool elem)
Whether the navigation is a POST request.
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 current target URL of the navigation. This may change for the same navigation after
encountering a server redirect.
BuilderImpl & url (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)
The current target URL of the navigation. This may change for the same navigation after
encountering a server redirect.
bool has_has_gesture ()
void clear_has_gesture ()
Clears the has_gesture field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
bool & has_gesture ()
Whether the navigation was initiated by a user gesture.
BuilderImpl & has_gesture (bool elem)
Whether the navigation was initiated by a user gesture.
bool has_was_server_redirect ()
void clear_was_server_redirect ()
Clears the was_server_redirect field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
bool & was_server_redirect ()
Whether the navigation has encountered a server redirect or not.
BuilderImpl & was_server_redirect (bool elem)
Whether the navigation has encountered a server redirect or not.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_web::wire::RequestedNavigation, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_web::wire::RequestedNavigation>> && frame)