class MutableNodeAttributes
Defined at line 5048 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 5055 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
bool has_creation_time ()
Defined at line 5059 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 5064 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
void clear_creation_time ()
Defined at line 5072 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 5081 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
bool has_modification_time ()
Defined at line 5085 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 5090 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
void clear_modification_time ()
Defined at line 5098 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 5110 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
bool has_mode ()
Defined at line 5114 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 5122 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
void clear_mode ()
Defined at line 5130 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
bool has_uid ()
Defined at line 5142 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
uint32_t * mutable_uid ()
Defined at line 5146 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
void clear_uid ()
Defined at line 5154 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
const uint32_t & gid ()
Defined at line 5162 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
bool has_gid ()
Defined at line 5166 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
uint32_t * mutable_gid ()
Defined at line 5170 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
void clear_gid ()
Defined at line 5178 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
const uint64_t & rdev ()
Defined at line 5186 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
bool has_rdev ()
Defined at line 5190 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
uint64_t * mutable_rdev ()
Defined at line 5194 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
void clear_rdev ()
Defined at line 5202 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 5212 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
bool has_access_time ()
Defined at line 5216 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 5222 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
void clear_access_time ()
Defined at line 5230 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 5242 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
bool has_casefold ()
Defined at line 5246 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 5254 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
void clear_casefold ()
Defined at line 5262 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 5281 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
bool has_selinux_context ()
Defined at line 5285 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 5300 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
void clear_selinux_context ()
Defined at line 5308 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
const ::fuchsia::io::FscryptPolicy & encryption_policy ()
Fscrypt encryption policy 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 policy 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 5322 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
bool has_encryption_policy ()
Defined at line 5326 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
::fuchsia::io::FscryptPolicy * mutable_encryption_policy ()
Fscrypt encryption policy 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 policy 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 5336 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
void clear_encryption_policy ()
Defined at line 5344 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_encryption_policy (::fuchsia::io::FscryptPolicy _value)
const uint32_t & uid ()
Defined at line 5138 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)