template <typename BuilderImpl>

class WireTableBaseBuilder

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

Public Methods

::fuchsia_web::wire::UrlRequestRewriteRule Build ()

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

bool has_hosts_filter ()
void clear_hosts_filter ()

Clears the hosts_filter field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fidl::StringView> & hosts_filter ()

Set of hosts to apply the rules to. If not set, the rule will apply to every request,

independent of host.

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

Set of hosts to apply the rules to. If not set, the rule will apply to every request,

independent of host.

bool has_schemes_filter ()
void clear_schemes_filter ()

Clears the schemes_filter field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fidl::StringView> & schemes_filter ()

Set of schemes to apply the rules to. If not set, the rule will apply to every request,

independent of scheme.

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

Set of schemes to apply the rules to. If not set, the rule will apply to every request,

independent of scheme.

bool has_rewrites ()
void clear_rewrites ()

Clears the rewrites field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_web::wire::UrlRequestRewrite> & rewrites ()

URL request rewrites to apply.

BuilderImpl & rewrites (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_web::wire::UrlRequestRewrite>>> elem)

URL request rewrites to apply.

bool has_action ()
void clear_action ()

Clears the action field.

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

O(number_of_fields) complexity.

::fuchsia_web::wire::UrlRequestAction & action ()

Specifies the action to take for requests matching the filter criteria.

Requests are allowed by default.

BuilderImpl & action (::fuchsia_web::wire::UrlRequestAction elem)

Specifies the action to take for requests matching the filter criteria.

Requests are allowed by default.

Protected Methods

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

Records