class ServiceInstance

Defined at line 511 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

Describes a service instance.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const ::std::string & service ()

The name of the service.

Defined at line 518 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

bool has_service ()

Defined at line 522 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

::std::string * mutable_service ()

The name of the service.

Defined at line 527 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

void clear_service ()

Defined at line 535 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

const ::std::string & instance ()

The name of the service instance.

Defined at line 544 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

bool has_instance ()

Defined at line 548 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

::std::string * mutable_instance ()

The name of the service instance.

Defined at line 553 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

void clear_instance ()

Defined at line 561 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

const ::fuchsia::net::Ipv4SocketAddress & ipv4_endpoint ()

IPv4 socket address for the service. May be empty. Deprecated: use `addresses`.

Defined at line 570 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

bool has_ipv4_endpoint ()

Defined at line 574 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

::fuchsia::net::Ipv4SocketAddress * mutable_ipv4_endpoint ()

IPv4 socket address for the service. May be empty. Deprecated: use `addresses`.

Defined at line 579 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

void clear_ipv4_endpoint ()

Defined at line 587 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

const ::fuchsia::net::Ipv6SocketAddress & ipv6_endpoint ()

IPv6 socket address for the service. May be empty. Deprecated: use `addresses`.

Defined at line 596 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

bool has_ipv6_endpoint ()

Defined at line 600 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

::fuchsia::net::Ipv6SocketAddress * mutable_ipv6_endpoint ()

IPv6 socket address for the service. May be empty. Deprecated: use `addresses`.

Defined at line 605 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

void clear_ipv6_endpoint ()

Defined at line 613 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

bool has_text ()

Defined at line 626 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

::std::vector< ::std::string> * mutable_text ()

Text strings describing the instance. Deprecated: use `text_strings`.

Defined at line 631 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

void clear_text ()

Defined at line 639 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

bool has_srv_priority ()

Defined at line 653 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

uint16_t * mutable_srv_priority ()

The priority of the SRV resource record for this publication. See

[RFC6763](https://tools.ietf.org/html/rfc6763) for details.

Defined at line 659 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

void clear_srv_priority ()

Defined at line 667 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

bool has_srv_weight ()

Defined at line 681 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

uint16_t * mutable_srv_weight ()

The weight of the SRV resource record for this publication. See

[RFC6763](https://tools.ietf.org/html/rfc6763) for details.

Defined at line 687 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

void clear_srv_weight ()

Defined at line 695 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

bool has_target ()

Defined at line 708 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

::std::string * mutable_target ()

The domain name of the target host.

Defined at line 713 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

void clear_target ()

Defined at line 721 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

const ::std::vector< ::fuchsia::net::SocketAddress> & addresses ()

The socket addresses for the service instance.

Defined at line 730 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

bool has_addresses ()

Defined at line 734 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

::std::vector< ::fuchsia::net::SocketAddress> * mutable_addresses ()

The socket addresses for the service instance.

Defined at line 739 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

void clear_addresses ()

Defined at line 747 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

bool has_text_strings ()

Defined at line 760 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

::std::vector< ::std::vector<uint8_t>> * mutable_text_strings ()

Text strings describing the instance.

Defined at line 765 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

void clear_text_strings ()

Defined at line 773 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

ServiceInstance & set_service (::std::string _value)
ServiceInstance & set_instance (::std::string _value)
ServiceInstance & set_ipv4_endpoint (::fuchsia::net::Ipv4SocketAddress _value)
ServiceInstance & set_ipv6_endpoint (::fuchsia::net::Ipv6SocketAddress _value)
ServiceInstance & set_text (::std::vector< ::std::string> _value)
ServiceInstance & set_srv_priority (uint16_t _value)
ServiceInstance & set_srv_weight (uint16_t _value)
ServiceInstance & set_target (::std::string _value)
ServiceInstance & set_addresses (::std::vector< ::fuchsia::net::SocketAddress> _value)
ServiceInstance & set_text_strings (::std::vector< ::std::vector<uint8_t>> _value)
void ServiceInstance ()
void ServiceInstance (ServiceInstance && other)
const ::std::vector< ::std::string> & text ()

Text strings describing the instance. Deprecated: use `text_strings`.

Defined at line 622 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

const uint16_t & srv_priority ()

The priority of the SRV resource record for this publication. See

[RFC6763](https://tools.ietf.org/html/rfc6763) for details.

Defined at line 649 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

const uint16_t & srv_weight ()

The weight of the SRV resource record for this publication. See

[RFC6763](https://tools.ietf.org/html/rfc6763) for details.

Defined at line 677 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

const ::std::string & target ()

The domain name of the target host.

Defined at line 704 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

const ::std::vector< ::std::vector<uint8_t>> & text_strings ()

Text strings describing the instance.

Defined at line 756 of file fidling/gen/sdk/fidl/fuchsia.net.mdns/fuchsia.net.mdns/hlcpp/fuchsia/net/mdns/cpp/fidl.h

void ~ServiceInstance ()
ServiceInstance & operator= (ServiceInstance && other)
::std::unique_ptr<ServiceInstance> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, ServiceInstance * _value, size_t _offset)
zx_status_t Clone (ServiceInstance * _result)