func (n *Number) SetValue(value *structpb.Value) error {
	nv, ok := value.Kind.(*structpb.Value_NumberValue)
	if !ok {
		return errors.New("value is not a numeric value")
	}
	n.Value_NumberValue = *nv
	return nil
}
// SetValue sets a new value
SetValue sets a new value
// SetValue sets a new value
func (n *Number) SetValue(value *structpb.Value) error {
	nv, ok := value.Kind.(*structpb.Value_NumberValue)
	if !ok {
		return errors.New("value is not a numeric value")
	}
	n.Value_NumberValue = *nv
	return nil
}
func ( n * Number ) SetValue ( value * structpb . Value ) error { nv , ok := value . Kind . ( * structpb . Value_NumberValue ) if ! ok { return errors . New ( " " ) } n . Value_NumberValue = * nv return nil }
SetValue sets a new value
SetValue sets a new value