from

public static Optional<Boolean> from(Descriptors.FieldDescriptor field)

Obtains a value of the set_once option from the given field.