template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 2299 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/wire_types.h
Public Methods
::fuchsia_io::wire::ImmutableNodeAttributes Build ()
Build and return the table. The builder should not be used after this.
bool has_protocols ()
void clear_protocols ()
Clears the protocols field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_io::wire::NodeProtocolKinds & protocols ()
Describes the kinds of representations supported by the node.
Note: This is not the result of the connection-time negotiation,
which is conveyed via `representation`.
BuilderImpl & protocols (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_io::wire::NodeProtocolKinds>> elem)
Describes the kinds of representations supported by the node.
Note: This is not the result of the connection-time negotiation,
which is conveyed via `representation`.
bool has_abilities ()
void clear_abilities ()
Clears the abilities field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_io::wire::Operations & abilities ()
Describes the kinds of operations supported by the node.
Note: This is distinct from the rights used at connection time.
BuilderImpl & abilities (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_io::wire::Operations>> elem)
Describes the kinds of operations supported by the node.
Note: This is distinct from the rights used at connection time.
bool has_content_size ()
void clear_content_size ()
Clears the content_size field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint64_t & content_size ()
Node size, in bytes.
BuilderImpl & content_size (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)
Node size, in bytes.
bool has_storage_size ()
void clear_storage_size ()
Clears the storage_size field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint64_t & storage_size ()
Space needed to store the node (possibly larger than size), in bytes.
BuilderImpl & storage_size (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)
Space needed to store the node (possibly larger than size), in bytes.
bool has_link_count ()
void clear_link_count ()
Clears the link_count field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint64_t & link_count ()
Number of hard links to the node. It must be at least one.
BuilderImpl & link_count (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)
Number of hard links to the node. It must be at least one.
bool has_id ()
void clear_id ()
Clears the id field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint64_t & id ()
An ID for the node. See [`Id`].
This `id` should be unique among all entries of a directory.
BuilderImpl & id (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)
An ID for the node. See [`Id`].
This `id` should be unique among all entries of a directory.
bool has_change_time ()
void clear_change_time ()
Clears the change_time field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint64_t & change_time ()
Time of last change to the metadata in nanoseconds since the Unix epoch, UTC.
BuilderImpl & change_time (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)
Time of last change to the metadata in nanoseconds since the Unix epoch, UTC.
bool has_options ()
void clear_options ()
Clears the options field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_io::wire::VerificationOptions & options ()
Contains the verification options for verity-enabled files.
BuilderImpl & options (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_io::wire::VerificationOptions>> elem)
Contains the verification options for verity-enabled files.
bool has_root_hash ()
void clear_root_hash ()
Clears the root_hash field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView<uint8_t> & root_hash ()
The root hash for the file. Not all filesystems support this across all files.
BuilderImpl & root_hash (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView<uint8_t>>> elem)
The root hash for the file. Not all filesystems support this across all files.
bool has_verity_enabled ()
void clear_verity_enabled ()
Clears the verity_enabled field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
bool & verity_enabled ()
True if this file is verity-enabled.
BuilderImpl & verity_enabled (bool elem)
True if this file is verity-enabled.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_io::wire::ImmutableNodeAttributes, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_io::wire::ImmutableNodeAttributes>> && frame)