class MutableNodeAttributes

Defined at line 4875 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const uint64_t & creation_time ()

Time of creation in nanoseconds since the Unix epoch, UTC.

Defined at line 4882 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

bool has_creation_time ()

Defined at line 4886 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

uint64_t * mutable_creation_time ()

Time of creation in nanoseconds since the Unix epoch, UTC.

Defined at line 4891 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

void clear_creation_time ()

Defined at line 4899 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

const uint64_t & modification_time ()

Time of last modification in nanoseconds since the Unix epoch, UTC.

Defined at line 4908 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

bool has_modification_time ()

Defined at line 4912 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

uint64_t * mutable_modification_time ()

Time of last modification in nanoseconds since the Unix epoch, UTC.

Defined at line 4917 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

void clear_modification_time ()

Defined at line 4925 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

const 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).

Defined at line 4937 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

bool has_mode ()

Defined at line 4941 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

uint32_t * mutable_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).

Defined at line 4949 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

void clear_mode ()

Defined at line 4957 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

bool has_uid ()

Defined at line 4969 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

uint32_t * mutable_uid ()

Defined at line 4973 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

void clear_uid ()

Defined at line 4981 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

const uint32_t & gid ()

Defined at line 4989 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

bool has_gid ()

Defined at line 4993 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

uint32_t * mutable_gid ()

Defined at line 4997 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

void clear_gid ()

Defined at line 5005 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

const uint64_t & rdev ()

Defined at line 5013 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

bool has_rdev ()

Defined at line 5017 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

uint64_t * mutable_rdev ()

Defined at line 5021 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

void clear_rdev ()

Defined at line 5029 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

const 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.

Defined at line 5039 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

bool has_access_time ()

Defined at line 5043 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

uint64_t * mutable_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.

Defined at line 5049 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

void clear_access_time ()

Defined at line 5057 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

const 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.

Defined at line 5069 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

bool has_casefold ()

Defined at line 5073 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

bool * mutable_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.

Defined at line 5081 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

void clear_casefold ()

Defined at line 5089 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

const ::fuchsia::io::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.

Defined at line 5108 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

bool has_selinux_context ()

Defined at line 5112 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

::fuchsia::io::SelinuxContext * mutable_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.

Defined at line 5127 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

void clear_selinux_context ()

Defined at line 5135 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

bool has_wrapping_key_id ()

Defined at line 5153 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

::std::array<uint8_t, 16> * mutable_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.

Defined at line 5163 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

void clear_wrapping_key_id ()

Defined at line 5171 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

MutableNodeAttributes & set_creation_time (uint64_t _value)
MutableNodeAttributes & set_modification_time (uint64_t _value)
MutableNodeAttributes & set_mode (uint32_t _value)
MutableNodeAttributes & set_uid (uint32_t _value)
MutableNodeAttributes & set_gid (uint32_t _value)
MutableNodeAttributes & set_rdev (uint64_t _value)
MutableNodeAttributes & set_access_time (uint64_t _value)
MutableNodeAttributes & set_casefold (bool _value)
MutableNodeAttributes & set_selinux_context (::fuchsia::io::SelinuxContext _value)
MutableNodeAttributes & set_wrapping_key_id (::std::array<uint8_t, 16> _value)
void MutableNodeAttributes ()
void MutableNodeAttributes (MutableNodeAttributes && other)
const uint32_t & uid ()

Defined at line 4965 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

const ::std::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.

Defined at line 5149 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

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