class MutableNodeAttributes

Defined at line 4912 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.

void MutableNodeAttributes ()
void MutableNodeAttributes (MutableNodeAttributes && other)
const uint64_t & creation_time ()

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

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

bool has_creation_time ()

Defined at line 4923 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 4928 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

void clear_creation_time ()

Defined at line 4936 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 4945 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

bool has_modification_time ()

Defined at line 4949 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 4954 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

void clear_modification_time ()

Defined at line 4962 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 4974 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

bool has_mode ()

Defined at line 4978 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 4986 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

void clear_mode ()

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

bool has_uid ()

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

uint32_t * mutable_uid ()

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

void clear_uid ()

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

const uint32_t & gid ()

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

bool has_gid ()

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

uint32_t * mutable_gid ()

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

void clear_gid ()

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

const uint64_t & rdev ()

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

bool has_rdev ()

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

uint64_t * mutable_rdev ()

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

void clear_rdev ()

Defined at line 5066 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 5076 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

bool has_access_time ()

Defined at line 5080 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 5086 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

void clear_access_time ()

Defined at line 5094 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 5106 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

bool has_casefold ()

Defined at line 5110 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 5118 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

void clear_casefold ()

Defined at line 5126 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 5145 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

bool has_selinux_context ()

Defined at line 5149 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 5164 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

void clear_selinux_context ()

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

bool has_wrapping_key_id ()

Defined at line 5190 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 5200 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

void clear_wrapping_key_id ()

Defined at line 5208 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)
const uint32_t & uid ()

Defined at line 5002 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 5186 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)