class UseStorage
Defined at line 11961 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
Declares storage used by a component, which was offered to it.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
UseStorage & set_source_name (::std::string _value)
UseStorage & set_target_path (::std::string _value)
UseStorage & set_availability (::fuchsia::component::decl::Availability _value)
void UseStorage ()
void UseStorage (UseStorage && other)
void ~UseStorage ()
UseStorage & operator= (UseStorage && other)
::std::unique_ptr<UseStorage> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, UseStorage * _value, size_t _offset)
zx_status_t Clone (UseStorage * _result)
const ::std::string & source_name ()
(Required) Name identifying the storage, by which it was presented to
this component.
Defined at line 11969 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
bool has_source_name ()
Defined at line 11973 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
::std::string * mutable_source_name ()
(Required) Name identifying the storage, by which it was presented to
this component.
Defined at line 11979 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
void clear_source_name ()
Defined at line 11987 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
const ::std::string & target_path ()
(Required) The path where the capability should be installed in the
component's namespace.
Must be an absolute path starting with /.
Defined at line 11999 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
bool has_target_path ()
Defined at line 12003 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
::std::string * mutable_target_path ()
(Required) The path where the capability should be installed in the
component's namespace.
Must be an absolute path starting with /.
Defined at line 12011 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
void clear_target_path ()
Defined at line 12019 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
const ::fuchsia::component::decl::Availability & availability ()
(Optional, defaults to `REQUIRED`) The availability of this capability.
If set to `required`, the component is likely to malfunction if this
capability is not provided. If set to `optional`, the component can
handle the capability's absence.
Defined at line 12031 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
bool has_availability ()
Defined at line 12035 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
::fuchsia::component::decl::Availability * mutable_availability ()
(Optional, defaults to `REQUIRED`) The availability of this capability.
If set to `required`, the component is likely to malfunction if this
capability is not provided. If set to `optional`, the component can
handle the capability's absence.
Defined at line 12043 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
void clear_availability ()
Defined at line 12051 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h