template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 932 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/wire_types.h

Public Methods

::fuchsia_io::wire::AdvisoryLockRequest Build ()

Build and return the table. The builder should not be used after this.

bool has_type ()
void clear_type ()

Clears the type field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_io::wire::AdvisoryLockType & type ()

The type of lock to be acquired.

If this field is absent, the [`AdvisoryLock`] method will fail

with ZX_ERR_INVALID_ARGS.

BuilderImpl & type (::fuchsia_io::wire::AdvisoryLockType elem)

The type of lock to be acquired.

If this field is absent, the [`AdvisoryLock`] method will fail

with ZX_ERR_INVALID_ARGS.

bool has_range ()
void clear_range ()

Clears the range field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_io::wire::AdvisoryLockRange & range ()

The byte range within the file to be locked.

The range can extend beyond the end of the file but cannot extend beyond

the beginning of the file.

If this field is absent, the range defaults to the entire file.

BuilderImpl & range (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_io::wire::AdvisoryLockRange>> elem)

The byte range within the file to be locked.

The range can extend beyond the end of the file but cannot extend beyond

the beginning of the file.

If this field is absent, the range defaults to the entire file.

bool has_wait ()
void clear_wait ()

Clears the wait field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

bool & wait ()

Whether the file should wait reply to the [`AdvisoryLock`]

method until the requested lock can be acquired.

If this field is absent, the file will not wait.

BuilderImpl & wait (bool elem)

Whether the file should wait reply to the [`AdvisoryLock`]

method until the requested lock can be acquired.

If this field is absent, the file will not wait.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_io::wire::AdvisoryLockRequest, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_io::wire::AdvisoryLockRequest>> && frame)

Records