class MutableNodeAttributes
Defined at line 1116 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/wire_types.h
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_io::wire::MutableNodeAttributes> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_io::wire::MutableNodeAttributes> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_io::wire::MutableNodeAttributes>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_io::wire::MutableNodeAttributes>> && frame_ptr)
void MutableNodeAttributes ()
Defined at line 1119 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/wire_types.h
void MutableNodeAttributes (const MutableNodeAttributes & other)
Defined at line 1120 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/wire_types.h
MutableNodeAttributes & operator= (const MutableNodeAttributes & other)
Defined at line 1121 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/wire_types.h
void MutableNodeAttributes (MutableNodeAttributes && other)
Defined at line 1122 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/wire_types.h
uint64_t & creation_time ()
Time of creation in nanoseconds since the Unix epoch, UTC.
bool has_creation_time ()
uint64_t & modification_time ()
Time of last modification in nanoseconds since the Unix epoch, UTC.
bool has_modification_time ()
uint32_t & mode ()
POSIX compatibility attributes. Most filesystems will not support
these. Those that do must simply store and retrieve them (e.g. as
extended attributes) and not attempt to interpret them (e.g. by doing
permission checks or handling device opens specially).
bool has_mode ()
MutableNodeAttributes & operator= (MutableNodeAttributes && other)
Defined at line 1123 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/wire_types.h
uint32_t & uid ()
bool has_uid ()
uint32_t & gid ()
bool has_gid ()
uint64_t & rdev ()
bool has_rdev ()
uint64_t & access_time ()
Time of last access in nanoseconds since the Unix epoch, UTC. Note that servers might not
always update this if this is the only attribute being updated.
bool has_access_time ()
bool & casefold ()
Casefold (case-insensitive filename) support
This attribute can only be changed on empty directories and will be inherited by any
child directories that are subsequently created.
The only filesystem to support this at the time of writing is Fxfs.
bool has_casefold ()
::fuchsia_io::wire::SelinuxContext & selinux_context ()
The value of the extended attribute "security.selinux" to be used in the context of SELinux
implementations. The value can only be set or returned if it is
[`MAX_SELINUX_CONTEXT_ATTRIBUTE_LEN`] characters or less to constrain the size of the
response. If the value is not currently found on the node the response the field will not
be included in the response. If the value is found on the node but the server is not
returning it here due to size or implementation, then it will return
`use_extended_attributes` to indicate using the ['fuchsia.io/Node.GetExtendedAttribute`]
to retrieve it.
ZX_ERR_INVALID_ARGS will be returned if there is an attempt set this attribute with the
`use_extended_attributes` member.
bool has_selinux_context ()
::fidl::Array<uint8_t, 16> & wrapping_key_id ()
Fscrypt support
This attribute can only be changed on empty directories and will be inherited by any
child directories that are subsequently created. This attribute can only be set once per
directory. The wrapping_key_id set will be used to encrypt file contents and filenames for
this directory and its children.
The only filesystem to support this at the time of writing is Fxfs.
bool has_wrapping_key_id ()
MutableNodeAttributes & set_creation_time (::fidl::ObjectView<uint64_t> elem)
MutableNodeAttributes & set_creation_time (std::nullptr_t )
MutableNodeAttributes & clear_creation_time ()
MutableNodeAttributes & set_modification_time (::fidl::ObjectView<uint64_t> elem)
MutableNodeAttributes & set_modification_time (std::nullptr_t )
MutableNodeAttributes & clear_modification_time ()
MutableNodeAttributes & set_mode (uint32_t elem)
MutableNodeAttributes & clear_mode ()
MutableNodeAttributes & set_uid (uint32_t elem)
MutableNodeAttributes & clear_uid ()
MutableNodeAttributes & set_gid (uint32_t elem)
MutableNodeAttributes & clear_gid ()
MutableNodeAttributes & set_rdev (::fidl::ObjectView<uint64_t> elem)
MutableNodeAttributes & set_rdev (std::nullptr_t )
MutableNodeAttributes & clear_rdev ()
MutableNodeAttributes & set_access_time (::fidl::ObjectView<uint64_t> elem)
MutableNodeAttributes & set_access_time (std::nullptr_t )
MutableNodeAttributes & clear_access_time ()
MutableNodeAttributes & set_casefold (bool elem)
MutableNodeAttributes & clear_casefold ()
MutableNodeAttributes & set_selinux_context (::fidl::ObjectView< ::fuchsia_io::wire::SelinuxContext> elem)
MutableNodeAttributes & set_selinux_context (std::nullptr_t )
MutableNodeAttributes & clear_selinux_context ()
MutableNodeAttributes & set_wrapping_key_id (::fidl::ObjectView< ::fidl::Array<uint8_t, 16>> elem)
MutableNodeAttributes & set_wrapping_key_id (std::nullptr_t )
MutableNodeAttributes & clear_wrapping_key_id ()
void MutableNodeAttributes (::fidl::AnyArena & allocator)
void MutableNodeAttributes (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_io::wire::MutableNodeAttributes>> && frame)
This constructor allows a user controlled allocation (not using a Arena).
It should only be used when performance is key.
As soon as the frame is given to the table, it must not be used directly or for another table.
void ~MutableNodeAttributes ()
Defined at line 1125 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder