class ServiceInstancePublicationOptions
Defined at line 2478 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h
Options for `ServiceInstancePublisher.PublishServiceInstance`.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
ServiceInstancePublicationOptions & set_media (::fuchsia::net::mdns::Media _value)
ServiceInstancePublicationOptions & set_ip_versions (::fuchsia::net::mdns::IpVersions _value)
ServiceInstancePublicationOptions & set_perform_probe (bool _value)
void ServiceInstancePublicationOptions ()
void ServiceInstancePublicationOptions (ServiceInstancePublicationOptions && other)
void ~ServiceInstancePublicationOptions ()
ServiceInstancePublicationOptions & operator= (ServiceInstancePublicationOptions && other)
::std::unique_ptr<ServiceInstancePublicationOptions> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, ServiceInstancePublicationOptions * _value, size_t _offset)
zx_status_t Clone (ServiceInstancePublicationOptions * _result)
const ::fuchsia::net::mdns::Media & media ()
The media (wired, wireless, both) of the interfaces on which the service instance should
be published. The default `media` value depends on whether the `ServiceInstancePublisher`
is associated with a proxy host. If so, the default matches the `media` value of the
`ProxyHostPublicationOptions` for the proxy host. If not, the default is both wired and
wireless media.
Defined at line 2489 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h
bool has_media ()
Defined at line 2493 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h
::fuchsia::net::mdns::Media * mutable_media ()
The media (wired, wireless, both) of the interfaces on which the service instance should
be published. The default `media` value depends on whether the `ServiceInstancePublisher`
is associated with a proxy host. If so, the default matches the `media` value of the
`ProxyHostPublicationOptions` for the proxy host. If not, the default is both wired and
wireless media.
Defined at line 2502 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h
void clear_media ()
Defined at line 2510 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h
const ::fuchsia::net::mdns::IpVersions & ip_versions ()
The IP versions (V4, V6, both) with which the service instance should
be published. The default `ip_versions` value depends on whether the
`ServiceInstancePublisher` is associated with a proxy host. If so, the default matches the
`ip_versions` value of the `ProxyHostPublicationOptions` for the proxy host. If not, the
default value is both IPv4 and IPv6.
Defined at line 2523 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h
bool has_ip_versions ()
Defined at line 2527 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h
::fuchsia::net::mdns::IpVersions * mutable_ip_versions ()
The IP versions (V4, V6, both) with which the service instance should
be published. The default `ip_versions` value depends on whether the
`ServiceInstancePublisher` is associated with a proxy host. If so, the default matches the
`ip_versions` value of the `ProxyHostPublicationOptions` for the proxy host. If not, the
default value is both IPv4 and IPv6.
Defined at line 2536 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h
void clear_ip_versions ()
Defined at line 2544 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h
const bool & perform_probe ()
Whether a probe for conflicting instances should be performed prior to publishing the
instance. If this value is not supplied, probing is performed.
Defined at line 2554 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h
bool has_perform_probe ()
Defined at line 2558 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h
bool * mutable_perform_probe ()
Whether a probe for conflicting instances should be performed prior to publishing the
instance. If this value is not supplied, probing is performed.
Defined at line 2564 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h
void clear_perform_probe ()
Defined at line 2572 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h