template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 1288 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/wire_types.h
Public Methods
::fuchsia_io::wire::MutableNodeAttributes Build ()
Build and return the table. The builder should not be used after this.
bool has_creation_time ()
void clear_creation_time ()
Clears the creation_time field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint64_t & creation_time ()
Time of creation in nanoseconds since the Unix epoch, UTC.
BuilderImpl & creation_time (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)
Time of creation in nanoseconds since the Unix epoch, UTC.
bool has_modification_time ()
void clear_modification_time ()
Clears the modification_time field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint64_t & modification_time ()
Time of last modification in nanoseconds since the Unix epoch, UTC.
BuilderImpl & modification_time (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)
Time of last modification in nanoseconds since the Unix epoch, UTC.
bool has_mode ()
void clear_mode ()
Clears the mode field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
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).
BuilderImpl & mode (uint32_t elem)
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_uid ()
void clear_uid ()
Clears the uid field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & uid ()
Getter for uid.
BuilderImpl & uid (uint32_t elem)
Setter for uid.
bool has_gid ()
void clear_gid ()
Clears the gid field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & gid ()
Getter for gid.
BuilderImpl & gid (uint32_t elem)
Setter for gid.
bool has_rdev ()
void clear_rdev ()
Clears the rdev field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint64_t & rdev ()
Getter for rdev.
BuilderImpl & rdev (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)
Setter for rdev.
bool has_access_time ()
void clear_access_time ()
Clears the access_time field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
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.
BuilderImpl & access_time (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)
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_casefold ()
void clear_casefold ()
Clears the casefold field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
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.
BuilderImpl & casefold (bool elem)
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_selinux_context ()
void clear_selinux_context ()
Clears the selinux_context field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::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.
BuilderImpl & selinux_context (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_io::wire::SelinuxContext>> elem)
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_wrapping_key_id ()
void clear_wrapping_key_id ()
Clears the wrapping_key_id field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::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.
BuilderImpl & wrapping_key_id (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::Array<uint8_t, 16>>> elem)
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.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_io::wire::MutableNodeAttributes, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_io::wire::MutableNodeAttributes>> && frame)